Initial Commit

This commit is contained in:
Tobias Hilfiker
2025-01-09 09:41:35 +01:00
commit 7c58678a87
3 changed files with 103 additions and 0 deletions

0
bibliography.bib Normal file
View File

94
main.tex Normal file
View File

@@ -0,0 +1,94 @@
% Preamble
\documentclass[11pt]{article}
% Packages
\usepackage[utf8]{inputenc} % Inputencoding to UTF-8
\usepackage[a4paper, top=1.85cm, bottom=2cm, left=2.5cm, right=2cm]{geometry} % Set the margin and size of a page
\usepackage{titling}
\usepackage{textcomp}
\usepackage{wasysym}
\usepackage{array}
\usepackage{rotating} % Rotate pictures in Latex
\usepackage{smartdiagram} % Chevron-Diagrams in Latex
\usepackage{wrapfig} % Figures floating in text
\usepackage{enumerate} % Enumerations in Latex
\usepackage{capt-of} % Captions for pictures without figure-environment
\usepackage{xcolor} % Custom colors
\usepackage{subcaption} % Better cpationing of pictures and tables
\usepackage[de]{datetime2} % Get dates in german format
\usepackage{pdflscape} % Landscaped pages in Pdf
\usepackage{setspace} % Better Line spacing
\usepackage{lastpage} % Custom page numbering
\usepackage{fancyhdr} % Custom page numbering
\usepackage{tcolorbox} % In-Text Code formatting
\usepackage{pdfpages} % Import PDF into LaTeX document
\usepackage{cleveref} % Better referencing on elements
\usepackage{xspace}
% UML-Diagrams in LaTeX
\usepackage{pgf-umlcd}
\usepackage{pgf-umlsd}
\usepackage{graphicx}
\usepackage{tikz}
\usepackage{lineno}
\usepackage{caption}
% Advanced Table functions
\usepackage{tabularx}
\newcolumntype{W}{>{\hsize=1.5\hsize}X}
\newcolumntype{w}{>{\hsize=1.25\hsize}X}
\newcolumntype{m}{X}
\newcolumntype{S}{>{\hsize=.75\hsize}X}
\newcolumntype{s}{>{\hsize=.5\hsize}X}
%ATTENTION WHEN USING COLUMNS -> They have to sum up to the correct count of cols: two cols mean that the sizes have to in sum be two
% Bibliography management
\usepackage{natbib}
\bibliographystyle{apalike}
% Formatting for Abacus-Style
\usepackage[T1]{fontenc}
\usepackage{uarial}
\renewcommand{\familydefault}{\sfdefault}
\newcolumntype{P}[1]{>{\centering\arraybackslash}p{#1}}
%Format titles with correct size and color
\usepackage{titlesec}
\titleformat{\section}{\Large\bfseries\color[HTML]{282828}}{\thesection}{1em}{}
\titleformat{\subsection}{\large\bfseries\color[HTML]{282828}}{\thesubsection}{1em}{}
\titleformat{\subsubsection}{\normalsize\bfseries\color[HTML]{282828}}{\thesubsubsection}{1em}{}
\newcommand{\subsubsubsection}[1]{\paragraph{#1}\mbox{}\\}
%Recolor itemize-dots
\usepackage{enumitem}
\usepackage{kinematikz}
\setlist[itemize]{label={\color[HTML]{282828}\textbullet}, itemsep=0.1ex}
% change commands to german
\renewcommand\contentsname{Inhaltsverzeichnis}
\renewcommand{\figurename}{Abb.}
\DTMsetdatestyle{german}
\renewcommand{\listfigurename}{Abbildungsverzeichnis}
\renewcommand{\bibsection}{\section{Literaturverzeichnis}}
\renewcommand{\listtablename}{Tabellenverzeichnis}
\renewcommand{\tablename}{Tabelle}
\crefname{table}{Tabelle}{Tabellen}
\Crefname{table}{Tabelle}{Tabellen}
\crefname{figure}{Abb.}{Abb.}
\Crefname{figure}{Abb.}{Abb.}
% Configure page numbering & footer
\pagestyle{fancy}
\fancyhf{}
\lfoot{<TEXT_FOR_LEFT_FOOTNOTE>}
\cfoot{Seite \thepage \hspace{1pt} von~\pageref{LastPage}}
\rfoot{\today}
\begin{document}
% Load titlepage from titlepage.tex and insert here
\input{titlepage}
\pagebreak %PAGEBREAK
\end{document}

9
titlepage.tex Normal file
View File

@@ -0,0 +1,9 @@
\begin{titlepage}
\begin{center}
\includegraphics[width=\textwidth]{<TITLEPAGE_GRAPHICS_PATH>}
\Huge\textbf{<MAIN_TITLE> }
\singlespacing
\color[HTML]{282828}\Large\textbf{<SUBTITLE>}
\vfill
\end{titlepage}