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

As you can judge from the page below, the vertical space between the text and the header line and the text and the footer line is not equal.....

enter image description here

This is much more prominent in a PDF reader so I am trying to get equal space. How do I accomplish this using these settings?







\providecommand{\HUGE}{\Huge}% if not using memoir
\newlength{\drop}% for my convenience


share|improve this question

Try using the native \areaset command from Koma-Script instead of the geometry package:

% Set the typeset area (trim - 2*margin)

Note by the way that if your book has to be printed, you might also want to add a binding correction to it, which can also be done with \areaset, for example, for a 1cm binding correction:


The problem might also come from the fact that you're drawing rules in the header/footer manually. The Koma-Script documentation explains how do draw a separator for headers/footers:


and the corresponding for the footer will draw lines between the header and the main content, instead of drawing it inside the header, so that might just fix your issue.

share|improve this answer
I've changed the class settings, removed geometry package and added the \areaset command, but the problem still remains. Instead, the whole page seems to shift up a bit. In case you are unclear, I have updated the image in the question. – yolo Jul 5 '11 at 12:26
Raphink, is this tested by you? – yolo Jul 10 '11 at 14:53
It's the settings I use for my own books, and I haven't noticed that problem. That said I don't use lines both up and down, so maybe I have the same issue and I just don't see it. See also my edited answer about not drawing a rule in the header/footer. – ℝaphink Jul 11 '11 at 5:29
up vote 1 down vote accepted
\usepackage[includeheadfoot, margin=1.5cm,headsep=25pt,footskip=25pt,a4paper]{geometry} 
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.