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 creating document with headers and footers. The problem that I faced with is that I cannot get nice view of first and the other pages: different spacing is set. See my code and picture.




\lfoot{My Title \\ \today}
\rfoot{User Guide \\ version 1.0}

\section{Section 1}
\section{Section 2}

enter image description here

share|improve this question
up vote 1 down vote accepted

Or use this new one to replace the old \lhead


without changing headheight and the figure size.

image 1enter image description here

image 2enter image description here

share|improve this answer

In your example I changed \includegraphics[width=1cm]{blank.png} to \rule{1cm}{1cm}. After compiling, I found the following warning in the log file.

Package Fancyhdr Warning: \headheight is too small (12.0pt): 
 Make it at least 32.05278pt.
 We now make it that large for the rest of the document.
 This may cause the page layout to be inconsistent, however.

Adding headheight=33pt to the options for the geometry package eliminated the problem. You may need a different height if blank.png is not exactly square.

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.