For my thesis, I am using fancyhdr with the following specifications:
Code: Select all
\pagestyle{fancy}
\renewcommand{\chaptermark}[1]%
{\markboth{\MakeUppercase{\thechapter.\ #1}}{}}
\renewcommand{\sectionmark}[1]%
{\markright{\MakeUppercase{\thesection.\ #1}}}
\fancyhf{}
\fancyhead[RO]{\bfseries\rightmark}
\fancyhead[LE]{\bfseries\leftmark}
\fancyfoot[C]{\thepage}
\renewcommand{\headrulewidth}{0.5pt}
\renewcommand{\footrulewidth}{0pt}
\addtolength{\headheight}{0.5pt}
\fancypagestyle{plain}{
\fancyhead{}
\renewcommand{\headrulewidth}{0pt}
}
3.2 DATA AND METHODS
However, Chapter 7, the conclusion chapter, has no sections/subsections, so in this case the header includes the rule but no text. What I want instead is the rule with the chapter title as text, i.e.:
7. CONCLUSION
Can anybody help? I have read through the fancyhdr documentation carefully but could not figure this out.
Many many thanks!
Laura