Files
Masterarbeit/Preamble/Main.tex

887 lines
29 KiB
TeX
Executable File
Raw Permalink Blame History

This file contains ambiguous Unicode characters
This file contains Unicode characters that might be confused with other characters. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.
\pdfminorversion=5 % to allow compression
\pdfobjcompresslevel=2
% Vor ersten usepackage aufzurufen
\usepackage{etex} % 256 Register auf 32768 erhöhen
\reserveinserts{30}
% -----------------------------------------
% Abbildungen & Tabellen
% -----------------------------------------
\usepackage{float}
\usepackage{floatflt}
\usepackage{wrapfig}
\usepackage[
font=small, % footnotesize, small
labelfont=bf,up,sf,
%textfont=it,up,
justification=raggedright, % justified
singlelinecheck=false,
%format=plain,
%indention=0cm,
]{caption}
\captionsetup[table]{skip=.5em}
\captionsetup[figure]{skip=10pt}%,belowskip=-1em
%\setlength{\intextsep}{12.0pt plus 2.0pt minus 2.0pt}
%\addtokomafont{caption}{\small} % Bildunterschrift Größe "small"
%\setkomafont{captionlabel}{\sffamily\bfseries} % das Label wird serifenlos und fett
\usepackage{subcaption}
\usepackage{tablefootnote}
% -----------------------------------------
% Abbildungen
% -----------------------------------------
\usepackage[%
%draft,
%dvips, % or dvipdfm, pdftex
]{graphicx}
%\graphicspath{{path_to_images/}}
%\graphicspath{{the/first/path/}{the/second/path/}}
\graphicspath{{./figures/}}
% Grafik abschneiden (links unten rechts oben):
% \includegraphics[trim=0 0 2cm 0,clip,width=\textwidth]{Bild}
% with px units, where <dpi> is the resolution of the image:
% \pdfpxdimen=\dimexpr 1 in/<dpi>\relax
% \includegraphics[trim=0 0 20px 0,clip,width=\textwidth]{Bild}
% or use defined dpi option:
\makeatletter
\define@key{Gin}{dpi}{%
\pdfpxdimen=\dimexpr 1in/(#1)\relax }
\makeatother
% \includegraphics[dpi=600,clip,trim=0 100px 200px 100px]{Figure-a} % 600 dpi
\usepackage{epsfig} % um eps-Dateien einzubinden (\epsfig{file=...})
\makeatletter
\renewcommand*\l@figure{\@dottedtocline{1}{0em}{2.8em}}
\renewcommand*\l@table{\@dottedtocline{1}{0em}{2.3em}}
\makeatother
\newcommand{\FC}[4]{
\begin{figure}[!htb] % htb, !htb
\centering
\includegraphics[#1]{#2}
\caption{#3}
\label{#4}
\end{figure}
}
\newcommand{\FCF}[5]{
\begin{figure}[htb] % htbp, !htbp
\centering
\includegraphics[#1]{#2}
\caption[#3]{#3\footnotemark}
\label{#5}
\end{figure}%
\footnotetext{#4}
}
\newcommand{\PFC}[5]{
\begin{figure}[#1] % htb, !htb
\centering
\includegraphics[#2]{#3}
\caption{#4}
\label{#5}
\end{figure}
}
\newcommand{\PFCF}[6]{
\begin{figure}[#1] % htbp, !htbp
\centering
\includegraphics[#2]{#3}
\caption[#4]{#4\footnotemark}
\label{#6}
\end{figure}%
\footnotetext{#5}
}
% Workaround to get the footnote on the same page when figure is at the top or bottom of the page
\newcommand{\PFCFW}[6]{
\begin{figure}[#1] % htbp, !htbp
\centering
\includegraphics[#2]{#3}
\caption[#4]{#4\footnotemark}
\label{#6}
\end{figure}%
\vspace{-2em}%
\footnotetext{#5}
}
\newcommand{\GL}[2]{
\includegraphics[#1]{#2}
}
\newcommand{\GC}[2]{
\centering
\includegraphics[#1]{#2}
}
\newcommand{\FFR}[5]{
\begin{floatingfigure}[r]{#1}
\includegraphics[#2]{#3}
\caption[#4]{#4}
\label{#5}
\end{floatingfigure}
}
\newcommand{\FFRF}[6]{
\begin{floatingfigure}[r]{#1}
\includegraphics[#2]{#3}
\caption[#4]{#4\footnotemark}
\label{#6}
\end{floatingfigure}
\footnotetext{#5}
}
\usepackage[all]{xy} % Diagramme
% -----------------------------------------
% Tabellen
% -----------------------------------------
%\usepackage{rotating} % rotated text, vertical: \begin{sideways} ... \end{sideways}
\usepackage{longtable} % fuer Tabellen ueber mehrere Seiten
\usepackage{multicol} % fuer mehrspaltigen Text auf einer Seite
\usepackage{multirow} % fuer mehrreihigen Text auf einer Seite
\usepackage{booktabs}
\usepackage{array}
\usepackage{eqnarray}
\newcolumntype{P}[1]{>{\raggedright\arraybackslash}p{#1}}
\newcolumntype{C}[1]{>{\centering}p{#1}<{}}
%\newcolumntype{L}[1]{>{\raisebox{\heightof{\rule{0pt}{1cm}}}{}}p{#1}}
\newcommand{\multirowr}[3]{\multirow{#1}{*}{\parbox{#2}{\raggedright #3}}} % Anzahl Zeilen, Weite, Inhalt
%\usepackage{fancybox} % besondere Rahmen, Schatten
%\begin{center}
%\resizebox{0.95\textwidth}{!}{%
%\begin{tabular}
%...
%\end{tabular}}
%\end{center}
\usepackage[autolanguage]{numprint} % Zahlenformatierung
\usepackage{spreadtab} % Rechenmöglichkeit in Tabellen
% -----------------------------------------
% Aufzählungen
% -----------------------------------------
\makeatletter
\newcommand*{\rom}[1]{\mathrm{\romannumeral #1}}
\newcommand*{\Rom}[1]{\mathrm{\expandafter\@slowromancap\romannumeral #1@}}
\makeatother
\renewcommand{\labelitemi}{--}
\renewcommand{\labelitemii}{\(\boldsymbol\cdot\)} % \times
\usepackage{enumerate} % Verbesserte Enumerate-Umgebung
\usepackage{enumitem}
\setlist{nosep} % noitemsep
\setlist[1]{labelindent=\parindent} % Usually a good idea
\setlist[itemize]{parsep=0pt,itemsep=0pt,leftmargin=*}
\setlist[enumerate]{parsep=0pt,itemsep=0pt,leftmargin=*}
\usepackage{listings}
%\usepackage{listingsutf8}
%\begin{lstlisting}[numbersep=0pt,resetmargins=true]
\renewcommand{\lstlistingname}{Programmausdruck}
\lstdefinestyle{custom}{
%xleftmargin=2em,
}
\lstdefinestyle{tex}{ % BEFORE loading tikz!?
language=[LaTeX]tex,
tabsize=4,
breaklines=true,
breakindent=0pt,
columns=fullflexible,
basicstyle=\ttfamily % otherwise copy-and-paste wont work
}
\lstset{literate=%
{Ö}{{\"O}}1
{Ä}{{\"A}}1
{Ü}{{\"U}}1
{ß}{{\ss}}1
{ü}{{\"u}}1
{ä}{{\"a}}1
{ö}{{\"o}}1
}
\lstset{
extendedchars=\true,
%inputencoding=utf8/latin1, % if package listingsutf8 is used
style=custom,
language=Matlab,
basicstyle=\scriptsize\ttfamily, % small, footnotesize, scriptsize
keywordstyle=\color{blue}, % \bfseries
commentstyle=\color{dkgreen}, % \itshape
%identifierstyle=\color{blue},
stringstyle=\color{mauve},
numberstyle=\tiny\color{gray}, % \ttfamily
numbers=left,
numbersep=5pt,
%stepnumber=2,
%backgroundcolor=\color{white},
%frame=single,%trblTRBL,none|leftline|topline|bottomline|lines|single|shadowbox
%frameround=ffff, % tf|rf|rf|rf NE,SE,SW,NW
%rulecolor=\color{black},
%showspaces=false,
%showstringspaces=false,
%showtabs=false,
%float,
breaklines=true,
breakatwhitespace=true,
%breakindent=20pt,
tabsize=2,
xleftmargin=2.5em, % 2\parskip
%title=\lstname,
%captionpos=b, % b: bottom
%belowcaptionskip=1\baselineskip,
texcl=true, % LATEX comment lines, for äöü...
%escapebegin=\begin{arab},escapeend=\end{arab},
escapeinside={\%*}{*)},
%morekeywords={*,...},
%deletekeywords={...},
firstnumber=auto, % auto: Listings with identical names (case sensitive!) share a line counter / or number
}
\newcommand{\includecode}[2][c]{
\lstinputlisting[
caption=#2,
escapechar=,
style=#1,
%label=DescriptiveLabel,
]{#2}}
% \includecode{sched.c}
% \includecode[asm]{sched.s}
% \lstlistoflistings
% -----------------------------------------
% Zusatzzeichen, Mathematik, Chemie
% -----------------------------------------
% fette Schrift, z.B. $\boldsymbol{\pi}$
% Zusammenrücken: \!, \negmedspace, \negthickspace
% Platz einfügen: \, \: \; ~ oder \quad und \qquad
% mehrzeilige Grenzen, \substack{...\\...}
% \overset{}{} und \underset{}{} setzte Formelbestandteile über- oder untereinander
% \underbrace{a+b}_\text{Schritt 1}
% \overbrace{e^2 - \pi}^\text{Schritt 2}
\numberwithin{equation}{section}
% Manuelle Nummerierung, z. B. 1.2 a
%\begin{equation*} \tag{} \end{equation*}
%\allowdisplaybreaks % global und lokal Anwendbar, z. B. bei underful vboxes
%\usepackage{fourier}
\usepackage{mathtools}
% linie unterhalb mit text \underbracket[1pt][0pt]{bla}_\text{blo}
\newcommand\Dfrac[2]{\dfrac{\displaystyle #1}{\displaystyle #2}}
\newcommand{\slfrac}[2]{\left.#1\middle/#2\right.}
\usepackage{xfrac}
\usepackage{nicefrac}
\usepackage{faktor}
% http://tex.stackexchange.com/questions/27591/extending-the-faktor-package/27735#27735
\DeclareDocumentCommand{\Faktor}{s m O{0.5} m O{-0.5}}{% \newfaktor[*]{#2}[#3]{#4}[#5] -> #2/#4
\setbox0=\hbox{\scalebox{0.8}{\ensuremath{#2\vphantom{1}}}}% Store numerator
\setbox1=\hbox{\ensuremath{\diagup}}% Store slash /
\setbox2=\hbox{\scalebox{0.8}{\ensuremath{#4}}}% Store denominator
\raisebox{#3\ht1}{\usebox0}% Numerator
\mkern-5mu\ifthenelse{\equal{#1}{\BooleanTrue}}% Slash /
{\diagup}% regular \faktor slash
{\rotatebox{-44}{\rule[#5\ht2]{0.4pt}{-#5\ht2+#3\ht0+\ht0}}}% tilted rule as a slash
\mkern-4mu%
\raisebox{#5\ht2}{\usebox2}% Denominator
}
% another slanted fration below at tikz
\usepackage[ % kann nicht mit amssymb zusammenlaufen
thinspace,
thinqspace, % use of \, (thin math space) as spacing
%mediumqspace, % use of \: (medium math space) as spacing
%thickqspace, % use of \; (thick math space) as spacing
squaren, % defines a new command \squaren that can be used instead of the SIunits command \square, to prevent errors with the defined \square command of the amssymb package. Or use amssymb to redefine \sqare
Gray, % defines a new command \gray that can be used instead of the SIunits command \gray, to prevent errors with the defined \gray command of the amssymb package. Or use pstricks to redefine \gray
%textstyle,
]{SIunits}
\newcommand{\ti}[1]{_\mathrm{#1}} % tiefstellen, Index
\newcommand{\ho}[1]{^\mathrm{#1}} % hochstellen
%\usepackage{mathrsfs} % use \mathscr, Ralph Smiths Formal Script Font
%\usepackage{ziffer}
%Mathematische Schrifterweiterungen
\usepackage{dsfont} % use \mathds{A} alternativ zu mathbb
\usepackage{MnSymbol} % incompatible with the amssymb and amsfonts, automatically loads the amsmath and textcomp
% Mengensymbole
\newcommand{\field}[1]{\ensuremath{\mathds{#1}} } % Grundkörper in mathds
\newcommand{\A}{\field{A}} % Affines A
\newcommand{\C}{\field{C}} % Complexes C
\newcommand{\Fp}{\ensuremath{\field{F}_{\!p}} } % Endlicher Koerper
\newcommand{\Fq}{\ensuremath{\field{F}_{\!q}} } % Endlicher Koerper
\newcommand{\Ga}{\ensuremath{\field{G}_{a}} } % Add Gruppenschema
\newcommand{\K}{\field{K}} % Generischer Koerper
\newcommand{\N}{\field{N}} % Nat Zahlen
\newcommand{\Pj}{\field{P}} % Projektives P
\newcommand{\R}{\field{R}} % Reelle Zahlen
\newcommand{\Q}{\field{Q}} % Rationale Zahlen
\newcommand{\Z}{\field{Z}} % Ganze Zahlen
\newcommand{\fdg}{\;|\;} % fuer die gilt
\newcommand{\Def}{\field{D}} % Definitionsbereich
\newcommand{\LM}{\field{L}} % Lösungsmenge
\newcommand*{\qed}{\hfill\ensuremath{\blacksquare}}
\newcommand*\euler{\mathrm{e}}
\newcommand{\im}{\ensuremath{\mathrm{i}}}
\renewcommand{\deg}{\ensuremath{^{\circ}}\xspace}
\newcommand\degC{{\,^{\circ}\mathrm{C}}}
\newcommand\sins{{\mathrm{s}}} % short sin: s
\newcommand\coss{{\mathrm{c}}} % short cos: c
\newcommand{\T}{{\mathrm{T}}\!} % Transpose operator
\newcommand{\TF}{{\raisebox{-0.5ex}{$\sim$}}} % sign for transfomed values: low tilde
\newcommand{\adj}{{\mathrm{H}}} % Adjoint operator
\newcommand*\dif{\mathop{}\!\mathrm{d}}
\newcommand*\E{\ensuremath{\mathrm{E}}}
\providecommand{\norm}[1]{\lVert #1 \rVert} % ||x||
\providecommand{\abs}[1]{\lvert #1 \rvert} % |x|
\providecommand{\innerProd}[2]{\langle #1, #2\rangle} % <x,y>
\DeclareMathOperator{\Bild}{Bild} % Bild einer Funktion
\DeclareMathOperator{\rank}{rank} % Rank of a matrix
\DeclareMathOperator{\tr}{tr} % Matrix trace
\DeclareMathOperator{\dev}{dev} % Matrix deviation
\DeclareMathOperator{\var}{var} % Variance
\DeclareMathOperator{\grad}{grad} % $\grad u$ = grad u
\DeclareMathOperator{\divergence}{div} % $\div u$ = div u
\DeclareMathOperator{\rot}{rot} % $\rot u$ = rot u
\DeclareMathOperator{\diag}{diag} % Diagonal matrix
\DeclareMathOperator{\adjugate}{adj} % Classical adjoint (adjugate)
%\newcommand{\corresponds}{\ensuremath{\stackrel{\wedge}{=} \hat{=} \mathop{\hat{=}} \substack{\wedge\\=} \mathrel{\widehat{=}} } \^{=} }
\newcommand*\corresponds{%
\mbox{\kern0em
\raisebox{-.5ex}{\Large\^{}}\kern-.55em%
\raisebox{-.1ex}{=}%
}\ %
}
\newcommand*{\dt}[1]{%
\overset{\mbox{\large\bfseries .}}{#1}}
\newcommand*{\ddt}[1]{%
\overset{\mbox{\large\bfseries .\hspace{-0.1ex}.}}{#1}}
\usepackage{accents} % for tensor
\usepackage{ushort} % for tensor
%\usepackage{ulem} % not for math mode, too much space below with uuline; for tensor
\newcommand{\tensor}[1]{ \ensuremath{ {\boldsymbol{#1}} } }
\newcommand{\tensorI}[1]{ \ensuremath{ \ushort{ {\boldsymbol{#1}} } } }
\newcommand{\tensorII}[1]{ \ensuremath{ \ushortd{{\boldsymbol{#1}} } } }
\newcommand{\tensorIII}[1]{ \ensuremath{ \underaccent{3}{ \underaccent{\tilde}{ {\boldsymbol{#1}} } } } }
\newcommand{\tensorIV}[1]{ \ensuremath{ \underaccent{4}{ \underaccent{\tilde}{ {\boldsymbol{#1}} } } } }
% bm variant
%\usepackage{bm} % load bm after amsmath and after your font packages!; for tensor
%\newcommand{\tensorI}[1]{ \ensuremath{ \uline{ \bm{#1} } } }
%\newcommand{\tensorII}[1]{ \ensuremath{ \uuline{ \bm{#1} } } }
%\newcommand{\tensorIII}[1]{ \ensuremath{ \underaccent{3}{ \underaccent{\tilde}{ \bm{#1} } } } }
%\newcommand{\tensorIV}[1]{ \ensuremath{ \underaccent{4}{ \underaccent{\tilde}{ \bm{#1} } } } }
%needs MnSymbol
\newcommand{\tensori}[1]{
\tikz[baseline, anchor=base,inner sep=0pt]{
\node{\ensuremath{\phantom{#1\vphantom{\overrightharpoon{b}}}}};
\node[overlay]{ \ensuremath{ \overrightharpoon{ \mbox{\ensuremath{#1}\vphantom{b}} } } };
}
}
\newcommand{\tensorii}[1]{
\tikz[baseline, anchor=base,inner sep=0pt]{
\node{\ensuremath{\phantom{#1\vphantom{\overrightharpoon{b}}}}};
\node[overlay]{ \ensuremath{ \overrightharpoon{ \mbox{\ensuremath{#1}\vphantom{b}} } } };
\node[overlay]{ \reflectbox{ \ensuremath{ \overrightharpoon{ \phantom{ \mbox{#1\vphantom{b}} } } } } };
}
}
\newcommand{\tensoriii}[1]{
\tikz[baseline, anchor=base,inner sep=0pt]{
\node{\ensuremath{\phantom{#1\vphantom{\overrightharpoon{b}}}}};
\node[overlay]{ \ensuremath{ \overrightarrow{ \mbox{\ensuremath{#1}\vphantom{b}} } } };
\node[overlay]{ \reflectbox{ \ensuremath{ \overrightharpoon{ \phantom{ \mbox{#1\vphantom{b}} } } } } };
}
}
\newcommand{\tensoriv}[1]{
\tikz[baseline, anchor=base,inner sep=0pt]{
\node{\ensuremath{\phantom{#1\vphantom{\overrightharpoon{b}}}}};
\node[overlay]{ \ensuremath{ \overrightarrow{ \mbox{\ensuremath{#1}\vphantom{b}} } } };
\node[overlay]{ \reflectbox{ \ensuremath{ \overrightarrow{ \phantom{ \mbox{#1\vphantom{b}} } } } } };
}
}
\usepackage{amsthm}
\theoremstyle{definition}
% nummeriert
\newtheorem{tDef}{Def}
\newtheorem{tBsp}{Bsp}
% unnummeriert
\newtheorem*{tDef*}{Def}
\newtheorem*{tBsp*}{Bsp}
\newcommand{\undertab}[1]{\clap{%
\scriptsize\begin{tabular}{@{}c@{}}#1\end{tabular}}}
% underbrace, centered, space corrected
\newcommand{\ubspace}[2]{% Correct \underbrace spacing
\mathrlap{\underbrace{\phantom{\scalebox{0.95}{$#1$}\strut}}_{\undertab{#2}}}#1}
% underbrace, left aligned, space corrected
\newcommand{\ubspacel}[2]{% Correct \underbrace spacing
\mathrlap{\underbracket[0pt][0pt]{\phantom{\scalebox{0.95}{$#1$}\strut}}_{\vphantom{\big\mid}\text{#2}}}\underbrace{#1}}
% underbrace line, left aligned, space corrected
\newcommand{\ubspacell}[2]{
\mathrlap{\underbracket[0pt][0pt]{\phantom{#1\strut}}_{\text{#2}}}\underbracket[0.5pt][0pt]{#1}}
%\usepackage{eurosym} % fuer das Eurosymbol
%\DeclareUnicodeCharacter{20AC}{\euro{}}
\usepackage{cancel}
%\begin{pmatrix}[1.5] -> \arraystretch{1.5}
\makeatletter
\renewcommand*\env@matrix[1][\arraystretch]{%
\edef\arraystretch{0.8}%
\edef\arraystretch{#1}%
\edef\arraycolsep{2pt}%
\hskip -\arraycolsep
\let\@ifnextchar\new@ifnextchar
\array{*\c@MaxMatrixCols c}}
\makeatother
\newenvironment{Array}[1]{
\begingroup
\arraycolsep=1pt\def\arraystretch{1}
\begin{array}{@{}#1@{}}
}{\end{array}\endgroup}
% -----------------------------------------
% Eigene Befehle
% -----------------------------------------
\newcommand{\<}{\(\langle\)} % öffnende Winkelklammer ""
\renewcommand{\>}{\(\rangle\)} % schliessende Winkelklammer ""
\newcommand{\bsufont}{\normalfont\sffamily\upshape\bfseries}
\newcommand\TikZ{Ti\textit kZ}
\newcommand\PGF{\textsc{pgf}}
% Technische Zeichen
\newcommand{\bohrtiefe}{\scalebox{1}[0.75]{\rotatebox[origin=ct]{-90}{\hspace{0.2ex}$\mapsto$}}}
% -----------------------------------------
% Zeichnungen
% -----------------------------------------
\usepackage{tikz}
\usepackage{pgfplots} % ,pgfmath
\usepgflibrary{shapes.geometric}
\usepgfplotslibrary{patchplots}
\usepackage{tabularx}
\usetikzlibrary{
arrows, % for arrow heads
calc, % for manimulation of coordinates
positioning,
shapes.multipart,
%shadings,
decorations.pathmorphing,
backgrounds, % need package pgfplots
pgfplotsclickable, %after pgfplots
shadows,
shadows.blur,
mindmap,
}
% based on soul
% \highlight[tikz-opts]{...} like:
% \highlight{}
% \highlight[red]{}
% \highlight[green, draw=blue]{}
\makeatletter
\newcommand{\defhighlighter}[3][]{%
\tikzset{every highlighter/.style={color=#2, fill opacity=#3, #1}}%
}
\defhighlighter{yellow}{.5}
\newcommand{\highlight@DoHighlight}{
\fill [ decoration = {random steps, amplitude=1pt, segment length=15pt}
, outer sep = -15pt, inner sep = 0pt, decorate
, every highlighter, this highlighter ]
($(begin highlight)+(0,8pt)$) rectangle ($(end highlight)+(0,-3pt)$) ;
}
\newcommand{\highlight@BeginHighlight}{
\coordinate (begin highlight) at (0,0) ;
}
\newcommand{\highlight@EndHighlight}{
\coordinate (end highlight) at (0,0) ;
}
\newdimen\highlight@previous
\newdimen\highlight@current
\DeclareRobustCommand*\highlight[1][]{%
\tikzset{this highlighter/.style={#1}}%
\SOUL@setup
%
\def\SOUL@preamble{%
\begin{tikzpicture}[overlay, remember picture]
\highlight@BeginHighlight
\highlight@EndHighlight
\end{tikzpicture}%
}%
%
\def\SOUL@postamble{%
\begin{tikzpicture}[overlay, remember picture]
\highlight@EndHighlight
\highlight@DoHighlight
\end{tikzpicture}%
}%
%
\def\SOUL@everyhyphen{%
\discretionary{%
\SOUL@setkern\SOUL@hyphkern
\SOUL@sethyphenchar
\tikz[overlay, remember picture] \highlight@EndHighlight ;%
}{%
}{%
\SOUL@setkern\SOUL@charkern
}%
}%
%
\def\SOUL@everyexhyphen##1{%
\SOUL@setkern\SOUL@hyphkern
\hbox{##1}%
\discretionary{%
\tikz[overlay, remember picture] \highlight@EndHighlight ;%
}{%
}{%
\SOUL@setkern\SOUL@charkern
}%
}%
%
\def\SOUL@everysyllable{%
\begin{tikzpicture}[overlay, remember picture]
\path let \p0 = (begin highlight), \p1 = (0,0) in \pgfextra
\global\highlight@previous=\y0
\global\highlight@current =\y1
\endpgfextra (0,0) ;
\ifdim\highlight@current < \highlight@previous
\highlight@DoHighlight
\highlight@BeginHighlight
\fi
\end{tikzpicture}%
\the\SOUL@syllable
\tikz[overlay, remember picture] \highlight@EndHighlight ;%
}%
\SOUL@
}
\makeatother
\pgfplotsset{%
,compat=1.11
,colormap={parula}{%
rgb=(0.2081,0.1663,0.5292)rgb=(0.2116,0.1898,0.5777)rgb=(0.2123,0.2138,0.627)
rgb=(0.2081,0.2386,0.6771)rgb=(0.1959,0.2645,0.7279)rgb=(0.1707,0.2919,0.7792)
rgb=(0.1253,0.3242,0.8303)rgb=(0.0591,0.3598,0.8683)rgb=(0.0117,0.3875,0.882)
rgb=(0.006,0.4086,0.8828) rgb=(0.0165,0.4266,0.8786)rgb=(0.0329,0.443,0.872)
rgb=(0.0498,0.4586,0.8641)rgb=(0.0629,0.4737,0.8554)rgb=(0.0723,0.4887,0.8467)
rgb=(0.0779,0.504,0.8384) rgb=(0.0793,0.52,0.8312) rgb=(0.0749,0.5375,0.8263)
rgb=(0.0641,0.557,0.824) rgb=(0.0488,0.5772,0.8228)rgb=(0.0343,0.5966,0.8199)
rgb=(0.0265,0.6137,0.8135)rgb=(0.0239,0.6287,0.8038)rgb=(0.0231,0.6418,0.7913)
rgb=(0.0228,0.6535,0.7768)rgb=(0.0267,0.6642,0.7607)rgb=(0.0384,0.6743,0.7436)
rgb=(0.059,0.6838,0.7254) rgb=(0.0843,0.6928,0.7062)rgb=(0.1133,0.7015,0.6859)
rgb=(0.1453,0.7098,0.6646)rgb=(0.1801,0.7177,0.6424)rgb=(0.2178,0.725,0.6193)
rgb=(0.2586,0.7317,0.5954)rgb=(0.3022,0.7376,0.5712)rgb=(0.3482,0.7424,0.5473)
rgb=(0.3953,0.7459,0.5244)rgb=(0.442,0.7481,0.5033) rgb=(0.4871,0.7491,0.484)
rgb=(0.53,0.7491,0.4661) rgb=(0.5709,0.7485,0.4494)rgb=(0.6099,0.7473,0.4337)
rgb=(0.6473,0.7456,0.4188)rgb=(0.6834,0.7435,0.4044)rgb=(0.7184,0.7411,0.3905)
rgb=(0.7525,0.7384,0.3768)rgb=(0.7858,0.7356,0.3633)rgb=(0.8185,0.7327,0.3498)
rgb=(0.8507,0.7299,0.336) rgb=(0.8824,0.7274,0.3217)rgb=(0.9139,0.7258,0.3063)
rgb=(0.945,0.7261,0.2886) rgb=(0.9739,0.7314,0.2666)rgb=(0.9938,0.7455,0.2403)
rgb=(0.999,0.7653,0.2164) rgb=(0.9955,0.7861,0.1967)rgb=(0.988,0.8066,0.1794)
rgb=(0.9789,0.8271,0.1633)rgb=(0.9697,0.8481,0.1475)rgb=(0.9626,0.8705,0.1309)
rgb=(0.9589,0.8949,0.1132)rgb=(0.9598,0.9218,0.0948)rgb=(0.9661,0.9514,0.0755)
rgb=(0.9763,0.9831,0.0538)
}
}
\pgfplotsset{
compat=1.7, % or newest,
% Komma statt Punkt als Dezimaltrennzeichen
x tick label style={/pgf/number format/use comma},
y tick label style={/pgf/number format/use comma},
every node near coord/.style={/pgf/number format/use comma},
/pgfplots/annot/js fillColor={["RGB",1,1,1]},
every semilogy axis/.append style={/pgfplots/annot/point format={(\%.1f,\%.1e)}},
every semilogx axis/.append style={/pgfplots/annot/point format={(\%.1e,\%.1f)}},
every loglog axis/.append style={/pgfplots/annot/point format={(\%.1e,\%.1e)}}
}
\usepackage{pgfplotstable}
\colorlet{darkgreen}{green!50!black}
\colorlet{lightgreen}{green!80!black}
\colorlet{darkred}{red!50!black}
\colorlet{lightred}{red!80!black}
% this must be under the configuration of x tick label
% legend position outer south
\makeatletter
\pgfplotsset{
every axis x label/.append style={
alias=current axis xlabel
},
legend pos/outer south/.style={
/pgfplots/legend style={
at={%
(%
\@ifundefined{pgf@sh@ns@current axis xlabel}%
{xticklabel cs:0.5}%
{current axis xlabel.south}%
)%
},
anchor=north
}
}
}
\makeatother
% !!!! in tikzset sind keine Leerzeilen erlaubt !!!!
\tikzset{
%scale a tikzpicture including texts
global scale/.style={
scale=#1,
every node/.style={scale=#1}
},
%Define standard arrow tip
>=stealth',
%Define standard node
%every text node part/.style={align=left},
% Colors
}
% Funktionsstruktur
\tikzset{
%Define style for boxes
punkt/.style={
rectangle,
%rounded corners,
draw=black, %very thick,
left color=navyblue!0, % gray
right color=navyblue!30,
text width=6em,
minimum height=4em,
text centered},
dummyPunkt/.style={
rectangle,
text width=6em,
minimum height=4em},
dummy/.style={
rectangle,
text width=0.1em,
minimum height=4em},
%
%Define style for node
aboveOf/.style={
above=0.75cm of #1},
belowOf/.style={
below=0.75cm of #1},
ni/.style={ % node input
above right,
xshift=2mm},
no/.style={ % node output
above left,
xshift=-2mm},
%
% Define arrow style
trans/.style={
->,
thick,
shorten >=0pt,
shorten <=0pt,
>=stealth},
classical/.style={
->,
thick, % semithick
double distance=1pt,
shorten >=0pt,
shorten <=0pt,
>=stealth},
virtual/.style={
->,
thick,
densely dashed,
>=stealth},
}
% Linien
\tikzset{
line1/.style={
line width = 3,
line cap=round,
NavyBlue},
line2/.style={
line width = 3,
line cap=round,
loosely dashed,
red},
axis/.style={thick, ->, >=stealth'},
graph1/.style={
thick,
line cap=round,
NavyBlue},
}
% Graphen
\tikzset{
draw0/.style={
gray},
draw1/.style={
very thick,
NavyBlue},
draw2/.style={
very thick,
red},
draw3/.style={
very thick,
dkgreen},
draw4/.style={
very thick,
orange},
draw10/.style={
very thick,
black},
fill0/.style={
fill=gray!100,
draw=none,
very nearly transparent},
fill1/.style={
fill=MidnightBlue!20,
draw=none},
fill2/.style={
fill=red!20,
draw=none},
}
\tikzset{
every pin/.style={fill=white,rectangle,rounded corners=3pt,font=\small},
small dot/.style={fill=black,circle,scale=0.3},
}
\tikzset{
double -latex/.style args={#1 colored by #2 and #3}{
-latex,line width=#1,#2,
postaction={draw,-latex,#3,line width=(#1)/3,shorten <=(#1)/4,shorten >=4.5*(#1)/3},
},
double round cap-latex/.style args={#1 colored by #2 and #3}{
round cap-latex,line width=#1,#2,
postaction={draw,round cap-latex,#3,line width=(#1)/3,shorten <=(#1)/4,shorten >=4.5*(#1)/3},
},
double round cap-stealth/.style args={#1 colored by #2 and #3}{
round cap-stealth,line width=#1,#2,
postaction={round cap-stealth,draw,,#3,line width=(#1)/3,shorten <=(#1)/3,shorten >=2*(#1)/3},
},
double -stealth/.style args={#1 colored by #2 and #3}{
-stealth,line width=#1,#2,
postaction={-stealth,draw,,#3,line width=(#1)/3,shorten <=(#1)/3,shorten >=2*(#1)/3},
},
}
\newcommand{\FB}[7]{%
\begin{tikzpicture}[auto, node distance=2cm,>=latex']
\setstretch{0.8}
\begin{scope}[xscale=1, yscale=1, xshift=7.8cm]\small
\ifthenelse{\isempty{#2}}%
{}% if #2 is empty
{\draw[trans] (0,0.85) node[above right,yshift=-1mm,text width=2.5cm] {#2\(_{}\)} --(2.5,0.85) ;}% if #2 is not empty
\ifthenelse{\isempty{#4}} {}
{\draw[classical] (0,0) node[above right,yshift=-1mm,text width=2.5cm] {#4\(_{}\)}--(2.5,0);}
\ifthenelse{\isempty{#6}} {}
{\draw[virtual] (0,-0.85) node[above right,yshift=-1mm,text width=2.5cm] {#6\(_{}\)}--(2.5,-0.85);}
\ifthenelse{\isempty{#3}} {}
{\draw[trans] (6.25,0.85) node[above right,xshift=1mm,yshift=-1mm,text width=2.5cm] {#3\(_{}\)}--(8.75,0.85);}
\ifthenelse{\isempty{#5}} {}
{\draw[classical] (6.25,0) node[above right,xshift=1mm,yshift=-1mm,text width=2.5cm] {#5\(_{}\)}--(8.75,0);}
\ifthenelse{\isempty{#7}} {}
{\draw[virtual] (6.25,-0.85)node[above right,xshift=1mm,yshift=-1mm,text width=2.5cm] {#7\(_{}\)}--(8.75,-0.85) ;}
\ifthenelse{\isempty{#1}} {}
{\node[draw=black,left color=navyblue!0,right color=navyblue!30,text width=3.5cm,minimum height=2.5cm,text centered,right=2.5cm] (f){\normalsize#1};} % gray!30
\end{scope}
\end{tikzpicture}
}
%%
% x axis and y axis in first quadrant
% x 0...1, 1 = 100%
% y 0...1, 1 = 100%
% \tikzAxesQ1{x}{y}{labelX}{labelY}
\newcommand{\tikzAxesQi}[4]{
\draw[axis] (-0.1,0) -- ($(#1+.1,0)$) node(xline)[right]
{$#3$};
\draw[axis] (0,-0.1) -- ($(0,#2+.1)$) node(yline)[above] {$#4$};
}
%%
% at given position 'x,y' an x marker with a label 'text' in math mode
% \tikzMarkerX{x,y}{text}
\newcommand{\tikzMarkerX}[2]{
\draw($(#1)-(0,.025)$)node[below]{$#2$\vphantom{b}} -- ($(#1)+(0,.025)$);
}
%%
% multiple x markers with labels
% \tikzMarkersX{coordinate1/text1,coordinate2/text2,...}
\newcommand{\tikzMarkersX}[1]{
\foreach \pos/\text in {#1} {
\tikzMarkerX{\pos}{\text}
}
}
%%
% at given position 'x,y' an y marker with a label 'text' in math mode
% \tikzMarkerY{x,y}{text}
\newcommand{\tikzMarkerY}[2]{
\draw($(#1)-(.025,0)$)node[left]{$#2$\vphantom{b}} -- ($(#1)+(.025,0)$);
}
%%
% multiple y markers with labels
% \tikzMarkersY{coordinate1/text1,coordinate2/text2,...}
\newcommand{\tikzMarkersY}[1]{
\foreach \pos/\text in {#1} {
\tikzMarkerX{\pos}{\text}
}
}
%%
% point marker at given position
% \tikzPoint{x,y}
\newcommand{\tikzPoint}[1]{
\fill[red] (#1) circle (.4pt);
}
%%
% point markers at given positions
% \tikzPoint{coordinate1,coordinate2,...}
\newcommand{\tikzPoints}[1]{
\foreach \pos in {#1} {
\tikzPoint{\pos}
}
}
\def\tikzoverlay{%
\tikz[baseline,overlay]\node[every overlay node]
}%
% usage:
%\tikzoverlay[text width=6cm] at (9.3cm,5cm) {... content ...}
%http://tex.stackexchange.com/questions/84898/how-can-i-draw-a-vertical-line-in-a-table-cell
\newcommand\tikzmark[1]{\tikz[remember picture,overlay] \coordinate (#1);}
\usepackage{afterpage}
\makeatletter
\def\mynobreakpar{\par\nobreak\@afterheading}
\def\mynobreakline{\par\nobreak\vspace{-\parskip}\@afterheading\noindent} \makeatother
\newenvironment{absolutelynopagebreak}
{\par\nobreak\vfil\penalty0\vfilneg
\vtop\bgroup}
{\par\xdef\tpd{\the\prevdepth}\egroup
\prevdepth=\tpd}
%\begin{absolutelynopagebreak}
%\lipsum[1-3]\lipsum*[4]
%\end{absolutelynopagebreak}