% !TeX encoding = utf8
% !TeX program = pdflatex 
% !TeX spellcheck = de_DE
% !BIB program = biber

\documentclass[bachelor,german,smartquotes]{hgbthesis}

\RequirePackage[utf8]{inputenc}
\logofile{include/logo.pdf}
\bibliography{references} % BibLaTeX-Literaturdatei (references.bib)

%%%-----------------------------------------------------------------------------

\usepackage{subcaption} 
\usepackage[parfill]{parskip}  

\usepackage{nameref}
\usepackage{hyperref}
\usepackage{rotating}

% Enable to remove floats for testing

% \usepackage{comment}
% \excludecomment{figure}
% \let\endfigure\relax
% \excludecomment{table}
% \let\endtable\relax
% \excludecomment{program}
% \let\endprogram\relax
% \excludecomment{lstlisting}
% \let\endlstlisting\relax

%%%-----------------------------------------------------------------------------

\captionsetup[subfigure]{labelformat=empty}

\setcounter{tocdepth}{2}
\setcounter{secnumdepth}{3}

\newcounter{subsubsubsection}[subsubsection]
\renewcommand{\thesubsubsubsection}{\thesubsubsection.\arabic{subsubsubsection}}
\providecommand{\subsubsubsectionautorefname}{Subsubsubsection}

\titleformat{\subsubsubsection}[runin]{\bfseries\sffamily}{}{0em}{}[:]
\titlespacing*{\subsubsubsection}{0pt}{\baselineskip}{\baselineskip}

\newcommand{\subsubsubsection}[1]{%
    \stepcounter{subsubsubsection}%
    \par\addvspace{8pt}%
    \noindent{\sffamily\underline{#1}}\par
    \nopagebreak\addvspace{8pt}%
}

\newcommand*{\fullref}[1]{\hyperref[{#1}]{\autoref*{#1} \nameref*{#1}}}

\newcommand{\csharp}{C\#}
\newcommand{\engl}[1]{engl. \textit{#1}}
\newcommand{\kurz}[1]{kurz: \textit{#1}}
\newcommand{\fluentcite}[1]{\citetitle{#1}, \citeauthor{#1} \citeyear{#1} \mcite{#1}}

%%%-----------------------------------------------------------------------------

\babelhyphenation[ngerman]{
  Text-er-ken-nung
}

%%%-----------------------------------------------------------------------------

%%%-----------------------------------------------------------------------------
\begin{document}
\GetTitleStringSetup{expand}
%%%-----------------------------------------------------------------------------

%%%-----------------------------------------------------------------------------
% Angaben für die Titelei (Titelseite, Erklärung etc.)
%%%-----------------------------------------------------------------------------

\title{Kategorisierung von lokalisierten Bilddateien mittels OCR}
\author{Simon Gruber}
\programname{Software Engineering}

\programtype{Fachhochschul-Bachelorstudiengang} % auswählen/editieren
% \programtype{Fachhochschul-Masterstudiengang}

\placeofstudy{Hagenberg}
\dateofsubmission{2023}{06}{06} % {YYYY}{MM}{DD}

\advisor{Barbara Traxler MSc}

%%%-----------------------------------------------------------------------------
\frontmatter                                       % Titelei (röm. Seitenzahlen)
%%%-----------------------------------------------------------------------------

\includepdf[pages=1-2]{include/title.pdf}
\include{chapters/c00_frontmatter/abstract/index}
\tableofcontents

%%%-----------------------------------------------------------------------------
\mainmatter                             % Hauptteil (ab hier arab. Seitenzahlen)
%%%-----------------------------------------------------------------------------

\include{chapters/c10_einleitung/index}
\include{chapters/c20_grundlagen/index}
\include{chapters/c30_konzept/index}
\include{chapters/c40_durchführung/index}
\include{chapters/c80_zusammenfassung/index}

%%%-----------------------------------------------------------------------------
\backmatter                          % Schlussteil (Quellenverzeichnis und dgl.)
%%%-----------------------------------------------------------------------------

\listoffigures
\listoftables

\MakeBibliography % Quellenverzeichnis

%%%-----------------------------------------------------------------------------
\end{document}
%%%-----------------------------------------------------------------------------
