diff --git a/config/template.tex b/config/template.tex index df824e3..4e97f72 100644 --- a/config/template.tex +++ b/config/template.tex @@ -38,14 +38,14 @@ \pagestyle{fancy} % Use fancy headers and footers \fancyhf{} % Clear headers and footers -\fancyhead[LO, RE]{\small\leftmark} % Chapter in the left on odd pages and right on even pages -\fancyfoot[C]{\thepage} % Page number in the center +\fancyhead[LO, RE]{\small\nouppercase{\leftmark}} % Chapter in the left on odd pages and right on even pages of the header +\fancyfoot[C]{\thepage} % Page number in the center of the footer \appto\mainmatter{ - \renewcommand{\sectionmark}[1]{\markright{\thesection.\ #1}} - \renewcommand{\chaptermark}[1]{\markboth{\chaptername~\thechapter~--\ #1}{}} - \fancyhead[RE]{\small\rightmark} - \fancyhead[LO]{\small\leftmark} + \renewcommand{\chaptermark}[1]{\markboth{\chaptername~\thechapter~--\ #1}{}} % Chapter formatting + \renewcommand{\sectionmark}[1]{\markright{\thesection.\ #1}} % Section formatting + \fancyhead[LO]{\small\nouppercase{\leftmark}} % Chapter in the left on odd pages + \fancyhead[RE]{\small\nouppercase{\rightmark}} % Section in the right on even pages } \setlength{\headheight}{14pt}