143 lines
2.9 KiB
TeX

%--------------------
%encoding
%--------------------
\usepackage[utf8]{inputenc}
\usepackage[T1]{fontenc}
%--------------------
%language
%--------------------
\usepackage{babel}
%--------------------
%images
%--------------------
\usepackage{graphicx}
\graphicspath{ {./images/} }
%image placement
\usepackage{float}
%svg images
\usepackage{svg}
%captions
\usepackage{caption}
\newcommand*{\captionsource}[2]{%
\caption{#1}
\vspace{-3mm}
\caption*{\footnotesize Quelle: #2}
}
%--------------------
%german quotation style
%--------------------
\usepackage[%
left = \glqq,%
right = \grqq,%
leftsub = \glq,%
rightsub = \grq%
]{dirtytalk}
%--------------------
%references
%--------------------
\usepackage{hyperref}
%--------------------
%better tables
%--------------------
%enable X columns (columns with automatic width)
\usepackage{tabularx}
\newcolumntype{Y}{>{\centering\arraybackslash}X} %for centered X column
%table longer than one page
\usepackage{longtable}
%colorfull tables
\usepackage{colortbl}
%enable line break in nomenclature
\usepackage{array}
%multirows in tables
\usepackage{multirow}
%footnotes for tables
\usepackage{threeparttable}
%enable rotation of table headers
\newcommand\rothead{\bfseries\rotatebox{90}}
%--------------------
%header and footer
%--------------------
\usepackage{fancyhdr}
%--------------------
%custom font sizes
%--------------------
\usepackage{anyfontsize}
%--------------------
%bibliography
%--------------------
%\usepackage[square, numbers]{natbib}
\usepackage[style=authortitle]{biblatex}
\bibliography{Bibliography.bib}
%--------------------
%for calculating the number of pages
%--------------------
\usepackage{refcount}
%--------------------
%conditional formating
%--------------------
\usepackage{ifthen}
%--------------------
%symbols
%--------------------
%special symbols
\usepackage{fontawesome}
%--------------------
%equations
%--------------------
%math symbols and more
\usepackage{amsmath}
%si units
\usepackage[output-decimal-marker={,}]{siunitx}
%decimal comma
\usepackage{icomma}
%stealth arrows in math
\usepackage{mathabx}
%--------------------
%drawings
%--------------------
\usepackage{tikz,pgfplots}
\pgfplotsset{compat=1.7}
\usetikzlibrary{calc}
\usetikzlibrary{3d}
\usetikzlibrary{arrows}
\usetikzlibrary{patterns}
\usetikzlibrary{shapes.geometric}
\usepackage{pgf-umlsd}
\usepackage{environ}
%enable resizing TikZ pictures
\makeatletter
\newsavebox{\measure@tikzpicture}
\NewEnviron{scaletikzpicturetowidth}[1]{%
\def\tikz@width{#1}%
\def\tikzscale{1}\begin{lrbox}{\measure@tikzpicture}%
\BODY
\end{lrbox}%
\pgfmathparse{#1/\wd\measure@tikzpicture}%
\edef\tikzscale{\pgfmathresult}%
\BODY
}
\makeatother
\tikzset{
invisible/.style={opacity=0},
visible on/.style={alt={#1{}{invisible}}},
alt/.code args={<#1>#2#3}{%
\alt<#1>{\pgfkeysalso{#2}}{\pgfkeysalso{#3}} % \pgfkeysalso doesn't change the path
},
}
% landscape
\usepackage{pdflscape}