This commit is contained in:
Patrick Hangl
2026-05-05 09:53:04 +02:00
parent 5e5331f099
commit 0a5244ec3f
9 changed files with 312 additions and 244 deletions
+43
View File
@@ -17,9 +17,52 @@
\usepackage[a4paper,margin=2.5cm]{geometry} %Seitenmaße
\usepackage{setspace}
\usepackage{listings}
\usepackage{xcolor}
\usepackage{minted}
\usepackage{caption}
\usepackage{acronym} % Nur verwendete Abkürzungen anzeigen
\captionsetup[listing]{
justification=raggedright,
singlelinecheck=false
}
% --- Listings Style ---
\lstdefinestyle{pythonstyle}{
language=Python,
basicstyle=\ttfamily\small,
keywordstyle=\color{blue!70!black}\bfseries,
commentstyle=\color{gray}\itshape,
stringstyle=\color{green!50!black},
numbers=left,
numberstyle=\tiny,
stepnumber=1,
numbersep=8pt,
backgroundcolor=\color{black!5},
frame=single,
rulecolor=\color{black!30},
breaklines=true,
tabsize=4,
showstringspaces=false
}
\lstdefinestyle{cstyle}{
language=C,
basicstyle=\ttfamily\small,
keywordstyle=\color{blue!70!black}\bfseries,
commentstyle=\color{gray}\itshape,
stringstyle=\color{green!50!black},
numbers=left,
numberstyle=\tiny,
stepnumber=1,
numbersep=8pt,
backgroundcolor=\color{black!5},
frame=single,
rulecolor=\color{black!30},
breaklines=true,
tabsize=4,
showstringspaces=false
}
\addbibresource{literature.bib}
\renewcommand{\thefootnote}{\arabic{footnote}}
\parskip.5\baselineskip