%-------------------------------------------------------------------------------
% TEMPLATE FOR UCL MSc THESES
% (c) Sofia Feist, 2020
% This is a template for a MSc Thesis document, based on a Microsoft Word template given
% by the Bartlett faculty.
%-------------------------------------------------------------------------------
% ------------------ DOCUMENT SETUP ------------------
% The document class defines the document type (report) and sets the font size (10pt)
\documentclass[10pt]{report}
\author{the author}
% Inputs the Document Packages
\input{_Packages}
% Controls how many subsections the document can take
% and how many of those will get put into the contents pages.
\setcounter{secnumdepth}{2}
\setcounter{tocdepth}{2}
% Line Spacing
\setstretch{1.0}
% The folder path where the images will be uploaded
\graphicspath{{./Images/}}
% Places a dot after Chapter/Section/Subsection number in Table of Contents
\renewcommand{\cftchapaftersnum}{.}
\renewcommand{\cftsecaftersnum}{.}
\renewcommand{\cftsubsecaftersnum}{.}
% Customize Dot spacing in Table of Contents/List of Figures/Tables
\renewcommand{\cftdotsep}{0.3}
% Numeration Type for Chapters and Sections (Roman I, II, II / Arabic 1, 2, 3)
\renewcommand\thechapter{\Roman{chapter}}
\renewcommand\thesection{\arabic{section}}
% Line Break Properties
\tolerance=1
\emergencystretch=\maxdimen
\hyphenpenalty=10000
\hbadness=10000
% Formatting Table of Contents/Lists titles
\renewcommand{\contentsname}{\normalfont\bfseries\LARGE{CONTENTS}}
\renewcommand{\listfigurename}{\normalfont\bfseries\LARGE{LIST OF FIGURES}}
\renewcommand{\listtablename}{\normalfont\bfseries\LARGE{LIST OF TABLES}}
% Title Formatting customization
\titleformat{\chapter}{\normalfont\bfseries\LARGE}{\thechapter.}{1em}{\MakeUppercase}
\titleformat{\section}{\normalfont\bfseries\large}{\thesection.}{1em}{\MakeUppercase}
\titlespacing*{\section} {0pt} {0pt} {15pt} % left, before, after
\titleformat{\subsection}{\normalfont\bfseries\large}{\thesubsection.}{1em}{}
\titlespacing*{\subsection} {0pt} {10pt} {10pt}
\titleformat{\subsubsection}{\normalfont\bfseries\large}{}{1em}{}
\titlespacing*{\subsubsection} {0pt} {10pt} {10pt}
% HEADER AND FOOTER
\pagestyle{fancy} % Set Page Style (Header and Footer Style)
\fancyhf{} % Clears the header and footer (from the default info)
% Header
\renewcommand{\headrulewidth}{0pt} % Removes the default Horizontal Line in Header
\fancyhead[L]{Student}
\fancyhead[R]{September 2020}
% Footer
\fancyfoot[C]{\thepage} % Page Number
% Change figure numbering per section
\numberwithin{figure}{section}
\numberwithin{table}{section}
% -------------------------------------------------
% --------- The document starts from here ---------
% -------------------------------------------------
\begin{document}
% ------------------ TITLE PAGE -------------------
\begin{titlepage}
\begin{center}
% UCL IMAGE
\vspace*{-3cm}
\makebox[\textwidth]{\includegraphics[width=\paperwidth]{Image/UCL_LOGO.png}}
\vfill % Elastic empty space filler
% Title
{\LARGE\textbf{THESIS TITLE\\
% Subtitle
THESIS SUBTITLE\\}}
\vspace{0.8cm}
by\\
\vspace{0.8cm}
% Author
{\LARGE\textbf{Author Name\\}}
% Date
\vspace{1.5cm}
{\LARGE\textbf{September 2020}}
\vfill
\textbf{\setstretch{2.0}
A Dissertation submitted in part fulfilment of the\\
Degree of Master of Science Built Environment:\\
Architectural Computation\\
\vspace{1cm}
Institute for Environmental Design and Engineering\\
Bartlett School of Environment, Energy and Resources\\
University College London\\}
\vspace{2cm}
\end{center}
\end{titlepage}
% ------------------ TABLE OF CONTENTS --------------------
\tableofcontents
% ------------------- LIST OF FIGURES --------------------
\newpage
%{\let\oldnumberline\numberline % Uncomment to add the word 'Figure' to figure number in List of Figures
%\renewcommand{\numberline}{\figurename~\oldnumberline}
\listoffigures%}
\addcontentsline{toc}{chapter}{List of Figures} % Add List of figures into contents without any numeration
% ------------------- LIST OF TABLES ---------------------
\newpage
\listoftables
\addcontentsline{toc}{chapter}{List of Tables} % Add List of tables into contents without any numeration
% ---------------------- ABSTRACT -----------------------
\newpage
\chapter*{Abstract} % the Asterix (*) indicates that this section will be added to the table of contents but no number will be present beside it.
\addcontentsline{toc}{chapter}{Abstract}
\blindtext
\newline
\newline
\textbf{Keywords:} Keyword 1, Keyword 2, Keyword 3
% ----------------- ACKNOWLEDGEMENTS -------------------
\newpage
\chapter*{Acknowledgements}
\addcontentsline{toc}{chapter}{Acknowledgement}
\blindtext
% ------------------ CHAPTER START --------------------
\newpage
\chapter{Chapter}
\label{chapterlabel}
\blindtext
\newline
\blindtext
% ------------------- INTRODUCTION ---------------------
\newpage
\include{Introduction} % Section/Chapter entries can be done in the Main.tex file or in a
% separate tex file for longer and more complex documents
% --------------- REST OF THE DOCUMENT -----------------
\newpage
\section{New Section}
\subsection{New Subsection}
\subsubsection{New Subsubsection}
\newpage
\section{New Section}
\subsection{Lorem}
\newpage
\section{Conclusion}
\subsection{Future Work}
% ------------------- BIBLIOGRAPHY ---------------------
\newpage
\printbibliography[title = {References}]
\addcontentsline{toc}{chapter}{References} % Adds References Section to Table of Contents
\end{document}
% -------------------------------------------------
% --------- The document ends from here -----------
% -------------------------------------------------