diff options
author | Aria Shrimpton <me@aria.rip> | 2024-02-09 12:24:21 +0000 |
---|---|---|
committer | Aria Shrimpton <me@aria.rip> | 2024-02-09 12:24:21 +0000 |
commit | eecdde83e1bcccee7cdfa4af8191ec1aa727acb7 (patch) | |
tree | 6715a8b654550964ed7bac11ec4a2c3244c2e283 /thesis/main.tex | |
parent | e43fef5b73b74849e0f85df48a62b29be52534b3 (diff) |
more writing
Diffstat (limited to 'thesis/main.tex')
-rw-r--r-- | thesis/main.tex | 40 |
1 files changed, 33 insertions, 7 deletions
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} |