masterthesis-latex/thesis.tex

66 lines
1.7 KiB
TeX

% main thesis file
% first: let's determine the class we want to use
\documentclass[12pt]{masterthesis} % we use our custom masterthesis class
\KOMAoption{draft}{false} % set for "draft" mode, disable later
% define "variables"
\title{Novelty detection for object detection in open set conditions}
\author{Jim Martens}
\date{\today}
\subject{} % value for pdfsubject
\newcommand{\keywords}{CV} % value for pdfkeywords
\newcommand{\studiengang}{\IfLanguageName{british}{Computer Science M.Sc.}{Master Informatik}}
\newcommand{\faculty}{\IfLanguageName{british}{MIN Faculty}{MIN-Fakult\"{a}t}}
\newcommand{\department}{\IfLanguageName{british}{Department of Computer Science}{Fachbereich Informatik}}
% define here to prevent building errors
\newcommand{\professor}{}
\newcommand{\matrikelnummer}{}
\newcommand{\firstReviewer}{}
\newcommand{\secondReviewer}{}
% load protected variables
\IfFileExists{./private/variables.tex}{%
\input{./private/variables.tex}
}{}
% use custom package to prevent spamming the preamble
\usepackage[licence,library,acknowledge,abstract]{masterthesis}
% specify image location
\graphicspath{{./images/}{./private/images/}}
% specify bib resource
\addbibresource{ma.bib}
\input{glossary.tex}
\makeatletter
\g@addto@macro\appendix{%
\renewcommand*{\chapterformat}{%
{\appendixname\nobreakspace\thechapter\autodot\enskip}%
}
\renewcommand*{\chaptermarkformat}{%
{}%
}
}
\makeatother
% begin document
\begin{document}
% invoke start command(s) from masterthesis package
\frontmatter
\start
\mainmatter
\input{body.tex}
\references
\begin{appendices}
\appendix
\input{appendix.tex}
\end{appendices}
% invoke finish command(s) from masterthesis package
\backmatter
\finish
\end{document}