% License: GNU Free Documentation License (GFDL) http://www.gnu.org/copyleft/fdl.html


% Seitenränder
%\setlength{\hoffset}{-1.5cm}
%\setlength{\voffset}{-0.4cm}
%\setlength{\textwidth}{13cm}
%\setlength{\textheight}{16cm}
%\setlength{\footskip}{1.4cm}
%\setlength{\headheight}{1.2cm}
%\setlength{\headsep}{0.6cm}
\renewcommand{\headrulewidth}{0pt}

% Grid einstellen
\textblockorigin{1.5cm}{0.4mm}
\TPGrid{60}{42}

% Fuß- und Kopfzeile
\pagestyle{fancy}
\lfoot{
\begin{textblock}{60}(0,40)
\vspace{3px}
\includegraphics[width=\textwidth,height=36px]{\FMbasepath/img/titellinie-unten.png}
\end{textblock}
} 
%\cfoot{\sf{\textcolor{darkgray}{0x\ifthenelse{\value{page}>15}{}{0}\Hexadecimal{page}}}


% Ueberschriften
\titlespacing{\section}{0mm}{0mm}{-3mm}
\titlespacing{\subsection}{0mm}{0mm}{-4mm}
\titlespacing{\subsubsection}{0mm}{0mm}{-2.2ex}
\titleformat{\section}{\color{darkgray}\normalfont\large\bfseries}{}{0mm}{}
\titleformat{\subsection}{\normalfont\bfseries}{}{0mm}{}
\titleformat{\subsubsection}{\color{darkgray}\normalfont\bfseries}{}{0mm}{}

\setlength{\parindent}{0cm}
\setlength{\columnsep}{0.6cm}  % space between text columns
\setlength{\parskip}{0.4cm}    % space between paragraphs
\setlength{\fboxrule}{1pt}     % border width for boxes

\hbadness=10000                % suppresses unimportant error messages
\clubpenalty = 10000
\widowpenalty = 10000
\displaywidowpenalty = 10000

% Serifenschrift als Standard
\renewcommand{\familydefault}{\sfdefault}

% TXTT als Typewriter-Standard
\renewcommand{\ttdefault}{txtt}

% URLs als Normaltext
\renewcommand*\UrlFont{\normalfont}

% Listingdefinitionen

\lstdefinestyle{FMTextBoxStyle}{
language={},
backgroundcolor=\color{mediumgray},
breaklines=true,
tabsize=2,
breakindent=0pt,
basicstyle=\small\ttfamily,
showspaces=false,
showstringspaces=false,
aboveskip=2\medskipamount,
belowskip=-\medskipamount,
framexleftmargin=5pt,
}

\lstdefinestyle{FMListingWithoutNumbersStyle}{
style=TextBoxStyle,
prebreak=\mbox{\FMArrow},
breakindent=10pt,
framexleftmargin=0pt,
}

\lstdefinestyle{FMListingStyle}{
style=ListingWithoutNumbersStyle,
numbers=left,
numberstyle=\small\ttfamily,
xleftmargin=0.8cm,
framexleftmargin= 0.1\linewidth,
}
