diff --git a/document/headers/commands.tex b/document/headers/commands.tex
new file mode 100644
--- /dev/null
+++ b/document/headers/commands.tex
@@ -0,0 +1,211 @@
+% Syntax Highlightling
+
+%\DefineShortVerb[commandchars=\\\{\}]{\|}
+\DefineVerbatimEnvironment{Highlighting}{Verbatim}{commandchars=\\\{\}}
+% Add ',fontsize=\small' for more characters per line
+\newenvironment{Shaded}{\begin{scriptsize}}{\end{scriptsize}}
+\newcommand{\KeywordTok}[1]{\textbf{{#1}}}
+\newcommand{\DataTypeTok}[1]{\underline{{#1}}}
+\newcommand{\DecValTok}[1]{{#1}}
+\newcommand{\BaseNTok}[1]{{#1}}
+\newcommand{\FloatTok}[1]{{#1}}
+\newcommand{\CharTok}[1]{{#1}}
+\newcommand{\StringTok}[1]{{#1}}
+\newcommand{\CommentTok}[1]{\textit{{#1}}}
+\newcommand{\OtherTok}[1]{{#1}}
+\newcommand{\AlertTok}[1]{\textbf{{#1}}}
+\newcommand{\FunctionTok}[1]{{#1}}
+\newcommand{\RegionMarkerTok}[1]{{#1}}
+\newcommand{\ErrorTok}[1]{\textbf{{#1}}}
+\newcommand{\NormalTok}[1]{{#1}}
+\newcommand{\myfigurewithoutcaption}[1]{{\bfseries \myfigurebabel{ }#1}}
+\newcommand{\myfigurewithcaption}[2]{{\bfseries \myfigurebabel{ }#1{\quad}}#2}
+
+% Definition der Fussnoten
+% ------------------------
+%\KOMAoptions{footnotes=multiple}
+
+
+\DeclareTextSymbol{\textlongs}{TS1}{115} 
+
+\deffootnote[2.2em]{2.2em}{0em}{\makebox[2.2em][l]{\thefootnotemark}}
+
+\newcommand{\badchar}[1]
+{\textbf{?}}
+
+
+\newcommand{\myplainurl}[1]
+{{\ttfamily  \url{#1}}}
+
+
+\newcommand{\myfnhref}[2]
+{{#2} \^{}{\{\ttfamily  \url{#1}\}} }
+
+\newcommand{\mymchref}[2]
+{}
+
+
+\newcommand{\mytabhref}[2]
+{{#2}\protect\footnote{\ttfamily \url{#1} }}
+%{\textsc{#2}}
+
+
+\newcommand{\myfnlref}[2]
+{{#2} \^{}\{\mychapterbabel \ref{#1} \mypagebabel {$\text{}$} \pageref{#1}\}}
+
+\newlength{\fnwidth}
+\setlength{\fnwidth}{\linewidth}
+\addtolength{\fnwidth}{-10mm}
+
+\newcommand{\myhref}[2]
+{{#2}\protect\footnote{    \begin{minipage}{\fnwidth} \ttfamily \url{#1}  \end{minipage}}} 
+
+\newcommand{\mylref}[2]
+{{#2}\protect\footnote{\mychapterbabel {$\text{}$} \ref{#1} \mypagebabel {$\text{}$} \pageref{#1}}}
+
+\newcommand{\myfnsref}[2]
+{\text{#2} \^{}\{\text{#1} \}}
+
+\newcommand{\mysref}[2]
+{\text{#2}\protect\footnote{#1}}
+
+\newcommand{\TickYes}{\checkmark}
+
+
+% Kompatibilität, damit myfootnote nichts ins Leere läuft
+\newcommand{\myfootnote}[1]
+%{\footnote{\quad{}#1}}
+{\footnote{#1}}
+
+
+% Auflistungen
+% ------------
+% Standardvorschlag für itemize
+%\newenvironment{myitemize}{\begin{itemize}}{\end{itemize}}
+%\newenvironment{myenumerate}{\begin{enumerate}}{\end{enumerate}}
+\newenvironment{myquote}{\begin{itemize}[{}]}{\end{itemize}}
+\newenvironment{myblockquote}{\begin{itemize}[{\quad}]}{\end{itemize}}
+
+\newenvironment{mydescription}{
+
+\begin{inparablank}}{\end{inparablank}} 
+% Alternativen ohne Einrückung
+\newenvironment{myitemize}{\begin{compactitem}[\textbullet]}{\end{compactitem}}
+\newenvironment{myenumerate}{\begin{compactenum}}{\end{compactenum}}
+
+% einige weitere Festlegungen
+% ---------------------------
+% \breakslash is used for URLs to allow linebreaking
+\newcommand{\mybreakslash}{\discretionary{/}{}{/}}
+
+\newlength{\mylength}
+\newlength{\myhight}
+\newlength{\myshadingheight}
+\newcommand{\myoverline}[1]
+{\settowidth{\mylength}{#1} \settoheight{\myhight}{#1}
+\makebox[-3pt][l]{#1}
+\rule[\myhight+1pt]{\mylength}{0.15mm}}
+
+% Teile von Büchern
+\newcommand{\mypart}[1]
+%{\part{#1}}
+{\addtocontents{toc}{\protect\vspace{7.5mm} \textbf{\Large {#1}}}}
+
+% minitoc vorbereiten, aber standardmäßig unterdrücken
+\newcommand{\myminitoc}{}
+
+% Haupttitel
+% ----------
+%\newcommand{\mymaintitle}[1]
+%{\definecolor{shadecolor}{gray}{0.9}\begin{shaded}
+%\begin{center}
+%\Huge \bfseries 
+%#1 
+%\end{center}
+%\end{shaded}}
+
+%\newcommand{\mysubtitle}[1]
+%{\begin{center}
+%\LARGE \bfseries 
+%#1
+%\end{center}}
+
+\newcommand{\mysubtitle}[1]{\subtitle{#1}}
+\newcommand{\mymaintitle}[1]{\title{#1}}
+\newcommand{\myauthor}[1]{\author{#1}}
+
+
+% this is for getting rid of a lintian complaint about
+% the German translation of the English word resolution which
+% I can not represent here literally according to lintian
+\newcommand{\resdhunlongstring}[0]{Res}
+\newcommand{\sourcedhunlongstring}[0]{source}
+\newcommand{\redshunlongstringsource}[0]{\resdhunlongstring\sourcedhunlongstring}
+
+
+% Metadaten
+% ---------
+\newcommand{\fetchurlcaption}[0]
+{\mysref{In den Metadaten erläutert unter: {\itshape Adresse der elektronischen \redshunlongstringsource zur Abholung (O)}.}{URL zur Abholung}}
+
+\newcommand{\bookcaption}[0]
+{\mysref{In den Metadaten erläutert unter: {\itshape Adresse der elektronischen \redshunlongstringsource (O)}.}{Buch (Hauptseite)}}
+
+\newcommand{\functionalgroupcaption}[0]
+{\mysref{In den Metadaten erläutert unter: {\itshape Angaben zum Inhalt: DDC-Sachgruppe der Deutschen Nationalbibliografie oder Warengruppen-Systematik des Deutschen Buchhandels (O)}.}{Sachgruppe(n)} }
+
+\newcommand{\futhertopicscaption}[0]
+{\mysref{In den Metadaten erläutert unter: {\itshape Angaben zum Inhalt: weitere Klassifikationen / Thesauri (F)}.}{Weitere Themen}}
+
+\newcommand{\mainauthorscaption}[0]
+{Hauptautor(en)}
+
+\newcommand{\projecttexniciancaption}[0]
+{Betreuer}
+
+\newcommand{\organizationscaptions}[0]
+{\mysref{In den Metadaten erläutert unter: {\itshape Beteiligte Organisationen (F)}.}{Organisation(en)}}
+
+\newcommand{\datecaption}[0]
+{Erscheinungsdatum}
+
+\newcommand{\issuecaption}[0]
+{Ausgabebezeichnung}
+
+\newcommand{\standardcodecaption}[0]
+{Standardnummer }
+
+\newcommand{\maintitlecaption}[0]
+{Haupttitel}
+
+\newcommand{\publishercaption}[0]
+{\mysref{In den Metadaten erläutert unter: {\itshape Verlag / Verlegende Stelle (O)}.}{Verlegende Stelle} }
+
+\newcommand{\publishercitycaption}[0]
+{Verlagsort}
+
+\newcommand{\shelfcaption}[0]
+{Wikibooks-Regal}
+
+\newcommand{\sizecaption}[0]
+{Umfang}
+
+
+\newcommand{\Alpha}{\mathrm{A}}
+\newcommand{\Beta}{\mathrm{B}}
+\newcommand{\Epsilon}{\mathrm{E}}
+\newcommand{\Zeta}{\mathrm{Z}}
+\newcommand{\Eta}{\mathrm{H}}
+\newcommand{\Iota}{\mathrm{I}}
+\newcommand{\Kappa}{\mathrm{K}}
+\newcommand{\Mu}{\mathrm{M}}
+\newcommand{\Nu}{\mathrm{N}}
+\newcommand{\Rho}{\mathrm{P}}
+\newcommand{\Tau}{\mathrm{T}}
+\newcommand{\Chi}{\mathrm{X}}
+
+
+
+
+
+
diff --git a/document/headers/defaultcolors.tex b/document/headers/defaultcolors.tex
new file mode 100644
--- /dev/null
+++ b/document/headers/defaultcolors.tex
@@ -0,0 +1,284 @@
+\definecolor{AliceBlue}{rgb}{0.941176470588,0.972549019608,1.0}
+\definecolor{aliceblue}{rgb}{0.941176470588,0.972549019608,1.0}
+\definecolor{AntiqueWhite}{rgb}{0.980392156863,0.921568627451,0.843137254902}
+\definecolor{antiquewhite}{rgb}{0.980392156863,0.921568627451,0.843137254902}
+\definecolor{Aqua}{rgb}{0.0,1.0,1.0}
+\definecolor{aqua}{rgb}{0.0,1.0,1.0}
+\definecolor{Aquamarine}{rgb}{0.498039215686,1.0,0.83137254902}
+\definecolor{aquamarine}{rgb}{0.498039215686,1.0,0.83137254902}
+\definecolor{Azure}{rgb}{0.941176470588,1.0,1.0}
+\definecolor{azure}{rgb}{0.941176470588,1.0,1.0}
+\definecolor{Beige}{rgb}{0.960784313725,0.960784313725,0.862745098039}
+\definecolor{beige}{rgb}{0.960784313725,0.960784313725,0.862745098039}
+\definecolor{Bisque}{rgb}{1.0,0.894117647059,0.76862745098}
+\definecolor{bisque}{rgb}{1.0,0.894117647059,0.76862745098}
+\definecolor{Black}{rgb}{0.0,0.0,0.0}
+\definecolor{black}{rgb}{0.0,0.0,0.0}
+\definecolor{BlanchedAlmond}{rgb}{1.0,0.921568627451,0.803921568627}
+\definecolor{blanchedalmond}{rgb}{1.0,0.921568627451,0.803921568627}
+\definecolor{Blue}{rgb}{0.0,0.0,1.0}
+%\definecolor{blue}{rgb}{0.0,0.0,1.0}
+\definecolor{BlueViolet}{rgb}{0.541176470588,0.16862745098,0.886274509804}
+\definecolor{blueviolet}{rgb}{0.541176470588,0.16862745098,0.886274509804}
+\definecolor{Brown}{rgb}{0.647058823529,0.164705882353,0.164705882353}
+\definecolor{brown}{rgb}{0.647058823529,0.164705882353,0.164705882353}
+\definecolor{BurlyWood}{rgb}{0.870588235294,0.721568627451,0.529411764706}
+\definecolor{burlywood}{rgb}{0.870588235294,0.721568627451,0.529411764706}
+\definecolor{CadetBlue}{rgb}{0.372549019608,0.619607843137,0.627450980392}
+\definecolor{cadetblue}{rgb}{0.372549019608,0.619607843137,0.627450980392}
+\definecolor{Chartreuse}{rgb}{0.498039215686,1.0,0.0}
+\definecolor{chartreuse}{rgb}{0.498039215686,1.0,0.0}
+\definecolor{Chocolate}{rgb}{0.823529411765,0.411764705882,0.117647058824}
+\definecolor{chocolate}{rgb}{0.823529411765,0.411764705882,0.117647058824}
+\definecolor{Coral}{rgb}{1.0,0.498039215686,0.313725490196}
+\definecolor{coral}{rgb}{1.0,0.498039215686,0.313725490196}
+\definecolor{CornflowerBlue}{rgb}{0.392156862745,0.58431372549,0.929411764706}
+\definecolor{cornflowerblue}{rgb}{0.392156862745,0.58431372549,0.929411764706}
+\definecolor{Cornsilk}{rgb}{1.0,0.972549019608,0.862745098039}
+\definecolor{cornsilk}{rgb}{1.0,0.972549019608,0.862745098039}
+\definecolor{Crimson}{rgb}{0.862745098039,0.078431372549,0.235294117647}
+\definecolor{crimson}{rgb}{0.862745098039,0.078431372549,0.235294117647}
+\definecolor{Cyan}{rgb}{0.0,1.0,1.0}
+%\definecolor{cyan}{rgb}{0.0,1.0,1.0}
+\definecolor{DarkBlue}{rgb}{0.0,0.0,0.545098039216}
+\definecolor{darkblue}{rgb}{0.0,0.0,0.545098039216}
+\definecolor{DarkCyan}{rgb}{0.0,0.545098039216,0.545098039216}
+\definecolor{darkcyan}{rgb}{0.0,0.545098039216,0.545098039216}
+\definecolor{DarkGoldenRod}{rgb}{0.721568627451,0.525490196078,0.043137254902}
+\definecolor{darkgoldenrod}{rgb}{0.721568627451,0.525490196078,0.043137254902}
+\definecolor{DarkGray}{rgb}{0.662745098039,0.662745098039,0.662745098039}
+\definecolor{darkgray}{rgb}{0.662745098039,0.662745098039,0.662745098039}
+\definecolor{DarkGreen}{rgb}{0.0,0.392156862745,0.0}
+\definecolor{darkgreen}{rgb}{0.0,0.392156862745,0.0}
+\definecolor{DarkKhaki}{rgb}{0.741176470588,0.717647058824,0.419607843137}
+\definecolor{darkkhaki}{rgb}{0.741176470588,0.717647058824,0.419607843137}
+\definecolor{DarkMagenta}{rgb}{0.545098039216,0.0,0.545098039216}
+\definecolor{darkmagenta}{rgb}{0.545098039216,0.0,0.545098039216}
+\definecolor{DarkOliveGreen}{rgb}{0.333333333333,0.419607843137,0.18431372549}
+\definecolor{darkolivegreen}{rgb}{0.333333333333,0.419607843137,0.18431372549}
+\definecolor{Darkorange}{rgb}{1.0,0.549019607843,0.0}
+\definecolor{darkorange}{rgb}{1.0,0.549019607843,0.0}
+\definecolor{DarkOrchid}{rgb}{0.6,0.196078431373,0.8}
+\definecolor{darkorchid}{rgb}{0.6,0.196078431373,0.8}
+\definecolor{DarkRed}{rgb}{0.545098039216,0.0,0.0}
+\definecolor{darkred}{rgb}{0.545098039216,0.0,0.0}
+\definecolor{DarkSalmon}{rgb}{0.913725490196,0.588235294118,0.478431372549}
+\definecolor{darksalmon}{rgb}{0.913725490196,0.588235294118,0.478431372549}
+\definecolor{DarkSeaGreen}{rgb}{0.560784313725,0.737254901961,0.560784313725}
+\definecolor{darkseagreen}{rgb}{0.560784313725,0.737254901961,0.560784313725}
+\definecolor{DarkSlateBlue}{rgb}{0.282352941176,0.239215686275,0.545098039216}
+\definecolor{darkslateblue}{rgb}{0.282352941176,0.239215686275,0.545098039216}
+\definecolor{DarkSlateGray}{rgb}{0.18431372549,0.309803921569,0.309803921569}
+\definecolor{darkslategray}{rgb}{0.18431372549,0.309803921569,0.309803921569}
+\definecolor{DarkTurquoise}{rgb}{0.0,0.807843137255,0.819607843137}
+\definecolor{darkturquoise}{rgb}{0.0,0.807843137255,0.819607843137}
+\definecolor{DarkViolet}{rgb}{0.580392156863,0.0,0.827450980392}
+\definecolor{darkviolet}{rgb}{0.580392156863,0.0,0.827450980392}
+\definecolor{DeepPink}{rgb}{1.0,0.078431372549,0.576470588235}
+\definecolor{deeppink}{rgb}{1.0,0.078431372549,0.576470588235}
+\definecolor{DeepSkyBlue}{rgb}{0.0,0.749019607843,1.0}
+\definecolor{deepskyblue}{rgb}{0.0,0.749019607843,1.0}
+\definecolor{DimGray}{rgb}{0.411764705882,0.411764705882,0.411764705882}
+\definecolor{dimgray}{rgb}{0.411764705882,0.411764705882,0.411764705882}
+\definecolor{DodgerBlue}{rgb}{0.117647058824,0.564705882353,1.0}
+\definecolor{dodgerblue}{rgb}{0.117647058824,0.564705882353,1.0}
+\definecolor{FireBrick}{rgb}{0.698039215686,0.133333333333,0.133333333333}
+\definecolor{firebrick}{rgb}{0.698039215686,0.133333333333,0.133333333333}
+\definecolor{FloralWhite}{rgb}{1.0,0.980392156863,0.941176470588}
+\definecolor{floralwhite}{rgb}{1.0,0.980392156863,0.941176470588}
+\definecolor{ForestGreen}{rgb}{0.133333333333,0.545098039216,0.133333333333}
+\definecolor{forestgreen}{rgb}{0.133333333333,0.545098039216,0.133333333333}
+\definecolor{Fuchsia}{rgb}{1.0,0.0,1.0}
+\definecolor{fuchsia}{rgb}{1.0,0.0,1.0}
+\definecolor{Gainsboro}{rgb}{0.862745098039,0.862745098039,0.862745098039}
+\definecolor{gainsboro}{rgb}{0.862745098039,0.862745098039,0.862745098039}
+\definecolor{GhostWhite}{rgb}{0.972549019608,0.972549019608,1.0}
+\definecolor{ghostwhite}{rgb}{0.972549019608,0.972549019608,1.0}
+\definecolor{Gold}{rgb}{1.0,0.843137254902,0.0}
+\definecolor{gold}{rgb}{1.0,0.843137254902,0.0}
+\definecolor{GoldenRod}{rgb}{0.854901960784,0.647058823529,0.125490196078}
+\definecolor{goldenrod}{rgb}{0.854901960784,0.647058823529,0.125490196078}
+\definecolor{Gray}{rgb}{0.501960784314,0.501960784314,0.501960784314}
+\definecolor{gray}{rgb}{0.501960784314,0.501960784314,0.501960784314}
+\definecolor{Green}{rgb}{0.0,0.501960784314,0.0}
+%\definecolor{green}{rgb}{0.0,0.501960784314,0.0}
+\definecolor{GreenYellow}{rgb}{0.678431372549,1.0,0.18431372549}
+\definecolor{greenyellow}{rgb}{0.678431372549,1.0,0.18431372549}
+\definecolor{HoneyDew}{rgb}{0.941176470588,1.0,0.941176470588}
+\definecolor{honeydew}{rgb}{0.941176470588,1.0,0.941176470588}
+\definecolor{HotPink}{rgb}{1.0,0.411764705882,0.705882352941}
+\definecolor{hotpink}{rgb}{1.0,0.411764705882,0.705882352941}
+\definecolor{IndianRed}{rgb}{0.803921568627,0.360784313725,0.360784313725}
+\definecolor{indianred}{rgb}{0.803921568627,0.360784313725,0.360784313725}
+\definecolor{Indigo}{rgb}{0.294117647059,0.0,0.509803921569}
+\definecolor{indigo}{rgb}{0.294117647059,0.0,0.509803921569}
+\definecolor{Ivory}{rgb}{1.0,1.0,0.941176470588}
+\definecolor{ivory}{rgb}{1.0,1.0,0.941176470588}
+\definecolor{Khaki}{rgb}{0.941176470588,0.901960784314,0.549019607843}
+\definecolor{khaki}{rgb}{0.941176470588,0.901960784314,0.549019607843}
+\definecolor{Lavender}{rgb}{0.901960784314,0.901960784314,0.980392156863}
+\definecolor{lavender}{rgb}{0.901960784314,0.901960784314,0.980392156863}
+\definecolor{LavenderBlush}{rgb}{1.0,0.941176470588,0.960784313725}
+\definecolor{lavenderblush}{rgb}{1.0,0.941176470588,0.960784313725}
+\definecolor{LawnGreen}{rgb}{0.486274509804,0.988235294118,0.0}
+\definecolor{lawngreen}{rgb}{0.486274509804,0.988235294118,0.0}
+\definecolor{LemonChiffon}{rgb}{1.0,0.980392156863,0.803921568627}
+\definecolor{lemonchiffon}{rgb}{1.0,0.980392156863,0.803921568627}
+\definecolor{LightBlue}{rgb}{0.678431372549,0.847058823529,0.901960784314}
+\definecolor{lightblue}{rgb}{0.678431372549,0.847058823529,0.901960784314}
+\definecolor{LightCoral}{rgb}{0.941176470588,0.501960784314,0.501960784314}
+\definecolor{lightcoral}{rgb}{0.941176470588,0.501960784314,0.501960784314}
+\definecolor{LightCyan}{rgb}{0.878431372549,1.0,1.0}
+\definecolor{lightcyan}{rgb}{0.878431372549,1.0,1.0}
+\definecolor{LightGoldenRodYellow}{rgb}{0.980392156863,0.980392156863,0.823529411765}
+\definecolor{lightgoldenrodyellow}{rgb}{0.980392156863,0.980392156863,0.823529411765}
+\definecolor{LightGrey}{rgb}{0.827450980392,0.827450980392,0.827450980392}
+\definecolor{lightgrey}{rgb}{0.827450980392,0.827450980392,0.827450980392}
+\definecolor{LightGreen}{rgb}{0.564705882353,0.933333333333,0.564705882353}
+\definecolor{lightgreen}{rgb}{0.564705882353,0.933333333333,0.564705882353}
+\definecolor{LightPink}{rgb}{1.0,0.713725490196,0.756862745098}
+\definecolor{lightpink}{rgb}{1.0,0.713725490196,0.756862745098}
+\definecolor{LightSalmon}{rgb}{1.0,0.627450980392,0.478431372549}
+\definecolor{lightsalmon}{rgb}{1.0,0.627450980392,0.478431372549}
+\definecolor{LightSeaGreen}{rgb}{0.125490196078,0.698039215686,0.666666666667}
+\definecolor{lightseagreen}{rgb}{0.125490196078,0.698039215686,0.666666666667}
+\definecolor{LightSkyBlue}{rgb}{0.529411764706,0.807843137255,0.980392156863}
+\definecolor{lightskyblue}{rgb}{0.529411764706,0.807843137255,0.980392156863}
+\definecolor{LightSlateGray}{rgb}{0.466666666667,0.533333333333,0.6}
+\definecolor{lightslategray}{rgb}{0.466666666667,0.533333333333,0.6}
+\definecolor{LightSteelBlue}{rgb}{0.690196078431,0.76862745098,0.870588235294}
+\definecolor{lightsteelblue}{rgb}{0.690196078431,0.76862745098,0.870588235294}
+\definecolor{LightYellow}{rgb}{1.0,1.0,0.878431372549}
+\definecolor{lightyellow}{rgb}{1.0,1.0,0.878431372549}
+\definecolor{Lime}{rgb}{0.0,1.0,0.0}
+\definecolor{lime}{rgb}{0.0,1.0,0.0}
+\definecolor{LimeGreen}{rgb}{0.196078431373,0.803921568627,0.196078431373}
+\definecolor{limegreen}{rgb}{0.196078431373,0.803921568627,0.196078431373}
+\definecolor{Linen}{rgb}{0.980392156863,0.941176470588,0.901960784314}
+\definecolor{linen}{rgb}{0.980392156863,0.941176470588,0.901960784314}
+\definecolor{Magenta}{rgb}{1.0,0.0,1.0}
+%\definecolor{magenta}{rgb}{1.0,0.0,1.0}
+\definecolor{Maroon}{rgb}{0.501960784314,0.0,0.0}
+\definecolor{maroon}{rgb}{0.501960784314,0.0,0.0}
+\definecolor{MediumAquaMarine}{rgb}{0.4,0.803921568627,0.666666666667}
+\definecolor{mediumaquamarine}{rgb}{0.4,0.803921568627,0.666666666667}
+\definecolor{MediumBlue}{rgb}{0.0,0.0,0.803921568627}
+\definecolor{mediumblue}{rgb}{0.0,0.0,0.803921568627}
+\definecolor{MediumOrchid}{rgb}{0.729411764706,0.333333333333,0.827450980392}
+\definecolor{mediumorchid}{rgb}{0.729411764706,0.333333333333,0.827450980392}
+\definecolor{MediumPurple}{rgb}{0.576470588235,0.439215686275,0.847058823529}
+\definecolor{mediumpurple}{rgb}{0.576470588235,0.439215686275,0.847058823529}
+\definecolor{MediumSeaGreen}{rgb}{0.235294117647,0.701960784314,0.443137254902}
+\definecolor{mediumseagreen}{rgb}{0.235294117647,0.701960784314,0.443137254902}
+\definecolor{MediumSlateBlue}{rgb}{0.482352941176,0.407843137255,0.933333333333}
+\definecolor{mediumslateblue}{rgb}{0.482352941176,0.407843137255,0.933333333333}
+\definecolor{MediumSpringGreen}{rgb}{0.0,0.980392156863,0.603921568627}
+\definecolor{mediumspringgreen}{rgb}{0.0,0.980392156863,0.603921568627}
+\definecolor{MediumTurquoise}{rgb}{0.282352941176,0.819607843137,0.8}
+\definecolor{mediumturquoise}{rgb}{0.282352941176,0.819607843137,0.8}
+\definecolor{MediumVioletRed}{rgb}{0.780392156863,0.0823529411765,0.521568627451}
+\definecolor{mediumvioletred}{rgb}{0.780392156863,0.0823529411765,0.521568627451}
+\definecolor{MidnightBlue}{rgb}{0.0980392156863,0.0980392156863,0.439215686275}
+\definecolor{midnightblue}{rgb}{0.0980392156863,0.0980392156863,0.439215686275}
+\definecolor{MintCream}{rgb}{0.960784313725,1.0,0.980392156863}
+\definecolor{mintcream}{rgb}{0.960784313725,1.0,0.980392156863}
+\definecolor{MistyRose}{rgb}{1.0,0.894117647059,0.882352941176}
+\definecolor{mistyrose}{rgb}{1.0,0.894117647059,0.882352941176}
+\definecolor{Moccasin}{rgb}{1.0,0.894117647059,0.709803921569}
+\definecolor{moccasin}{rgb}{1.0,0.894117647059,0.709803921569}
+\definecolor{NavajoWhite}{rgb}{1.0,0.870588235294,0.678431372549}
+\definecolor{navajowhite}{rgb}{1.0,0.870588235294,0.678431372549}
+\definecolor{Navy}{rgb}{0.0,0.0,0.501960784314}
+\definecolor{navy}{rgb}{0.0,0.0,0.501960784314}
+\definecolor{OldLace}{rgb}{0.992156862745,0.960784313725,0.901960784314}
+\definecolor{oldlace}{rgb}{0.992156862745,0.960784313725,0.901960784314}
+\definecolor{Olive}{rgb}{0.501960784314,0.501960784314,0.0}
+\definecolor{olive}{rgb}{0.501960784314,0.501960784314,0.0}
+\definecolor{OliveDrab}{rgb}{0.419607843137,0.556862745098,0.137254901961}
+\definecolor{olivedrab}{rgb}{0.419607843137,0.556862745098,0.137254901961}
+\definecolor{Orange}{rgb}{1.0,0.647058823529,0.0}
+\definecolor{orange}{rgb}{1.0,0.647058823529,0.0}
+\definecolor{OrangeRed}{rgb}{1.0,0.270588235294,0.0}
+\definecolor{orangered}{rgb}{1.0,0.270588235294,0.0}
+\definecolor{Orchid}{rgb}{0.854901960784,0.439215686275,0.839215686275}
+\definecolor{orchid}{rgb}{0.854901960784,0.439215686275,0.839215686275}
+\definecolor{PaleGoldenRod}{rgb}{0.933333333333,0.909803921569,0.666666666667}
+\definecolor{palegoldenrod}{rgb}{0.933333333333,0.909803921569,0.666666666667}
+\definecolor{PaleGreen}{rgb}{0.596078431373,0.98431372549,0.596078431373}
+\definecolor{palegreen}{rgb}{0.596078431373,0.98431372549,0.596078431373}
+\definecolor{PaleTurquoise}{rgb}{0.686274509804,0.933333333333,0.933333333333}
+\definecolor{paleturquoise}{rgb}{0.686274509804,0.933333333333,0.933333333333}
+\definecolor{PaleVioletRed}{rgb}{0.847058823529,0.439215686275,0.576470588235}
+\definecolor{palevioletred}{rgb}{0.847058823529,0.439215686275,0.576470588235}
+\definecolor{PapayaWhip}{rgb}{1.0,0.937254901961,0.835294117647}
+\definecolor{papayawhip}{rgb}{1.0,0.937254901961,0.835294117647}
+\definecolor{PeachPuff}{rgb}{1.0,0.854901960784,0.725490196078}
+\definecolor{peachpuff}{rgb}{1.0,0.854901960784,0.725490196078}
+\definecolor{Peru}{rgb}{0.803921568627,0.521568627451,0.247058823529}
+\definecolor{peru}{rgb}{0.803921568627,0.521568627451,0.247058823529}
+\definecolor{Pink}{rgb}{1.0,0.752941176471,0.796078431373}
+\definecolor{pink}{rgb}{1.0,0.752941176471,0.796078431373}
+\definecolor{Plum}{rgb}{0.866666666667,0.627450980392,0.866666666667}
+\definecolor{plum}{rgb}{0.866666666667,0.627450980392,0.866666666667}
+\definecolor{PowderBlue}{rgb}{0.690196078431,0.878431372549,0.901960784314}
+\definecolor{powderblue}{rgb}{0.690196078431,0.878431372549,0.901960784314}
+\definecolor{Purple}{rgb}{0.501960784314,0.0,0.501960784314}
+\definecolor{purple}{rgb}{0.501960784314,0.0,0.501960784314}
+\definecolor{Red}{rgb}{1.0,0.0,0.0}
+%\definecolor{red}{rgb}{1.0,0.0,0.0}
+\definecolor{RosyBrown}{rgb}{0.737254901961,0.560784313725,0.560784313725}
+\definecolor{rosybrown}{rgb}{0.737254901961,0.560784313725,0.560784313725}
+\definecolor{RoyalBlue}{rgb}{0.254901960784,0.411764705882,0.882352941176}
+\definecolor{royalblue}{rgb}{0.254901960784,0.411764705882,0.882352941176}
+\definecolor{SaddleBrown}{rgb}{0.545098039216,0.270588235294,0.0745098039216}
+\definecolor{saddlebrown}{rgb}{0.545098039216,0.270588235294,0.0745098039216}
+\definecolor{Salmon}{rgb}{0.980392156863,0.501960784314,0.447058823529}
+\definecolor{salmon}{rgb}{0.980392156863,0.501960784314,0.447058823529}
+\definecolor{SandyBrown}{rgb}{0.956862745098,0.643137254902,0.376470588235}
+\definecolor{sandybrown}{rgb}{0.956862745098,0.643137254902,0.376470588235}
+\definecolor{SeaGreen}{rgb}{0.180392156863,0.545098039216,0.341176470588}
+\definecolor{seagreen}{rgb}{0.180392156863,0.545098039216,0.341176470588}
+\definecolor{SeaShell}{rgb}{1.0,0.960784313725,0.933333333333}
+\definecolor{seashell}{rgb}{1.0,0.960784313725,0.933333333333}
+\definecolor{Sienna}{rgb}{0.627450980392,0.321568627451,0.176470588235}
+\definecolor{sienna}{rgb}{0.627450980392,0.321568627451,0.176470588235}
+\definecolor{Silver}{rgb}{0.752941176471,0.752941176471,0.752941176471}
+\definecolor{silver}{rgb}{0.752941176471,0.752941176471,0.752941176471}
+\definecolor{SkyBlue}{rgb}{0.529411764706,0.807843137255,0.921568627451}
+\definecolor{skyblue}{rgb}{0.529411764706,0.807843137255,0.921568627451}
+\definecolor{SlateBlue}{rgb}{0.41568627451,0.352941176471,0.803921568627}
+\definecolor{slateblue}{rgb}{0.41568627451,0.352941176471,0.803921568627}
+\definecolor{SlateGray}{rgb}{0.439215686275,0.501960784314,0.564705882353}
+\definecolor{slategray}{rgb}{0.439215686275,0.501960784314,0.564705882353}
+\definecolor{Snow}{rgb}{1.0,0.980392156863,0.980392156863}
+\definecolor{snow}{rgb}{1.0,0.980392156863,0.980392156863}
+\definecolor{SpringGreen}{rgb}{0.0,1.0,0.498039215686}
+\definecolor{springgreen}{rgb}{0.0,1.0,0.498039215686}
+\definecolor{SteelBlue}{rgb}{0.274509803922,0.509803921569,0.705882352941}
+\definecolor{steelblue}{rgb}{0.274509803922,0.509803921569,0.705882352941}
+\definecolor{Tan}{rgb}{0.823529411765,0.705882352941,0.549019607843}
+\definecolor{tan}{rgb}{0.823529411765,0.705882352941,0.549019607843}
+\definecolor{Teal}{rgb}{0.0,0.501960784314,0.501960784314}
+\definecolor{teal}{rgb}{0.0,0.501960784314,0.501960784314}
+\definecolor{Thistle}{rgb}{0.847058823529,0.749019607843,0.847058823529}
+\definecolor{thistle}{rgb}{0.847058823529,0.749019607843,0.847058823529}
+\definecolor{Tomato}{rgb}{1.0,0.388235294118,0.278431372549}
+\definecolor{tomato}{rgb}{1.0,0.388235294118,0.278431372549}
+\definecolor{Turquoise}{rgb}{0.250980392157,0.878431372549,0.81568627451}
+\definecolor{turquoise}{rgb}{0.250980392157,0.878431372549,0.81568627451}
+\definecolor{Violet}{rgb}{0.933333333333,0.509803921569,0.933333333333}
+\definecolor{violet}{rgb}{0.933333333333,0.509803921569,0.933333333333}
+\definecolor{Wheat}{rgb}{0.960784313725,0.870588235294,0.701960784314}
+\definecolor{wheat}{rgb}{0.960784313725,0.870588235294,0.701960784314}
+\definecolor{White}{rgb}{1.0,1.0,1.0}
+%\definecolor{white}{rgb}{1.0,1.0,1.0}
+\definecolor{WhiteSmoke}{rgb}{0.960784313725,0.960784313725,0.960784313725}
+\definecolor{whitesmoke}{rgb}{0.960784313725,0.960784313725,0.960784313725}
+\definecolor{Yellow}{rgb}{1.0,1.0,0.0}
+%\definecolor{yellow}{rgb}{1.0,1.0,0.0}
+\definecolor{YellowGreen}{rgb}{0.603921568627,0.803921568627,0.196078431373}
+\definecolor{yellowgreen}{rgb}{0.603921568627,0.803921568627,0.196078431373}
+
+\definecolor{shadecolor}{gray}{0.9}
+\definecolor{mydarkgreen}{rgb}{0.0,0.5625,0.0} 
+
diff --git a/document/headers/formattings.tex b/document/headers/formattings.tex
new file mode 100644
--- /dev/null
+++ b/document/headers/formattings.tex
@@ -0,0 +1,31 @@
+% PDF-Links vorbereiten
+\hypersetup{%a5paper,
+	linkcolor=black,     % Für Links in der gleichen Seite
+	urlcolor=black,      % Für Links auf URLs
+	breaklinks=true,    % Links dürfen umgebrochen werden
+	colorlinks=false,
+	citebordercolor=0 0 0,  % Farbe für \cite
+	filebordercolor=0 0 0,
+	linkbordercolor=0 0 0,
+	menubordercolor=0 0 0,
+	urlbordercolor=0 0 0,
+	pdfhighlight=/I,
+	pdfborder=0 0 0,   % keine Box um die Links!
+	bookmarksopen=true,
+	bookmarksnumbered=true,
+	frenchlinks=false
+}
+
+% nicht zu viele Silbentrennungen
+\sloppy
+
+
+% Waisen, Hurenkinder
+\clubpenalty = 10000
+\widowpenalty = 10000 
+\displaywidowpenalty = 10000
+
+
+% verschiedene Einstellungen
+\addtolength{\skip\footins}{2ex} % Länge zwischen Fußnotenbereich und Text
+
diff --git a/document/headers/hyphenation.tex b/document/headers/hyphenation.tex
new file mode 100644
--- /dev/null
+++ b/document/headers/hyphenation.tex
@@ -0,0 +1,36 @@
+\hyphenation{NASA}
+\hyphenation{Unter-schenkel-vorder-innen-seite}
+\hyphenation{Unter-schenkel-vorder-au\ss en-seite}
+\hyphenation{Auge}
+\hyphenation{ohne}
+\hyphenation{eine}
+\hyphenation{come}
+\hyphenation{zero}
+\hyphenation{also}
+\hyphenation{five}
+\hyphenation{many}
+\hyphenation{copy}
+\hyphenation{year}
+\hyphenation{same}
+\hyphenation{make}
+\hyphenation{time}
+\hyphenation{made}
+\hyphenation{glei-che}
+\hyphenation{Zucker-wasser}
+\hyphenation{Makro-phagen-stimulation}
+\hyphenation{Revo-lution}
+\hyphenation{Reich}
+\hyphenation{Gebiet}
+\hyphenation{ethnische}
+\hyphenation{Sow-jet-uni-on}
+\hyphenation{NATO}
+\hyphenation{Amts-sprache}
+\hyphenation{Amts-sprachen}
+\hyphenation{Otto}
+\hyphenation{Ab-sorptions-ko-effizient}
+\hyphenation{Reich}
+\hyphenation{Trier}
+\hyphenation{Butter-worth}
+\hyphenation{Rausch-unter-dr\"uckung}
+
+
diff --git a/document/headers/imageheader.tex b/document/headers/imageheader.tex
new file mode 100644
--- /dev/null
+++ b/document/headers/imageheader.tex
@@ -0,0 +1,36 @@
+\begin{small}
+Auf den folgenden Seiten stehen für alle Bilder die Quellen, Autoren und Lizenzen. Das Verzeichnis wurde erstellt mit Hilfe der \myhref{http://de.wikipedia.org/wiki/MediaWiki}{Wikimedia-Software} und an Layout und Gliederung dieses Buches angepasst.
+
+Zu den Lizenzen gibt es hier weitere Informationen:
+
+\begin{itemize}
+\item GNU Free Documentation License (GFDL). Text dieser Lizenz: \newline{}\url{http://www.gnu.org/licenses/old-licenses/gpl-1.0.txt}
+
+\item GNU General Public License Version 2 (GPL). Text dieser Lizenz: \newline{}\url{http://www.gnu.org/licenses/gpl-2.0.txt} 
+
+\item Creative Commons Attribution ShareAlike 1.0 License (cc-by-sa-1.0). Text dieser Lizenz: \newline{}\url{http://creativecommons.org/licenses/by-sa/1.0/} 
+
+\item Creative Commons Attribution ShareAlike 2.0 License (cc-by-sa-2.0). Damit werden auch die Versionen f\"ur andere Sprachen bezeichnet. Text der englischen Version: \newline{}\url{http://creativecommons.org/licenses/by-sa/2.0/}
+
+\item Creative Commons Attribution ShareAlike 2.5 License (cc-by-sa-2.5). Text dieser Lizenz:\newline{}\url{http://creativecommons.org/licenses/by-sa/2.5/}
+
+\item Creative Commons Attribution ShareAlike 3.0 License (cc-by-sa-3.0). Text dieser Lizenz:\newline{}\url{http://creativecommons.org/licenses/by-sa/3.0/}
+
+\item Creative Commons Attribution 2.0 License (cc-by-2.0). Damit werden auch die Versionen f\"ur andere Sprachen bezeichnet. Text der englischen Version:\newline{}\url{http://creativecommons.org/licenses/by/2.0/}
+
+\item Creative Commons Attribution 2.5 License (cc-by-2.5). Text dieser Lizenz:\newline{}\url{http://creativecommons.org/licenses/by/2.5/deed.en}
+
+\item Creative Commons Attribution 3.0 License (cc-by-3.0). Text dieser Lizenz:\newline{}\url{http://creativecommons.org/licenses/by/2.5/deed.en}
+
+\item Public Domain (PD): This image is in the public domain. Dieses Bild ist gemeinfrei.
+
+\item ATTR:  The copyright holder of this file allows anyone to use it for any purpose, provided that the copyright holder is properly attributed. Redistribution, derivative work, commercial use, and all other use is permitted. 
+
+\item EURO: This is the common (reverse) face of a euro coin. The copyright on the design of the common face of the euro coins belongs to the European Commission. Authorised is reproduction in a format without relief (drawings, paintings, films) provided they are not detrimental to the image of the euro.
+\end{itemize}
+
+Den an weiteren Einzelheiten interessierten Leser verweisen wir auf die Onlineversion dieses Buches und die Beschreibungsseiten der Dateien.
+
+\end{small}
+
+\pagebreak
diff --git a/document/headers/license.tex b/document/headers/license.tex
new file mode 100644
--- /dev/null
+++ b/document/headers/license.tex
@@ -0,0 +1,21 @@
+\chapter{Zu diesem Buch}
+\section{Hinweise zu den Lizenzen}
+\label{Lizenzhinweise}
+
+Dieses Werk ist entstanden bei \myhref{http://de.wikibooks.org/wiki/Einf\%C3\%BChrung_in_SQL}{Wikibooks}, einer Online-Bibliothek im Internet mit Lehr-, Sach- und Fachbüchern. Jeder kann und darf diese Bücher frei nutzen und bearbeiten. Alle Inhalte stehen unter den Lizenzen „Creative Commons Attribution/Share-Alike“ (CC-BY-SA 3.0) und GNU-Lizenz für freie Dokumentation (GFDL). 
+
+Das Konvertierungsprogramm \myhref{http://de.wikibooks.org/wiki/Benutzer:Dirk_Huenniger/wb2pdf}{wb2pdf} steht unter GNU General Public License (GPL).
+
+Das Textsatzprogramm \myhref{http://de.wikipedia.org/wiki/LaTeX} {\LaTeX{}} steht unter der LaTeX Project Public License (LPPL).
+
+Hinweise zur Nutzung und für Zitate sind zu finden unter:
+\begin{itemize}
+\item Originalversion der Lizenz CC-BY-SA 3.0 \newline \url{http://creativecommons.org/licenses/by-sa/3.0}
+\item Deutsche Version der Lizenz mit Ergänzungen \newline{} \url{http://creativecommons.org/licenses/by-sa/3.0/deed.de}
+\item Originalversion der Lizenz GFDL \newline{} \url{http://www.gnu.org/copyleft/fdl.html}
+\item Originalversion der Lizenz GPL \newline{} \url{http://www.gnu.org/licenses/gpl-3.0.html}
+\item Version der LaTeX PPL \newline{} \url{http://www.opensource.org/licenses/lppl}
+\item Nutzungsbedingungen der Wikimedia Foundation (deutsch) \newline{} \url{http://wikimediafoundation.org/wiki/Nutzungsbedingungen}
+\item Zitieren aus Wikibooks \newline{} \url{http://de.wikibooks.org/wiki/Hilfe:Zitieren#Zitieren_aus_Wikibooks}
+\end{itemize}
+
diff --git a/document/headers/options.tex b/document/headers/options.tex
new file mode 100644
--- /dev/null
+++ b/document/headers/options.tex
@@ -0,0 +1,113 @@
+% Festlegungen für minitoc
+% \renewcommand{\myminitoc}{\minitoc}
+% \renewcommand{\mtctitle}{Überblick}
+% \setcounter{minitocdepth}{1}
+% \dominitoc   % diese Zeile aktiviert das Erstellen der minitocs, sie muss vor \tableofcontents kommen
+
+% Seitenformat
+% ------------
+%\KOMAoption{paper}{A5}          % zulässig: letter, legal, executive; A-, B-, C-, D-Reihen
+\KOMAoption{open}{right}			% zulässig: right (jedes Kapitel beginnt rechts), left, any
+\KOMAoption{numbers}{auto}
+% Satzspiegel jetzt neu berechnen, damit er bei Kopf- und Fußzeilen beachtet wird
+\KOMAoptions{DIV=13}
+
+% Kopf- und Fusszeilen
+% --------------------
+% Breite und Trennlinie
+%\setheadwidth[-6mm]{textwithmarginpar}
+%\setheadsepline[textwithmarginpar]{0.4pt}
+\setheadwidth{text}
+\setheadsepline[text]{0.4pt}
+
+% Variante 1: Kopf: links Kapitel, rechts Abschnitt (ohne Nummer); Fuß: außen die Seitenzahl
+\ohead{\headmark}
+\renewcommand{\chaptermark}[1]{\markleft{#1}{}}
+\renewcommand{\sectionmark}[1]{\markright{#1}{}}
+\ofoot[\pagemark]{\pagemark}
+
+% Variante 2: Kopf außen die Seitenzahl, Fuß nichts
+%\ohead{\pagemark}
+%\ofoot{}
+
+% Standardschriften
+% -----------------
+%\KOMAoption{fontsize}{18pt}
+\addtokomafont{disposition}{\rmfamily}
+\addtokomafont{title}{\rmfamily} 
+\setkomafont{pageheadfoot}{\normalfont\rmfamily\mdseries}
+
+% vertikaler Ausgleich
+% -------------------- 
+% nein -> \raggedbottom
+% ja   -> \flushbottom    aber ungeeignet bei Fußnoten
+%\raggedbottom
+\flushbottom
+
+% Tiefe des Inhaltsverzeichnisses bestimmen
+% -----------------------------------------
+% -1   nur \part{}
+%  0   bis \chapter{}
+%  1   bis \section{}
+%  2   bis \subsection{} usw.
+\newcommand{\mytocdepth}{1}
+
+% mypart - Teile des Buches und Inhaltsverzeichnis
+% ------------------------------------------------
+% Standard: nur im Inhaltsverzeichnis, zusätzlicher Eintrag ohne Seitenzahl
+% Variante: nur im Inhaltsverzeichnis, zusätzlicher Eintrag mit Seitenzahl 
+%\renewcommand{\mypart}[1]{\addcontentsline{toc}{part}{#1}}
+% Variante: mit eigener Seite vor dem ersten Kapitel, mit Eintrag und Seitenzahl im Inhaltsverzeichnis
+\renewcommand{\mypart}[1]{\part{#1}}
+
+
+% maketitle
+% -----------------------------------------------
+% Bestandteile des Innentitels
+%\title{Einführung in SQL}
+%\author{Jürgen Thomas}
+%\subtitle{Datenbanken bearbeiten}
+\date{}
+% Bestandteile von Impressum und CR
+% Bestandteile von Impressum und CR
+
+\uppertitleback{
+%Detaillierte Daten zu dieser Publikation sind bei Wikibooks zu erhalten:\newline{} \url{http://de.wikibooks.org/}
+%Diese Publikation ist bei der Deutschen Nationalbibliothek registriert. Detaillierte Daten sind im Internet  zu erhalten: \newline{}\url{https://portal.d-nb.de/opac.htm?method=showSearchForm#top}
+%Diese Publikation ist bei der Deutschen Nationalbibliothek registriert. Detaillierte Daten sind im Internet unter der Katalog-Nr. 1008575860 zu erhalten: \newline{}\url{http://d-nb.info/1008575860}
+
+%Namen von Programmen und Produkten sowie sonstige Angaben sind häufig geschützt. Da es auch freie Bezeichnungen gibt, wird das Symbol \textregistered{} nicht verwendet.
+
+%Erstellt am 
+\today{}
+}
+
+\lowertitleback{
+{\footnotesize
+On the 28th of April 2012 the contents of the English as well as German Wikibooks and Wikipedia projects were licensed under Creative Commons Attribution-ShareAlike 3.0 Unported license.
+A URI to this license is given in the list of figures on page \pageref{ListOfFigures}.
+If this document is a derived work from the contents of one of these projects and the content was still licensed by the project under this license at the time of derivation this document has to be licensed under the same, a similar or a compatible license, as stated in section 4b of the license.
+The list of contributors is included in chapter Contributors on page \pageref{Contributors}.
+The licenses GPL, LGPL and GFDL are included in chapter Licenses on page \pageref{Licenses}, since this book and/or parts of it may or may not be licensed under one or more of these licenses, and thus require inclusion of these licenses.
+The licenses of the figures are given in the list of figures on page \pageref{ListOfFigures}.
+This PDF was generated by the \LaTeX{} typesetting  software.
+The \LaTeX{} source code is included as an attachment ({\tt source.7z.txt}) in this PDF file.
+To extract the source from the PDF file, you can use the \texttt{pdfdetach} tool
+including in the \texttt{poppler} suite, or the
+\url{http://www.pdflabs.com/tools/pdftk-the-pdf-toolkit/} utility.
+Some PDF viewers may also let you save the attachment to a file.
+After extracting it from the PDF file you have to rename it to {\tt source.7z}.
+To uncompress the resulting archive we recommend the use of \url{http://www.7-zip.org/}.
+The \LaTeX{} source itself was generated by a program written by Dirk Hünniger, which is freely available under an open source license from \url{http://de.wikibooks.org/wiki/Benutzer:Dirk_Huenniger/wb2pdf}.
+}}
+
+
+\renewcommand{\mysubtitle}[1]{}
+\renewcommand{\mymaintitle}[1]{}
+\renewcommand{\myauthor}[1]{}
+
+\newenvironment{myshaded}{%
+  \def\FrameCommand{ \hskip-2pt \fboxsep=\FrameSep \colorbox{shadecolor}}%
+  \MakeFramed {\advance\hsize-\width \FrameRestore}}%
+ {\endMakeFramed}
+
diff --git a/document/headers/packages1.tex b/document/headers/packages1.tex
new file mode 100644
--- /dev/null
+++ b/document/headers/packages1.tex
@@ -0,0 +1,17 @@
+% Standard für Formatierung
+%\usepackage[utf8]{inputenc} % use \usepackage[utf8]{inputenc} for tex4ht
+\usepackage[usenames]{color}
+\usepackage{textcomp} 
+\usepackage{parskip} 
+\usepackage[normalem]{ulem}
+\usepackage[unicode=true]{hyperref}
+\usepackage{tocstyle}
+\usepackage[defblank]{paralist}
+\usepackage{trace}
+% Minitoc
+%\usepackage{minitoc}
+
+% Keystroke
+\usepackage{keystroke}
+
+
diff --git a/document/headers/packages2.tex b/document/headers/packages2.tex
new file mode 100644
--- /dev/null
+++ b/document/headers/packages2.tex
@@ -0,0 +1,57 @@
+% für Zeichensätze
+
+
+%replacemnt for pslatex
+\usepackage{mathptmx}
+\usepackage[scaled=.92]{helvet}
+\usepackage{courier}
+
+
+\usepackage[T1]{fontenc} % disable this line for tex4ht
+
+% für Tabellen
+\usepackage{multirow}
+\usepackage{multicol}
+\usepackage{array,ragged2e}
+\usepackage{longtable}
+
+% für Kopf- und Fußzeilen, Fußnoten
+\usepackage{scrpage2}
+\usepackage{footnote}
+
+% für Rahmen
+\usepackage{verbatim}
+\usepackage{framed}
+
+% für Symbole
+\usepackage{amsmath}
+\usepackage{amssymb}
+\usepackage{amsfonts}
+
+\usepackage{pifont}
+\usepackage{marvosym}
+\let\Cross\undefined 
+\usepackage{fourier-orns}  % disable this line for tex4ht   % für weitere Logos, z.B. \danger
+
+% für Grafik-Einbindung
+\usepackage[pdftex]{graphicx}
+\usepackage{wasysym}
+\let\Square\undefined 
+
+% unklare Verwendung
+\usepackage{bbm}
+\usepackage{skull}
+
+%arabtex
+\usepackage[T1]{tipa}  % disable this line for tex4ht
+
+\usepackage{fancyvrb}
+\usepackage{bbding} 
+\usepackage{textcomp}
+\usepackage[table]{xcolor}
+%\usepackage{microtype} disabled for xelatex
+\usepackage{lscape}
+\usepackage{tocstyle}
+\usepackage{amsthm}
+\usepackage{index}
+\makeindex
diff --git a/document/headers/templates-chemie.tex b/document/headers/templates-chemie.tex
new file mode 100644
--- /dev/null
+++ b/document/headers/templates-chemie.tex
@@ -0,0 +1,46 @@
+\newcommand{\TemplateEnergieerhaltung}[1]{
+\begin{longtable}{|>{\RaggedRight}p{\linewidth}|} \hline
+{\bfseries Gesetz von der Erhaltung der Energie}\\ \hline
+{\bfseries Albert Einstein (14.3. 1879 - 18.4.1955)}: Umwandlung von Energie in Masse und von Masse in Energie ist möglich.\\ 
+$E = m \cdot c^2$ (c = Lichtgeschwindigkeit = 300.000 km/s)\\ \hline
+{\bfseries 
+Bei einer chemischen Reaktion ist die Summe aus Masse und Energie der Ausgangsstoffe gleich der Summe aus Masse und Energie der Endstoffe.
+}\\\hline
+Wird Energie frei, tritt ein unwägbar kleiner Massenverlust auf. Wird Energie investiert, tritt Massenzunahme auf. Dieses kann allerdings mit herkömmlichen Waagen nicht gemessen werden. \\ \hline
+\end{longtable}
+}
+
+\newcommand{\TemplatePeriodensystem}[1]{
+Hier sollte das Periodensystem stehen. Ein solches wird sehr wahrscheinlich von Orlando Camargo Rodriguez frei zur Verfügung gestellt werden. Dateiname: tabela_periodica.tex ist bereits online. Lizenz aber noch nicht genau genug definiert.
+}
+
+\newcommand{\TemplateMassenerhaltung}[1]{
+\begin{longtable}{|>{\RaggedRight}p{\linewidth}|} \hline
+{\bfseries Gesetz von der Erhaltung der Masse}\\ \hline
+{\bfseries Antoine Lavoisier (1743 - 1794)}: Rien ne se perd, rien ne se crée\\ 
+Die Gesamtmasse ändert sich bei chemischen Reaktionen (im Rahmen der Messgenauigkeiten) nicht.\\ \hline
+Masse der Ausgangsstoffe=Masse der Produkte \\ \hline
+\end{longtable}
+}
+
+\newcommand{\TemplateDaltonsAtomhyposthese}[1]{
+\begin{longtable}{|>{\RaggedRight}p{\linewidth}|} \hline
+\begin{enumerate}
+\item Materie besteht aus extrem kleinen, bei Reaktion ungeteilt bleibenden Teilchen, den Atomen.
+\item Die Masse der Atome eines bestimmten Elements sind gleich (alle Atome eines Elements sind gleich). Die Atome verschiedener Elemente unterscheiden sich in ihren Eigenschaften (zum Beispiel in Größe, Masse, usw.).
+\item Es existieren so viele Atomsorten wie Elemente.
+\item Bei chemischen Reaktionen werden Atome in neuer Kombination vereinigt oder voneinander getrennt.
+\item Eine bestimmte Verbindung wird von den Atomen der betreffenden Elemente in einem bestimmten, einfachen Zahlenverhältnis gebildet.
+\end{enumerate}
+\\ \hline
+\end{longtable}
+}
+
+\newcommand{\TemplateUnveraenderlicheMassenverhaeltnisse}[1]{
+\begin{longtable}{|>{\RaggedRight}p{\linewidth}|} \hline
+{\bfseries Gesetz der unveränderlichen Massenverhältnisse}\\ \hline
+Louis Proust (1799) \\ \hline
+Bei chemischen Reaktionen, also Vereinigung beziehungsweise Zersetzung, reagieren die Reinstoffe immer in einem von der Natur vorgegebenen festen Verhältnis miteinander.
+\\ \hline
+\end{longtable}
+}
diff --git a/document/headers/templates-dirk.tex b/document/headers/templates-dirk.tex
new file mode 100644
--- /dev/null
+++ b/document/headers/templates-dirk.tex
@@ -0,0 +1,54 @@
+\newenvironment{TemplateCodeInside}[6]
+{
+\def\leftbox{#5}
+\def\rightbox{}
+\def\framecolor{shadecolor}
+\ifstr{#4}{e}{ \def\framecolor{red} 
+               \def\rightbox{Falsch} } {}
+\ifstr{#4}{v}{ \def\framecolor{mydarkgreen} 
+               \def\rightbox{Richtig} } {}
+
+\begin{scriptsize}
+\begin{framed} 
+\ttfamily
+
+\ifstr{\leftbox} {} {
+  % Ausgabe nur, wenn rechte Box Inhalt hat, dann links mit Standardtext
+  \ifstr{\rightbox}{}{}
+  { \fbox{Quelltext} \hfill \textbf{\color{\framecolor} \fcolorbox{black}{white}{\rightbox} }
+  }
+} {
+\fbox{\leftbox}
+% und bei Bedarf zusätzlich rechts die zweite Box
+  \ifstr{\rightbox}{}{}
+  { \hfill \textbf{\color{\framecolor} \fcolorbox{black}{white}{\rightbox} }
+  } 
+}
+
+\begin{flushleft}
+}  % Ende der begin-Anweisungen, es folgen die end-Anweisungen
+{\end{flushleft}\end{framed}\end{scriptsize} }
+
+\newcommand{\TemplateCode}[9]
+% **************************************************
+{
+
+\ifstr{#1}{}{~}{
+\minisec{\normalfont \scriptsize \centering \textbf{\textit{#1}} \medskip } }
+
+\begin{scriptsize}
+
+% Code-Abschnitt mit #4
+\begin{TemplateCodeInside} {} {0pt} {0pt} {#3} {#5} {}
+#6
+\end{TemplateCodeInside}
+
+% Ausgabetext mit #4
+#4
+ 
+% #2   Fußzeile ausgeben, sofern vorgesehen
+\ifstr{#2} {} {} { \centering \textit{#2} \medskip \\ } 
+
+\end{scriptsize}
+}
+
diff --git a/document/headers/templates.tex b/document/headers/templates.tex
new file mode 100644
--- /dev/null
+++ b/document/headers/templates.tex
@@ -0,0 +1,724 @@
+\newcommand{\LaTeXJa}{Ja}
+\newcommand{\LaTeXNein}{Nein}
+\newcommand{\wbtempcolora}{white}
+\newcommand{\wbtempcolorb}{white}
+\newcommand{\wbtempcolorc}{white}
+\newcommand{\wbtemptexta}{}
+\newcommand{\wbtemptextb}{}
+\newcommand{\wbtemptextc}{}
+\newlength{\wbtemplengtha}
+\setlength{\wbtemplengtha}{0pt}
+\newlength{\wbtemplengthb}
+\setlength{\wbtemplengthb}{0pt}
+\newlength{\wbtemplengthc}
+\setlength{\wbtemplengthc}{0pt}
+\newlength{\wbtemplengthd}
+\setlength{\wbtemplengthd}{0pt}
+\newlength{\wbtemplengthe}
+\setlength{\wbtemplengthe}{0pt}
+\newcount\wbtempcounta
+\wbtempcounta=0
+\newcount\wbtempcountb
+\wbtempcountb=0
+\newcount\wbtempcountc
+\wbtempcountc=0
+
+\newcommand{\CPPAuthorsTemplate}[4]{
+\LaTeXZeroBoxTemplate{
+The following people are authors to this book:
+
+#3
+
+You can verify who has contributed to this book by examining the history logs at Wikibooks (http://en.wikibooks.org/).
+
+Acknowledgment is given for using some contents from other works like #1, as from the authors #2.
+
+The above authors release their work under the following license:
+
+This work is licensed under the Creative Commons Attribution-Share Alike 3.0 Unported license. In short: you are free to share and to make derivatives of this work under the conditions that you appropriately attribute it, and that you only distribute it under the same, similar or a compatible license. Any of the above conditions can be waived if you get permission from the copyright holder.
+Unless otherwise noted, #4 used in this book have their own copyright, may use different licenses than the one used here, and were not created by the above authors. The authors, contributors, and licenses used should be acknowledged separately.}
+}
+
+
+\newcommand{\tlTemplate}[1]{{\{\{{\ttfamily #1}\}\}}}
+
+\newcommand{\matrixdimTemplate}[1]{
+\definecolor{shadecolor}{gray}{0.9}
+\begin{myshaded}
+{\bfseries Matrix Dimensions: }\\
+A: $p \times p$ \\
+B:  $p \times q$\\
+C:  $r \times p$\\
+D:  $r \times q$\\
+\end{myshaded}
+}
+
+\newcommand{\matlabTemplate}[1]{
+\definecolor{shadecolor}{gray}{0.9}
+\begin{myshaded}
+This operation can be performed using this MATLAB command:
+{\ttfamily #1}
+\end{myshaded}}
+
+\newcommand{\PrintUnitPage}[3]{\pagebreak
+\begin{flushleft}
+{\bfseries \Large #1}
+\end{flushleft}
+
+\begin{longtable}{>{\RaggedRight}p{0.5\linewidth}>{\RaggedRight}p{0.5\linewidth}}
+& #2
+\end{longtable}}
+
+\newcommand{\LaTeXCodeTipTemplate}[3]{
+
+\definecolor{shadecolor}{gray}{0.9}
+\begin{myshaded}
+#1 \\
+#2 \\
+#3
+\end{myshaded}
+}
+
+\newcommand{\DisassemblySyntax}[1]{
+
+\definecolor{shadecolor}{gray}{0.9}
+\begin{myshaded}
+This code example uses #1 Syntax
+\end{myshaded}}
+
+
+\newcommand{\LaTeXDeutschTemplate}[1]{ {\bfseries deutsch:} #1 }
+
+
+
+\newcommand{\LaTeXNullTemplate}[1]{}
+\newcommand{\LatexSymbol}[1]{\LaTeX}
+
+\newcommand{\LaTeXDoubleBoxTemplate}[2]{
+
+\begin{minipage}{\linewidth}\definecolor{shadecolor}{gray}{0.9}\begin{myshaded}{\bfseries #1} \\
+#2
+\end{myshaded}
+\end{minipage}
+
+}
+
+
+\newcommand{\LaTeXSimpleBoxTemplate}[2]{
+{\bfseries #1} \\
+#2
+}
+
+\newcommand{\SolutionBoxTemplate}[2]{
+#2
+}
+
+
+\newcommand{\LaTeXDoubleBoxOpenTemplate}[2]{
+
+\definecolor{shadecolor}{gray}{0.9}\begin{myshaded}{\bfseries #1} \\
+#2
+\end{myshaded}
+
+}
+
+
+\newcommand{\LaTeXLatinExcerciseTemplate}[3]{
+
+\definecolor{shadecolor}{gray}{0.9}\begin{myshaded}{\bfseries Excercise: #1} \\
+#2 \\
+{\bfseries Solution}
+#3
+\end{myshaded}
+
+}
+
+
+\newcommand{\LaTeXShadedColorBoxTemplate}[2]{
+{\linewidth}#1\begin{myshaded}
+#2
+\end{myshaded}
+}
+
+\newcommand{\PGP}[1]{PGP:#1}
+
+
+\newcommand{\DETAILS}[1]{For more details on this topic, see #1}
+
+\newcommand{\ADAFile}[1]{\LaTeXZeroBoxTemplate{File: #1}}
+\newcommand{\ADASample}[1]{\LaTeXZeroBoxTemplate{This code sample is also available in #1}}
+
+
+\newcommand{\LaTeXZeroBoxTemplate}[1]{
+\begin{minipage}{\linewidth}\definecolor{shadecolor}{gray}{0.9}\begin{myshaded}
+#1
+\end{myshaded}
+\end{minipage}
+}
+
+\newcommand{\LaTeXZeroBoxOpenTemplate}[1]{
+\definecolor{shadecolor}{gray}{0.9}\begin{myshaded}
+#1
+\end{myshaded}
+}
+
+\newcommand{\PDFLink}[1]{
+\textbf{PDF} #1
+}
+
+\newcommand{\Lysippos}[1]{Lysippos}
+
+
+\newcommand{\SonnensystemFakten}[3]{
+#1 \\
+\definecolor{shadecolor}{gray}{0.9}\begin{myshaded}{\bfseries #2}  \\
+#3 \\
+\end{myshaded}
+}
+
+
+\newcommand{\VorlageReferenzenEintrag}[3]{
+\begin{longtable}{p{0.2\linewidth}p{0.8\linewidth}}
+
+{[\bfseries #1]} & {\itshape #2} #3 \\
+\end{longtable}
+
+}
+
+\newcommand{\MBOX}[2]{\definecolor{shadecolor}{gray}{0.9}
+\begin{myshaded}
+\begin{longtable}{p{0.2\linewidth}p{0.7\linewidth}}
+#1 & #2 \\
+\end{longtable}
+\end{myshaded}}
+
+
+
+\newcommand{\LaTeXIdentityTemplate}[1]{#1
+}
+
+\newcommand{\AdaRM}[3]{\myfnhref{http://www.adaic.org/resources/add_content/standards/05rm/html/RM-#1-#2.html}{#1.#2 #3}}
+
+\newcommand{\AdaEightThreeRM}[2]{\myfnhref{http://archive.adaic.com/standards/83lrm/html/lrm-#1.html}{Annex #1: #2}}
+
+\newcommand{\AdaRMThree}[4]{\myfnhref{http://www.adaic.org/resources/add_content/standards/05rm/html/RM-#1-#2-#3.html}{#1.#2.#3 #4}}
+
+\newcommand{\AdaRMAThree}[4]{\myfnhref{http://www.adaic.org/resources/add_content/standards/05rm/html/RM-#1-#2-#3.html}{Annex #1.#2.#3 #4}}
+
+\newcommand{\AdaRMATwo}[3]{\myfnhref{http://www.adaic.org/resources/add_content/standards/05rm/html/RM-#1-#2.html}{Annex #1.#2 #3}}
+
+
+
+
+
+\newcommand{\AdaNiveFiveRMThree}[4]{\myfnhref{http://www.adaic.org/resources/add_content/standards/95lrm/ARM_HTML/RM-#1-#2-#3.html}{#1.#2.#3 #4}}
+
+
+\newcommand{\AdaSGThree}[4]{\myfnhref{http://www.adaic.org/resources/add_content/docs/95style/html/sec_#1/#1-#2-#3.html}{#1.#2.#3 #4}}
+
+\newcommand{\AdaSGTwo}[3]{\myfnhref{http://www.adaic.org/resources/add_content/docs/95style/html/sec_#1/#1-#2.html}{#1.#2 #3}}
+
+
+\newcommand{\AdaSGOne}[2]{\myfnhref{http://www.adaic.org/resources/add_content/docs/95style/html/sec_#1/}{Chapter #1: #2}}
+
+
+
+\newcommand{\AdaRMNineFive}[3]{\myfnhref{http://www.adaic.org/resources/add_content/standards/95lrm/ARM_HTML/RM-#1-#2.html}{#1.#2 #3}}
+
+
+\newcommand{\AdaRMCiteFive}[7]{\myfnhref{http://www.adaic.org/resources/add_content/standards/05rm/html/RM-#1-#2-#3.html}{ISO/IEC 8652:2007. #1.#2.#3 #4 (#5). Ada 2005 Reference Manual. #7 }}
+
+
+\newcommand{\AdaTwentyZeroFive}[1]{{\itshape This language feature is only available in Ada 2005}}
+
+\newcommand{\ADANFAI}[2]{\myfnhref{http://www.ada-auth.org/cgi-bin/cvsweb.cgi/AIs/AI-00#1.TXT}{AI95-00#1-01 #2}}
+
+\newcommand{\ADARMAONE}[2]{\myfnhref{http://www.adaic.org/resources/add_content/standards/05rm/html/RM-#1.html}{Annex #1 #2}}
+
+\newcommand{\ADARMONE}[2]{\myfnhref{http://www.adaic.org/resources/add_content/standards/05rm/html/RM-#1.html}{Section #1: #2}}
+\newcommand{\ADANiveFiveRMONE}[2]{\myfnhref{http://www.adaic.org/resources/add_content/standards/95lrm/ARM_HTML/RM-#1.html}{Section #1: #2}}
+
+\newcommand{\AdaNiveFiveRMAThree}[4]{\myfnhref{http://www.adaic.org/resources/add_content/standards/95lrm/ARM_HTML/RM-#1-#2-#3.html}{Annex #1.#2-#3 #4}}
+
+\newcommand{\AdaNiveFiveRMATwo}[4]{\myfnhref{http://www.adaic.org/resources/add_content/standards/95lrm/ARM_HTML/RM-#1-#2.html}{Annex #1.#2 #3}}
+
+\newcommand{\AdaNiveFiveR}[3]{\myfnhref{http://www.adaic.org/resources/add_content/standards/95rat/rat95html/rat95-p#3-#1.html}{#1 #2}}
+
+\newcommand{\AdaNiveFiveRTwo}[4]{\myfnhref{http://www.adaic.org/resources/add_content/standards/95rat/rat95html/rat95-p#4-#1.html}{#1.#2 #3}}
+
+
+
+\newcommand{\AdaPragma}[1]{\LaTeXTTBF{pragma} }
+
+
+
+\newcommand{\TychoBrahe}[1]{Tycho Brahe}
+
+\newcommand{\LaTeXPlainBoxTemplate}[1]{
+\begin{minipage}{\linewidth}\definecolor{shadecolor}{gray}{0.9}\begin{myshaded} 
+#1
+\end{myshaded}
+\end{minipage}
+}
+
+
+\newcommand{\Hinweis}[1]{
+\begin{TemplateInfo}{{\Huge \textcircled{\LARGE !}}}{Hinweis}
+#1
+\end{TemplateInfo}}
+
+
+
+\newcommand{\LaTexInfoTemplateOne}[1]{
+\begin{TemplateInfo}{\Info}{Information}
+#1
+\end{TemplateInfo}}
+
+\newcommand{\EqnTemplate}[1]{
+\begin{flushright}
+\textbf{[#1]}
+\end{flushright}}
+
+\newcommand{\RefTemplate}[1]{[#1]}
+
+
+\newcommand{\LaTeXGCCTakeTemplate}[1]{
+\LaTeXDoubleBoxTemplate{Take home:}{#1}
+}
+
+\newcommand{\LaTeXEditorNote}[1]{\LaTeXDoubleBoxTemplate{Editor's note}{#1}}
+
+\newcommand{\BNPForVersion}[1]{
+\LaTeXInfoTemplateOne{Applicable Blender version: #1}
+}
+
+\newcommand{\LaTeXInfoTemplateOne}[1]{
+\begin{TemplateInfo}{\Info}{Information}
+#1
+\end{TemplateInfo}
+}
+
+
+\newcommand{\LaTexHelpFulHintTemplate}[1]{
+\LaTeXDoubleBoxTemplate{Helpful Hint:}{#1}
+}
+
+\newcommand{\MyLaTeXTemplate}[3]{
+\LaTeXDoubleBoxTemplate{MyLaTeXTemplate1:}{#1 \\ #2 \\ #3}
+}
+
+\newcommand{\TemplatePreformat}[1]{
+\par
+\begin{scriptsize}
+%\setlength{\baselineskip}{0.9\baselineskip}
+\ttfamily
+#1
+\par
+\end{scriptsize}
+}
+
+\newcommand{\TemplateSpaceIndent}[1]{
+\begin{scriptsize}
+\begin{framed}
+\ttfamily
+#1
+\end{framed}
+\end{scriptsize}
+}
+
+\newcommand{\GenericColorBox}[2]
+{
+\newline
+\begin{tabular}[t]{p{0.6cm}p{4cm}}
+#1&#2\\  
+\end{tabular}
+}
+
+\newcommand{\legendNamedColorBox}[2]
+{
+  \GenericColorBox{
+    \parbox[t]{0.5\linewidth}{
+      \textsuperscript{
+        \fcolorbox{black}{#1}{
+          \Huge{\,\,}
+        }
+      }
+    }
+  }{
+    #2
+  } 
+}
+
+\newcommand{\legendColorBox}[2]
+{
+  \GenericColorBox{
+    \definecolor{tempColor}{rgb}{#1}
+    \parbox[t]{0.5\linewidth}{
+      \textsuperscript{
+        \fcolorbox{black}{tempColor}{
+           \Huge{\,\,}
+        }
+      }
+    }
+  }{
+    #2
+  } 
+}
+
+
+
+%\newcommand{\ubung} {{\LARGE $\triangleright$}}
+\newcommand{\ubung}{\ding{228} \textbf{Aufgabe:}\,}
+
+\newcommand{\TemplateSource}[1]
+{
+%\begin{TemplateCodeInside}{}{\baselineskip}{\baselineskip}{}{}{true}
+\begin{scriptsize}
+\begin{myshaded}\ttfamily
+#1
+\end{myshaded}
+\end{scriptsize}
+%\end{TemplateCodeInside}
+}
+
+
+\newenvironment{TemplateInfo}[2]
+% no more parameters
+%****************************************************
+% Template Info
+% Kasten mit Logo, Titelzeile, Text
+% kann für folgende Wiki-Vorlagen benutzt werden:
+%          Vorlage:merke, Vorlage:Achtung u.ä.
+%
+% #1 Logo  (optional) default: \Info
+% #2 Titel (optional) default: Information; könnte theoretisch auch leer sein,
+%                     das ist aber wegen des Logos nicht sinnvoll
+%****************************************************
+{
+% Definition des Kastens mit Standardwerten
+% u.U. ist linewidth=1pt erorderlich
+\begin{framed}
+% linksbündig ist besser, weil es in der Regel wenige Zeilen sind, die teilweise kurz sind
+\begin{flushleft}
+% Überschrift größer darstellen
+\begin{Large}
+% #1 wird als Logo verwendet, Vorgabe ist \Info aus marvosym
+%    für andere Logos muss ggf. das Package eingebunden werden
+%    das Logo kann auch mit einer Größe verbunden werden, z.B. \LARGE\danger als #1
+{#1 } \
+% #2 wird als Titelzeile verwendet, Vorgabe ist 'Information'
+{\bfseries #2}
+\medskip \end{Large} \\
+} % Ende der begin-Anweisungen, es folgenden die end-Anweisungen
+{ \end{flushleft}\end{framed} }
+
+
+\newcommand{\TemplateHeaderExercise}[3]
+% no more parameters
+%****************************************************
+% Template Header Exercise
+% Rahmen als minisec mit Nummer der Aufgabe und Titel und grauem Hintergrund
+% ist gedacht für folgende Wiki-Vorlage:
+%          Vorlage:Übung4
+% kann genauso für den Aufgaben-Teil folgender Vorlagen verwendet werden:
+%          Vorlage:Übung    (wird zz. nur einmal benutzt)
+%          Vorlage:Übung2   (wird zz. gar nicht benutzt)
+%          Vorlage:Übung3   (wird zz. in 2 Büchern häufig benutzt)
+%          C++-Programmierung/ Vorlage:Aufgabe  (wird zz. nur selten benutzt,
+%                            ist in LatexRenderer.hs schon erledigt)
+%
+% #1 Text   (optional) 'Aufgabe' oder 'Übung', kann auch leer sein
+% #2 Nummer (Pflicht)  könnte theoretisch auch leer sein, aber dann sieht die Zeile
+%                      seltsam aus; oder die if-Abfragen wären unnötig komplex
+% #3 Titel  (optional) Inhaltsangabe der Aufgabe, kann auch leer sein
+%****************************************************
+{
+\minisec{\normalfont \fcolorbox{black}{shadecolor}{\large \, #1 #2 \ifx{#3}{}{}\else{-- #3}\fi \,} \medskip }
+}
+ 
+\newcommand{\TemplateHeaderSolution}[3]
+% no more parameters
+%****************************************************
+% Template Header Solution
+% Rahmen als minisec mit Nummer der Aufgabe und Titel und grauem Hintergrund
+%
+% ist gedacht für den Lösungen-Teil der Vorlagen und wird genauso
+% verwendet wie \TemplateHeaderExercise
+%****************************************************
+{
+\minisec{\normalfont \fcolorbox{black}{shadecolor}{\large \, Lösung zu #1 #2 \ifx{#3}{}{}\else{-- #3}\fi \,} \medskip }
+}
+
+\newcommand{\TemplateUbungDrei}[4]
+{
+\TemplateHeaderExercise{Übung}{#1}{#2}
+#3
+\TemplateHeaderSolution{Übung}{#1}{#2}
+#4
+}
+
+\newcommand{\Mywrapfigure}[2]
+{
+\begin{wrapfigure}{r}{#1\textwidth}
+\begin{center}
+#2
+\end{center}
+\end{wrapfigure}
+}
+
+
+
+\newcommand{\Mymakebox}[2]
+{
+\begin{minipage}{#1\textwidth}
+#2
+\end{minipage}
+}
+
+\newcommand{\MyBlau}[1]{
+\textcolor{darkblue}{#1}
+} 
+\newcommand{\MyRot}[1]{
+\textcolor{red}{#1}
+} 
+\newcommand{\MyGrun}[1]{
+\textcolor{mydarkgreen}{#1}
+} 
+\newcommand{\MyBg}[2]{
+\fcolorbox{#1}{#1}{#2} 
+} 
+
+\newcommand{\BNPModule}[1]{
+the "#1" module
+} 
+
+
+\newcommand{\LaTeXMerkeZweiTemplate}[1]{\LaTeXDoubleBoxTemplate{Merke}{#1}}
+
+\newcommand{\LaTeXDefinitionTemplate}[1]{\LaTeXDoubleBoxTemplate{Definition}{#1}}
+
+\newcommand{\LaTeXAnorganischeChemieFuerSchuelerVorlageMerksatzTemplate}[1]{\LaTeXDoubleBoxTemplate{Merksatz}{#1}}
+
+\newcommand{\LaTeXTextTemplate}[1]{\LaTeXDoubleBoxTemplate{}{#1}}
+
+\newcommand{\LaTeXExampleTemplate}[1]{\LaTeXDoubleBoxTemplate{Example:}{#1}}
+
+\newcommand{\LaTeXexampleTemplate}[1]{\LaTeXDoubleBoxTemplate{Example:}{#1}}
+
+\newcommand{\LaTeXPTPBoxTemplate}[1]{\LaTeXDoubleBoxTemplate{Points to ponder:}{#1}}
+
+\newcommand{\LaTeXNOTETemplate}[2]{\LaTeXDoubleBoxTemplate{Note:}{#1 #2}}
+
+\newcommand{\LaTeXNotizTemplate}[1]{\LaTeXDoubleBoxTemplate{Notiz:}{#1}}
+
+\newcommand{\LaTeXbodynoteTemplate}[1]{\LaTeXDoubleBoxTemplate{Note:}{#1}}
+
+\newcommand{\LaTeXecebcite}[1]{\textsuperscript{[#1]}}
+
+\newcommand{\LaTeXAPDIPpreface}[1]{
+Roberto R. Romulo \newline
+Chairman (2000-2002) \newline
+e-ASEAN Task Force \newline
+Manila, Philippines \newline
+$\text{ }$\newline
+Shahid Akhtar \newline
+Program Coordinator\newline 
+UNDP-APDIP \newline
+Kuala Lumpur, Malaysia\newline 
+http://www.apdip.net\newline}
+
+
+\newcommand{\LaTeXcquoteTemplate}[1]{\LaTeXDoubleBoxTemplate{Quote:}{#1}}
+
+\newcommand{\LaTeXCquoteTemplate}[1]{\LaTeXDoubleBoxTemplate{Quote:}{#1}}
+
+\newcommand{\LaTeXSideNoteTemplate}[1]{\LaTeXDoubleBoxTemplate{Note:}{#1}}
+
+\newcommand{\LaTeXsideNoteTemplate}[1]{\LaTeXDoubleBoxTemplate{Note:}{#1}}
+
+\newcommand{\LaTeXExercisesTemplate}[1]{\LaTeXDoubleBoxTemplate{Exercises:}{#1}}
+
+\newcommand{\LaTeXCppProgrammierungVorlageTippTemplate}[1]{\LaTeXDoubleBoxTemplate{Tip}{#1}}
+
+\newcommand{\LaTeXTipTemplate}[1]{\LaTeXDoubleBoxTemplate{Tip}{#1}}
+\newcommand{\LaTeXUnknownTemplate}[1]{unknown}
+
+\newcommand{\LaTeXCppProgrammierungVorlageHinweisTemplate}[1]{\LaTeXDoubleBoxTemplate{Hinweis}{#1}}
+
+\newcommand{\LaTeXCppProgrammierungVorlageSpaeterImBuchTemplate}[1]{\LaTeXDoubleBoxTemplate{Thema wird später näher erläutert...}{#1}}
+
+\newcommand{\SGreen}[1]{This page uses material from Dr. Sheldon Green's Hypertext Help with LaTeX.}
+\newcommand{\ARoberts}[1]{This page uses material from Andy Roberts' Getting to grips with LaTeX with permission from the author.}
+
+\newcommand{\LaTeXCppProgrammierungVorlageAnderesBuchTemplate}[1]{\LaTeXDoubleBoxTemplate{Buchempfehlung}{#1}}
+
+\newcommand{\LaTeXCppProgrammierungVorlageNichtNaeherBeschriebenTemplate}[1]{\LaTeXDoubleBoxTemplate{Nicht Thema dieses Buches...}{#1}}
+
+\newcommand{\LaTeXPythonUnterLinuxVorlagenVorlageDetailsTemplate}[1]{\LaTeXDoubleBoxTemplate{Details}{#1}}
+
+\newcommand{\LaTeXChapterTemplate}[1]{\chapter{#1}
+\myminitoc
+}
+
+\newcommand{\Sample}[2]{
+\begin{longtable}{|p{\linewidth}|}
+\hline
+#1 \\ \hline
+#2 \\ \hline
+\end{longtable}
+}
+
+\newcommand{\Syntax}[1]{
+\LaTeXDoubleBoxTemplate{Syntax}{#1}}
+
+
+\newcommand{\LaTeXTT}[1]{{\ttfamily #1}}
+\newcommand{\LaTeXBF}[1]{{\bfseries #1}}
+\newcommand{\ADAPK}[3]{{#1.#2}}
+\newcommand{\LaTeXTTBF}[1]{{\bfseries \ttfamily #1}}
+\newcommand{\LaTeXIT}[1]{{\itshape #1}}
+\newcommand{\ADACOM}[1]{{\itshape -{}-#1}}
+
+\newcommand{\LaTeXCenter}[1]{
+\begin{center}
+#1
+\end{center}}
+
+
+\newcommand{\BNPManual}[2]{The Blender Manual page on #1 at \url{http://wiki.blender.org/index.php/Doc:Manual/#1}}
+\newcommand{\BNPWeb}[2]{#1 at \url{#2}}
+
+\newcommand{\Noframecenter}[2]{
+\begin{tablular}{p{\linewidth}}
+#2\\ 
+#1 
+\end{tabluar}
+}
+
+
+\newcommand{\LaTeXTTUlineTemplate}[1]{{\ttfamily \uline{#1}}
+}
+
+
+
+\newcommand{\PythonUnterLinuxDenulltails}[1]{
+\begin{tabular}{|p{\linewidth}|}\hline
+\textbf{Denulltails} \\ \hline
+#1 \\ \hline 
+\end{tabular}}
+
+\newcommand{\GNURTip}[1]{
+\begin{longtable}{|p{\linewidth}|}\hline
+\textbf{Tip} \\ \hline
+#1 \\ \hline 
+\end{longtable}}
+
+\newcommand{\PerlUebung}[1]{
+\begin{longtable}{|p{\linewidth}|}\hline
+#1 \\ \hline 
+\end{longtable}}
+
+\newcommand{\PerlNotiz}[1]{
+\begin{table}{|p{\linewidth}|}\hline
+#1 \\ \hline 
+\end{table}}
+
+\newcommand{\ACFSZusatz}[1]{\textbf{ Zusatzinformation }}
+\newcommand{\ACFSVorlageB}[1]{\textbf{ Beobachtung }}
+\newcommand{\ACFSVorlageV}[1]{\textbf{ Versuchsbeschreibung }}
+\newcommand{\TemplateHeaderSolutionUebung}[2]{\TemplateHeaderSolution{Übung}{#1}{#2}}
+\newcommand{\TemplateHeaderExerciseUebung}[2]{\TemplateHeaderExercise{Übung}{#1}{#2}}
+
+\newcommand{\ChemTemplate}[9]{\texttt{     
+#1#2#3#4#5#6#7#8#9}}
+
+
+\newcommand{\WaningTemplate}[1]{     
+\begin{TemplateInfo}{\danger}{Warning}
+#1
+\end{TemplateInfo}}
+
+
+\newcommand{\WarnungTemplate}[1]{     
+\begin{TemplateInfo}{\danger}{Warnung}
+#1
+\end{TemplateInfo}}
+
+
+\newcommand{\BlenderAlignedToViewIssue}[1]{     
+\begin{TemplateInfo}{\danger}{Blender3d Aligned to view issue}
+This tutorial relies on objects being created so that they are aligned to the view that you’re looking through. Versions 2.48 and above have changed the way this works. Visit Aligned (\url{http://en.wikibooks.org/wiki/Blender_3D:_Noob_to_Pro/Aligned_to_view_issue}) to view issue to understand the settings that need to be changed.
+\end{TemplateInfo}}
+
+
+\newcommand{\BlenderVersion}[1]{     
+{\itshape Diese Seite bezieht sich auf }{\bfseries \quad Blender Version #1}}
+
+\newcommand{\Literal}[1]{{\itshape #1}}
+
+\newcommand{\JavaIllustration}[3]{
+\begin{tablular}
+{Figure #1: #2}
+\\
+#3
+\end{ltablular}
+}
+
+
+\newcommand{\Ja}[1]{\Checkmark {\bfseries Ja}}
+\newcommand{\Nein}[1]{\XSolidBrush {\bfseries Nein}}
+
+\newcommand{\SVGVersions}[8]{
+{\scriptsize
+\begin{tabular}{|p{0.45\linewidth}|p{0.13\linewidth}|}\hline
+Squiggle (Batik) & #1 \\ \hline
+Opera (Presto) & #2 \\ \hline
+Firefox (Gecko; auch SeaMonkey, Iceape, Iceweasel etc) & #3 \\ \hline
+Konqueror (KSVG) & #4 \\ \hline
+Safari (Webkit) & #5 \\ \hline
+Chrome (Webkit) & #6 \\ \hline
+Microsoft Internet Explorer (Trident) & #7 \\ \hline
+librsvg & #8 \\\hline
+\end{tabular}}
+
+}
+
+
+\theoremstyle{plain}
+\newtheorem{satz}{Satz}
+\newtheorem{beweis}{Beweis}
+\newtheorem{beispiel}{Beispiel}
+
+\theoremstyle{definition}
+\newtheorem{mydef}{Definition}
+
+\newcommand{\NFSatz}[2]{\begin{satz}#1\end{satz}#2}
+
+\newcommand{\NFDef}[2]{\begin{mydef}#1\end{mydef}#2}
+
+\newcommand{\NFBeweis}[2]{\begin{beweis}#1\end{beweis}#2}
+
+\newcommand{\NFBeispiel}[2]{\begin{beweis}#1\end{beweis}#2}
+
+\newcommand{\NFFrage}[3]{
+
+\definecolor{shadecolor}{gray}{0.9}\begin{myshaded}{\itshape \uline{#1}: #2} \\
+#3
+\end{myshaded}
+
+}
+
+\newcommand{\NFFrageB}[2]{
+
+\definecolor{shadecolor}{gray}{0.9}\begin{myshaded}{\itshape \uline{Frage}: #1} \\
+#2
+\end{myshaded}
+
+}
+
+
+\newcommand{\NFVertiefung}[1]{
+{\bfseries Vertiefung:} \\
+Der Inhalt des folgenden Abschnitts ist eine Vertiefung des Stoffes. Für die nächsten Kapitel ist es nicht notwendig, dass du dieses Kapitel gelesen hast.
+
+}
diff --git a/document/headers/unicodes.tex b/document/headers/unicodes.tex
new file mode 100644
--- /dev/null
+++ b/document/headers/unicodes.tex
@@ -0,0 +1,8 @@
+
+
+\newcommand{\R}{\ensuremath{\mathbb{R}}}
+\newcommand{\N}{\ensuremath{\mathbb{N}}}
+\newcommand{\Z}{\ensuremath{\mathbb{Z}}}
+\newcommand{\Q}{\ensuremath{\mathbb{Q}}}
+\renewcommand{\C}{\ensuremath{\mathbb{C}}}
+
diff --git a/mediawiki2latex.cabal b/mediawiki2latex.cabal
--- a/mediawiki2latex.cabal
+++ b/mediawiki2latex.cabal
@@ -1,5 +1,5 @@
 Name:           mediawiki2latex
-Version:        7.8
+Version:        7.9
 License:        GPL
 License-File:   LICENSE
 Author:         Dirk Hünniger <dirk.hunniger@googlemail.com>
@@ -85,6 +85,19 @@
   src/babel/ur
   src/babel/vi
   src/babel/yi
+  document/headers/commands.tex
+  document/headers/defaultcolors.tex
+  document/headers/formattings.tex
+  document/headers/hyphenation.tex
+  document/headers/imageheader.tex
+  document/headers/license.tex
+  document/headers/options.tex
+  document/headers/packages1.tex
+  document/headers/packages2.tex
+  document/headers/templates-chemie.tex
+  document/headers/templates-dirk.tex
+  document/headers/templates.tex
+  document/headers/unicodes.tex
 
 Source-Repository head
   Type: git
