I have strange problem with fancyhdr. I generated a header with certain header separation. However, the header separation is correct for all the document except its first occurrence!
Here is a minimal example:
Code: Select all
\documentclass[12pt,oneside]{book}
\usepackage{fullpage,fancyhdr,lipsum}
\pagestyle{fancy}
\addtolength{\headsep}{15pt}
\chead{} \cfoot{} \lfoot{} \rfoot{}
\rhead{\textbf{\thepage}}
\lhead{\chaptername \ \thechapter}
\begin{document}
\chapter{This the title of chapter 1}
\lipsum[1-20]
\chapter{This the title of chapter 2}
\lipsum[1-20]
\end{document}
The attached images highlight the problem.