%%
%% edengths.tex - LaTeX2e thesis driver
%%
%% Copyright (C) 1998 George Taylor
%% Copyright (C) 2010-2021 Mathew Topper <damm_horse@yahoo.co.uk>
%%
%% This file is part of the University of Edinburgh, Department of
%% Engineering LaTeX2e thesis template.
%%
%%
%% ABOUT
%%
%% This is the driver file for a Latex2e template which corresponds to the
%% regulations regarding layout of a thesis submitted within the University
%% of Edinburgh.
%%%% LOAD DOCUMENT CLASS
\documentclass[11pt,crest,nopardent,msfonts,fancychap,hyper,nomencl]{edengths}
%% Class options go in the square brackets above
%% i.e. \documentclass[options]{edengths}
%% Default report class options are:
%% (These are automatically included)
%%
%% a4paper
%% openright - Start chapters on righthand side pages
%% titlepage - Title should be on it's own page
%%
%% Standard available report class options are:
%%
%% 10pt
%% 11pt
%% 12pt
%% draft
%% final
%% fleqno
%% leqno
%% oneside
%% twoside
%% edengths class specific options:
%%
%% subsubnos - Enable numbering of subsubsections (note: these don't
%% appear in the contents)
%% nosans - Don't use sans serif fonts
%% nopardent - Remove paragraph indent and add a line skip
%% msfonts - Use MS fonts rather than latex default
%% fancychap - Use fancy chapter headings like jthesis
%% crest - Use a crest on the front page
%% labels - Print labels in spine margin.
%% hyper - Use the hyperref package to put clickable links into
%% the document. Use \autoref{fig:example} now instead of,
%% say, figure~\ref{fig:example}. Settings are in
%% edengfmt.tex.
%% nomencl - Use the nomencl package. Example of it's usage are in
%% front/nomencl.tex. The Nomenclature is called from
%% front/frontmatr.tex
%% ADDITIONAL FORMATTING can be done in 'edengfmt.tex' where the page
%% dimensions, header/footers, table of contents and the names of
%% the bibliography and other formatting settings can be altered.
%% IN PARTICULAR THE LINE SPACING IS SET IN 'edengfmt.tex' AND
%% THE HYPERREF OPTIONS ARE SET HERE TOO. THIS SETS THE NAME OF
%% THE PDF, FOR EXAMPLE.
%% The class file should automatically detect pdflatex and provide
%% the right options.
%%%% LOAD USER DEFINED PACKAGES.
%% These are in ``packages.tex'' file and is automatically loaded
%% by the class file
%%%% LOAD USER DEFINED COMMANDS.
\input{defintns}
%%%% SET THE PATH FOR DIAGRAMS.
\graphicspath{{chapter1/}{chapter2/}}%{chapter4/}
% {chapter_5/}{chapter_6/}{appendix/}}
%%%% PATH TO CREST
%% If you're not using the default crest files add the path here.
%% The default files are found in the 'front' directory.
%% Note: latex needs a eps file, while pdflatex needs pdf or jpg.
% \crestfile{/path/to/crest.pdps}
%%%% TITLE DETAILS
%% Author
\author{Robert Boberson}
%% Title
\title{`edengths.cls': The Latex Class File for Formatting
a Phd Thesis About Clever Stuff at The University of Edinburgh}
%% Qualification (Defaults to \textit{Doctor of Philosphy})
% \qualification{}
%% University (Defaults to \textsc{The University of Edinburgh})
% \university{}
%% Year of submission
\date{2021}
%% NOTE - IF YOUR USING hyper THEN THE ABOVE DETAILS NEED SET IN
%% edengfmt.tex AS WELL.
%%%% CHAPTERS TO INCLUDE
%% You may restrict which chapters are compiled using \includeonly
%% appendix/edengapp must be in the list if appendicies are included.
% \includeonly{front/frontmtr, chapter1/chapter1}
% \includeonly{chapter2/chapter2, chapter3/chapter3}
% \includeonly{chapter6/chapter6, appendix/edengapp,
% appendix/appendx1 appendix/appendix2}
%%%% START DOCUMENT
\begin{document}
%%%% FRONT MATTER
\include{front/frontmtr}
%%%% START MAIN BODY TEXT
%% Call the edengths wrapper.
\startbody
%% The template will work with part definitions (starred or otherwise), but note
%% that nameref and autoref may not work properly for referencing them.
% \part{The Fellowship of the Thing}
\include{chapter1/chapter1}
% \part{The Two Flowers}
\include{chapter2/chapter2}
\include{chapter3/chapter3}
% \include{chapter4/chapter4}
% \include{chapter5/chapter5}
% \include{chapter6/chapter6}
%%%% START APPENDICIES
%% Execute the appendix commands. To allow use of include
%% for appendix files, the commands are maintained in a
%% separate file.
%%
%% This file must also be listed in the \includeonly command.
\include{appendix/edengapp}
%% Appendix files. Start each with \chapter
\include{appendix/appendx1}
% \include{appendix/appendx2}
%%%% WRITE OUT BIBLIOGRAPHY
%% Path to bib file. Use \edbibliography command here or the
\edbibliography{bib/edengref}
%% Path to style file. It's recommended that you use the provided style
%% file (a variation on plainnat) as it does italic et als and reduces
%% all first names to initials. It also puts the surname first in apa style.
\bibliographystyle{apacite}
\end{document}