% **************************************************
% Document Class Definition
% **************************************************
\documentclass[%
paper=A4, % paper size --> A4 is default in Germany
twoside=true, % onesite or twoside printing
openright, % doublepage cleaning ends up right side
parskip=half, % spacing value / method for paragraphs
chapterprefix=true, % prefix for chapter marks
11pt, % font size
headings=normal, % size of headings
bibliography=totoc, % include bib in toc
listof=totoc, % include listof entries in toc
titlepage=on, % own page for each title page
captions=tableabove, % display table captions above the float env
chapterprefix=false, % do not display a prefix for chapters
appendixprefix=false, % but display a prefix for appendix chapter
draft=false, % value for draft version
]{scrreprt}%
\usepackage{enumitem} % Packed itemize
%\usepackage{layouts} % Just to print the layout of this document
% Please, remove in your version!
% **************************************************
% Setup YOUR master's thesis document in this file !
% **************************************************
\input{my-munics-tfm/my-setup.tex}
% **************************************************
% Document CONTENT
% **************************************************
\begin{document}
% uncomment the following command to fill up pages with
% whitespace instead of aligning the first and last lines
% of a page (see \raggedbottom vs. \flushbottom)
%\raggedbottom
% --------------------------
% rename document parts
% --------------------------
% > set short label names for floating environments figure and table
\renewcaptionname{english}{\figurename}{Fig.}
\renewcaptionname{english}{\tablename}{Tab.}
\renewcaptionname{galician}{\figurename}{Fig.}
\renewcommand{\lstlistingname}{List.}% Listing -> List.
\renewcaptionname{galician}{\tablename}{Tab.}
% > rename the title of the LOL, i.e. list of listings (default is "Listings")
\renewcommand*{\lstlistlistingname}{Listado de extractos de código}
% --------------------------
% Front matter
% --------------------------
\pagenumbering{roman} % roman page numbing (invisible for empty page style)
\pagestyle{empty} % no header or footers
\input{content/titlepages} % INCLUDE: all titlepages
\cleardoublepage
\pagestyle{plain} % display just page numbers
\input{content/abstract} % INCLUDE: the abstracts (english and galician)
\cleardoublepage
%
\input{content/acknowledgement} % INCLUDE: acknowledgement
\cleardoublepage
%
\currentpdfbookmark{\contentsname}{toc}
\setcounter{tocdepth}{3} % define depth of toc --> 3
\tableofcontents % display table of contents
\cleardoublepage
% --------------------------
% Body matter
% --------------------------
\pagenumbering{arabic} % arabic page numbering
\setcounter{page}{1} % set page counter
\pagestyle{scrheadings} % header and footer style
%% Uncomment the following lines using the \part command
%% to add part sections
%\part{Exemplo de parte}
\input{content/chapter-introduction} % INCLUDE: introduction
\input{content/chapter-related-work} % INCLUDE: related work
%\part{Exemplo doutra parte}
\input{content/chapter-system} % INCLUDE: system
\input{content/chapter-results} % INCLUDE: concepts
\input{content/chapter-conclusion} % INCLUDE: conclusion
% --------------------------
% Back matter
% --------------------------
%
{%
\setstretch{1.1}
\renewcommand{\bibfont}{\normalfont\small}
\setlength{\biblabelsep}{0pt}
\setlength{\bibitemsep}{0.5\baselineskip plus 0.5\baselineskip}
\printbibliography[]
%\printbibliography[nottype=online]
%\newrefcontext[labelprefix={@}]
%\printbibliography[heading=subbibliography,title={Webpages},type=online]
}
%\cleardoublepage
%\listoffigures
%\cleardoublepage
%\listoftables
%\cleardoublepage
%\lstlistoflistings
%\cleardoublepage
\appendix\cleardoublepage
\input{content/chapter-appendix} % INCLUDE: appendix
\newpage
\mbox{}
% **************************************************
% End of Document CONTENT
% **************************************************
\end{document}