-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy paththesis.tex
101 lines (78 loc) · 3.65 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
\documentclass[master]{TalTechTemplate}
% --------------------------------------
% Some Guidelines for Using the template
% --------------------------------------
% 1. DO NOT MODIFY THE CLASS FILE (TalTechTemplate.cls)!
% 2. Try to keep the document modular (use `chapters` and other folders)
% --------------------------------------
%
% Recommendations:
% - subfigure package is deprecated! Please use subcaption package instead.
% - Use hhline instead of cline package
% Some useful packages, not necessary for the template:
\usepackage{blindtext} % stubs
\usepackage{url} % for using URLs
\usepackage{duckuments} % image Stubs
\usepackage{placeins} % setting FloatBarriers to force flushing of floating objects
\usepackage{float} % sharp placement with H
\usepackage{color} % used for \textcolor
\usepackage[table]{xcolor} % colorful tables
\usepackage{multirow} % for multi-row cells in table
\usepackage{longtable} % tables spanning across pages
\usepackage{hhline} % for customizing the horizontal lines in tables
\usepackage{tcolorbox} % for gray text boxes on pages 17 and 19
\usepackage{graphicx} % figures inside text
\graphicspath{{figures/}} % no need to specify a dir whenever you want to use figures
\usepackage{subcaption} % used for figures with sub figures
\usepackage{xfrac} % for some fancy fraction numbers
\usepackage[inter-unit-product = \cdot]{siunitx} % correctly formatted SI units with defined sign between units
% footnotes in captions: https://tex.stackexchange.com/questions/154423/footnote-numbers-in-the-list-of-figures
\newcommand{\footcaption}[1]{\caption[#1]{#1\footnotemark}}
% use the following package if you need pseudo-code
% also, instead of using \caption please use:
% \captionof{figure}{[here is your caption!]}
% since algorithms should be declared as figure!
\usepackage[linesnumbered]{algorithm2e}
\SetAlFnt{\small\bfseries\ttfamily}
% Bibliography management through Biblatex. *.bib database created
% with tools such as Mendeley.
% biblatex author year style:
% https://tex.stackexchange.com/questions/261430/biblatex-author-year-citations
\usepackage{csquotes}
\usepackage[backend=biber,
sorting=none,
style=ieee,
urldate=iso,
date=iso,
]{biblatex} % authoryear,
% separate author year by comma for \parencite{}
\renewcommand*{\nameyeardelim}{\addcomma\addspace}
\addbibresource{literature.bib}
% \cite -> author year ; \textcite{key} -> author (year); \parencite{key} -> (author year)
% Load the glossary file
\loadglsentries{glossaries}
% Glossaries management: https://en.wikibooks.org/wiki/LaTeX/Glossary
% https://tex.stackexchange.com/questions/300049/remove-empty-pages-before-glossary/300058
\input{definitions.tex}
\begin{document}
\sloppy % to make sure mbox does not go over the limit
\prologue{ % title pages, abstracts, etc.
% English abstract (optional for Estonian works)
\input{preliminary/abstract-eng.tex}
% Estonian abstract (optional for English works)
\input{preliminary/abstract-est.tex}
}
% ----------------------------- INTRODUCTION ------------------------------
\input{introduction/introduction.tex}
% ----------------------------- CHAPTERS ----------------------------------
\input{chapter1/chapter1.tex}
\input{chapter2/chapter2.tex}
% ----------------------------- SUMMARY -----------------------------------
\input{summary/summary.tex}
% -------------------- BIBLIOGRAPHY AND APPENDICES ------------------------
% https://www.sharelatex.com/learn/Bibliography_management_with_bibtex
\epilogue{
\input{appendix/appendix1.tex}
\input{appendix/appendix2.tex}
}
\end{document}