132 lines
4.5 KiB
Markdown
Raw Permalink Normal View History

2024-02-13 15:22:59 +01:00
---
header-includes: |
2024-03-05 00:34:31 +01:00
\usepackage[T1]{fontenc}
\usepackage[a4paper,bindingoffset=0in,left=4cm,right=2cm,top=2cm,bottom=2cm,footskip=.25in]{geometry}
\usepackage{fancyhdr}
\usepackage[utf8]{inputenc}
\usepackage{tikz}
2024-03-22 01:37:32 +01:00
\usetikzlibrary{snakes,arrows,shapes,shadows,calc}
2024-03-05 00:34:31 +01:00
\usepackage{amsmath}
\usepackage{pgfplots}
\usepackage{pgfplotstable}
\pgfplotsset{compat=1.8}
\usepackage{multicol,lipsum}
\usepackage{listings}
\usepackage{wrapfig}
\usepackage[font=small,labelfont=bf,tableposition=top, position=above]{caption}
\usepackage{graphicx}
\usepackage{xcolor,stackengine}
\usepackage{colortbl}
2024-03-22 01:37:32 +01:00
\usepackage[most]{tcolorbox}
2024-03-05 00:34:31 +01:00
\usepackage{lastpage}
\usepackage{subcaption}
\usepackage{tabularx}
\usepackage{biblatex}
\usepackage{float}
\usepackage{refract}
\usepackage{svg}
\usepackage{setspace}
\usepackage{titling}
\usepackage{abstract}
2024-02-13 15:22:59 +01:00
\usepackage{fvextra}
\usepackage{emoji}
2024-03-05 00:34:31 +01:00
\usepackage{fontspec}
\usepackage{dirtree}
\usepackage{etoolbox}
2024-03-22 01:37:32 +01:00
\usepackage{textpos}
2024-03-05 00:34:31 +01:00
\setmainfont{Times New Roman}
2024-02-13 15:22:59 +01:00
\DefineVerbatimEnvironment{Highlighting}{Verbatim}{breaklines,commandchars=\\\{\}}
2024-03-05 00:34:31 +01:00
\newcommand{\hideFromPandoc}[1]{#1}
\hideFromPandoc{
\let\Begin\begin
\let\End\end
}
\makeatletter
\def\fps@figure{h}
\makeatother
2024-02-13 15:22:59 +01:00
---
2024-03-05 00:34:31 +01:00
\captionsetup[figure]{position=above}
2024-02-13 15:22:59 +01:00
\setstretch{1.5}
\setemojifont{Twemoji Mozilla}
2024-03-05 00:34:31 +01:00
<!-- \renewcommand{\familydefault}{\sfdefault} -->
2024-02-13 15:22:59 +01:00
\graphicspath{ {./img/} }
\overfullrule=0pt
\newcolumntype{C}{>{\centering\arraybackslash}X}
\renewcommand{\comment}[1]{\hspace{2em}{\small\textit{#1}}\bigskip\par}
2024-03-05 00:34:31 +01:00
\renewcommand{\lstlistingname}{Auflistung}
2024-02-13 15:22:59 +01:00
\newcommand\palbox[1]{{\sffamily\fboxsep=5pt\relax\fboxrule=1pt\relax\footnotesize%
\fcolorbox{gray!50}{gray!10}{%
\stackengine{4pt}{%
\colorbox[HTML]{#1}{\rule{30pt}{0pt}\rule{0pt}{30pt}}%
}{%
\color{black!60}\stackengine{6pt}{\##1}{\saycolors{#1}}{U}{l}{F}{F}{S}%
}{U}{l}{F}{F}{S}%
}%
}}
\newcommand\saycolors[1]{\relax}
\lstset{
basicstyle=\ttfamily,
columns=fullflexible,
frame=single,
breaklines=true,
postbreak=\mbox{\textcolor{red}{$\hookrightarrow$}\space},
}
2024-03-05 00:34:31 +01:00
\apptocmd{\dirtree}{\bigskip}{}{}
\pretocmd{\dirtree}{\bigskip}{}{}
\newcommand{\mkbibnodate}{n\adddot d\adddot}
2024-03-10 23:13:31 +01:00
\setlength{\parindent}{0em}
2024-03-22 01:37:32 +01:00
\def\shadowshift{3pt,-3pt}
\def\shadowradius{6pt}
\colorlet{innercolor}{black!60}
\colorlet{outercolor}{gray!05}
\newcommand\drawshadow[1]{
\begin{pgfonlayer}{shadow}
\shade[outercolor,inner color=innercolor,outer color=outercolor] ($(#1.south west)+(\shadowshift)+(\shadowradius/2,\shadowradius/2)$) circle (\shadowradius);
\shade[outercolor,inner color=innercolor,outer color=outercolor] ($(#1.north west)+(\shadowshift)+(\shadowradius/2,-\shadowradius/2)$) circle (\shadowradius);
\shade[outercolor,inner color=innercolor,outer color=outercolor] ($(#1.south east)+(\shadowshift)+(-\shadowradius/2,\shadowradius/2)$) circle (\shadowradius);
\shade[outercolor,inner color=innercolor,outer color=outercolor] ($(#1.north east)+(\shadowshift)+(-\shadowradius/2,-\shadowradius/2)$) circle (\shadowradius);
\shade[top color=innercolor,bottom color=outercolor] ($(#1.south west)+(\shadowshift)+(\shadowradius/2,-\shadowradius/2)$) rectangle ($(#1.south east)+(\shadowshift)+(-\shadowradius/2,\shadowradius/2)$);
\shade[left color=innercolor,right color=outercolor] ($(#1.south east)+(\shadowshift)+(-\shadowradius/2,\shadowradius/2)$) rectangle ($(#1.north east)+(\shadowshift)+(\shadowradius/2,-\shadowradius/2)$);
\shade[bottom color=innercolor,top color=outercolor] ($(#1.north west)+(\shadowshift)+(\shadowradius/2,-\shadowradius/2)$) rectangle ($(#1.north east)+(\shadowshift)+(-\shadowradius/2,\shadowradius/2)$);
\shade[outercolor,right color=innercolor,left color=outercolor] ($(#1.south west)+(\shadowshift)+(-\shadowradius/2,\shadowradius/2)$) rectangle ($(#1.north west)+(\shadowshift)+(\shadowradius/2,-\shadowradius/2)$);
\filldraw ($(#1.south west)+(\shadowshift)+(\shadowradius/2,\shadowradius/2)$) rectangle ($(#1.north east)+(\shadowshift)-(\shadowradius/2,\shadowradius/2)$);
\end{pgfonlayer}
}
\pgfdeclarelayer{shadow}
\pgfsetlayers{shadow,main}
\newsavebox\mybox
\newlength\mylen
\newcommand\shadowimage[2][]{%
\setbox0=\hbox{\includegraphics[#1]{#2}}
\setlength\mylen{\wd0}
\ifnum\mylen<\ht0
\setlength\mylen{\ht0}
\fi
\divide \mylen by 120
\def\shadowshift{\mylen,-\mylen}
\def\shadowradius{\the\dimexpr\mylen+\mylen+\mylen\relax}
\begin{tikzpicture}
\node[anchor=south west,inner sep=0] (image) at (0,0) {\includegraphics[#1]{#2}};
\drawshadow{image}
\end{tikzpicture}}