From c8ddda0aee2188898983deb6b281f1e5649d6769 Mon Sep 17 00:00:00 2001 From: Sergiu Ivanov Date: Sun, 7 Jan 2024 19:58:03 +0100 Subject: [PATCH] Slightly customize page headers. --- hdr.tex | 10 ++++++++++ 1 file changed, 10 insertions(+) diff --git a/hdr.tex b/hdr.tex index 02ca4f4..b6553c1 100644 --- a/hdr.tex +++ b/hdr.tex @@ -67,6 +67,16 @@ \usetikzlibrary{calc} \begin{document} + +\pagestyle{fancy} +\renewcommand{\chaptermark}[1]{% + \markboth{\chaptername\ \thechapter.\ #1}{}} +\renewcommand{\sectionmark}[1]{\markright{\thesection.\ #1}} + +\fancyhead[LE,RO]{\textcolor{Prune}{\textsl{\rightmark}}} +\fancyhead[LO,RE]{\textcolor{Prune}{\textsl{\leftmark}}} +\renewcommand{\headrule}{{\color{Prune}\hrule}} + \input{title-page} \input{abstracts}