diff --git a/config/template.tex b/config/template.tex index 0abf3f5..fb59784 100644 --- a/config/template.tex +++ b/config/template.tex @@ -39,12 +39,12 @@ \pagestyle{fancy} % Use fancy headers and footers \fancyhf{} % Clear headers and footers -\fancyhead[LO, RE]{\small\nouppercase{\leftmark}} % Chapter in the left on odd pages and right on even pages of the header +\fancyhead[LO, RE]{} \fancyfoot[C]{\thepage} % Page number in the center of the footer \appto\mainmatter{ \renewcommand{\chaptermark}[1]{\markboth{\chaptername~\thechapter~--\ #1}{}} % Chapter formatting - \renewcommand{\sectionmark}[1]{\markright{\thesection.\ #1}} % Section 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 }