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

This code leaves a very big whitespace above foo. Why is this and how do I make it smaller?

\usepackage[showframe=true]{geometry} (thanks for the tip cmhughes) gives me

enter image description here

share|improve this question
What do you mean with space? Do you mean the margin size? – azetina Aug 20 '12 at 20:42
adjust the page size using geometry. If you use \documentclass{article}\usepackage[showframe=true]{geometry} \begin{document} foo \end{document} then you'll have a nice visualization of the current page setup – cmhughes Aug 20 '12 at 20:45
@azetina That's exactly the question. I don't know why this white space is there. If I knew it was f.e. the margin size, I could look into how to change that value, but I don't know what it is that causes it. – Edward Stumperd Aug 20 '12 at 20:47
The extra white space is usually for headers and footers like footnotes or for example with the fancy page style the headers and footers. You can use: \usepackage[top=length,bottom=length]{geometry} or the sort. Do you have experience with the geomtery package? – azetina Aug 20 '12 at 20:53
No, I'm afraid I had no experience with it before your post. – Edward Stumperd Aug 20 '12 at 21:13
up vote 2 down vote accepted

This is enough smaller?

share|improve this answer

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.