I am writing an article with a header on the first page only; the header includes a logo. Here is a MWE using fancyhdr:
\documentclass[a4paper]{article}
\usepackage{fancyhdr,graphicx}
\usepackage{lipsum}
\pagestyle{plain}
\fancyhf{}
\fancyhead[L]{
\large \textsf{Address line 1\\
Address line 2\\
Address line 3}}
\fancyhead[R]{\raisebox{-0.4\height}{
\includegraphics[width=32mm]{example-image-a}}}
\fancyfoot[C]{\thepage}
\setlength\headheight{68.3pt}
\renewcommand{\headrulewidth}{0pt}
% \title{\flushleft{This is the title}}
% \date{}
\begin{document}
% \maketitle
\section*{A section}
\thispagestyle{fancy}
\lipsum[1-7]
\end{document}
With this approach, the text on page 2 starts below where the header would be if it were included on this page.
How do I get the text to start at the "top" of page 2 instead?
Best Answer
Don't consider the content at the top of page 1 as being a header. Instead, set it as part of a regular document. That way you don't have to worry about influencing the header space (or
\headheight
) and how it may affect subsequent pages.The above solution is independent of
fancyhdr
orgeometry
, so you can add that without affecting the resulting output/layout.