I am using the fancyhdr package for the first time, and have run into the following issue: the first line of my document gets sucked into the header! No matter how many new lines or new pages I put in front of my first line, when I compile the document, it ends up in the left header. Any advice?
My preamble:
\pagestyle{fancy}
\fancyhead{}
\fancyhead[RO]{Cognitive Models \qquad \thepage}
\renewcommand{\headrulewidth}{0pt}
\renewcommand{\footrulewidth}{0pt}
\setlength\parindent{0.25in}
\begin{document}
\begin{flushleft}
Running head: Cognitive Models
\end{flushleft}
Page Layout ⇒ Bizarrre Fancyhdr Problem
NEW: TikZ book now 40% off at Amazon.com for a short time.
- localghost
- Site Moderator
- Posts: 9202
- Joined: Fri Feb 02, 2007 12:06 pm
Bizarrre Fancyhdr Problem
These code snippets alone have no validity. Build a minimal working example (MWE) that shows the effect you described.
Best regards and welcome to the board
Thorsten¹
Best regards and welcome to the board
Thorsten¹
How to make a "Minimal Example"
Board Rules
Avoidable Mistakes
¹ System: TeX Live 2025 (vanilla), TeXworks 0.6.10
Board Rules
Avoidable Mistakes
¹ System: TeX Live 2025 (vanilla), TeXworks 0.6.10