From 7c58678a87ff8b15ad060942dfdde2d7b8048710 Mon Sep 17 00:00:00 2001 From: Tobias Hilfiker Date: Thu, 9 Jan 2025 09:41:35 +0100 Subject: [PATCH] Initial Commit --- bibliography.bib | 0 main.tex | 94 ++++++++++++++++++++++++++++++++++++++++++++++++ titlepage.tex | 9 +++++ 3 files changed, 103 insertions(+) create mode 100644 bibliography.bib create mode 100644 main.tex create mode 100644 titlepage.tex diff --git a/bibliography.bib b/bibliography.bib new file mode 100644 index 0000000..e69de29 diff --git a/main.tex b/main.tex new file mode 100644 index 0000000..0c645ce --- /dev/null +++ b/main.tex @@ -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{} +\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} \ No newline at end of file diff --git a/titlepage.tex b/titlepage.tex new file mode 100644 index 0000000..611681a --- /dev/null +++ b/titlepage.tex @@ -0,0 +1,9 @@ +\begin{titlepage} + \begin{center} + \includegraphics[width=\textwidth]{} + \Huge\textbf{ } + \singlespacing + \color[HTML]{282828}\Large\textbf{} + + \vfill +\end{titlepage} \ No newline at end of file