Changing font size inside of \fancyfoot (from the fancyhdr package) causes the page 1 footer to be vertically-aligned differently than all the other pages.

MWE. Note that tikz is not related to the problem at hand; the tikz circle is only added here to make the footer misalignment obvious.

\usepackage{fancyhdr, tikz}


  \tikz[remember picture, overlay]
  \draw (current page.center) circle (117mm);


misaligned fancyfoot on first page (only)

Context. I'm using fancyhdr to add a header and footer on top of thumbnails of another pdf (inserted using pdfpages). The purpose is to make a condensed printout of my (open source) textbook to refer to while I lecture (see below). In the course of making the MWE above, it became clear that the \fancyfoot problem comes from fancyhdr only and not from a package interaction.


  • 1
    Your code generates the following warning: "Package Fancyhdr Warning: \headheight is too small (12.0pt): Make it at least 19.63797pt.". Thus, add setlength{\headheight}{20pt} to your preamble and the misalignment should be gone. – leandriis Mar 16 at 18:59
  • 1
    don't ignore warnings.... – David Carlisle Mar 16 at 19:48

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Browse other questions tagged or ask your own question.