Hello everybody! While making a report for school I've encounterd a problem I wasn't able to find a suitable solution for. The basic tex code looks like this:
Code: Select all
\documentclass[a4paper,12pt]{article}
\usepackage{geometry}
\usepackage{fancyhdr}
\geometry{paper=a4paper,left=25mm,right=25mm,top=25mm,bottom=30mm}
\pagestyle{fancy}
\lhead{left\\left\\left}
\rhead{right\\right\\right}
\cfoot{\thepage}
\begin{document}
% \phantom{}
blubb
\newpage
blah
\end{document}
When I compile the code the first page's text appears inside the header. After a closer look i discovered, that the whole page (including page number in the footer!) gets shifted upwards for no reason. Using a dummy (\phantom) moves the text out of the header, but still the footer isn't in its place. As I need the three lines in the header removing them isn't an option. This whole problem of mine only seems to affect the first page, as further pages are rendered correctly. Does anyone in here have a clue how to make my pages look right?
Thanks for helping!
Matthias