% UG project example file, February 2022 % Do not change the first two lines of code, except you may delete "logo," if causing problems. % Understand any problems and seek approval before assuming it's ok to remove ugcheck. \documentclass[logo,bsc,singlespacing,parskip,online]{infthesis} \usepackage{ugcheck} \usepackage[dvipsnames]{xcolor} \usepackage{graphicx} \usepackage{adjustbox} \usepackage{amsmath} \usepackage{microtype} \usepackage{calc} \usepackage{url} \usepackage{natbib} \usepackage{hyperref} \bibliographystyle{unsrtnat} \setcitestyle{authoryear,open={(},close={)}} \usepackage{algorithm} \usepackage{algpseudocode} %% Convenience macros \newcommand{\code}[1]{\lstinline$#1$} \newcommand{\todo}[1]{\par\noindent\colorbox{yellow}{\begin{minipage}{\linewidth-2\fboxsep}TODO: #1\end{minipage}}\par} %% Code blocks \usepackage{listings, listings-rust} \definecolor{codegreen}{rgb}{0,0.6,0} \definecolor{codegray}{rgb}{0.5,0.5,0.5} \definecolor{codepurple}{rgb}{0.58,0,0.82} \lstdefinestyle{mystyle}{ commentstyle=\color{codegreen}, keywordstyle=\color{magenta}, numberstyle=\tiny\color{codegray}, stringstyle=\color{codepurple}, basicstyle=\ttfamily, breakatwhitespace=false, breaklines=true, captionpos=b, keepspaces=true, numbers=left, numbersep=5pt, showspaces=false, showstringspaces=false, showtabs=false, tabsize=4 } \lstset{style=mystyle} \begin{document} \begin{preliminary} \title{Candelabra: Efficient selection of ideal container implementations} \author{Aria Shrimpton} \course{Computer Science} \project{4th Year Project Report} \date{\today} \abstract{ \input{parts/abstract} } \maketitle \newenvironment{ethics} {\begin{frontenv}{Research Ethics Approval}{\LARGE}} {\end{frontenv}\newpage} \begin{ethics} This project was planned in accordance with the Informatics Research Ethics policy. It did not involve any aspects that required approval from the Informatics Research Ethics committee. \standarddeclaration \end{ethics} \begin{acknowledgements} \input{parts/acknowledgements} \end{acknowledgements} \tableofcontents \end{preliminary} \chapter{Introduction} \label{chap:introduction} \input{parts/introduction} \chapter{Background} \label{chap:background} \input {parts/background} \chapter{Design} \label{chap:design} \input{parts/design} \chapter{Implementation} \label{chap:implementation} \input{parts/implementation} \chapter{Results \& analysis} \label{chap:results} \input{parts/results} \chapter{Conclusion} \label{chap:conclusion} \input{parts/conclusion} \bibliography{biblio} %% \appendix %% \chapter{First appendix} %% \section{First section} %% Any appendices, including any required ethics information, should be included %% after the references. %% Markers do not have to consider appendices. Make sure that your contributions %% are made clear in the main body of the dissertation (within the page limit). \end{document}