\documentclass[12pt,a4paper,titlepage]{article}
% --- BASIC ENCODING & LANGUAGE ---
\usepackage[utf8]{inputenc}
\usepackage[T1]{fontenc}
\usepackage[english]{babel} % Change to 'ngerman' if writing in German
% --- FONT SELECTION (Times New Roman) ---
\usepackage{mathptmx}
\usepackage[onehalfspacing]{setspace}
\usepackage{footmisc}
\renewcommand{\footnotelayout}{\fontsize{10}{12}\selectfont}
% --- PAGE MARGINS (Uni Bonn Guideline) ---
\usepackage[a4paper,left=3cm,right=2cm,top=2cm,bottom=2cm,bindingoffset=5mm]{geometry}
\usepackage{amsmath, amssymb}
\usepackage{physics}
\usepackage{bm} % Bold math
\usepackage{dsfont} % Double stroke fonts
\usepackage{amsthm}
% --- IMAGES & TABLES ---
\usepackage{graphicx}
\graphicspath{ {./images/} }
\usepackage{booktabs} % For nicer tables
\usepackage{tabularx}
\usepackage{multirow}
\usepackage{float}
\usepackage{caption}
\usepackage{subcaption}
% --- UTILITIES ---
\usepackage{xcolor}
\usepackage[plainpages=false, hidelinks]{hyperref} % Clickable links, no colored boxes
\usepackage{cleveref} % Better referencing (must be loaded after hyperref)
\usepackage[verbose]{placeins} % Keeps floats in their sections
\usepackage{appendix}
\usepackage{lipsum} % Just for dummy text in this template (can be removed)
\makeatletter
\def\tagform@#1{\maketag@@@{\ignorespaces#1\unskip\@@italiccorr}}
\let\orgtheequation\theequation
\def\theequation{(\orgtheequation)}
\makeatother
\let\orgautoref\autoref
\providecommand{\Autoref}[1]{\def\equationautorefname{Equation}\orgautoref{#1}}
\renewcommand{\autoref}[1]{\def\equationautorefname{Eq.}\orgautoref{#1}}
% --- BIBLIOGRAPHY ---
\usepackage{csquotes}
\usepackage[backend=biber, style=authoryear, sorting=nty]{biblatex}
\addbibresource{references.bib} % Make sure this file exists
\usepackage[backend=biber, style=authoryear, sorting=nty]{biblatex}
\addbibresource{references.bib}
\setcounter{tocdepth}{2}
%Based on the Merkblatt zu den stilistischen/formalen Vorgaben der Bachelorarbeit (27.01.2026) https://www.econ.uni-bonn.de/examinations/de/informationen/bachelor/bachelorarbeit/dokumente/ba-merkblatt-2016-05-23.pdf
% --- DOCUMENT INFO ---
\title{Your Title}
\author{Your Name}
\date{\today}
% =========================================
% BEGIN DOCUMENT
% =========================================
\begin{document}
% --- Title Page ---
\begin{titlepage}
\begin{center}
\par
\vspace*{2cm}
{\LARGE \textsc{Your Thesis Name}}
\par
\vspace{4.5cm}
\par
{\textsc{Bachelor's thesis presented to the}}\\
{\textsc{[Name of Department] at the}}\\
{\textsc{Rheinische Friedrich-Wilhelms-Universität Bonn}}\\
\vspace*{1cm}
{\textsc{In partial fulfilment of the requirements for the degree of}}
{\textsc{Bachelor of Science (B.Sc.)}}
\par
\vspace{5.25cm}
{\textsc{Supervisor:}[Name of your supervisor]}\\
\vspace{0.5cm}
\par
%\vfill
\vspace{1cm}
{\textsc{Submitted in [DATE] by} \\ \[Your Name\] \\ Matriculation Number: [Your Matriculation Number ]}\\
%\vspace{2cm}
\end{center}
\end{titlepage}
\thispagestyle{empty}
\pagenumbering{roman} % Roman numerals for lists (i, ii, iii)\newpage
\tableofcontents
\newpage
\listoffigures
\addcontentsline{toc}{section}{List of Figures}
\newpage
\listoftables
\addcontentsline{toc}{section}{List of Tables}
\newpage
\cleardoublepage
\pagenumbering{arabic} % Arabic numerals (1, 2, 3) starting here
\setcounter{page}{1} % Force start at 1
% --- MAIN CONTENT ---
\pagenumbering{arabic} % Arabic numerals (1, 2, 3) starting here
\setcounter{page}{1} % Force start at 1
\section{Introduction}
This text is in 1.5 spacing. The font is Times New Roman. The margins are correct.
\subsection{Example Subsection}\label{sec:example}
Here is a reference to \autoref{tab:placeholder}. The formatting is handled automatically.
\subsection{Citations}
This is how you cite references \parencite{10.1093/restud/rdac033}.
% Note: \parencite is usually better for (Author 2020) style. \cite usually gives Author (2020).
\section{Main Part}
Here is some math:
\begin{equation}
E = mc^2 \label{eq:einstein}
\end{equation}
As seen in \autoref{eq:einstein}, physics is cool.
\subsection{Table Example}
\begin{table}[hbt]
\centering
\caption{Nice Table}
\label{tab:placeholder}
\begin{tabular}{c|c}
\toprule
\textbf{Value A} & \textbf{Value B} \\
\midrule
10 & 5 \\
a & b \\
\bottomrule
\end{tabular}
\end{table}
\subsection{Figure Example}
\begin{figure}[htbp]
\centering
% \includegraphics[width=0.5\textwidth]{filename.jpg}
% Using a placeholder image for compilation
\rule{4cm}{3cm}
\caption{Your caption goes here}
\label{fig:unique_label}
\end{figure}
\section{Conclusion}
Summarise your findings here.
\newpage
\printbibliography[heading=bibintoc]
\newpage
\pagenumbering{Roman}
\appendix
\section{Appendix}
\clearpage
\section*{Declaration of Independence}
Ich versichere hiermit, dass ich die vorstehende Seminararbeit selbstständig verfasst und keine anderen als die angegebenen Quellen und Hilfsmittel benutzt habe, dass die vorgelegte Arbeit noch an keiner anderen Hochschule zur Prüfung vorgelegt wurde und dass sie weder ganz noch in Teilen bereits veröffentlicht wurde. Wörtliche Zitate und Stellen, die anderen Werken dem Sinn nach entnommen sind, habe ich in jedem einzelnen Fall kenntlich gemacht.
\\
\\
\\
Your Name, den [DATE]
\end{document}