%!TEX root=main.tex \usepackage{geometry} \geometry{ %a4paper, %total={170mm,257mm}, left=20mm, top=20mm, right=40mm, marginparwidth=30mm } %\usepackage[top=2cm, bottom=1.3cm, left=10mm, right=0.5cm, heightrounded, %marginparwidth=30mm, marginparsep=3mm]{geometry} %\usepackage{pythontex} \usepackage[ngerman]{babel} \usepackage[utf8]{inputenc} %\usepackage{microtype} %\usepackage[sfmath,slantedGreeks]{kpfonts} %% % Just some sample text \usepackage{lipsum} \usepackage{wrapfig} %% % For nicely typeset tabular material \usepackage{booktabs} %\usepackage[utf8]{inputenc} %% % For graphics / images \usepackage{graphicx} %\setkeys{Gin}{width=\linewidth,totalheight=\textheight,keepaspectratio} %\graphicspath{{graphics/}} \usepackage{mathtools} %\usepackage[inline]{asymptote} % The fancyvrb package lets us customize the formatting of verbatim % environments. We use a slightly smaller font. %\usepackage{fancyvrb} %\fvset{fontsize=\normalsize} \usepackage{cmbright} %% % Prints argument within hanging parentheses (i.e., parentheses that take % up no horizontal space). Useful in tabular environments. \newcommand{\hangp}[1]{\makebox[0pt][r]{(}#1\makebox[0pt][l]{)}} %% % Prints an asterisk that takes up no horizontal space. % Useful in tabular environments. \newcommand{\hangstar}{\makebox[0pt][l]{*}} %% % Prints a trailing space in a smart way. \usepackage{xspace} %\usepackage[makeroom]{cancel} %% % Some shortcuts for Tufte's book titles. The lowercase commands will % produce the initials of the book title in italics. The all-caps commands % will print out the full title of the book in italics. %\newcommand{\vdqi}{\textit{VDQI}\xspace} %\newcommand{\ei}{\textit{EI}\xspace} %\newcommand{\ve}{\textit{VE}\xspace} %\newcommand{\be}{\textit{BE}\xspace} %\newcommand{\VDQI}{\textit{The Visual Display of Quantitative Information}\xspace} %\newcommand{\EI}{\textit{Envisioning Information}\xspace} %\newcommand{\VE}{\textit{Visual Explanations}\xspace} %\newcommand{\BE}{\textit{Beautiful Evidence}\xspace} %\newcommand{\TL}{Tufte-\LaTeX\xspace} %20180930 Fonts LX %\usepackage{lxfonts} %\usepackage[sfdefault,scaled=1.5]{FiraSans} %\usepackage[sfdefault,lining,scaled=1.5]{FiraSans} %% option 'sfdefault' activates Fira Sans as the default text font %\usepackage[fakebold, scaled=1.5]{firamath-otf} %\renewcommand*\oldstylenums[1]{{\firaoldstyle #1}} \usepackage[defaultfam,tabular,lining]{montserrat} %% Option 'defaultfam' %% only if the base font of the document is to be sans serif \usepackage[T1]{fontenc} \renewcommand*\oldstylenums[1]{{\fontfamily{Montserrat-TOsF}\selectfont #1}} %\usepackage{newtxsf} %\setkomafont{subsection}{\usefont{T1}{fvm}{m}{n}} \setkomafont{section}{\usefont{T1}{fvs}{b}{n}\Large} \setkomafont{subsection}{\usefont{T1}{fvs}{b}{n}} \setkomafont{subsubsection}{\usefont{T1}{fvs}{b}{n}} \setcounter{secnumdepth}{3} %20180930 Fonts LX \usepackage{enumitem} % Prints the month name (e.g., January) and the year (e.g., 2008) %\newcommand{\monthyear}{% % \ifcase\month\or January\or February\or March\or April\or May\or June\or % July\or August\or September\or October\or November\or % December\fi\space\number\year %} %wenn eps --> aus gnuplot %\usepackage{graphicx} %\usepackage{epstopdf} %\epstopdfsetup{update} % only regenerate pdf files when eps file is newer % lua aus gnuplot %\usepackage{gnuplot-lua-tikz} % Prints an epigraph and speaker in sans serif, all-caps type. %\newcommand{\openepigraph}[2]{% % %\sffamily\fontsize{14}{16}\selectfont % \begin{fullwidth} % \sffamily\large % \begin{doublespace} % \noindent\allcaps{#1}\\% epigraph % \noindent\allcaps{#2}% author % \end{doublespace} % \end{fullwidth} %} % Inserts a blank page \newcommand{\blankpage}{\newpage\hbox{}\thispagestyle{empty}\newpage} \usepackage{units} % Typesets the font size, leading, and measure in the form of 10/12x26 pc. %\newcommand{\measure}[3]{#1/#2$\times$\unit[#3]{pc}} % %% Macros for typesetting the documentation %\newcommand{\hlred}[1]{\textcolor{Maroon}{#1}}% prints in red %\newcommand{\hangleft}[1]{\makebox[0pt][r]{#1}} %\newcommand{\hairsp}{\hspace{1pt}}% hair space %\newcommand{\hquad}{\hskip0.5em\relax}% half quad space %\newcommand{\TODO}{\textcolor{red}{\bf TODO!}\xspace} %\newcommand{\ie}{\textit{i.\hairsp{}e.}\xspace} %\newcommand{\eg}{\textit{e.\hairsp{}g.}\xspace} %\newcommand{\na}{\quad--}% used in tables for N/A cells %\providecommand{\XeLaTeX}{X\lower.5ex\hbox{\kern-0.15em\reflectbox{E}}\kern-0.1em\LaTeX} %\newcommand{\tXeLaTeX}{\XeLaTeX\index{XeLaTeX@\protect\XeLaTeX}} %% \index{\texttt{\textbackslash xyz}@\hangleft{\texttt{\textbackslash}}\texttt{xyz}} %\newcommand{\tuftebs}{\symbol{'134}}% a backslash in tt type in OT1/T1 %\newcommand{\doccmdnoindex}[2][]{\texttt{\tuftebs#2}}% command name -- adds backslash automatically (and doesn't add cmd to the index) %\newcommand{\doccmddef}[2][]{% % \hlred{\texttt{\tuftebs#2}}\label{cmd:#2}% % \ifthenelse{\isempty{#1}}% % {% add the command to the index % \index{#2 command@\protect\hangleft{\texttt{\tuftebs}}\texttt{#2}}% command name % }% % {% add the command and package to the index % \index{#2 command@\protect\hangleft{\texttt{\tuftebs}}\texttt{#2} (\texttt{#1} package)}% command name % \index{#1 package@\texttt{#1} package}\index{packages!#1@\texttt{#1}}% package name % }% %}% command name -- adds backslash automatically %\newcommand{\doccmd}[2][]{% % \texttt{\tuftebs#2}% % \ifthenelse{\isempty{#1}}% % {% add the command to the index % \index{#2 command@\protect\hangleft{\texttt{\tuftebs}}\texttt{#2}}% command name % }% % {% add the command and package to the index % \index{#2 command@\protect\hangleft{\texttt{\tuftebs}}\texttt{#2} (\texttt{#1} package)}% command name % \index{#1 package@\texttt{#1} package}\index{packages!#1@\texttt{#1}}% package name % }% %}% command name -- adds backslash automatically %\newcommand{\docopt}[1]{\ensuremath{\langle}\textrm{\textit{#1}}\ensuremath{\rangle}}% optional command argument %\newcommand{\docarg}[1]{\textrm{\textit{#1}}}% (required) command argument %\newenvironment{docspec}{\begin{quotation}\ttfamily\parskip0pt\parindent0pt\ignorespaces}{\end{quotation}}% command specification environment %\newcommand{\docenv}[1]{\texttt{#1}\index{#1 environment@\texttt{#1} environment}\index{environments!#1@\texttt{#1}}}% environment name %\newcommand{\docenvdef}[1]{\hlred{\texttt{#1}}\label{env:#1}\index{#1 environment@\texttt{#1} environment}\index{environments!#1@\texttt{#1}}}% environment name %\newcommand{\docpkg}[1]{\texttt{#1}\index{#1 package@\texttt{#1} package}\index{packages!#1@\texttt{#1}}}% package name %\newcommand{\doccls}[1]{\texttt{#1}}% document class name %\newcommand{\docclsopt}[1]{\texttt{#1}\index{#1 class option@\texttt{#1} class option}\index{class options!#1@\texttt{#1}}}% document class option name %\newcommand{\docclsoptdef}[1]{\hlred{\texttt{#1}}\label{clsopt:#1}\index{#1 class option@\texttt{#1} class option}\index{class options!#1@\texttt{#1}}}% document class option name defined %\newcommand{\docmsg}[2]{\bigskip\begin{fullwidth}\noindent\ttfamily#1\end{fullwidth}\medskip\par\noindent#2} %\newcommand{\docfilehook}[2]{\texttt{#1}\index{file hooks!#2}\index{#1@\texttt{#1}}} %\newcommand{\doccounter}[1]{\texttt{#1}\index{#1 counter@\texttt{#1} counter}} %\usepackage{gnuplottex} \usepackage{cancel} \usepackage{pgf,tikz,pgfplots} \usetikzlibrary{fadings,shapes.arrows,shadows,patterns} \usetikzlibrary{arrows.meta} %\usepackage{mathrsfs} \usepackage{tabu} \usepackage{textcomp} \usetikzlibrary{arrows,shapes,calc,decorations.pathreplacing,fit} \usepackage{subfigure} \newcommand{\tikztab}[1]{\tikz[na]{ \node[anchor=base] () {$#1$};}} \newcommand{\tikztaboverlay}[2]{\tikz[na]{ \node[anchor=base] (#2) {$#1$};}} \newcommand{\tikztabtext}[1]{\tikz[na]{ \node[anchor=base] () {#1};}} %Tables \usepackage{booktabs} \usepackage{xcolor,colortbl} % Generates the index \usepackage{makeidx} \usepackage{caption} % GLEITUMGEBUNG UND TIKZPICTURE \makeindex %\usepackage{gnuplottex} \usepackage{longtable} \usepackage{amssymb} \usepackage{amsmath} \newcommand{\bracemark}[1]{\tikz[remember picture] \node[inner sep=0pt] (#1) {\vphantom{X}};} %%Defintion bcancelto %% #1, #2 offset of label #6 extra width to clear arrowhead %% #3, #4 vector direction #7 superscript label style %% #5 vector width #8 superscript label %\def\cantox@vector#1#2#3#4#5#6#7#8{% % \dimen@.5\p@ % \setbox\z@\vbox{\boxmaxdepth.5\p@ % \hbox{\kern-1.2\p@\kern#1\dimen@$#7{#8}\m@th$}}% % \ifx\canto@fil\hidewidth \wd\z@\z@ \else \kern-#6\unitlength \fi % \ooalign{% % \canto@fil$\m@th \CancelColor % \vcenter{\hbox{\dimen@#6\unitlength \kern\dimen@ % \multiply\dimen@#4\divide\dimen@#3 \vrule\@depth\dimen@\@width\z@ % \vector(#3,-#4){#5}% % }}_{\raise-#2\dimen@\copy\z@\kern-\scriptspace}$% % \canto@fil \cr % \hfil \box\@tempboxa \kern\wd\z@ \hfil \cr}} %\def\bcancelto#1#2{\let\canto@vector\cantox@vector\cancelto{#1}{#2}} %\makeatother %%Defintion bcancelto \tikzset{ main node/.style={inner sep=0,outer sep=0}, label node/.style={inner sep=0,outer ysep=.2em,outer xsep=.4em,font=\scriptsize,overlay}, strike out/.style={shorten <=-.2em,shorten >=-.5em,overlay} } \newcommand{\cccancelto}[3][]{\tikz[baseline=(N.base)]{ \node[main node](N){$#2$}; \node[label node,#1, anchor=south west] at (N.north east){$#3$}; \draw[strike out,#1] (N.south west) -- (N.north east); }} \newcommand{\ccancelto}[3][]{\tikz[baseline=(N.base)]{ \node[main node](N){$#2$}; \node[label node,#1, anchor=south west] at (N.north east){$#3$}; \draw[strike out,-latex,#1] (N.south west) -- (N.north east); }} \newcommand{\bcancelto}[3][]{\tikz[baseline=(N.base)]{ \node[main node](N){$#2$}; \node[label node,#1, anchor=north west] at (N.south east){$#3$}; \draw[strike out,-latex,#1] (N.north west) -- (N.south east); }} \newcommand{\bccancelto}[3][]{\tikz[baseline=(N.base)]{ \node[main node](N){$#2$}; \node[label node,#1, anchor=north west] at (N.south east){$#3$}; \draw[strike out,#1] (N.north west) -- (N.south east); }} \newcommand{\inlineFormel}[1] {\(\displaystyle #1\)} \newcommand{\outlineFormel}[1]{ \begin{equation*} \displaystyle #1 \end{equation*}} % Zeichnet einen gelben Kasten mit rotem Rahmen %\usepackage{framed} \usepackage[framemethod=tikz]{mdframed} \usetikzlibrary{shadows} \newmdenv[tikzsetting={fill=yellow!20,drop shadow},roundcorner=10pt ]{myshadowbox} \newcommand{\clearemptydoublepage}{\newpage{\pagestyle{empty}\cleardoublepage}} \usepackage{minitoc} \dominitoc \setcounter{minitocdepth}{4} \mtcsettitle{minitoc}{Inhalt des Kapitels} % minitoc-title \newcommand*{\changefont}[3]{% \fontfamily{#1}\fontseries{#2}\fontshape{#3}\selectfont} \usepackage{url} % Setzen von URLs. In Verbindung mit hyperref sind diese auch aktive Links. \everymath{\displaystyle} \setlength{\mathindent}{0pt} %Einrücken in Mathe verhindern (nur mit Dokumentenklasse fleqn) b \setlength{\parindent}{0em} %Einrücken verhindern \tikzstyle{na} = [baseline=-3pt] \tikzstyle{myboxblue} = [draw=blue, fill=blue!20, very thick, rectangle, rounded corners, inner sep=10pt, inner ysep=20pt] \tikzstyle{fancytitle} =[fill=blue!80, text=white] \newcommand{\fancybox}[2][Title of the box]{% \begin{tikzpicture} \node [myboxblue] (box){% \begin{minipage}{0.9\textwidth} #2 \end{minipage} }; \node[fancytitle, right=10pt] at (box.north west) {#1}; %\node[fancytitle, rounded corners] at (box.east) {$\clubsuit$}; \end{tikzpicture}% } %\usepackage{tabularx} %\newcolumntype{L}[1]{>{\raggedright\arraybackslash}p{#1}} %\newcolumntype{C}[1]{>{\centering\arraybackslash}p{#1}} %\newcolumntype{R}[1]{>{\raggedleft\arraybackslash}p{#1}} \usepackage[thinlines]{easytable}