-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathmai-joel_maximilian-bachelor_thesis.tex
443 lines (402 loc) · 14.8 KB
/
mai-joel_maximilian-bachelor_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
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
251
252
253
254
255
256
257
258
259
260
261
262
263
264
265
266
267
268
269
270
271
272
273
274
275
276
277
278
279
280
281
282
283
284
285
286
287
288
289
290
291
292
293
294
295
296
297
298
299
300
301
302
303
304
305
306
307
308
309
310
311
312
313
314
315
316
317
318
319
320
321
322
323
324
325
326
327
328
329
330
331
332
333
334
335
336
337
338
339
340
341
342
343
344
345
346
347
348
349
350
351
352
353
354
355
356
357
358
359
360
361
362
363
364
365
366
367
368
369
370
371
372
373
374
375
376
377
378
379
380
381
382
383
384
385
386
387
388
389
390
391
392
393
394
395
396
397
398
399
400
401
402
403
404
405
406
407
408
409
410
411
412
413
414
415
416
417
418
419
420
421
422
423
424
425
426
427
428
429
430
431
432
433
434
435
436
437
438
439
440
441
442
443
%----------------------------------------------------------------------------------------
% Debug options
%----------------------------------------------------------------------------------------
% chktex-file 18
% chktex-file 1
%============================================================================%
%
% DOCUMENT DEFINITION
%
%============================================================================%
\documentclass[BCOR=12mm,DIV=11,parskip=half-,titlepage,a4paper,oneside,hidelinks,headings=optiontohead,listof=leveldown,listof=totocnumbered]{scrbook}
\usepackage[scaled=0.92]{helvet}
\usepackage[T1]{fontenc}
% This allows to type UTF-8 characters like ä,ö,ü,ß
\usepackage[utf8]{inputenc}
% Change font of headers and footers (komascript)
\setkomafont{pagehead}{\sffamily}
\setkomafont{pagenumber}{\sffamily}
%----------------------------------------------------------------------------------------
% Text options
%----------------------------------------------------------------------------------------
% Package for captions
\usepackage{caption}
% Package for sub captions
\usepackage{subcaption}
% Language of the document
\usepackage[english]{babel}
\usepackage[babel=true]{csquotes}
\MakeOuterQuote{"}
% package for colored text
\usepackage[dvipsnames]{xcolor}
% Sans-Serif font as a default
\renewcommand{\familydefault}{\sfdefault}
% Add more line-height
\renewcommand*\baselinestretch{1.3}\selectfont
% Customize Chapter padding
\RedeclareSectionCommand[beforeskip=21pt]{chapter}
\RedeclareSectionCommand[afterskip=8pt]{chapter}
% Customize Section padding
\RedeclareSectionCommand[beforeskip=8pt]{section}
\RedeclareSectionCommand[afterskip=2pt]{section}
% Customize Sub-Section padding
\RedeclareSectionCommand[beforeskip=8pt]{subsection}
\RedeclareSectionCommand[afterskip=2pt]{subsection}
% Customize Sub-Sub-Section padding
\RedeclareSectionCommand[beforeskip=8pt]{subsubsection}
\RedeclareSectionCommand[afterskip=1pt]{subsubsection}
% Remove NewPage command from chapter
\usepackage{etoolbox}
%\makeatletter
%\patchcmd{\scr@startchapter}{\if@openright\cleardoublepage\else\clearpage\fi}{}{}{}
%\makeatother
% Fancier enumerations
\usepackage{enumitem}
%----------------------------------------------------------------------------------------
% Fancy headers
%----------------------------------------------------------------------------------------
\usepackage[autooneside=false,automark]{scrlayer-scrpage}
\usepackage[outermarks]{titleps} % 'outermarks' assures titles for continuing section
\def\header{}
\newpagestyle{main}{
%\setheadrule{.3pt}
\sethead{\chaptertitle \Ifstr{\sectiontitle}{}{}{\hspace{2pt} \makebox(6, 6){\textcolor{lightgrey}{\csname faAngleDoubleRight\endcsname}} \hspace{2pt}\sectiontitle}}
{\global\let\header\sectiontitle}
{}
%\setfootrule{.8pt}
\setfoot[][\thepage][]
{}{\thepage}{}
}
\pagestyle{main}
%----------------------------------------------------------------------------------------
% Format options
%----------------------------------------------------------------------------------------
% Remove the indentation at the beginning of the line
\usepackage{lipsum}
\setlength{\parindent}{0pt}
% Exclude only one word on one page
\clubpenalty=10000 % Exclude cobblers
\widowpenalty=10000 % Exclude whore children
%----------------------------------------------------------------------------------------
% Image options
%----------------------------------------------------------------------------------------
% Package for more image options
\usepackage{graphicx}
% Package for figures that wrap around text
\usepackage{wrapfig}
% Using [H] images can be positioned exactly at one point
\usepackage{float}
% you need SVG to use SVG images
%\usepackage{svg}
%----------------------------------------------------------------------------------------
% Table options
%----------------------------------------------------------------------------------------
% TOC Chapter name
\renewcaptionname{english}{\contentsname}{Table of contents}
% package for colored tables
\usepackage{colortbl}
% make tables next to wrap figures
\usepackage[%
margin=0.75in,%s
top=25mm,
headsep=24pt,% remove space between header and text body
headheight=25pt,% suggested by fancyhdr
footskip=24pt,%
bottom=25mm,
% show frame
]{geometry}
% Padding for tables
\usepackage{booktabs}
%----------------------------------------------------------------------------------------
% Link options
%----------------------------------------------------------------------------------------
% Package redefines some macros of some hyperref driver files
\usepackage{scrhack}
% Link Highlighting
% --------- Comment in if links should be highlighted -------------
\usepackage[breaklinks,hidelinks,colorlinks=false,citecolor=Violet]{hyperref}
% --------- Comment in if links should not be highlighted -------------
%\usepackage[breaklinks,colorlinks=false]{hyperref}
%rgb(49, 51, 62)
%rgb(46, 204, 255)
%,filecolor=[rgb]{0,0,1}
%,linkcolor=[rgb]{0,0,1}
%,citecolor=[rgb]{0,0,1}
%,urlcolor=[rgb]{0,1,0}
%,menucolor=[rgb]{1,0,0}
%,runcolor=[rgb]{0,1,1}
%,allcolors=[rgb]{0,0,0}
%----------------------------------------------------------------------------------------
% Bibliography options
%----------------------------------------------------------------------------------------
% Package to define citations
\usepackage[numberedbib,sectionbib,tocbib,bibnewpage]{apacite}
% Package for dedicated Acronyms
\usepackage[printonlyused]{acronym}
\renewcommand{\acsfont}[1]{{\color{Violet}\textnormal{#1}}}
\renewcommand{\acffont}[1]{{\color{Violet}\textnormal{#1}}}
% Package for dedicated Glossaries
\usepackage[xindy,toc,numberedsection,section=section]{glossaries}
\renewcommand*{\glstextformat}[1]{\textcolor{Violet}{#1}}
\makenoidxglossaries
\input{./chapters/8-glossaries}
%----------------------------------------------------------------------------------------
% Fancy Boxes
%----------------------------------------------------------------------------------------
% Fancy Quotation
% for adjust width environment
\usepackage[strict]{changepage}
% for formal definitions
\usepackage{framed}
% environment derived from framed.sty: see left bar environment definition
\definecolor{lightgrey}{rgb}{0.6,0.6,0.6} % rgb(153, 154, 154)
\definecolor{darkblue}{rgb}{0.10,0.14,0.55} % rgb(26, 36, 140)
\definecolor{quoteshade}{rgb}{0.95,0.95,1} % rgb(242,242,255)
\definecolor{yellow}{rgb}{0.95,0.82,0.43} % rgb(244,209,111)
\definecolor{takeawayshade}{rgb}{0.95,0.95,0.77} % rgb(243,243,196)
\newenvironment{fancyquote}{%
\def\FrameCommand{%
\hspace{1pt}%
{\color{darkblue}\vrule width 2pt}%
{\color{quoteshade}\vrule width 4pt}%
\colorbox{quoteshade}%
}%
\MakeFramed{\advance\hsize-\width\FrameRestore}%
\noindent\hspace{-4.55pt}% disable indenting first paragraph
\begin{adjustwidth}{}{7pt}%
\vspace{2pt}\vspace{2pt}%
}
{%
\vspace{2pt}\end{adjustwidth}\endMakeFramed%
}
\newenvironment{fancytakeaway}{%
\def\FrameCommand{%
\hspace{1pt}% Indentation
{\color{yellow}\vrule width 2pt}%
{\color{takeawayshade}\vrule width 4pt}%
\colorbox{takeawayshade}%
}%
\MakeFramed{\advance\hsize-\width\FrameRestore}%
\noindent\hspace{-4.55pt}% disable indenting first paragraph
\begin{adjustwidth}{}{7pt}%
\vspace{1pt}% Padding top
}
{%
\vspace{4pt}\end{adjustwidth}\endMakeFramed% Padding bottom
}
%----------------------------------------------------------------------------------------
% MISC PACKAGES
%----------------------------------------------------------------------------------------
% Package includes a variety of new environments and commands for the mathematical domain
\usepackage{amsmath}
% Get date
\usepackage{datetime}
% Calc project plan dynamically
\usepackage{advdate}
% Package to import custom packages
\usepackage{import}
% Include the fontawesome icon set
\usepackage{fontawesome}
% Package for including the Interview pdf
\usepackage{pdfpages}
% English dates
\usepackage[super]{nth}
% Add code as listings
\usepackage{listings}
\definecolor{foreground}{rgb}{.15,.16,.21} % 40 42 54
\definecolor{background}{rgb}{1,1,1} % 248 248 242
\definecolor{keyword}{rgb}{1,.47,.77} % 255 121 198
\definecolor{function}{rgb}{.74,.57,.98} % 189 147 249
\definecolor{comment}{rgb}{0.38, 0.44, 0.64} % 98 114 164
\definecolor{string}{rgb}{1, 0.72, 0.42} % 255 184 108
\lstdefinelanguage{bibtex}{
keywords={@mastersthesis},
keywordstyle=\color{keyword}\bfseries,
ndkeywords={type, author, title, year, month, journal, keywords},
ndkeywordstyle=\color{function}\bfseries,
identifierstyle=\color{foreground},
sensitive=false,
comment=[l]{//},
morecomment=[l]{//},
morecomment=[s]{/*}{*/},
commentstyle=\color{comment}\ttfamily,
stringstyle=\color{string}\ttfamily,
}
\lstset{
language=bibtex,
backgroundcolor=\color{background},
extendedchars=true,
basicstyle=\footnotesize\ttfamily,
showstringspaces=false,
showspaces=false,
tabsize=2,
breaklines=true,
showtabs=false,
captionpos=b
}
% Set Font of code to Courier
\usepackage{courier}
\lstset{basicstyle=\footnotesize\ttfamily,breaklines=true}
% Pseudo Code Verzeichnis
\renewcommand{\lstlistlistingname}{How to cite this thesis}
\renewcommand{\lstlistingname}{How to cite this thesis}
%----------------------------------------------------------------------------------------
% CUSTOM PACKAGES
%----------------------------------------------------------------------------------------
% Import Glossary Package
%\usepackage{packages/glossary}
%----------------------------------------------------------------------------------------
% CUSTOM COMMANDS
%----------------------------------------------------------------------------------------
% Chapter Title if no chapter is on page
\renewcommand*{\chaptermarkformat}{}
% Does not display content and acts as a comment block
\newcommand{\newcommentblock}[1]{}
% Get-Date in Format Month Year
\newdateformat{monthyeardate}{\monthname[\THEMONTH], \THEYEAR}
% Quote Block
\newcommand{\lastline}[1]{%
\begingroup\setlength{\parskip}{0pt}\par\nopagebreak
\raggedleft#1\par\endgroup
}
\newcommand{\quotethis}[2] {
\begin{fancyquote}
\begin{adjustwidth}{.5cm}{}
\makebox(12, 12){\textcolor{darkblue}{\csname faQuoteLeft\endcsname}}
\textit{#1}
\makebox(12, 12){\textcolor{darkblue}{\csname faQuoteRight\endcsname}}
\lastline{---~#2}
\end{adjustwidth}
\end{fancyquote}
}
% Key Takeaways
\newcommand{\takeaways}[1] {
\begin{fancytakeaway}
\makebox(10, 10){\textcolor{black}{\csname faLightbulbO\endcsname}}
\textbf{Key Takeaways}\newline
#1
\end{fancytakeaway}
}
% Fancy reference for sections without number
\newcommand{\fancyref}[1] {\textit{"\nameref{#1}"}}
% icon shortcut
\newcommand{\icon}[3] {
\makebox(#2, #2){\textcolor{darkblue}{\csname fa#1\endcsname}}
}
% use to vertically center content
% credits to: http://tex.stackexchange.com/questions/7219/how-to-vertically-center-two-images-next-to-each-other
\newcommand*{\vcenteredhbox}[1]{\begingroup
\setbox0=\hbox{#1}\parbox{\wd0}{\box0}\endgroup}
% icon with text shortcut
\newcommand{\icontext}[4]{
\vcenteredhbox{\icon{#1}{#2}{#3}} \hspace{1pt}{\textcolor{#4}{#3}}
}
% Questionnaire - kurzantwort
\newcommand{\kurzantwort}{
\begin{minipage}{10cm}
\vspace{0.8cm}
\dotfill
\end{minipage}
}
% Questionnaire - langantwort
\newcommand{\langantwort}{
\begin{minipage}{\textwidth}
\vspace{0.8cm}
\dotfill
\end{minipage}
\begin{minipage}{\textwidth}
\vspace{0.8cm}
\dotfill
\end{minipage}
\begin{minipage}{12cm}
\vspace{0.8cm}
\dotfill
\end{minipage}
}
% Questionnaire - Radiobutton
\newcommand{\einzelantwort}[1]{
\makebox(6, 6){\textcolor{lightgrey}{\csname faCircleO\endcsname}}\hspace{2pt} #1\newline
}
\newcommand{\einzelantworticon}{
\makebox(6, 6){\textcolor{lightgrey}{\csname faCircleO\endcsname}}\hspace{2pt}
}
% Questionnaire - scale
\newcommand{\skalarvonbis}[4]{
Auf einer Skalar von #1 bis #2, wobei #1 "#3" bedeutet und #2 "#4".
}
% Questionnaire - checkbox
\newcommand{\checkboxantwort}[1]{
\makebox(6, 6){\textcolor{lightgrey}{\csname faSquareO\endcsname}}\hspace{2pt} #1\newline
}
\newcommand{\checkboxantworticon}{
\makebox(6, 6){\textcolor{lightgrey}{\csname faSquareO\endcsname}}\hspace{2pt}
}
% Questionnaire - response faMale faUser faUsers faGroup
\newcommand{\responsecount}{
\makebox(6, 6){\textcolor{lightgrey}{\csname faGroup\endcsname}}
}
% Questionnaire - open response
\newcommand{\openresponse}{
\makebox(6, 6){\textcolor{lightgrey}{\csname faComment\endcsname}}
}
%----------------------------------------------------------------------------------------
% CUSTOM VARIABLES
%----------------------------------------------------------------------------------------
% Inserts thesis into text
\newcommand{\thesis}{Investigating the theory-practice gap of Scrum}
\newcommand{\thisauthor}{Joël Maximilian Mai}
\newcommand{\thiskeywords}{scrum, agile software development, framework, methodology, theory-practice gap}
%----------------------------------------------------------------------------------------
% Meta Data
%----------------------------------------------------------------------------------------
\hypersetup{
pdftitle={\thesis},
pdfsubject={\thesis},
pdfauthor={\thisauthor},
pdfkeywords={\thiskeywords}
}
%----------------------------------------------------------------------------------------
% HOW TO CITE
%----------------------------------------------------------------------------------------
\newcommentblock{
e.g. = Example for the stated thesis
i.e. = In other words, indirect citations
In Klammern\cite<e.g.,>[p.~11]{Theocharis2015IWS,Zikopi2019Acs}
Im Fließtext Jahr in Klammern\citeA<e.g.,>[p.~11]{Theocharis2015IWS,Zikopi2019Acs}
Nur Autoren\citeauthor<e.g.,>[p.~11]{Theocharis2015IWS,Zikopi2019Acs}
Nur Jahr\citeyear<e.g.,>[p.~11]{Theocharis2015IWS,Zikopi2019Acs}
Jahr im Fließtext\citeyearNP<e.g.,>[p.~11]{Theocharis2015IWS,Zikopi2019Acs}
Im Fließtext\citeNP<e.g.,>[p.~11]{Theocharis2015IWS,Zikopi2019Acs}
}
%----------------------------------------------------------------------------------------
% DOCUMENT STRUCTURE
%----------------------------------------------------------------------------------------
\begin{document}
\pagenumbering{Roman}
\setcounter{page}{1}
% Titlepage and addresses
\input{./chapters/0a-titlepage}\newpage
\input{./chapters/0b-addresses}\newpage
% Acknowledgements, keywords and abstract
\input{./chapters/0c-keywords-and-acknowledgements}\newpage
\input{./chapters/0d-abstract}\newpage
% Table of contents
\phantomsection%
\addcontentsline{toc}{chapter}{Table of contents}
\tableofcontents
\newpage
\setcounter{page}{1}
% Main
\pagenumbering{arabic}
\input{./chapters/1-introduction}
\input{./chapters/2-literature-review}
\input{./chapters/3-method}
\input{./chapters/4-discussion}
\input{./chapters/5-conclusion}
\newpage
% Appendix
\pagenumbering{Roman}
\setcounter{page}{6}
\input{./chapters/9-listings}
\newpage
\end{document}