-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy paththesis.tex
223 lines (178 loc) · 6.22 KB
/
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
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
%% (Master) Thesis template
% Template version used: v1.4
%
% Largely adapted from Adrian Nievergelt's template for the ADPS
% (lecture notes) project.
%% We use the memoir class because it offers a many easy to use features.
\documentclass[11pt,a4paper,titlepage,oneside]{memoir}
%% Packages
%% ========
%% LaTeX Font encoding -- DO NOT CHANGE
\usepackage[OT1]{fontenc}
%% Babel provides support for languages. 'english' uses British
%% English hyphenation and text snippets like "Figure" and
%% "Theorem". Use the option 'ngerman' if your document is in German.
%% Use 'american' for American English. Note that if you change this,
%% the next LaTeX run may show spurious errors. Simply run it again.
%% If they persist, remove the .aux file and try again.
\usepackage[english]{babel}
%% Input encoding 'utf8'. In some cases you might need 'utf8x' for
%% extra symbols. Not all editors, especially on Windows, are UTF-8
%% capable, so you may want to use 'latin1' instead.
\usepackage[utf8]{inputenc}
%% This changes default fonts for both text and math mode to use Herman Zapfs
%% excellent Palatino font. Do not change this.
\usepackage[sc]{mathpazo}
%% The AMS-LaTeX extensions for mathematical typesetting. Do not
%% remove.
\usepackage{amsmath,amssymb,amsfonts,mathrsfs}
%% NTheorem is a reimplementation of the AMS Theorem package. This
%% will allow us to typeset theorems like examples, proofs and
%% similar. Do not remove.
%% NOTE: Must be loaded AFTER amsmath, or the \qed placement will
%% break
\usepackage[amsmath,thmmarks]{ntheorem}
%% LaTeX' own graphics handling
\usepackage{graphicx}
%% We unfortunately need this for the Rules chapter. Remove it
%% afterwards; or at least NEVER use its underlining features.
\usepackage{soul}
%% This allows you to add .pdf files. It is used to add the
%% declaration of originality.
\usepackage{pdfpages}
%% Some more packages that you may want to use. Have a look at the
%% file, and consult the package docs for each.
\input{utils/extrapackages}
%% Our layout configuration. DO NOT CHANGE.
\input{utils/layoutsetup}
%% Theorem environments. You will have to adapt this for a German
%% thesis.
\input{utils/theoremsetup}
%% Helpful macros.
\input{utils/macrosetup}
%% Make document internal hyperlinks wherever possible. (TOC, references)
%% This MUST be loaded after varioref, which is loaded in 'extrapackages'
%% above. We just load it last to be safe.
\usepackage[linkcolor=black,colorlinks=true,citecolor=black,filecolor=black]{hyperref}
%% Keep floats within sections
\let\origsection\section
\usepackage[section]{placeins}
%% Command for an imaginary i
\newcommand{\iu}{{i\mkern1mu}}
%% Command for a ditto symbol
\usepackage{tikz}
\newcommand{\dittotikz}{%
\tikz{
\draw [line width=0.12ex] (-0.2ex,0) -- +(0,0.8ex)
(0.2ex,0) -- +(0,0.8ex);
\draw [line width=0.08ex] (-0.6ex,0.4ex) -- +(-1.5em,0)
(0.6ex,0.4ex) -- +(1.5em,0);
}%
}
%% Defining checkmark and crossmark
\usepackage{pifont}% http://ctan.org/pkg/pifont
\newcommand{\cmark}{\ding{51}}%
\newcommand{\xmark}{\ding{55}}%
%% Defining custom colors
\definecolor{highlightcolor}{RGB}{253, 151, 31}
\newcommand{\highlight}[1]{\colorbox{highlightcolor}{\strut \texttt{#1}}}
%% Styling the listings
\definecolor{codecomment}{RGB}{159, 159, 143}
\definecolor{codenumber}{rgb}{0.5,0.5,0.5}
\definecolor{codestring}{RGB}{242, 90, 0}
\definecolor{codekeyword}{RGB}{249, 38, 114}
\definecolor{codeemph}{RGB}{174, 129, 255}
\lstdefinelanguage{n2EDMScript}{
keywords={
IF, THEN, ELSE, ENDIF, FOR, DO, DONE, SET,
REQUEST, ADDLINE, INSERTLINE, REPLACELINE, DELETELINE,
LABEL, GOTO, SLEEP, RESUME, PAUSE,
<, >, =, +, -
},
emph={\$i},
alsoletter={<>=-+}
morecomment=[l]{//},
morecomment=[s]{/*}{*/},
morestring=[b]',
morestring=[b]",
sensitive=true,
}
\lstdefinelanguage{JavaScript}{
keywords={
break, case, catch, continue, debugger, default, delete, do, else, finally, for,
function, if, in, instanceof, new, return, switch, this, throw, try, typeof, void,
while, with
},
emph={const, let, var, true, false, null, interface},
morecomment=[l]{//},
morecomment=[s]{/*}{*/},
morestring=[b]',
morestring=[b]",
% ndkeywords={class, export, boolean, throw, implements, import, this}
sensitive=true
}
\lstdefinestyle{customListingStyle}{
backgroundcolor=\color{white},
commentstyle=\color{codecomment},
keywordstyle=\color{codekeyword},
emphstyle=\color{codeemph},
numberstyle=\tiny\color{codenumber},
stringstyle=\color{codestring},
basicstyle=\ttfamily\footnotesize,
breakatwhitespace=false,
breaklines=true,
captionpos=b,
keepspaces=true,
numbers=left,
numbersep=8pt,
showspaces=false,
showstringspaces=false,
showtabs=false,
tabsize=2
}
\lstset{style=customListingStyle}
%% This is needed for nice underscores in the \texttt
\chardef\_=`_
%% Define some paths to be shared
\newcommand*{\FeaturesPath}{src/features}
%% Document information
%% ====================
\title{Supervisory Control and Data Acquisition system of the n2EDM experiment}
\author{Konstantin Nesterov}
\thesistype{Master Thesis}
\advisors{Advisors: Prof.\ Dr.\ K. S. Kirch, Dr.\ J. Krempel}
\department{Department of Physics}
\date{\today}
\begin{document}
\frontmatter
%% Title page is autogenerated from document information above. DO
%% NOT CHANGE.
\begin{titlingpage}
\calccentering{\unitlength}
\begin{adjustwidth*}{\unitlength-24pt}{-\unitlength-24pt}
\maketitle
\end{adjustwidth*}
\end{titlingpage}
%% The abstract of your thesis. Edit the file as needed.
\input{src/abstract}
%% Acknowledgements
\input{src/acknowledgements}
%% TOC with the proper setup, do not change.
\cleartorecto
\tableofcontents
\mainmatter
%% Acronyms should go right after the contents
\input{src/acronyms}
%% Your real content!
\input{src/introduction}
\input{src/experiment}
\input{src/daq}
\input{\FeaturesPath/index}
\input{src/conclusions}
\appendix
\input{src/appendix_finish}
\backmatter
\bibliographystyle{plainurl}
\bibliography{refs}
\includepdf[pages={-}]{utils/declaration-originality-signed.pdf}
\end{document}