TeX - LaTeX Stack Exchange is a question and answer site for users of TeX, LaTeX, ConTeXt, and related typesetting systems. Join them; it only takes a minute:

Sign up
Here's how it works:
  1. Anybody can ask a question
  2. Anybody can answer
  3. The best answers are voted up and rise to the top

I am a novice in LaTeX and I have problems with the left margin of a book document. Is there a way to reset the document's margin? I always have a small margin on the left side which I only can reset by setting the hoffset to a negative range. Here is my code:

\usepackage{fullpage}% http://ctan.org/pkg/fullpage
\usepackage[top=0mm, bottom=0mm, left=0mm, right=0mm, paperwidth=20cm, paperheight=20cm]{geometry}

Is there a better way to reset the margin? Any ideas?

share|improve this question
Welcome to TeX.sx! You are telling LaTeX that the margins are zero. Use left=2cm and your left margin will be two centimeters. – egreg Mar 28 '13 at 21:25
i want them all to be zero. but the left margin is still about 3mm. – user28122 Mar 28 '13 at 21:32
the preview document class will strip all margins. (Why would you want length 0 margins?) – Sean Allred Mar 28 '13 at 21:39
Remove the layout package (and fullpage that doesn't do anything good in this context). – egreg Mar 28 '13 at 21:48
You are mixing a class (scrbook) and a number of packages (fullpage, geometry) that each offer ways to change the page layout. Stick to only one package. And try to get your result with scrbook. It's probably easier to start from zero than from some more or less broken template you found somewhere else on the Web. – Martin Schröder Mar 28 '13 at 21:49

Your text is flush left but you are seeing the paragraph indent and you only have two one line paragrphs so no text goes flush left.



\noindent X\dotfill X

enter image description here

You could add

share|improve this answer
i didn't knew that there is an default indent. thanks a lot for that hint. that solves it! thanks! – user28122 Mar 28 '13 at 22:12

Your Answer


By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.