%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
% Masters/Doctoral Thesis
% LaTeX Template
% Version 2.5 (27/8/17)
%
% This template was downloaded from:
% http://www.LaTeXTemplates.com
%
% Version 2.x major modifications by:
% Vel (vel@latextemplates.com)
%
% This template is based on a template by:
% Steve Gunn (http://users.ecs.soton.ac.uk/srg/softwaretools/document/templates/)
% Sunil Patel (http://www.sunilpatel.co.uk/thesis-template/)
% Naman Merchant (https://www.namanmerchant.com)
%
% Template license:
% CC BY-NC-SA 3.0 (http://creativecommons.org/licenses/by-nc-sa/3.0/)
%
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
%----------------------------------------------------------------------------------------
% PACKAGES AND OTHER DOCUMENT CONFIGURATIONS
%----------------------------------------------------------------------------------------
\documentclass[
12pt, % The default document font size, options: 10pt, 11pt, 12pt
%oneside, % Two side (alternating margins) for binding by default, uncomment to switch to one side
english, % ngerman for German
onehalfspacing, % Single line spacing, alternatives: onehalfspacing or doublespacing
%draft, % Uncomment to enable draft mode (no pictures, no links, overfull hboxes indicated)
nolistspacing, % If the document is onehalfspacing or doublespacing, uncomment this to set spacing in lists to single
liststotoc, % Uncomment to add the list of figures/tables/etc to the table of contents
toctotoc, % Uncomment to add the main table of contents to the table of contents
parskip, % Uncomment to add space between paragraphs
%nohyperref, % Uncomment to not load the hyperref package
headsepline, % Uncomment to get a line under the header
%chapterinoneline, % Uncomment to place the chapter title next to the number on one line
%consistentlayout, % Uncomment to change the layout of the declaration, abstract and acknowledgements pages to match the default layout
]{MastersDoctoralThesis} % The class file specifying the document structure
\usepackage{mathpazo} % Use the Palatino font by default
\usepackage{graphicx}
\usepackage{hyperref,doi}
\usepackage{subcaption}
\usepackage{float}
\usepackage{mathtools}
\usepackage{algorithm}
\usepackage{algpseudocode}
\usepackage{isodate}
% \usepackage{subfig}
\usepackage[utf8]{inputenc} % Required for inputting international characters
\usepackage[T1]{fontenc} % Output font encoding for international characters
\usepackage[c]{esvect}
% My packages
\usepackage[normalem]{ulem}
\usepackage{manfnt,nicefrac}
%Import the natbib package and sets a bibliography style
\usepackage[round,authoryear]{natbib}
\usepackage{hyphenat}
\usepackage{bibentry}
\usepackage{lipsum}
\hyphenation{ag-en-ts be-tw-e-en da-g-u-m mi-s-ra h-a-a-s phy-si-cs sma-l-l-er sear-ches ar-cher ma-k-es wi-d-e-ly thr-e-a-ds nishi-mura }
\renewcommand*{\thechapter}{\Roman{chapter}}
\renewcommand{\thefigure}{\arabic{chapter}.\arabic{figure}}
\renewcommand{\thetable}{\arabic{chapter}.\arabic{table}}
\renewcommand{\thesection}{\arabic{chapter}.\arabic{section}}
\renewcommand{\theequation}{\arabic{chapter}.\arabic{equation}}
\newcommand{\ignore}[1]{}
\algnewcommand\algorithmicforeach{\textbf{for each}}
\algdef{S}[FOR]{ForEach}[1]{\algorithmicforeach\ #1\ \algorithmicdo}
%\usepackage{helvet}
%\renewcommand{\familydefault}{\sfdefault}
\newcommand{\cube}[1]{$\mbox{\mancube}_{#1}$}
\setcounter{tocdepth}{2} % Level of subsections to show in the Table of Contents
\newcommand*{\urlprefix}{Available at: }
\newcommand{\vect}{\overrightarrow}
\def\UrlBreaks{\do\/\do-}
\DeclarePairedDelimiter\ceil{\lceil}{\rceil}
\DeclarePairedDelimiter\floor{\lfloor}{\rfloor}
\graphicspath{{images/}}
% \usepackage{mathtools}
% \DeclarePairedDelimiter\ceil{\lceil}{\rceil}
% \DeclarePairedDelimiter\floor{\lfloor}{\rfloor}
% \newcommand{\ignore}[1]{}
%\usepackage[backend=bibtex,style=authoryear,natbib=true]{biblatex} % Use the bibtex backend with the authoryear citation style (which resembles APA)
%\addbibresource{../zotero-bibtex.bib} % The filename of the bibliography
%\addbibresource{example.bib}
\usepackage[autostyle=true]{csquotes} % Required to generate language-dependent quotes in the bibliography
\usepackage{ragged2e}
\setlength{\RaggedRightParindent}{\parindent}
\usepackage{csvsimple,longtable,pdflscape,booktabs}
%----------------------------------------------------------------------------------------
% MARGIN SETTINGS
%----------------------------------------------------------------------------------------
\geometry{
paper=a4paper, % Change to letterpaper for US letter
inner=2.5cm, % Inner margin
outer=3.8cm, % Outer margin
bindingoffset=.5cm, % Binding offset
top=1.5cm, % Top margin
bottom=1.5cm, % Bottom margin
%showframe, % Uncomment to show how the type block is set on the page
}
%----------------------------------------------------------------------------------------
% THESIS INFORMATION
%----------------------------------------------------------------------------------------
\thesistitle{ Thesis Title} % Your thesis title, this is used in the title and abstract, print it elsewhere with \ttitle
\supervisor{First \textsc{Supervisor}} % Your supervisor's name, this is used in the title page, print it elsewhere with \supname
\secondsupervisor{Second \textsc{Supervisor}} % Your supervisor's name, this is used in the title page, print it elsewhere with \secondsupname
\thirdsupervisor{Third \textsc{supervisor}} % Your supervisor's name, this is used in the title page, print it elsewhere with \secondsupname
\examiner{} % Your examiner's name, this is not currently used anywhere in the template, print it elsewhere with \examname
\degree{Doctor of Philosophy} % Your degree name, this is used in the title page and abstract, print it elsewhere with \degreename
\author{Your \textsc{Name}} % Your name, this is used in the title page and abstract, print it elsewhere with \authorname
\addresses{} % Your address, this is not currently used anywhere in the template, print it elsewhere with \addressname
\subject{Computer Science} % Your subject area, this is not currently used anywhere in the template, print it elsewhere with \subjectname
\keywords{} % Keywords for your thesis, this is not currently used anywhere in the template, print it elsewhere with \keywordnames
\university{\href{http://www.abertay.ac.uk}{Abertay University}} % Your university's name and URL, this is used in the title page and abstract, print it elsewhere with \univname
\department{\href{https://www.abertay.ac.uk/schools/school-of-design-and-informatics/}{School of Design and Informatics}} % Your department's name and URL, this is used in the title page and abstract, print it elsewhere with \deptname
\group{\href{https://www.abertay.ac.uk/research-overview/research-strategy-and-structure/division-of-games-technology-and-mathematics/}{Division of Games Technology and Mathematics}} % Your research group's name and URL, this is used in the title page, print it elsewhere with \groupname
\faculty{\href{http://faculty.university.com}{Faculty Name}} % Your faculty's name and URL, this is used in the title page and abstract, print it elsewhere with \facname
\AtBeginDocument{
\hypersetup{pdftitle=\ttitle} % Set the PDF's title to your title
\hypersetup{pdfauthor=\authorname} % Set the PDF's author to your name
\hypersetup{pdfkeywords=\keywordnames} % Set the PDF's keywords to your keywords
}
\begin{document}
% Set width between number and title for a chapter in TOC
% \setlength\cftchapternumwidth{4em}
\setlength{\cftchapnumwidth}{2.5em}
% \cftsetindents{section}{1em}{3em}
%\RaggedRight %Uncomment this for left alignment and not justified
\pagestyle{plain} % Default to the plain heading style until the thesis style is called for the body content
%----------------------------------------------------------------------------------------
% TITLE PAGE
%----------------------------------------------------------------------------------------
\begin{titlepage}
\begin{center}
\includegraphics[width=3cm]{abertay_logo.png}
{\scshape\LARGE \univname\par}\vspace{1.2cm} % University name
%\vspace*{.06\textheight}
\textsc{\Large Doctoral Thesis}\\[0.5cm] % Thesis type
\HRule \\[0.4cm] % Horizontal line
{\LARGE \bfseries \ttitle\par}\vspace{0.4cm} % Thesis title
\HRule \\[0.8cm] % Horizontal line
\begin{minipage}[t]{0.4\textwidth}
\begin{flushleft} \large
\emph{Author:}\\
\href{http://www.yourwebsite.com}{\authorname} % Author name - remove the \href bracket to remove the link
\end{flushleft}
\end{minipage}
\begin{minipage}[t]{0.4\textwidth}
\begin{flushright} \large
\emph{Supervisors:} \\
\href{https://www.nobelprize.org/prizes/physics/1921/einstein/biographical/ /*supervisor link*/}{\supname} % Supervisor name - remove the \href bracket to remove the link
\href{https://www.nobelprize.org/prizes/physics/1921/einstein/biographical/ /*supervisor link*/}{\secondsupname}
\href{https://www.nobelprize.org/prizes/physics/1921/einstein/biographical/ /*supervisor link*/}{\thirdsupname}
\end{flushright}
\end{minipage}\\[1.4cm] % Should be 1.75 if 3d supervisor is added
\large \textit{A thesis submitted in fulfilment of the requirements\\ for the degree of \degreename}\\[0.2cm] % University requirement text
\textit{in the}\\[0.2cm]
\groupname\\\deptname\\[0.5cm] % Research group name and department name
{\large \printdayoff\today}\\[2cm] % Date
%\includegraphics{logo.png} % University/department logo - uncomment to place it
\vfill
\end{center}
\end{titlepage}
%--------------------------------------------------------------------------------------
% INITIAL PAGES
%-------------------------------------------------------------------------------------
\input{initial-pages.tex}
%--------------------------------------------------------------------------------------
% THESIS CONTENT - CHAPTERS
%--------------------------------------------------------------------------------------
\mainmatter % Begin numeric (1,2,3...) page numbering
\pagestyle{thesis} % Return the page headers back to the "thesis" style
% Include the chapters of the thesis as separate files from the Chapters folder
% Uncomment the lines as you write the chapters
\include{Chapters/1-Introduction}
\include{Chapters/2-lit_review}
\include{Chapters/3-ChapterTutorial}
\setcounter{chapter}{7}
\include{Chapters/8-Conclusion}
%\include{Chapters/Chapter1}
%\include{Chapters/Chapter2}
%\include{Chapters/Chapter3}
%\include{Chapters/Chapter4}
%\include{Chapters/Chapter5}
% \include{Chapters/optimistic_paper}
%----------------------------------------------------------------------------------------
% BIBLIOGRAPHY
%----------------------------------------------------------------------------------------
%\printbibliography[heading=bibintoc]
%\bibliographystyle{bath}
%\bibliography{zotero-bibtex}
\bibliographystyle{abertay}
\renewcommand{\harvardurl}{\textbf{URL:} \url}
\bibliography{biblatex-examples}
%----------------------------------------------------------------------------------------
% THESIS CONTENT - APPENDICES
%----------------------------------------------------------------------------------------
\appendix % Cue to tell LaTeX that the following "chapters" are Appendices
% Include the appendices of the thesis as separate files from the Appendices folder
% Uncomment the lines as you write the Appendices
\include{Appendices/AppendixA}
\include{Appendices/AppendixB}
\include{Appendices/AppendixC}
%----------------------------------------------------------------------------------------
\end{document}