%%%%% Explanation of class options
%
% font size: YOU HAVE TO CHOOSE one of the following: 11pt, 12pt
% language: YOU HAVE TO CHOOSE one of the following: english, german, ngerman
% predefineddeclaration: if you use option predefineddeclaration, a predefined declaration (always in German!) will be automatically included between titlepage and abstract using \FirstName, \LastName, \ThesisEnd, 
% 			(1) if you do not use this option, the file "declaration.tex" will be included automatically between titlepage and abstract instead
%       (2) if you do not agree to make your thesis publicly available, you CAN NOT USE this option, but have to use "declaration.tex" instead
%       (3) "declaration.tex" needs to be modified manually with respect to name and date!
%
% additional options will be passed to the base class "scrbook"
%
%%%%% End of explanations
\documentclass[12pt,english,predefineddeclaration,BCOR=10mm]{customdbvthesis}

\include{./header} % put all the required packages and stuff in file header.tex
\usepackage{blindtext}
\include{./macros} % define your own abbreviations,commands, etc. in file macros.tex

% widow and club penalty
\widowpenalty = 10000
\clubpenalty = 10000
\displaywidowpenalty = 10000

\begin{document}

  \pagenumbering{Roman}

  \begin{dbvthesisTitlepageAndDeclaration}

    % Specify the title and a possible subtitle of your thesis, if you do not have a subtitle, comment the Subtitle command out
    \Title{Anomaly Detection in Camera Trap Images} % mandatory
    % \Subtitle{It is possible, that the subtitle is also too long for a single line} % optional

    % Specify the type of your thesis, e.g. Diploma Thesis, Student Research Project, Bachelor Thesis, Master Thesis / Diplomarbeit, Studienarbeit, Bachelorarbeit, Masterarbeit 
    \ThesisType{Bachelor Thesis} % mandatory

    % Specify your first and last name as well as your date of birth and birthplace
    \FirstName{Felix} % mandatory
    \LastName{Kleinsteuber} % mandatory
    \DateOfBirth{10}{12}{2000} % mandatory, format: {DD}{MM}{YYYY} (include leading zeros if necessary)
    \Birthplace{Halle (Saale)} % mandatory

    % Specify names of your supervisor and advisor(s): you can either split into supervisor and advisor or name everybody in the advisor command. in the last case, comment the supervisor command out
    \Supervisor{Prof. Dr.-Ing. Joachim Denzler} % optional
    \Advisor{B. Sc. Daphne Auer, Dr.-Ing. Paul Bodesheim} % mandatory

    % Specify start and end of your thesis
    \ThesisStart{11}{04}{2022} % mandatory, format: {DD}{MM}{YYYY} (include leading zeros if necessary)
    \ThesisEnd{25}{08}{2022}   % mandatory, format: {DD}{MM}{YYYY} (include leading zeros if necessary)

    % Specify a second institute, company, etc. if you do not have a second institute or a company, comment the following command out
    % \SecondInstitute{Carl Zeiss AG \\ 07743 Jena \\ Germany} % optional

    % note that the declaration (always in german!) will be automatically included between titlepage and abstract using \FirstName, \LastName, \ThesisEnd
    % you can modify the declaration, if you do not use the class option predefineddeclaration, than you can edit the file "declaration.tex", which will be included automatically between titlepage and abstract

  \end{dbvthesisTitlepageAndDeclaration}

  \include{./abstract}

  \tableofcontents
  \cleardoublepage
  \pagenumbering{arabic}

  \include{./chapters/chap01-introduction/chap01-introduction}
  %--------------------------------------------------
  %--------------------------------------------------
  \include{./chapters/chap02/chap02}
  %--------------------------------------------------
  %--------------------------------------------------
  \include{./chapters/chap03/chap03}
  %--------------------------------------------------
  %--------------------------------------------------
  \include{./chapters/chap04/chap04}
  %--------------------------------------------------
  %--------------------------------------------------
  % include more chapters if you want or have to
  %--------------------------------------------------
  %--------------------------------------------------
  \include{./chapters/conclusions/conclusions}
  %--------------------------------------------------
  %--------------------------------------------------
  \include{./chapters/furtherWork/furtherWork}
  %--------------------------------------------------
  %--------------------------------------------------

  \appendix

  % if you do not have appendix sections, comment this include command out
  % \include{./chapters/appendix/appendix}

  \singlespacing

  \interlinepenalty10000 % so no bib-entry will be separated by a pagebreak
  \bibliography{thesis}
  \bibliographystyle{apalike} % change the bib-style if you want to

  \listoffigures
  \begingroup
  \let\clearpage\relax
  \listoftables
  \endgroup

\end{document}
