2025-02-25 20:08:02 +01:00

114 lines
2.6 KiB
TeX
Raw Blame History

%
% Project header
%
\documentclass[
12pt, % 12pt font size
pdftex, % we are just using pdf
a4paper, % a4 paper format
titlepage,% title has its own page
oneside, % single-page view
%twocolumn,% use two text columns
headsepline, % hr after headline
footsepline, % hr before footer,
bibliography=totoc, % Include literaturverzeichnis in inhaltsverzeichnis
listoftables=totoc,
ngerman, % it's a german document
%draft, % create debug build. remove for release build
hidelinks, % avoid weird ref highlighting
]{scrbook}
% Make image and chapter numbers continuous
\counterwithout{figure}{chapter}
\counterwithout{table}{chapter}
% Load project configuration
\input{config}
\parindent=0pt % disable paragraph indent
\usepackage{ngerman}
\usepackage[utf8]{inputenc}
\usepackage[T1]{fontenc}
% Chatgpt wollte das für Tabellen
\usepackage{booktabs}
% Paket um Grafiken im Dokument einbetten zu k<>nnen.
% Im PDF sind GIF, PNG, und PDF Grafiken m<>glich.
\usepackage{graphicx}
% caption setzt per default hypcap=true, sodass Sprungmarken im PDF-File nicht nur
% zu den Captions von Bildern springen, sondern an den oberen Rand der Bilder.
\usepackage{caption}
% Font 'Latin Modern Family' verwenden.
% Verwende dieses Paket wenn du DML selbst kompilierst.
\usepackage{lmodern}
% Tabellen
\usepackage{array}
% Mathematische Formeln
\usepackage{amsmath, amsthm, amssymb, mathtools}
% Deutsche Anführungszeichen
\usepackage[babel, german=quotes]{csquotes}
% Mehrere Bilder als eine Abbildung
\usepackage{subcaption}
% Seiten-bottom-padding
\usepackage[bottom=2.5cm]{geometry}
% Dashed lines
\usepackage{arydshln}
% Colored text
\usepackage{color}
% Custom title format
\usepackage{sectsty}
\allsectionsfont{\rmfamily}
\chaptertitlefont{\rmfamily\hspace*{0.5em}}
% Zeilenabstand 1.5
\usepackage[onehalfspacing]{setspace}
% Tab-respecting code printing
\usepackage{fancyvrb}
% Abkürzungsverzeichnis
\usepackage{acronym}
% Appendix
\usepackage[toc,page]{appendix}
\renewcommand{\appendixname}{Anhang}
\renewcommand{\appendixtocname}{Anhang}
\renewcommand{\appendixpagename}{Anhang}
% Multiline table entries
\usepackage{makecell}
\usepackage{float}
% Reduce excessive line height in lists
\usepackage{enumitem,setspace,lipsum,etoolbox}
\AtBeginEnvironment{itemize}{\par\medskip\setstretch{0.5}}
\AtBeginEnvironment{enumerate}{\par\medskip\setstretch{0.5}}
% Metadaten
\usepackage[pdftex,
pdfauthor={\cfgAuthorName},
pdftitle={\cfgDocTitle},
pdfsubject={\cfgDocSubTitle},
pdfproducer={Latex},
pdfcreator={pdflatex}]{hyperref}
% Load custom macros
\input{macros}
% Load custom environments
\input{environments}