I have noticed that I do not have a header on the last page of my report. I have tracked this down to an interaction between fancyhdr and sloppypar. I am using sloppy par because without it, LaTex has a few sentences that noticeably stick out beyond the margins. Check out the following:
Code: Select all
Code, edit and compile here:
\documentclass{report}\usepackage{lipsum}\usepackage{fancyhdr}\title{Your Paper}\author{You}\begin{document}\maketitle\begin{sloppypar}\clearpage\pagestyle{fancy}\fancyhf{}\renewcommand{\headrulewidth}{0pt}\fancyhead[R]{\scshape{\fontsize{9pt}{11pt}\selectfont Section Name Here}}\fancyfoot[C]{\thepage}\setlength{\headheight}{14pt}\chapter{Introduction}\lipsum[1-10]\appendix\chapter{References}\lipsum[1-12]\end{sloppypar}\end{document}
So, what should I do to get a header on that last page? Thanks in advance.