Too many changes to list lol
This commit is contained in:
@@ -5,32 +5,44 @@
|
||||
\RequirePackage{fancyhdr}
|
||||
\pagestyle{fancy}
|
||||
|
||||
% Clear all header & footer formatting.
|
||||
\fancyhf{}
|
||||
|
||||
\renewcommand{\headrulewidth}{0pt}
|
||||
\renewcommand{\footrulewidth}{0pt}
|
||||
|
||||
\newlength{\outsideheaderoffset}
|
||||
\setlength{\outsideheaderoffset}{1.0in}
|
||||
\newlength{\insideheaderoffset}
|
||||
\setlength{\insideheaderoffset}{0.5in}
|
||||
\newlength{\outsideheaderoffset}
|
||||
\setlength{\outsideheaderoffset}{1.0in}
|
||||
|
||||
\NewDocumentCommand{\parttitle}{}
|
||||
\NewDocumentCommand{\chapappname}{}{Chapter \thechapter{}: }
|
||||
|
||||
\renewcommand{\chaptermark}[1]{ \markboth{#1}{} }
|
||||
\NewDocumentCommand{\Appendix}{}{
|
||||
\appendix
|
||||
\RenewDocumentCommand{\chapappname}{}{Appendix \thechapter{}: }
|
||||
}
|
||||
|
||||
\NewDocumentCommand{\BackMatter}{}{
|
||||
\RenewDocumentCommand{\chapappname}{}{}
|
||||
}
|
||||
|
||||
\NewDocumentCommand{\parttitle}{}{}
|
||||
|
||||
\renewcommand{\chaptermark}[1]{\markboth{#1}{}}
|
||||
|
||||
\fancypagestyle{fancy}{
|
||||
\ifthenelse{\boolean{isElectronic}}{
|
||||
\fancyhfoffset[L]{\insideheaderoffset}
|
||||
\fancyhfoffset[R]{\outsideheaderoffset}
|
||||
\fancyhead[L]{\partname{} \thepart{}: \parttitle}
|
||||
\fancyhead[R]{\chaptername{} \thechapter{}: \leftmark}
|
||||
\fancyhead[R]{\chapappname{}\leftmark}
|
||||
|
||||
\fancyfoot[R]{\thepage}
|
||||
}{
|
||||
\fancyhfoffset[LE,RO]{\outsideheaderoffset}
|
||||
\fancyhead[LE]{\partname{} \thepart{}: \parttitle}
|
||||
\fancyhead[RO]{\chaptername{} \thechapter{}: \leftmark}
|
||||
\fancyhead[RO]{\chapappname\leftmark}
|
||||
|
||||
\fancyfoot[LE,RO]{\thepage}
|
||||
}
|
||||
@@ -42,8 +54,11 @@
|
||||
\renewcommand{\footrulewidth}{0pt}
|
||||
|
||||
\ifthenelse{\boolean{isElectronic}}{
|
||||
\fancyhfoffset[L]{\insideheaderoffset}
|
||||
\fancyhfoffset[R]{\outsideheaderoffset}
|
||||
\fancyfoot[R]{\thepage}
|
||||
}{
|
||||
\fancyhfoffset[LE,RO]{\outsideheaderoffset}
|
||||
\fancyfoot[LE,RO]{\thepage}
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user