aboutsummaryrefslogtreecommitdiffstats
path: root/doc/thesis/Fading.tex
blob: 074048dc7cb6e93e1ade0f1762e4d0749fccf520 (plain)
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
% !TeX program = xelatex
% !TeX encoding = utf8
% !TeX root = Fading.tex
% vim: set ts=2 sw=2 noet:

\documentclass[
	% page size and margins
	paper = a4, twoside, openright, BCOR = 5mm,
	headinclude, footexclude,
	% font size
	fontsize = 11pt,
	% style of empty pages (after chapters)
	cleardoublepage = empty,
	% extra sections
	titlepage, abstract = on,
	% header and footers
	automark,
]{scrreprt}

%% Language configuration
\usepackage{polyglossia}

%% Custom packages
\usepackage{tex/docmacros}
\usepackage{tex/docstyle}

%% Pretty figures
\usepackage{circuitikz}  % Electric diagrams
\usepackage{pgfplots}    % Pretty plots
\usepackage{tikz}        % Pretty drawings
\usepackage{tikz-3dplot} % More dimensions!

\usetikzlibrary{
	calc,
	positioning,
	backgrounds,
	decorations.pathreplacing,
	matrix,
	arrows,
}
\pgfdeclarelayer{background}
\pgfdeclarelayer{foreground}
\pgfsetlayers{background,main,foreground}


\usepackage{graphicx}   % Include pictures
\usepackage{subcaption} % Subfigures

%% Load bibliography 
\addbibresource{Fading.bib}

%% Recompute page margins
\KOMAoptions{DIV=default}

\begin{document}

	\hypersetup{pageanchor = false}
	%% TODO: titlepage

	\cleardoublepage
	\pagenumbering{roman}

	%% TODO: abstract
	% \begin{abstract}
	% \end{abstract}

	\hypersetup{pageanchor = true}
	\pagenumbering{arabic}
	\setcounter{page}{1}

	\pagestyle{scrheadings}
	\include{chapters/introduction}
	\include{chapters/theory}
	\include{chapters/implementation}
	\include{chapters/conclusions}

	\printbibliography

\end{document}