forked from COPCSE-NTNU/bachelor-thesis-NTNU
-
Notifications
You must be signed in to change notification settings - Fork 0
/
cion-thesis.tex
160 lines (115 loc) · 4.86 KB
/
cion-thesis.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
160
%% This document gives an example on how to use the ntnubachelorthesis
%% LaTeX document class.
%% Use oneside for PDF delivery and twoside for printing in a book style
%% use language english, norsk, nynorsk and one of the following shortenings
%% ``BSP'' Bachelor i Spillprogrammering,\\
%% ``BRD'' Bachelor i drift av nettverk og datasystemer,\\
%% ``BIS'' Bachelor i Informasjonssikkerhet,\\
%% ``BPU'' Bachelor i Programvareutvikling, \\
%% ``BIND'' Bachelor i Ingeniorfad - data, \\
%% ``BADR'' Bachelor i drift av datasystemer, \\
%% ``BIT'' Bachelor i informatikk, \\
%% ``BABED'' Bachelor i IT-støttet bedriftsutvikling.
%% ``BMS'' Bachelor i material science.
%% ``BCE'' Bachelor i chemical science.
%% BPROG Bachelor in Programming [Games|Applications]
%% for example \documentclass[BCE,norsk,twoside]{ntnuthesis/ntnubachelorthesis}
\documentclass[BIND,english,oneside]{ntnuthesis/ntnubachelorthesis}
\usepackage{csvsimple}
\usepackage{booktabs}
\usepackage{wrapfig}
\usepackage{gnuplottex}
\usepackage{pgfplots}
\usepackage[titletoc]{appendix}
\usepackage[numberedsection]{glossaries}
\renewcommand{\glossarypreamble}{\label{appendix:glos}}
\usepackage{doi}
\usepackage{svg}
\usepackage{imakeidx}
\usepackage{csquotes}
\usepackage{epigraph}
\usepackage{tabularx}
\usepackage{tikz}
\usetikzlibrary{graphs,graphdrawing,graphdrawing.trees}
\usepackage[super]{nth}
\definecolor{darkgreen}{rgb}{0,0.5,0}
\definecolor{darkred}{rgb}{0.5,0.0,0}
\lstset{ basicstyle=\ttfamily,
keywordstyle=\color{blue}\ttfamily,
stringstyle=\color{darkred}\ttfamily,
commentstyle=\color{darkgreen}\ttfamily,
}
%Typesetting of C++
\newcommand{\CPP}[0]{{C\nolinebreak[4]\hspace{-.1em}\raisebox{.1ex}{\small\bf +\hspace{-.1em}+\ }}}
%\newcommand{\comment}[1]{\textcolor{blue}{\emph{#1}}} %% use of the colour and you can see how to use commands with parts \comment{so what}
%% The class files defines these two
%% \newcommand{\NTNU}{Norwegian University for Science and Technology} %
% you can create you one #define like structures using the \newcommand feature
% you can change behaviour using \renewcommand
\newcommand{\com}[1]{{\color{red}#1}} % supervisor comment
%\renewcommand{\com}[1]{} %remove starting % to remove supervisor comments
% This will appear in text \com{Lecuters comment} and be visible unless you uncomment
% the renewcommand line.
\newcommand{\todo}[1]{{\color{green}#1}} % items to do
%\renewcommand{\todo}[1]{} %remove starting % to remove items to do
\newcommand{\n}[1]{{\color{blue}#1}} % other comment
%\renewcommand{\n}[1]{} %remove starting % to remove notes
\newcommand{\dn}[1]{} % add the d to a note to say that you have finished with it.
\newcommand{\gj}{NTNU i Trondheim}
\makeglossaries
\setglossarysection{chapter}
% TODO: fix toclevel and chapter sub
\indexsetup{level=\section*,toclevel=section}
\makeindex[title=Terms and Explanations Index]
\usepackage{idxlayout}
\input{inc/glossary}
% Norwegian Characters, needs the {} or to be separate from the next letters
% \o{} \aa{} \ae{} so at the end of a word you can use \o \aa \ae
% \O{} \AA{} \AE{} you can also just leave a space and latex will remove it
% eg, NTNU i Gj\o vik or NTNU i Gj\o{}vik
\begin{document}
\input{inc/BachelorThesisData} % this is the file which contains all the details about your thesis
\makefrontpages % make the frontpages
% Don't indent paragraphs
\setlength{\parindent}{0em}
\setlength{\parskip}{8pt}
\input{inc/preface}
\tableofcontents
\listoffigures
\listoftables
\input{inc/introduction}
\input{inc/theory}
\input{inc/technologyandmethod}
\input{inc/results}
\input{inc/discussion}
\input{inc/conclusion}
\bibliographystyle{ntnuthesis/ntnubachelorthesis}
\bibliography{inc/BachelorExample}
\appendix %after this line all chapters will have letters instead of numbers
\begin{appendices}
\addtocontents{toc}{\protect\setcounter{tocdepth}{1}}
\printglossary
\chapter{Product vision document}
\label{appendix:vision}
\includepdf[pages=-]{inc/appendices/vision.pdf}
\chapter{Requirements document}
\label{appendix:requirement}
\includepdf[pages=-]{inc/appendices/requirement.pdf}
\chapter{Feature discussion and decisions}
\label{appendix:plansndecisions}
\includepdf[pages=-]{inc/appendices/permissionskubernetes.pdf}
\chapter{Autumn project report}
\label{appendix:autumn}
\includepdf[pages=-]{inc/appendices/cion-report.pdf}
\chapter{User test}
\label{appendix:usertest}
\includepdf[pages=-]{inc/appendices/user_test.pdf}
\chapter{Code documentation}
cion-api is the only project with extensive inline- and "docstring" code documentation. Which is why it is the only project included here
\section{cion-api}
\includepdf[pages=-]{inc/appendices/cion-api-code-doc.pdf}
\input{inc/appendices/system-doc/system-doc.tex}
\input{inc/appendices/projecthandbook.tex}
\input{inc/appendices/terms-explanations.tex}
\end{appendices}
\end{document}