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

To decrease page margins, I tried increasing these values:

\textwidth=7in \textheight=8in

However, the text got wider and taller but the left and top margins did not decrease.

I then tried setting some other values to 0 too.

\topmargin = 0in \oddsidemargin = 0in \evensidemargin = 0in

However, the left and top margins still exist. How do I decrease the left and top page margins?

share|improve this question
up vote 9 down vote accepted



in the preamble.

share|improve this answer
Or use any other value of the size. You can as well specify \usepackage[a4paper,margin=0in]{geometry}, which does exactly the same. – yo' Mar 2 '12 at 10:43

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.