Page LayoutBizarrre Fancyhdr Problem

Information and discussion about page layout specific issues (e.g. header and footer lines, page formats, page numbers).
Post Reply
rpayne77
Posts: 1
Joined: Mon Apr 20, 2009 2:30 am

Bizarrre Fancyhdr Problem

Post by rpayne77 »

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}

Recommended reading 2024:

LaTeXguide.org • LaTeX-Cookbook.net • TikZ.org

NEW: TikZ book now 40% off at Amazon.com for a short time.

User avatar
localghost
Site Moderator
Posts: 9202
Joined: Fri Feb 02, 2007 12:06 pm

Bizarrre Fancyhdr Problem

Post by localghost »

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¹
Post Reply