\documentclass[12pt]{ociamthesis}  % default square logo 
%\documentclass[12pt,beltcrest]{ociamthesis} % use old belt crest logo
%\documentclass[12pt,shieldcrest]{ociamthesis} % use older shield crest logo

%load any additional packages
\usepackage{amssymb}
\usepackage{setspace}
\usepackage{lscape}
\usepackage{dirtytalk}
\usepackage[dvipsnames]{xcolor}
\usepackage{amsmath}
\usepackage{multirow}
\usepackage{breqn}
\usepackage[flushleft]{threeparttable}
\usepackage{nomencl}
\usepackage{csquotes}
\usepackage{siunitx}
\usepackage[hyphens]{url}
\usepackage[hidelinks]{hyperref}
\hypersetup{breaklinks=true}
\urlstyle{same}
\usepackage{geometry}





\makenomenclature

%% This code creates the groups
% -----------------------------------------
\usepackage{etoolbox}
\renewcommand\nomgroup[1]{%
  \item[\bfseries
  \ifstrequal{#1}{A}{Abbreviations}{%
  \ifstrequal{#1}{U}{Units and constants}{%
  \ifstrequal{#1}{P}{Physical properties}{%
  \ifstrequal{#1}{T}{Turbine and blade properties}{}}}}%
]}
% -----------------------------------------


\usepackage{natbib}
\setcitestyle{authoryear,open={(},close={)}}


%input macros (i.e. write your own macros file called mymacros.tex 
%and uncomment the next line)
%\include{mymacros}

\title{Novel Turbine Fence Optimisation \\[1ex]     %your thesis title,
        Using Lateral Flow Constraint}   %note \\[1ex] is a line break in the title

\author{Steven Ettema}             %your name
\college{Magdalen College}  %your college

%\renewcommand{\submittedtext}{change the default text here if needed}
\degree{Doctor of Philosophy}     %the degree
\degreedate{Hilary 2022}         %the degree date

%end the preamble and start the document
\begin{document}

%this baselineskip gives sufficient line spacing for an examiner to easily
%markup the thesis with comments
\baselineskip=18pt plus1pt

%set the number of sectioning levels that get number and appear in the contents
\setcounter{secnumdepth}{4}
\setcounter{tocdepth}{4}


\maketitle                  % create a title page from the preamble info
%\include{dedication}        % include a dedication.tex file
\include{acknowlegements}   % include an acknowledgements.tex file
\include{abstract}          % include the abstract

\begin{romanpages}          % start roman page numbering
\tableofcontents            % generate and include a table of contents
% \listoffigures              % generate and include a list of figures
\end{romanpages}            % end roman page numbering

%now include the files of latex for each of the chapters etc
\include{nomencl}
\include{chapter1}
\include{chapter2}
\include{chapter2b_methods}
\include{chapter3}
%\include{chapter4}
\include{chapter5}
\include{chapter6}
\include{conclusions}

%now enable appendix numbering format and include any appendices
%\appendix
%\include{appendix1}
% \include{appendix2}

%next line adds the Bibliography to the contents page
\addcontentsline{toc}{chapter}{References}
%uncomment next line to change bibliography name to references
%\renewcommand{\bibname}{References}
\Urlmuskip=0mu plus 1mu\relax
\bibliography{references}        %use a bibtex bibliography file refs.bib
% \bibliographystyle{abbrvnat}
\bibliographystyle{apalike}
% \bibliographystyle{plain}  %use the plain bibliography style

\end{document}

