# misaligned fancyfoot on first page (only)

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.

\documentclass{article}
\usepackage{fancyhdr, tikz}

\fancyfoot[R]{{{\Huge0}}}
\pagestyle{fancy}

\newcommand\content{
\tikz[remember picture, overlay]
\draw (current page.center) circle (117mm);
\newpage
}

\begin{document}
\content
\content
\content
\content
\content
\end{document}


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.

• 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
• don't ignore warnings.... – David Carlisle Mar 16 at 19:48