From b793c55564d9de1b78860cb96fb71b7013c4013f Mon Sep 17 00:00:00 2001 From: Erwan Normand Date: Fri, 27 Sep 2024 22:36:21 +0200 Subject: [PATCH] Style headers --- config/template.tex | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) 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 }