% *********************** Document Class Definition **********************
\documentclass[twoside,12pt,openright]{scrbook}
% ******************** Information and Commands for Reuse ************************
\newcommand{\thesisTitle}{Optimal Control for Ocean Wave Energy Converters}
\newcommand{\thesisName}{Ragnar Lothbrok}
\newcommand{\thesisSubject}{PhD Dissertation}
\newcommand{\thesisDate}{\today}
\newcommand{\thesisVersion}{First Draft}
\newcommand{\thesisFirstSupervisor}{Dr Super Nice Guy}
\newcommand{\thesisSecondSupervisor}{Dr Grumpy Guy}
\newcommand{\thesisUniversity}{\protect{The University of Sheffield}}
\newcommand{\thesisUniversityDepartment}{Department of Automatic Control and Systems Engineering}
\newcommand{\thesisUniversityCity}{Sheffield}
\newcommand{\thesisUniversityStreetAddress}{Portobello Street}
\newcommand{\thesisUniversityPostalCode}{S1 3JD}
% ******************** Load and Configure Packages *****************************
\input{0Document_Class/preamble}
% ***************************** Reference file ***********************************
\addbibresource{7References/references.bib}
%****************************** Document begins *******************************
\begin{document}
%******************************** Front Matter ********************************
\frontmatter
\pagestyle{empty}
\include{1Front_Matter/FrontPage}
\pagestyle{plain}
%******************************** Front Matter ********************************
\include{1Front_Matter/quotepage}
\include{1Front_Matter/dedication}
\include{1Front_Matter/acknowledgement}
\include{1Front_Matter/declaration}
\include{1Front_Matter/abstract}
%*********************** Adding TOC ***********************
\setcounter{tocdepth}{2} % define depth of toc
{\hypersetup{linkbordercolor=red,
linkcolor=red,
hidelinks}
\tableofcontents % display table of contents
}
\cleardoublepage
%******************************** Main Matter *********************************
\mainmatter
\pagestyle{scrheadings}
\input{2Chapters/chapter01.tex}
\input{2Chapters/chapter02.tex}
\input{2Chapters/chapter03.tex}
\input{2Chapters/chapter04.tex}
\input{2Chapters/chapter05.tex}
% ********************************** Bibliography ******************************
\printbibliography[heading=bibintoc, title={References}]
% ********************************** Back Matter *******************************
% Backmatter should be commented out, if you are using appendices after References
% \backmatter
% {
% \listoffigures
% \addcontentsline{toc}{chapter}{List of Figures}
% }
% {
% \listoftables
% \addcontentsline{toc}{chapter}{List of Tables}
% }
% ********************************** Appendices ********************************
% ********************************** Appendices ********************************
\appendix % Cue to tell LaTeX that the following "chapters" are Appendices
\part*{\appendixpagename}
\addtocontents{toc}{\let\protect\chapapp\protect\appendixname}
\input{6Back_Matter/AppendixA.tex}
\input{6Back_Matter/AppendixB.tex}
\input{6Back_Matter/AppendixC.tex}
% ****************** End of Document Content **********************
\end{document}