aboutsummaryrefslogtreecommitdiffstats
path: root/doc/thesis/Fading.tex
blob: ecb80d671c1522b29d2065d38b8e13806e44e37b (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
% !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, parskip = half,
	% 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

\usetikzlibrary{
	calc,
	positioning,
	backgrounds,
	matrix,
}
\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}