-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathsemendiak_thesis.tex
129 lines (107 loc) · 3.56 KB
/
semendiak_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
\documentclass[ms,english]{stthesis}
\usepackage[T1]{fontenc}
\usepackage{libertinus}
\usepackage[utf8]{inputenc}
\usepackage[english]{babel}
\usepackage{isodate}
% Bibliography
\usepackage[
style=numeric-comp,
backend=biber,
%url=false,
doi=false,
isbn=false,
hyperref,
]{biblatex}
\usepackage{hyperref} % makes all links clickable but hides ugly boxes
\usepackage[capitalise,nameinlink,noabbrev]{cleveref} % automatically inserts Fig. X in the text with \cref{..}
\usepackage{todonotes}
\usepackage{pdfpages} % to insert pdf pages
\usepackage{xcolor}
\usepackage{csquotes}
\usepackage{indentfirst} % indent at the beginning of chapter, section, paragraph
% insert python code snipets
\usepackage{listings}
\definecolor{codegreen}{rgb}{0,0.6,0}
\definecolor{codegray}{rgb}{0.5,0.5,0.5}
\definecolor{codepurple}{rgb}{0.58,0,0.82}
\definecolor{backcolour}{rgb}{0.95,0.95,0.92}
\lstdefinestyle{mystyle}{
backgroundcolor=\color{backcolour},
commentstyle=\color{codegreen},
keywordstyle=\color{magenta},
numberstyle=\tiny\color{codegray},
stringstyle=\color{codepurple},
basicstyle=\ttfamily\footnotesize,
breakatwhitespace=false,
breaklines=true,
captionpos=b,
keepspaces=true,
numbers=left,
numbersep=5pt,
showspaces=false,
showstringspaces=false,
showtabs=false,
tabsize=2
}
\lstset{style=mystyle} % enable cref for listing
\crefname{lstlisting}{Listing}{listings}
\Crefname{lstlisting}{Listing}{Listings}
\lstnewenvironment{code}[1][]% use 'code' instead of 'lstlisting' to prevent splitting between pages
{
\noindent
\minipage{\linewidth}
\vspace{0.5\baselineskip}
\lstset{basicstyle=\ttfamily\footnotesize,#1}}
{\endminipage}
\usepackage{caption}
\usepackage{subcaption}
\captionsetup{font=sf,labelfont=bf,labelsep=space}
\usepackage[section]{placeins} % appendix figures alignment
\usepackage{floatrow}
\floatsetup{font=sf}
\floatsetup[table]{style=plaintop}
\captionsetup{singlelinecheck=off,format=plain,justification=centering}
\DeclareCaptionSubType[alph]{figure}
\DeclareCaptionSubType[alph]{table}
\captionsetup[subfloat]{labelformat=brace,list=off}
\usepackage{multirow}
\usepackage{wrapfig}
\usepackage{booktabs} % fancy tables. need to analyse.
\usepackage{array}
\usepackage{tabularx}
\usepackage{tabulary}
\usepackage{tabu}
\usepackage[babel]{microtype}
\usepackage{xfrac}
\usepackage{enumitem}
\usepackage[perpage,bottom]{footmisc} % reset footnote counter on each page
\usepackage{epigraph}
\usepackage{ellipsis}
\let\ellipsispunctuation\relax
\usepackage{svg}
\pdfsuppresswarningpagegroup=1
\newcommand{\todor}[1]{\todo[color=green,inline,size=\small]{Reviewer: #1}}
\newcommand{\todoy}[1]{\todo[color=yellow,inline,size=\small]{Yevhenii: #1}}
% usefull links
% https://writingcenter.fas.harvard.edu/pages/developing-thesis
% https://writingcenter.fas.harvard.edu/pages/beginning-academic-essay
\addbibresource{content/bibliography.bib}
\begin{document}
\includepdf{static/thesis_title.pdf}
\includepdf{static/taskDescription.pdf}
\input{content/00_abstract.tex}
\tableofcontents
\input{content/01_intro.tex}
\input{content/02_background_and_rel_work.tex}
\input{content/03_concept.tex}
\input{content/04_implementation.tex}
\input{content/05_evalutation.tex}
\input{content/06_conclution.tex}
\input{content/07_future_work.tex}
\printbibliography[heading=bibintoc]\label{sec:bibliography}
\appendix
\listoffigures
\listoftables
\input{content/08_appendix.tex}
\end{document}