From 4fd512e63be9060043acdb6692e730ec7a35ab34 Mon Sep 17 00:00:00 2001
From: Jarko Papalitsas <jastpa@utu.fi>
Date: Mon, 23 Mar 2020 15:43:02 +0200
Subject: [PATCH] Fix page header on multipage bibliography

---
 latex/utuftthesis.cls | 7 ++++---
 1 file changed, 4 insertions(+), 3 deletions(-)

diff --git a/latex/utuftthesis.cls b/latex/utuftthesis.cls
index 5ef9865..3c2e690 100644
--- a/latex/utuftthesis.cls
+++ b/latex/utuftthesis.cls
@@ -368,14 +368,15 @@
 \renewcommand{\baselinestretch}{1.655}
   
 %% Modify the \printbibliography command
-\defbibheading{bibliography}{
+\defbibheading{bibliography}[\refs]{
   \ifutuftthesis@countbibpages
   \else
     % label here if we don't include the bibliography in the page count
     \label{endofpages}
   \fi
-  \chapter*{\refs}
-  \addcontentsline{toc}{chapter}{\refs}
+  \chapter*{#1}
+  \markboth{\MakeUppercase{#1}}{}
+  \addcontentsline{toc}{chapter}{#1}
 }
 
 %% backup the old \printbibliography
-- 
GitLab