Initialcommit

This commit is contained in:
2015-05-15 21:29:15 +02:00
commit 48329b38bf
30 changed files with 1967 additions and 0 deletions

15
Preamble/Article.tex Executable file
View File

@@ -0,0 +1,15 @@
\documentclass[
%twoside,
paper=a4,
fontsize=11pt,
DIV12, % Satzspiegel
BCOR=10mm, % Bindungskorrektur
headsepline,
ngerman,
captions=tableheading, % korrekte Abstaende bei TabellenUEBERschriften
version=first,
bibliography=totoc, % Literatur ins Inhaltsverzeichnis aufnehmen
%titlepage, % Erste Seite = Titelseite
%draft, % zeigt ein Kästchen am Ende der Zeilen an, wo kein "guter" Umbruch vorgenommen wurde (zu volle Box)
dvipsnames, % colors
]{scrartcl} % scrreprt, scrbook (KOMA Script Article, Report, Book)

15
Preamble/Book.tex Executable file
View File

@@ -0,0 +1,15 @@
\documentclass[
%twoside,
paper=a4,
fontsize=11pt,
DIV12, % Satzspiegel
BCOR=10mm, % Bindungskorrektur
headsepline,
ngerman,
captions=tableheading, % korrekte Abstaende bei TabellenUEBERschriften
version=first,
bibliography=totoc, % Literatur ins Inhaltsverzeichnis aufnehmen
%titlepage, % Erste Seite = Titelseite
%draft, % zeigt ein Kästchen am Ende der Zeilen an, wo kein "guter" Umbruch vorgenommen wurde (zu volle Box)
dvipsnames, % colors
]{scrbook} % scrreprt, scrbook (KOMA Script Article, Report, Book)

48
Preamble/Constants.tex Executable file
View File

@@ -0,0 +1,48 @@
% -----------------------------------------
% Konstante
% -----------------------------------------
\newcommand{\TITLE}{Entwicklung eines 3D-Strukturmodells aus Faserverbundwerkstoffen und strukturdynamische Berechnung einer Windenergieanlage}
\newcommand{\SUBTITLE}{}
\newcommand{\DOCUMENTTYPE}{Masterarbeit}
\newcommand{\AUTHOR}{Daniel Weschke}
\newcommand{\TAGS}{FEM, Statik, Dauerfestigkeit, Fahrrad, Schweißnahtverbindung}
% -----------------------------------------
% Colors
% -----------------------------------------
\usepackage{xcolor}
\xdefinecolor{navyblue}{rgb}{0,0.35,0.62}
\definecolor{darkblue}{rgb}{0,0.15,0.35} % links, \everydisplay
\definecolor{darkred}{rgb}{0.88,0.16,0.17}
\definecolor{dkgreen}{rgb}{0,0.6,0}
\definecolor{gray}{rgb}{0.5,0.5,0.5}
\definecolor{mauve}{rgb}{0.58,0,0.82} % listings
\definecolor{orange}{rgb}{0.8 0.4 0.2}
\definecolor{dkorange}{rgb}{0.68 0.25 0.07}
\definecolor{rouge}{rgb}{0.79 0.0 0.1}
%\everymath{\color{blue}}
%\everydisplay{\color{darkblue}}
% Einfärben von Tabellenspalten, -Zeilen und -Zellen
\usepackage{colortbl}
% Befehle:
%\textcolor{...}
\usepackage{xifthen}% provides \isempty test
%\newcommand{\optarg}[1][]{%
% \ifthenelse{\isempty{#1}}%
% {}% if #1 is empty
% {(((#1)))}% if #1 is not empty
%}
\makeatletter
\newcommand{\@scrartcl@loaded}{0}
\AtBeginDocument{\@ifpackageloaded{scrartcl}
{\renewcommand{\@scrartcl@loaded}{1}}
{\renewcommand{\@scrartcl@loaded}{0}}
}
\makeatother

734
Preamble/Main.tex Executable file
View File

@@ -0,0 +1,734 @@
\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}
% -----------------------------------------
% Aufzählungen
% -----------------------------------------
\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=*}
\usepackage{listings}
\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{
style=custom,
language=Matlab,
basicstyle=\small\ttfamily, % small, footnotesize
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=2em, % 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}}
\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{\dif}{\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{\grad}{grad} % $\grad u$ = grad u
%\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}
\newcommand{\tensor}[1]{ \ensuremath{ \mathbf{#1} } }
\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{tBsp}{Bsp}
% unnummeriert
\newtheorem*{tDef}{Def}
\newtheorem*{tBsp*}{Bsp}
\newcommand{\undertab}[1]{\clap{%
\scriptsize\begin{tabular}{@{}c@{}}#1\end{tabular}}}
\newcommand{\ubspace}[2]{% Correct \underbrace spacing
\mathrlap{\underbrace{\phantom{#1\strut}}_{\undertab{#2}}}#1}
\newcommand{\ubspacel}[2]{% Correct \underbrace spacing
\mathrlap{\underbracket[0pt][0pt]{\phantom{#1\strut}}_{\text{#2}}}\underbracket[0.5pt][0pt]{#1}}
\usepackage[version=3]{mhchem} % use: \ce
%\usepackage{eurosym} % fuer das Eurosymbol
%\DeclareUnicodeCharacter{20AC}{\euro{}}
% -----------------------------------------
% 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}
\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,
}
% 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.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{
%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},
}
\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 ...}
\usepackage{afterpage}
\makeatletter
\def\mynobreakpar{\par\nobreak\@afterheading}
\def\mynobreakline{\par\nobreak\vspace{-\parskip}\@afterheading\noindent} \makeatother

610
Preamble/Page.tex Executable file
View File

@@ -0,0 +1,610 @@
\special{papersize=210mm,297mm}
% -----------------------------------------
% Allgemeine Seiten-Abstände und Einstellungen
% -----------------------------------------
\setlength{\parskip}{6pt} % Hälfte der Schriftgröße 12pt
\setlength{\parindent}{0pt} % kein einrücken
\setlength{\textheight}{22.5cm}
%\usepackage[a4paper, top=3cm, left=3.5cm, right=2.8cm]{geometry}
\setlength{\marginparwidth}{1.5cm} % Raum für Randnotiz
\usepackage{setspace} % muss vor hyperref
\onehalfspacing % Zeilenabstand, \doublespacing, \singlespacing
\KOMAoptions{DIV=last}
\recalctypearea % Nach ändern der Schriftart von KOMA-Script ganz bequem den Satzspiegel neu berechnen lassen.
\clubpenalty = 10000 %keine einzelnen Seiten eines Absatzes oben oder unten auf einer Seite
\widowpenalty = 10000
\displaywidowpenalty = 10000
% Fix overful hboxes automatically:
%\tolerance=2000 % allg., Stand. 200, defensiver 2000
\emergencystretch=6pt %10pt% im Fall, Stand. 0, besser als \tolerance
%\hbadness=1000 % Warnungsausgabe, Stand. 1000
\setlength{\overfullrule}{5pt}
% global oder lokal Silbentrennung verbieten
%\pretolerance=10000 % or/the same result? \hyphenpenalty=10000
% Befehle:
%\newline
%\linebreak
% -----------------------------------------
% Schrift und Verzeichnis
% -----------------------------------------
\usepackage{lmodern} % Schöneres Schriftpacket für LateX
\usepackage[ % Dominanz hinten
%english,
ngerman,
]{babel}
\usepackage[utf8]{luainputenc} % latin1, utf8, ansinew, latin2
\usepackage[T1]{fontenc}
%\usepackage{fontspec}
\usepackage[
%sfmath, % sans-serif slanted fonts
%slantedGreeks, % Uppercase greeks are slanted
]{kpfonts} %bessere Schriften
\usepackage[scale=0.95]{opensans}
\usepackage{pdfpages} % muss vor tocstyle
\usepackage{pdflscape}
% Verzeichnis
\usepackage{tocstyle}
\usetocstyle{allwithdot}
\usepackage{tocloft}
\setlength{\cftbeforefigskip}{0ex}
\cftlocalchange{toc}{2em}{2.55em} % first: pnumwidth, second: margin, default: 1.55em and 2.55em
%\usepackage{bigfoot}
\usepackage{soulutf8} % hyphenatable letterspacing, underlining and some derivatives such as overstriking and highlighting, soul
\usepackage{blindtext} % Damit ich mir nicht immer neuen Text ausdenken muss
\usepackage{xparse}
% Befehle:
% change family of the font. If possible other aspects like the series or the shape are preserved.
% \textrm (\rmfamily) Normal font (default).
% \textsf (\sffamily) Sans serif.
% \texttt (\ttfamily) Typewriter.
% \emph Emphasis (toggles between \textit and \textrm)
% \textmd (\mdseries) Medium weight (default). The opposite of boldface.
% \textbf (\bfseries, \bf) Bold weight.
% \textup (\upshape) Upright (default). The opposite of slanted.
% \textit (\itshape) Italic.
% \textsl (\slshape) Slanted.
% \textsc (\scshape) Small caps.
% \textnormal (\normalfont) Main document font.
% \tiny \scriptsize \footnotesize \small
% \normalsize (default)
% \large \Large \LARGE \huge \Huge
%\usepackage[normalem]{ulem}
% \uline{...} Underlined text, breaks over multiple lines
% \uuline{...} double-underlined text
% \uwave{...} wave-underlined text
% \sout{...} ------------
% \xout{...} ////////////
% DON't let hyperref overload the format of index and glossary.
% I want to do that on my own in the stylefiles for makeindex...
\makeatletter
\let\@old@wrindex=\@wrindex
\makeatother
\usepackage{ifpdf}
% usage:
% \ifpdf
% % pdf code
% \else
% % dvi code
% \fi
\usepackage[hyperindex=false]{hyperref}
\hypersetup{%
pdftitle={\TITLE},
pdfsubject={\SUBTITLE},
pdfauthor={\AUTHOR},
pdfkeywords={\TAGS},
pdfproducer={LaTeX},
%pdfpagelabels,
pdfstartview=FitH, % Dokument an Fensterbreite anpassen, {XYZ null null 1}
pdfpagemode=UseNone, % Miniaturansicht nicht anzeigen
bookmarksopen=true,
bookmarksnumbered=true,
colorlinks=true, % use true to enable colors below:
linkcolor=black,%red,
filecolor=darkblue,%magenta,
menucolor=darkblue,
urlcolor=darkblue,%cyan,
citecolor=black,%blue
pdfborder=0 0 0, % PDF link-darstellung, falls colorlinks=false. 0 0 0: nix. 0 0 1: default.
%frenchlinks=false, % small caps instead of colors
plainpages=false, % false bei römisch und arabischen Zahlen
hypertexnames=true, % true bei römisch und arabischen Zahlen; Without hypertexnames it's just counting upwards; bei 4 -> iv
}
\makeatletter
\let\@wrindex=\@old@wrindex
\makeatother
%\usepackage{url}
% -----------------------------------------
% Seitenstil für lebende Kolumnentitel
% -----------------------------------------
%\pagestyle{headings}
\usepackage{fancyhdr}
\pagestyle{fancy}
\fancyhead{}
\fancyfoot{}
\fancyhead[RO]{\slshape \leftmark} % for twoside option: LE,RO
\fancyfoot[C]{--~\thepage~--}
%\fancyfoot[RO] {\thepage}
\renewcommand{\headrulewidth}{0.4pt}
\renewcommand{\footrulewidth}{0pt}
\newlength\FHoffset
\setlength\FHoffset{0cm} % Offset des Headers 0: bündig mit text
\addtolength\headwidth{1\FHoffset}
\fancyheadoffset{\FHoffset}
% these lengths will control the headrule trimming to the left and right
\newlength\FHleft
\newlength\FHright
% here the trimmings are controlled by the user
\setlength\FHleft{-1cm}
\setlength\FHright{-1cm}
% The new definition of headrule that will take into acount the trimming(s)
\newbox\FHline
\setbox\FHline=\hbox{\hsize=\paperwidth%
\hspace*{\FHleft}%
\rule{\dimexpr\headwidth-\FHleft-\FHright\relax}{\headrulewidth}\hspace*{\FHright}%
}
\renewcommand\headrule{\vskip-.7\baselineskip\copy\FHline}
\renewcommand{\headrulewidth}{\iffloatpage{0pt}{0.4pt}}% keine Linien auf Bilderseiten!
\renewcommand{\sectionmark}[1]{
\markboth{\thesection{} #1}{\thesection{} #1}
}
\renewcommand{\subsectionmark}[1]{
\markright{\thesubsection{} #1}
}
\fancypagestyle{plain}{
\fancyhead{}
\fancyfoot{}
\renewcommand{\headrulewidth}{0.4pt}
\fancyfoot[C]{--~\thepage~--}
%\fancyfoot[RO] {\thepage}
}
% -----------------------------------------
% Literatur
% -----------------------------------------
%\usepackage[fixlanguage]{babelbib} % Mehrsprachige Literaturliste, nicht mit biblatex
%\selectbiblanguage{german}
\usepackage[
%bibstyle=chem-acs,
style=numeric-comp, % alphabetic, numeric-comp, authoryear-icomp, authortitle-icomp
sorting=none, % name, title, year, none
%abbreviate=false, % keine Abkürzungen
%sortcites=true, % sorted according to the global sorting order
%sortfirstinits=true, % sorting names will only use their initials
%block=nbpar, % none, space, par, nbpar, ragged
autocite=footnote, % citations as footnotes
uniquename=init, % set true if firstinits is set to true
firstinits=true, % all first and middle names will be rendered as initials
isbn=false,
maxnames=2,
backend=biber, % backend=bibtex8 by latin1, biber by utf8
safeinputenc, % erlaubt Zeichen aus dem tipa-Paket (Biber only)
natbib=true,
]{biblatex}
% Erst Nachname, dann Vorname
\DeclareNameAlias{default}{last-first}
% Autorennamen in Kapitälchen
\renewcommand*{\mkbibnamelast}[1]{\textsc{#1}}
% muss ich noch nachvollziehen, nur dick?
\renewbibmacro*{author/editor+others/translator+others}{%
% \mkbibbold{% ADDED
\ifboolexpr{
test \ifuseauthor
and
not test {\ifnameundef{author}}
}
{\usebibmacro{author}}
{\ifboolexpr{
test \ifuseeditor
and
not test {\ifnameundef{editor}}
}
{\usebibmacro{editor+others}}
{\usebibmacro{translator+others}}}}
% }% ADDED
% Trennen mit Semikolon, bei mehreren Autoren
\renewcommand*{\multinamedelim}{\addsemicolon\space}
\renewcommand*{\finalnamedelim}{\addsemicolon\space}
% " : " als Trennzeichen nach Titel
%\DeclareFieldFormat{title}{\mkbibemph{#1}~:\addspace}
\renewbibmacro*{title}{%
\ifthenelse{\iffieldundef{title}\AND\iffieldundef{subtitle}}
{}
{\printtext[title]{%
\printfield[titlecase]{title}}%
%\setunit{\subtitlepunct}% DELETE
\setunit{~:\addspace}%
%\printfield[titlecase]{subtitle}}% DELETE and close in title
\printfield{subtitle}% ADD
\newunit}%
\printfield{titleaddon}}
\DeclareFieldFormat{subtitle}{\mkbibemph{#1}} % Änderung des Subtitles
% " : " als Trennzeichen zwischen Ort und Verlag
\renewbibmacro*{publisher+location+date}{%
\printlist{location}%
\iflistundef{publisher}
{\setunit*{\addcomma\space}}
% {\setunit*{addcolon\space}}% DELETED
{\setunit*{~:\space}}% ADDED
\printlist{publisher}%
\setunit*{\addcomma\space}%
\usebibmacro{date}%
\newunit}
\DeclareFieldFormat{edition}{%
\ifinteger{#1}
{\mkbibordedition{#1}~\bibstring{edition}}% DELETED
% {\mkbibordedition{#1}\bibstring{edition}}% ADDED
{#1\isdot}}
%Doppelpunkt statt Komma vor der Seitenangabe in der Zitierung, z.B. «(Gaukeley 2005: S. 387)»
\renewcommand{\postnotedelim}{\addcolon\addspace}
%Kein einleitendes «S.» vor der Seitenangabe in der Zitierung, z.B. «(Gaukeley 2005: 387)»
\DeclareFieldFormat{postnote}{#1}
% Doppelpunkt statt Punkt vor dem Titel in der Literaturliste, z.B. «Gaukeley, Gundel (2005): Das kleine Einmaleins der Hexerei. [...]»
\renewcommand{\labelnamepunct}{\addcolon\addspace}
% Allfällige Angabe von Serie und Nummer in der Literaturliste eingeklammert und mit Gleichheitszeichen versehen, z.B. «[...] (= Schriftenreihe des Entenhausener Pfadfinderverbandes 13).»
\renewbibmacro*{series+number}{%
\iffieldundef{series}
{}
{\printtext[parens]{%
\iffieldundef{number}
{}
{=\addhpthinspace}%
\printfield{series}%
\setunit*{\addspace}%
\printfield{number}%
}}\newunit}
% Allfälliges Datum der Erstausgabe in der Literaturliste, z.B. «Duck, Tick u.a. (1966/2004): Ordens- und Abzeichenkunde für Fieselschweiflinge. [...]»
%\renewbibmacro*{date+extrayear}{
\newbibmacro*{date+extrayear}{ % ADD
\iffieldundef{year}
{}
{\printtext[parens]{%
\iffieldundef{origyear}
{}
{\printfield{origyear}\addslash}%
\printdateextra}}}
% Allfälliges Datum der Erstausgabe in Zitierungen, z.B. «(Duck u.a. 1966/2004: 37 f.)»
%\renewbibmacro*{cite:labelyear+extrayear}{%
\newbibmacro*{cite:labelyear+extrayear}{% ADD
\iffieldundef{labelyear}
{}
{\printtext[bibhyperref]{%
\iffieldundef{origyear}
{}
{\printfield{origyear}\addslash}%
\printfield{labelyear}%
\printfield{extrayear}}}}
% Hat es mehrere Werke derselben Person(en), den Strich durch eine entsprechende Abkürzung ersetzen (wie ders./dies.)
\renewcommand*{\bibnamedash}{%
\bibsentence\bibstring{idem\thefield{gender}}}
% Hat/haben die Person(en) eines der zusätzlichen Werke nur herausgegeben, vor der Abkürzung Komma und Leerschlag einfügen
% Erfordert Angabe des Geschlechts in .bib, gender={sf} sn, pp
%\renewbibmacro*{bbx:editor}[1]{%
\newbibmacro*{bbx:editor}[1]{% ADD
\ifboolexpr{
test \ifuseeditor
and
not test {\ifnameundef{editor}}
}
{\usebibmacro{bbx:dashcheck}
{\bibnamedash%
\setunit{\addcomma\space}}
{\printnames{editor}%
\setunit{\addcomma\space}%
\usebibmacro{bbx:savehash}}%
\usebibmacro{#1}%
\clearname{editor}%
\setunit{\addspace}}%
{\global\undef\bbx@lasthash
\usebibmacro{labeltitle}%
\setunit*{\addspace}}%
\usebibmacro{date+extrayear}}
\usepackage[
%babel, % 'babel' depreciated - autostyle
autostyle,
german=quotes,
]{csquotes}
\addbibresource{sections/References.bib}
\expandafter\def\expandafter\quote\expandafter{\quote\small} % Schriftverkleinerung in quote-Umgebung
\newcommand{\zitat}[3]{ % cite, key, page numbers
\begin{quote}\small
#1
\hfill\autocite[#3\psq]{#2} % \psq: no suffixes/prefix
\end{quote}
}
% -----------------------------------------
% Listen: Aufzählende, Acronyms
% -----------------------------------------
\setlength{\leftmargini}{2\parskip} % Listeneinzug
% how to use acronyms:
% \ac = use acronym, first time write both, full name and acronym
% \acf = use full name (text + acronym)
% \acs = only use acronym
% \acl = only use long text
% \acp, acfp, acsp, aclp = use plural form for acronym (append 's')
% \acsu, aclu = write + mark as used
% \acfi = write full name in italics and acronym in normal style
% \acused = mark acronym as used
% \acfip = full, emphasized, plural, used
% \iac and \Iac = indefinite articles
\usepackage[
%footnote, % die Langform als Fußnote ausgeben
%nohyperlinks, % wenn hyperref geladen ist, wird die Verlinkung unterbunden
%printonlyused, % nur Abkürzungen auflisten, die tatsächlich verwendet werden.
%withpage,
%smaller, % Text soll kleiner erscheinen, das Paket relsize wird vorausgesetzt
%dua, % es wird immer die Langform ausgegeben
%nolist, % es wird keine Liste mit allen Abkürzungen ausgegeben
]{acronym}
\renewcommand\acsfont{\normalfont}
\makeatletter
\def\uplabel#1{{\normalfont{\textsf{#1}}\hfill}}
\renewenvironment{acronym}[1][1]{%
\singlespacing
\setstretch{0.8}
\providecommand*{\acro}{\AC@acro}%
\providecommand*{\acroplural}{\AC@acroplural}%
\long\def\acroextra##1{##1}%
\def\@tempa{1}\def\@tempb{#1}%
\ifx\@tempa\@tempb%
\global\expandafter\let\csname ac@des@mark\endcsname\AC@used%
\ifAC@nolist%
\else%
\begin{list}{}%
{\settowidth{\labelwidth}{\normalfont{\textsf{#1}}\hspace*{3.5em}}% change according to your needs , 4.45
\setlength{\leftmargin}{\labelwidth+\parskip}%
\addtolength{\leftmargin}{\labelsep}%
\renewcommand{\makelabel}{\uplabel}}
\fi%
\else%
\begin{AC@deflist}{#1}%
\fi%
}%
{%
\ifx\AC@populated\AC@used\else%
\ifAC@nolist%
\else%
\item[]\relax%
\fi%
\fi%
\expandafter\ifx\csname ac@des@mark\endcsname\AC@used%
\ifAC@nolist%
\else%
\end{list}%
\fi%
\else%
\end{AC@deflist}%
\fi}%
\renewenvironment{AC@deflist}[1]%
{\ifAC@nolist%
\else%
\raggedright\begin{list}{}%
{\settowidth{\labelwidth}{\normalfont{\textsf{#1}}\hspace*{3.5em}}% change according to your needs , 4.45
\setlength{\leftmargin}{\labelwidth}%
\addtolength{\leftmargin}{\labelsep}%
\renewcommand{\makelabel}{\uplabel}}%
\fi}%
{\ifAC@nolist%
\else%
\end{list}%
\fi}%
\makeatother
% -----------------------------------------
% Abschnittsverzeichnisse (Anhang)
% -----------------------------------------
\usepackage{appendix}
\setcounter{tocdepth}{3}
\setcounter{secnumdepth}{3}
% hyperref must be loaded before minitoc
\makeatletter
%\ifthenelse{\@scrartcl@loaded=1}{
\usepackage[insection,nohints]{minitoc}
\mtcsetdepth{secttoc}{3}
%\setlength{\stcindent}{-16.5pt}
\setlength{\stcindent}{0pt}
\mtcsetformat{secttoc}{pagenumwidth}{2em} % more space for page numbers
%\renewcommand{\stctitle}{} % Leer: Keine Überschrift
\renewcommand{\stcfont}{\normalfont\rmfamily\upshape\mdseries}
%}{
\usepackage[nohints]{minitoc}
%}
\makeatother
\makeatletter
\def\mtc@CkFile#1{%
\@mtc@LItrue\@mtc@FEtrue
\if@mtc@checkfiles
\IfFileExists{#1}{%
\immediate\openin\@inputcheck #1\relax
\mtc@While{}{\if@mtc@LI\relax}{\mtc@Body}\mtc@EndWhile
%
}%
{\@mtc@FEtrue}%
\else
\@mtc@FEfalse%
\fi
\closein\@inputcheck\relax}%moved in the definition
\makeatother
\mtcselectlanguage{german}
\mtcsetfont{secttoc}{subsection}{\normalfont\rmfamily\upshape\mdseries} % \sffamily
\mtcsetfont{secttoc}{subsubsection}{\normalfont\rmfamily\upshape\mdseries}
\mtcsetrules{*}{off} % local use: \nostcrule
%\mtcsetpagenumbers{mini-table|*}{on|off}
\newcommand{\pdfsection}[1]{
\addtocounter{section}{1}
\phantomsection\addcontentsline{toc}{section}
{\protect\numberline{\thesection}#1}
}
\newcommand{\pdfsubsection}[1]{
\addtocounter{subsection}{1}
\phantomsection\addcontentsline{toc}{subsection}
{\protect\numberline{\thesubsection}#1}
}
\newcommand{\pdfsubsubsection}[1]{
\addtocounter{subsubsection}{1}
\phantomsection\addcontentsline{toc}{subsubsection}
{\protect\numberline{\thesubsubsection}#1}
}
\newcommand{\pdfsectiona}[1]{
\begin{mtchideinmaintoc}[-1] % Den folgenden Inhalt nicht im großen Inhaltsverzeichnis zeigen
\addtocounter{section}{1}
\phantomsection\addcontentsline{toc}{section}
{\protect\numberline{\thesection}#1}
\end{mtchideinmaintoc}
}
\newcommand{\pdfsubsectiona}[1]{
\begin{mtchideinmaintoc}[-1] % Den folgenden Inhalt nicht im großen Inhaltsverzeichnis zeigen
\addtocounter{subsection}{1}
\phantomsection\addcontentsline{toc}{subsection}
{\protect\numberline{\thesubsection}#1}
\end{mtchideinmaintoc}
}
\newcommand{\pdfsubsubsectiona}[1]{
\begin{mtchideinmaintoc}[-1] % Den folgenden Inhalt nicht im großen Inhaltsverzeichnis zeigen
\addtocounter{subsubsection}{1}
\phantomsection\addcontentsline{toc}{subsubsection}
{\protect\numberline{\thesubsubsection}#1}
\end{mtchideinmaintoc}
}
\usepackage{imakeidx}
%\usepackage{splitidx}
\newcommand{\Index}[1]{#1\index{#1}}
% Formatiere Seitennummern im Index:
\newcommand{\indexpageno}[1]{%
{\bfseries\hyperpage{#1}}%
}
\makeindex
%\makeindex[%
%name=persons,
%title=Index of names,
%columns=3
%]
\usepackage{idxlayout} % avoid LaTeX bug 3126 (\twocolumn interfering with \topskip)
\usepackage{ragged2e} % avoid the automatic loading of the ragged2e package failure
%\index[persons]{Einstein, Albert}
\indexsetup{%
level=\section*,
toclevel=section,
noclearpage,
%firstpagestyle=plain, % disabled when the package fancyhdr is loaded
%headers={\indexname}{\indexname} % Dont use these keys if you use fancyhdr
}
%save as <filename>.mst:
%headings_flag 1
%heading_prefix "{\\bf ---~"
%heading_suffix "~---}"
%delim_0 "\\dotfill\\indexpageno{"
%delim_1 "\\dotfill\\indexpageno{"
%delim_2 "\\dotfill\\indexpageno{"
%delim_t "}"
%delim_n "}, \\indexpageno{"
%delim_r "} -- \\indexpageno{"
%suffix_2p "}f.{"
%suffix_3p "}ff.{"
%symhead_negative "Symbole"
%symhead_positive "Symbole"
%numhead_negative "Zahlen"
%numhead_positive "Zahlen"
%quote '+'
%line_max 255
\usepackage[%
%nowarn,
%nomain,
%toc=true, % Eintrag im Inhaltsverzeichnis
%style=altlist, % altlist: Beschreibung beginnt in neuer Zeile
nonumberlist, % keine Seitenzahlen anzeigen
nogroupskip, % keine extra Abstand bei Buchstabenwechsel
%acronym=true, % ein Abkürzungsverzeichnis erstellen
section=section, % im Inhaltsverzeichnis auf section-Ebene erscheinen, subsection ...
%description, % n changes the definition of \newacronym to allow a description
%makeindex,
%xindy={language=german-duden,codepage=utf8} % mit makeglossaries.exe ?
%hyperfirst=false, %
]{glossaries}
%Den Punkt am Ende jeder Beschreibung deaktivieren
\renewcommand*{\glspostdescription}{}
\renewcommand*{\glsautoprefix}{glo:} % to refer \ref{glo:...}
%Allgemeine definition
%\newglossary[⟨log-ext⟩]{⟨name⟩}{⟨in-ext⟩}{⟨out-ext⟩}{⟨title⟩}[⟨counter⟩]
\newcommand{\dictentry}[2]{%
\newglossaryentry{#1}{name=#1,description={#2}}%
\glslink{#1}{}%
}
%\input{Glossary.tex}
\makeglossaries
% debug the box warnings
\showboxdepth=\maxdimen
\showboxbreadth=\maxdimen