% *********************** Document Class Definition **********************
\documentclass[twoside,12pt,openright]{scrbook}
% ******************** Load and Configure Packages *****************************
\include{0Document_Class/preamble}
% ******************** 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}
% ***************************** Reference file ***********************************
\addbibresource{7References/references.bib}
%****************************** Document begins *******************************
\begin{document}
%******************************** Front Matter ********************************
\renewcommand{\chaptermark}[1]{\markboth{#1}{}}
\frontmatter
\pagenumbering{roman} % roman page numbing (invisible for empty page style)
\pagestyle{empty} % no header or footers
\include{1Front_Matter/FrontPage}
%******************************** Front Matter ********************************
\pagestyle{plain} % display just page numbers
\input{1Front_Matter/dedication}
\input{1Front_Matter/quotepage}
\input{1Front_Matter/acknowledgement}
\input{1Front_Matter/declaration}
\input{1Front_Matter/abstract}
% % *********************** Adding TOC ***********************
\setcounter{tocdepth}{2} % define depth of toc
\tableofcontents % display table of contents
\cleardoublepage
% ******************************** Main Matter *********************************
\mainmatter
\pagenumbering{arabic} % arabic page numbering
\setcounter{page}{1} % set page counter
\pagestyle{headings} % header and footer style
\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 ********************************
\appendix % Cue to tell LaTeX that the following "chapters" are Appendices
\input{6Back_Matter/AppendixA.tex}
\input{6Back_Matter/AppendixB.tex}
\input{6Back_Matter/AppendixC.tex}
% ****************** End of Document Content **********************
\end{document}