From eecdde83e1bcccee7cdfa4af8191ec1aa727acb7 Mon Sep 17 00:00:00 2001 From: Aria Shrimpton Date: Fri, 9 Feb 2024 12:24:21 +0000 Subject: more writing --- thesis/main.tex | 40 +++++++++++++++++++++++++++++++++------- 1 file changed, 33 insertions(+), 7 deletions(-) (limited to 'thesis/main.tex') diff --git a/thesis/main.tex b/thesis/main.tex index 21de962..d16e956 100644 --- a/thesis/main.tex +++ b/thesis/main.tex @@ -14,6 +14,32 @@ \newcommand{\code}{\texttt} \newcommand{\todo}[1]{\colorbox{yellow}{TODO: #1} \newline} +%% 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} @@ -50,25 +76,25 @@ from the Informatics Research Ethics committee. \end{preliminary} -\chapter{Introduction} +\chapter{Introduction} \label{chap:introduction} \input{parts/introduction} -\chapter{Background} +\chapter{Background} \label{chap:background} \input {parts/background} -\chapter{Design} +\chapter{Design} \label{chap:design} \input{parts/design} -\chapter{Implementation} +\chapter{Implementation} \label{chap:implementation} \input{parts/implementation} -\chapter{Results} +\chapter{Results} \label{chap:results} \input{parts/results} -\chapter{Analysis} +\chapter{Analysis} \label{chap:analysis} \input{parts/analysis} -\chapter{Conclusion} +\chapter{Conclusion} \label{chap:conclusion} \input{parts/conclusion} -- cgit v1.2.3