From cbfa3b93dc639a7374ca1790b6e6bee7f66d5446 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?Jari-Matti=20M=C3=A4kel=C3=A4?= <jmjmak@utu.fi>
Date: Thu, 3 Aug 2023 09:07:07 +0300
Subject: [PATCH] Update the position of the twoside page number as well

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

diff --git a/latex/utuftthesis.cls b/latex/utuftthesis.cls
index 21a781b..90729d3 100644
--- a/latex/utuftthesis.cls
+++ b/latex/utuftthesis.cls
@@ -288,7 +288,9 @@
     \case{tkk}{\langchoose{#1}{TkK-tutkielma}{Bachelor's Thesis}}%
     \case{luk}{\langchoose{#1}{LuK-tutkielma}{Bachelor's Thesis}}%
     \case{gradu}{\langchoose{#1}{Pro gradu -tutkielma}{Master of Science Thesis}}%
+    \case{msc}{\langchoose{#1}{Pro gradu -tutkielma}{Master of Science Thesis}}%
     \case{di}{\langchoose{#1}{Diplomityö}{Master of Science (Tech) Thesis}}%
+    \case{msctech}{\langchoose{#1}{Diplomityö}{Master of Science (Tech) Thesis}}%
     \default{\p@btype}%
   \end{switch}}
 
@@ -544,11 +546,11 @@
   \doublespacing
   \pagestyle{fancy}
   \renewcommand{\chaptermark}[1]{\markboth{\MakeUppercase{\chaptername\ \thechapter.\ ##1}}{}}
-  \lhead{\leftmark}
-  \chead{}
-  \rhead{\thepage}
+  \fancyhead{}
   \fancyfoot{}
-  \cfoot{\version}
+  \fancyhead[LE,RO]{\thepage}
+  \fancyhead[RE,LO]{\leftmark}
+  \fancyfoot[C]{\version}
 }       
 
 %% postpone the doc style through these sections
-- 
GitLab