% ******************************* PhD Thesis Template ************************
% Please have a look at the README.md file for info on how to use the template

\documentclass[times,numbered,print,index]{Classes/PhDThesisPSnPDF}

% *****************************************************************************
% ******************************* Class Options *******************************
% *********************** See README for more details *************************
% *****************************************************************************

% `a4paper'(The University of Cambridge PhD thesis guidelines
% recommends a page size a4 - default option) or `a5paper': A5 Paper size is also allowed as per the Cambridge University Engineering Deparment guidelines for PhD thesis
%
% `11pt' or `12pt'(default): Font Size 10pt is NOT recommended by the University guidelines
%
% `oneside' or `twoside'(default): Printing double side (twoside) or single side.
%
% `print': Use `print' for print version with appropriate margins and page layout. Leaving the options field blank will activate Online version.
%
% `index': For index at the end of the thesis
%
% `draft': For draft mode without loading any images (same as draft in book)
%
% `abstract': To generate only the title page and abstract page with
% dissertation title and name, to submit to the Student Registry
%
% ************************* Custom Page Margins ********************************
%
% `custommargin`: Use `custommargin' in options to activate custom page margins, which can be defined in the preamble.tex. Custom margin will override print/online margin setup.
%
% ******************* Choosing the Fonts in Class Options *********************
%
% `times' : Times font with math support. (Cambridge University recommends using times)
%
% `fourier': Utopia Font with Fourier Math font
%
% `customfont': Use `customfont' option in the document class and load the package in the preamble.tex
%
% default or leave empty: `Latin Modern' font will be loaded.
%
% ******************** Choosing the Bibliography style ***********************
%
% `authoryear': For author-year citation eg., Krishna (2013)
%
% `numbered': (Default Option) For numbered and sorted citation e.g., [1,5,2]
%
% `custombib': Define your own bibliography style in the `preamble.tex' file.
% `\RequirePackage[square, sort, numbers, authoryear]{natbib}'
%
% ********************** Choosing the Page Style *********************************
%
% `default (leave empty)': For Page Numbers in Header (Left Even, Right Odd) and Chapter Name in Header (Right Even) and Section Name (Left Odd). Blank Footer.
%
% `PageStyleI': Chapter Name next & Page Number on Even Side (Left Even). Section Name & Page Number in Header on Odd Side (Right Odd). Footer is empty.
%
% `PageStyleII': Chapter Name on Even Side (Left Even) in Header. Section Number and Section Name in Header on Odd Side (Right Odd). Page numbering in footer


% ********************************* Preamble **********************************
% Preamble: Contains packages and user-defined commands and settings
\input{Preamble/preamble}

% ******************** Thesis Information & Meta-data *************************
%% The title of the thesis
\title{Writing your PhD Thesis in \texorpdfstring{\\ \LaTeX2e}{LaTeX2e}} 
%\texorpdfstring is used for PDF metadata. Usage: \texorpdfstring{LaTeX_Version}{PDF Version (non-latex)} eg., \texorpdfstring{$sigma$}{sigma}

%% The full name of the author
\author{Krishna Kumar}

%% Department (eg. Department of Engineering, Maths, Physics)
\dept{Department of Engineering}

%% University and Crest
\university{University of Cambridge}
\crest{\includegraphics[width=0.25\textwidth]{University_Crest}}

%% You can redefine the submission text:
% Default as per the University guidelines: This dissertation is submitted for the degree of Doctor of Philosophy
%\renewcommand{\submissiontext}{change the default text here if needed}

%% Full title of the Degree 
\degree{Doctor of Philosophy}
 
%% College affiliation (optional)
\college{King's College}

%% Submission date
\degreedate{2013} 

%% Meta information
\subject{LaTeX}
\keywords{{LaTeX} {PhD Thesis} {Engineering} {University of Cambridge}} 



% ******************************** Abstract Separate *******************************
% To printout only the titlepage and the abstract with the PhD title and the author name for submission to the Student Registry, use the abstract option in the document class. 

\ifdefineAbstract
\includeonly{Abstract/abstract}
\else
\fi


% ********************************Front Matter************************************
\begin{document}


\frontmatter


\begin{titlepage}

\maketitle

\end{titlepage}

\include{Dedication/dedication}
\include{Declaration/declaration}
\include{Acknowledgement/acknowledgement}
\include{Abstract/abstract}

% *********************** Adding TOC and List of Figures *************************

\tableofcontents

\listoffigures

\listoftables 

% \printnomenclature[space] space can be set as 2.5cm between symbol and description
\printnomencl

% ***********************************Main Matter***********************************
\mainmatter

\include{Chapter1/chapter1}
\include{Chapter2/chapter2}
\include{Chapter3/chapter3}
%\include{Chapter4/chapter4}
%\include{Chapter5/chapter5}
%\include{Chapter6/chapter6}
%\include{Chapter7/chapter7}

% ***********************************Back Matter***********************************
\backmatter
\appendix
\include{Appendix1/appendix1}
\include{Appendix2/appendix2}

% ***********************************Bibliography**********************************
\begin{spacing}{0.9}

% Bibliography style

\bibliographystyle{apalike}
%\bibliographystyle{plainnat} % use this to have URLs listed in
%References

% changes default name Bibliography-> References 
\renewcommand{\bibname}{References}
\cleardoublepage

\bibliography{References/references} % Path to your References.bib file

\end{spacing}

% *************************************** Index ***********************************
\printthesisindex % If index is present

\end{document}
