\documentclass[a4paper,12pt,onecolumn]{article}
% --------------------------------------------------------
% Encoding & Language
% --------------------------------------------------------
\usepackage[utf8]{inputenc}
\usepackage[T1]{fontenc}
% Language selection:
% Set to 'english' or 'ngerman'
\newcommand{\TemplateLanguage}{english}
\usepackage[english,ngerman]{babel}
\AtBeginDocument{\selectlanguage{\TemplateLanguage}}
% --------------------------------------------------------
% Template variables (edit these in ONE place)
% --------------------------------------------------------
% Title page metadata
\newcommand{\ThesisTitle}{[THESIS TITLE]}
\newcommand{\ThesisType}{Freie wissenschaftliche Arbeit}
\newcommand{\DegreeName}{[Bachelor/Master of Science]}
\newcommand{\ProgramName}{[Degree Program]}
% Institution
\newcommand{\UniversityName}{Universität Augsburg}
\newcommand{\FacultyName}{Wirtschaftswissenschaftlichen Fakultät}
\newcommand{\InstituteChair}{Lehrstuhl für Statistik und Data Science}
% People
\newcommand{\SupervisorName}{Prof.\ Dr.\ Yarema Okhrin}
\newcommand{\AdvisorName}{[ADVISOR NAME]}
\newcommand{\AuthorName}{[AUTHOR NAME]}
% Author details
\newcommand{\AuthorAddress}{[ADDRESS]}
\newcommand{\StudentId}{[0000000]}
\newcommand{\AuthorEmail}{[EMAIL]}
% Place and date
\newcommand{\SubmissionCity}{Augsburg}
\newcommand{\SubmissionMonth}{Januar}
\newcommand{\SubmissionYear}{2026}
% Title page logo
\newcommand{\TitleSealFile}{logos/uni_siegel.pdf}
\newcommand{\TitleSealWidth}{0.25\textwidth}
% --------------------------------------------------------
% Font: Times New Roman (with math support)
% --------------------------------------------------------
\usepackage{newtxtext,newtxmath}
% --------------------------------------------------------
% Page margins
% --------------------------------------------------------
\usepackage[top=2.5cm,bottom=2cm,inner=4cm,outer=2cm]{geometry}
% --------------------------------------------------------
% Line spacing
% --------------------------------------------------------
\usepackage{setspace}
\onehalfspacing
\usepackage{footmisc}
\setlength{\footnotesep}{0.8\baselineskip}
\renewcommand{\footnotelayout}{\setstretch{1.0}}
% Keep tables single-spaced to avoid stretched rows
\usepackage{etoolbox}
\AtBeginEnvironment{table}{\singlespacing}
% --------------------------------------------------------
% Useful packages
% --------------------------------------------------------
\usepackage{booktabs, amsmath}
\usepackage{graphicx}
\usepackage{url}
\urlstyle{rm}
% --------------------------------------------------------
% Hyperlinks
% --------------------------------------------------------
\usepackage[pdfpagelabels,plainpages=false,hypertexnames=false]{hyperref}
\usepackage{xcolor}
\definecolor{smdsblue}{RGB}{0,69,134}
\hypersetup{
colorlinks=true,
linkcolor=black, % internal links (sections, TOC)
citecolor=black, % citations
urlcolor=smdsblue % URLs/DOIs
}
% --------------------------------------------------------
% Bibliography (BibLaTeX)
% --------------------------------------------------------
\usepackage[backend=biber,style=authoryear,maxcitenames=2,maxbibnames=99,natbib=true]{biblatex}
\usepackage{csquotes}
\addbibresource{references.bib}
% --------------------------------------------------------
% Formatting
% --------------------------------------------------------
\parindent 0em
\parskip 6pt
% --------------------------------------------------------
% TOC, LOF, LOT spacing
% --------------------------------------------------------
\usepackage{tocloft}
% Reduce spacing in table of contents
\setlength{\cftbeforesubsubsecskip}{1pt}
% Reduce spacing in list of tables
\setlength{\cftbeforetabskip}{3pt}
% --------------------------------------------------------
% Main document
% --------------------------------------------------------
\begin{document}
% Render the title page
\input{titlepage.tex}
% Front matter: Roman numbering
\pagenumbering{Roman}
% Table of Contents
\tableofcontents
\clearpage
% List of Figures
\clearpage
\phantomsection
\addcontentsline{toc}{section}{\listfigurename}
\listoffigures
% List of Tables
\clearpage
\phantomsection
\addcontentsline{toc}{section}{\listtablename}
\listoftables
% Abbreviations
\clearpage
\phantomsection
\addcontentsline{toc}{section}{\iflanguage{ngerman}{Abkürzungsverzeichnis}{List of Abbreviations}}
\include{Abbreviations}
% Disposition / Proposal
\include{chapters/Disposition}
\clearpage
% Main body: Arabic numbering
\pagenumbering{arabic}
\include{chapters/01-introduction}
\include{chapters/02-methods}
\include{chapters/03-results}
\clearpage
% Appendix
\appendix
\include{chapters/04-appendix}
\clearpage
% Bibliography (automatically adds itself to TOC via heading=bibintoc)
\printbibliography[heading=bibintoc,title={\iflanguage{ngerman}{Literaturverzeichnis}{References}}]
\end{document}