I am using MastersDoctoralThesis for writing my thesis. Its default settings are:
- On even numbered pages: outer header has page number while inner header has chapter number
- On odd numbered pages: outer header has page number while inner header had section number
My university requirements are:
- On even numbered pages: outer header should have section number while inner header should have thesis title
- On odd numbered pages: outer header should have university name while inner header should have chapter number
I am successful in putting university name on page headers. However, I am unable to make the desired layout. I have done some work on lines 277-295 of MastersDoctoralThesis.cls
. I have commented some original code.
\RequirePackage[markcase=used]{scrlayer-scrpage}
\providepairofpagestyles{thesisSimple}{%
\clearpairofpagestyles%
% \automark[chapter]{chapter}
% \ihead{\headmark}% Inner header
% \ohead[\pagemark]{\pagemark}% Outer header
\automark[chapter]{chapter}
\ohead{Jiangsu University Master's Degree Thesis}
\ihead{\headmark}% Inner header
}
\ifoot{}% Inner footer
\ofoot{}% Outer footer
\pagestyle{thesisSimple}
%\pagestyle{scrheadings}
\providepairofpagestyles[thesisSimple]{thesis}{%
\automark*[section]{}
\ofoot[\pagemark]{\pagemark}
}
Note: Somehow fancyhdr
is not supported by MastersDoctoralThesis.cls
(line 302). Maybe we need to tweak scrlayer-scrpage.