-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathmain.tex
159 lines (123 loc) · 3.66 KB
/
main.tex
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
% Intended LaTeX compiler: xelatex + biber
% Compile with latexmk should Just Work™
% latexmk -xelatex -shell-escape main.tex
\documentclass[12pt, a4paper]{gsdiss}
\author{Your name}
\date{\today}
\title{The title}
\supervisor{Dr. A Anon}
\degree{BSc Creative Computing}
% You only need this if you are using SVG images, and it relies on the
% available of external programmes like inkscape.
% \usepackage{svg} % \includesvg
\usepackage{float} % Custom floats and the H option.
% \usepackage{subfig} % Combine several figures into one.
% \usepackage{wrapfig} % For figure placement
% \usepackage{rotating} % For sideways figures and tables.
% \usepackage{longtable} % Multipage tables.
\usepackage{amssymb} % Additional maths symbols.
\usepackage{amsthm} % For theorems etc.
\usepackage{mathtools} % amsmath plus fixes.
\usepackage{algorithmic} % Typeset pseudo-code.
\usepackage[chapter]{algorithm} % Float algorithmic blocks (e.g. add caption).
% Code formatting: Use either listings or minted to typeset code.
\usepackage{listings}
% Minted requires Python and the Pygments package.
% \usepackage{minted}
% More compact lists.
\usepackage{enumitem}
\setlist{nosep}
% Set XeLaTeX or PdfLaTeX options.
\usepackage{iftex}
% XeLaTeX options.
\ifxetex
\usepackage{unicode-math} % Include unicode characters in
% maths.
\usepackage{fontspec} % For setting fonts.
% Prioritise FOSS fonts.
\IfFontExistsTF{Libertinus Serif}{
\setmainfont{Libertinus Serif}
}{
\IfFontExistsTF{Times New Roman}{
\setmainfont{Times New Roman}
}{}
}
\IfFontExistsTF{Libertinus Sans}{
\setsansfont{Libertinus Sans}
}{}
\IfFontExistsTF{Libertinus Math}{
\setmathfont{Libertinus Math}
}{}
\IfFontExistsTF{Roboto Mono}{
\setmonofont{Roboto Mono}
}{}
\usepackage{csquotes} % Context sensitive quotations.
\usepackage{polyglossia} % Babel replacement for XeLaTex.
\setmainlanguage[variant=uk]{english}
\fi
% PdfLaTeX options.
\ifpdftex
\usepackage[utf8]{inputenc}
% Use Time New Roman clone.
\usepackage{mathptmx}
% Or use newer TX font package.
% \usepackage{newtxtext,newtxmath}
\usepackage[english]{babel}
\fi
% Use biblatex+biber for references.
\usepackage[style=authoryear,backend=biber]{biblatex}
\DefineBibliographyStrings{english}{%
bibliography = {References},
}
\ExecuteBibliographyOptions{
sorting=nyt,
maxcitenames=2,
giveninits=true,
urldate=long,
doi=true,
isbn=false,
eprint=false,
uniquename=allinit,
uniquelist=minyear
}
\addbibresource{refs.bib}
\usepackage{hyperref} % For cross references.
\hypersetup{
pdfauthor={\theauthor},
pdftitle={\thetitle},
pdfkeywords={},
pdfsubject={},
pdfcreator={},
pdflang={British},
colorlinks,
linkcolor=,
urlcolor=gray
}
% Custom latex commands.
\input{symbols}
% Custom title page.
\input{text/0-front-matter/00-cover.tex}
\begin{document}
\maketitle
\include{text/0-front-matter/01-abstract}
\include{text/0-front-matter/02-acknowledgements}
% \include{text/0-front-matter/03-license}
% \include{text/0-front-matter/04-publications}
\tableofcontents
\listoftables
\listoffigures
\include{text/0-front-matter/05-abbreviations}
% Chapters
\include{text/1-chapters/01-introduction}
\include{text/1-chapters/02-background}
\include{text/1-chapters/03-design}
\include{text/1-chapters/04-implementation}
\include{text/1-chapters/05-testing}
\include{text/1-chapters/06-evaluation}
\include{text/1-chapters/07-conclusions}
% References
\printbibliography[heading=bibintoc]
% Appendices
\appendix
\include{text/2-appendices/00-notational-conventions}
\end{document}