\documentclass[12pt,a4paper,titlepage]{article}
\usepackage[utf8]{inputenc}
\newcommand\independent{\protect\mathpalette{\protect\independenT}{\perp}}
\def\independenT#1#2{\mathrel{\rlap{$#1#2$}\mkern2mu{#1#2}}}
\usepackage[a4paper,left=3cm,right=2cm,top=2cm,bottom=2cm,bindingoffset=5mm]{geometry}
\usepackage[onehalfspacing]{setspace}
\usepackage[T1]{fontenc}
\usepackage{lmodern}
\usepackage[english]{babel}
\usepackage{amsmath, amssymb}
\usepackage{graphicx}
\graphicspath{ {./images/} }
\usepackage{physics}
\usepackage{xurl}
\usepackage[plainpages=false,hidelinks]{hyperref}
\usepackage{varioref}
\usepackage{cleveref}
\usepackage{tabularx}
\usepackage{caption}
\usepackage{subcaption}
\usepackage[verbose]{placeins}
\usepackage{array}
\usepackage[onehalfspacing]{setspace}
\usepackage{float}
\usepackage{multirow}
\usepackage{blkarray}
\usepackage{dsfont}
\usepackage{amsthm}
\usepackage{dirtytalk}
\usepackage{appendix}
\usepackage{bm}
\usepackage{algpseudocode}
\usepackage{algorithm}
\usepackage{mwe}
\usepackage{xcolor}
\usepackage{listings}
\usepackage{hyperref}
\usepackage{booktabs}
\usepackage{csquotes}
\usepackage{emptypage}
\usepackage{standalone}
\usepackage{import}
\usepackage{times}
\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}}
\linespread{1.5}
\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
\title{Your Title}
\author{Your Name }
\date{\today}
\begin{document}
\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}
\newpage
\tableofcontents
\newpage
\listoffigures
\addcontentsline{toc}{section}{List of Figures}
\newpage
\listoftables
\addcontentsline{toc}{section}{List of Tables}
\newpage
\cleardoublepage
\pagenumbering{arabic}
\newpage
\section{Introduction}
\subsection{Elephants}\label{elephants}
Subsection Text about a nice elephant
\subsection{References}
Excellent Paper \cite{10.1093/restud/rdac033}
\section{Main Part}
Main Part Text, nice Reference about elephants \ref{elephants}
\subsection{Table}
\begin{table}[hbt] % [hbt] controls placement, NOT the title
\centering
\begin{tabular}{c|c}
10 & 5 \\
a & b
\end{tabular}
\caption{Nice Table} % The title goes here
\label{tab:placeholder}
\end{table}
\subsection{Figure}
\begin{figure}[htbp]
\centering
\includegraphics[width=0.5\textwidth]{filename.jpg}
\caption{Your caption goes here}
\label{fig:unique_label}
\end{figure}
\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}