% 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]{infthesis}
\usepackage{ugcheck}

\usepackage[dvipsnames]{xcolor}

\usepackage{microtype}
\usepackage[style=numeric]{biblatex}
\addbibresource{biblio.bib}

%% Convenience macros
\newcommand{\code}{\lstinline}
\newcommand{\todo}[1]{\colorbox{yellow}{TODO: #1} \par}

%% Code blocks
\usepackage{listings}
\usepackage{courier}
\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\footnotesize,
    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{wip}
\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} \label{chap:results}
\input{parts/results}

\chapter{Analysis} \label{chap:analysis}
\input{parts/analysis}

\chapter{Conclusion} \label{chap:conclusion}
\input{parts/conclusion}


\printbibliography

%% \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}
