-
Notifications
You must be signed in to change notification settings - Fork 0
/
thesis.tex
163 lines (131 loc) · 3.99 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
\documentclass[thesis=M,english]{FITthesis}[2018/03/12]
\usepackage[utf8]{inputenc}
\usepackage[T1]{fontenc}
\usepackage{pdfpages}
\usepackage{graphicx}
\usepackage[chapter]{minted}
\usepackage{dirtree}
\usepackage[acronym]{glossaries}
\usepackage{todonotes}
\usepackage{scrextend} % Paragraph margin
\usepackage{booktabs} % Tables
\usepackage{makecell} % Fancy cells
\usepackage{color, colortbl} % Table colors
% Custom hyphenation
\hyphenation{funk-ci-o-nál-ní}
\hyphenation{pro-gra-mo-vá-ní}
% Colors
\definecolor{azure(colorwheel)}{rgb}{0.0, 0.5, 1.0}
\definecolor{electriccrimson}{rgb}{1.0, 0.0, 0.25}
\definecolor{bgcode}{rgb}{0.95,0.95,0.95}
\definecolor{bananamania}{rgb}{0.98, 0.91, 0.71}
% Remove header from glossary list
\renewcommand {\glossarysection}[2][] {}
% Rotate box by 90 degs
\newcommand\rot{\rotatebox[origin=r]{90}}
% Todos and rewordings
\let\oldTodo\todo
\renewcommand*{\todo}[1]{\oldTodo[inline,color=electriccrimson]{#1}}
\newcommand*{\reword}[1]{\oldTodo[inline,color=azure(colorwheel)]{#1}}
% Shortcut for images
\newcommand{\image}[4][\textwidth]{
\begin{figure}\centering
\includegraphics[width=#1]{assets/#4}
\caption{#3}\label{#2}
\end{figure}
}
% Shortcut for images with altered caption
\newcommand{\altimage}[5][\textwidth]{
\begin{figure}\centering
\includegraphics[width=#1]{assets/#5}
\caption[#4]{#3}\label{#2}
\end{figure}
}
% Code examples
\newcommand{\hscode}[3]{
\begin{listing}[htbp]
\caption{\label{#1}#2}
\inputminted[linenos, bgcolor=bgcode]{haskell}{assets/code-examples/#3}
\end{listing}
}
% Code examples
\newcommand{\jscode}[3]{
\begin{listing}[htbp]
\caption{\label{#1}#2}
\inputminted[linenos, bgcolor=bgcode]{js}{assets/code-examples/#3}
\end{listing}
}
% Code examples
\newcommand{\elmcode}[3]{
\begin{listing}[htbp]
\caption{\label{#1}#2}
\inputminted[linenos, bgcolor=bgcode]{elm}{assets/code-examples/#3}
\end{listing}
}
% Functional and non-functional requirements
\newcommand{\requirement}[2]{%
\begin{addmargin}[2em]{0em}
\bigskip
{\bfseries #1}
\medskip
#2
\end{addmargin}
}
% API Route
\newcommand{\route}[1]{%
\colorbox{bgcode}{\texttt{#1}}
}
\newcommand{\inbox}[2]{%
\colorbox{#1}{#2}
}
\makeglossaries
\input{acronyms}
\department{Department of Software Engineering}
\title{Data Management Plans Migration for the DS Wizard Tool}
\authorGN{Josef}
\authorFN{Doležal}
\author{Josef Doležal}
\authorWithDegrees{Bc. Josef Doležal}
\supervisor{Ing. Robert Pergl, Ph.D.}
\acknowledgements{\input{meta/acknowledgements}}
\abstractEN{\input{meta/abstract-en}}
\abstractCS{\input{meta/abstract-cs}}
\placeForDeclarationOfAuthenticity{Prague}
\keywordsCS{\input{meta/keywords-cs}}
\keywordsEN{\input{meta/keywords-en}}
\declarationOfAuthenticityOption{4}
\website{https://github.com/josefdolezal/fit-mi-dip}
\begin{document}
\setsecnumdepth{part}
\input{chapters/introduction/introduction}
\setsecnumdepth{all}
\input{chapters/state-of-the-art/chapter-introduction}
\input{chapters/analysis/chapter-introduction}
\input{chapters/design/chapter-introduction}
\input{chapters/realization/chapter-introduction}
\input{chapters/testing/chapter-introduction}
\setsecnumdepth{part}
\input{meta/conclusion}
\bibliographystyle{iso690}
\bibliography{bibliography}
\setsecnumdepth{all}
\appendix
\chapter{Acronyms}
\printglossary[type=acronym]
\input{development-guide}
\chapter{Contents of enclosed CD}
\begin{figure}
\dirtree{%
.1 readme.txt\DTcomment{the file with CD contents description}.
.1 exe\DTcomment{the directory with executables}.
.2 dsw-client\DTcomment{directory with the compiled Elm sources}.
.2 dsw-server\DTcomment{directory with the the Haskell executable}.
.1 src\DTcomment{the directory of source codes}.
.2 dsw-client\DTcomment{client-side implementation sources}.
.2 dsw-server\DTcomment{server-side implementation sources}.
.2 thesis\DTcomment{the directory of \LaTeX{} source codes of the thesis}.
.1 text\DTcomment{the thesis text directory}.
.2 thesis.pdf\DTcomment{the thesis text in PDF format}.
}
\end{figure}
\end{document}