I am having some trouble combining fancyhdr with my Appendix. There's two problems. The first is that the header doesn't show the correct information on the page just before the Appendix (the last page of the main text).
It should look something like this:
But what I get is:
The second is that the header in the Appendix shows:
And I would like 'Chapter' to be 'Appendix'. I've tried the suggestions here, but those don't seem to work. The relevant code:
\documentclass[11pt]{report}
\usepackage[a4paper,width=150mm,top=25mm,bottom=25mm]{geometry}
\usepackage{parskip}
\setlength\parindent{0pt}
\setlength{\headheight}{15pt}
\usepackage{fancyhdr}
\pagestyle{fancy}
\fancyhead{}
\fancyhead[L]{Entanglement Entropy}
\fancyhead[C]{Chapter \thechapter}
\fancyhead[R]{Section \thesection}
\renewcommand{\headrulewidth}{0.4pt}
\begin{document}
\chapter{title}
\input{chapters/chapter05}
\appendix
\chapter{another title}
\input{chapters/appendix}
\printbibliography
\end{document}