\documentclass[a4paper, 11pt, twoside]{report}
%% Language and font encodings
% ---------------------------
% You can change your font style and encoding here
% I've selected a relatively modern look and easy
% to ready style
% ---------------------------
\usepackage[utf8]{inputenc}
%\usepackage{arev}
\usepackage{mathptmx}
\usepackage[T1]{fontenc}
%\renewcommand{\familydefault}{\sfdefault}
%\renewcommand*\familydefault{\sfdefault}
% ---------------------------
%% Sets page size and margins
% ---------------------------
% Your margins, these are acceptable margins for getting a hard-copy
% but no-one really every requests a hard-copy anymore
% They are adjusted for enough content flow and easy of reading
% ---------------------------
\usepackage[a4paper,top=2.5cm,bottom=2.5cm,left=3cm,right=3cm,marginparwidth=1.75cm]{geometry}
\usepackage{setspace}
\onehalfspacing
% ---------------------------
%% Useful packages
% ---------------------------
% Some useful stuff, you may add more as you go
% ---------------------------
\usepackage{amsmath,amsfonts,bm,amsthm}
\usepackage{graphicx}
\usepackage{booktabs}
\usepackage{tikz}
\usepackage{parskip}
\usepackage{indentfirst}
\usepackage{hyperref}
% Here is a nicer colour for hyperlinks
\hypersetup{
colorlinks=true,
allcolors=[rgb]{0.24,0,0.80}
}
\usepackage[capitalise]{cleveref}
% ---------------------------
% Setup bibliography stuff, please use the more modern
% biblatex and make sure your bib file is updated accordingly
% ---------------------------
\usepackage{biblatex}
\addbibresource{sample.bib}
% The following counter allows breaking of urls and DOIs in bibliography
% So latex does not complain about overfull boxes there
\setcounter{biburlnumpenalty}{9000}
% ---------------------------
% Your title and info
% ---------------------------
\title{Imperial College PhD Thesis}
\author{nuric}
% Update other title stuff in title/title.tex, e.g. department
\date{April 12, 2022}
% ---------------------------
% Please understand the difference between \include and \input
% ---------------------------
% \include is good for chapters and it CACHES the intermediate generated content
% so it speeds up compiling large projects like a thesis
% *** You CANNOT nest \include, so just use it for chapters. ***
% \input literally is the same as copy past, it just dumps the content
% it is useful for reducing clutter, like a title page below
% or large tables and figures.
% *** You CAN nest \input, and use it inside chapters. ***
% ---------------------------
% The following command lets you only compile / work on a specific chapter
% you can give any \include command argument, and even multiple ones
% Don't compile everything every time, especially when writing
%\includeonly{conclusion/conclusion}
% ---------------------------
\begin{document}
\input{title/title.tex}
% The abstract covers all the college requirements, declaration, copyright etc. at the time of making this template.
\input{preamble/abstract.tex}
% ---------------------------
\tableofcontents
\listoffigures
\listoftables
% ---------------------------
% Put all figures and junk for each chapter in their respective folder
\include{introduction/introduction}
\include{background/background}
% Include the upcoming chapters here
% ---------------------------
\AtNextBibliography{\small}
\printbibliography[heading=bibintoc]
% ---------------------------
% ---------------------------
% Appendix works like chapters
\appendix
\include{appendix/appendix}
% ---------------------------
\end{document}