% !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}