%
% do not indent paragraphs
%
\setlength{\parindent}{0pt} 
\setlength{\parskip}{5pt plus 2pt minus 1pt}
%
% switch off extra space after punctuation marks
%
\frenchspacing

\newcommand{\documentname}{S2-AEI-TN-XXXX}
\newcommand{\documentdate}{\today}

%Schriftgroesse, Layout, Papierformat, Art des Dokumentes
\documentclass[fleqn,10pt,a4paper,DIV11]{scrartcl}

\usepackage{longtable}
\usepackage{changebar}
\usepackage[usenames,dvipsnames]{color}
\setlength{\parindent}{0pt} 
\setlength{\parskip}{0.5cm}
\usepackage{tocstyle}
\usepackage{upgreek}
%
% make document useable for latex and pdflatex
%
\usepackage{ifpdf}

\ifpdf 
    \usepackage[pdftex]{graphicx}   % to include graphics
    \pdfcompresslevel=9 
    %
    % use package hyperref to create a pdf file with hyperlinks
    % the package wants to be loaded as last packages, since it overrides settings
    %
    \usepackage[pdftex,     % sets up hyperref to use pdftex driver
            plainpages=false,   % allows page i and 1 to exist in the same document
            breaklinks=true,    % link texts can be broken at the end of line
            colorlinks=true,
            % pdftitle=,    % keine Umlaute oder Sonderzeichen
            pdfauthor= Martin Hewitson
           ]{hyperref}      % should be the last package that is loaded according to docsumentation
    %
    % to create thumbnails in pdf files
    %
    %\usepackage{thumbpdf}
\else 
    \usepackage{graphicx}       % to include graphics
    \usepackage{hyperref}       % to simplify the use of \href
\fi 

%Umlaute ermoeglichen
%\usepackage [applemac]{inputenc} %ggf. \usepackage[latin9]{inputenc} 

%weitere Pakete
\usepackage[T1]{fontenc}
\usepackage{ae} % beachte: durch dieses Paket kann im Acrobat nicht mehr nach Woertern mit Umlauten gesucht werden.
%\pdfcompresslevel=9 %(1-9)
%\pdfinfo{info keys for example: Title, Creator, Author}

%\raggedbottom
%Packages aus alten Dokumenten%%%%%%%%%%%%%%%
\usepackage[intlimits]{amsmath}
\usepackage{amssymb}
\usepackage[headinclude,footinclude]{scrpage2}
%\usepackage[pdftex]{graphicx}
\usepackage{verbatim}
\usepackage{rotating}
\usepackage{lastpage}
\usepackage{calc}
\usepackage{tabularx,colortbl}

\definecolor{TableHeader}{rgb}{0.8,0.8,0.8}

%\usepackage{hyperref}
\DeclareGraphicsExtensions{.pdf}

\pagestyle{scrheadings}
\renewcommand{\headheight}{2.5cm}
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
%Kopfzeile
%Kopfzeile links bzw. innen
\ihead{
\begin{minipage}[b]{3cm}
\small{\documentname}\\\small{\documentdate\\Issue: Release\\ Rev. 1}
\end{minipage}
}
%Kopfzeile rechts bzw. aussen
\ohead{
\begin{minipage}[b]{1.4cm}
\includegraphics[width=1.4cm]{AEI_small.png}
\end{minipage}
\begin{minipage}[b]{5cm}
	\scriptsize
\textsc{Max Planck Institute for\\Gravitational Physics\\
(Albert-Einstein-Institute)}\\
\end{minipage}
\hspace{-1cm}
\begin{minipage}[b]{6cm}
\includegraphics[width=6cm]{UTN_complete_logo.jpg}
\end{minipage}\\\vspace{-0.5cm}
}
%Kopfzeile mittig
\chead{}
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
%Fusszeile
%Fusszeile rechts bzw. aussen
\ofoot{\pagemark}
%Fusszeile links bzw. innen
\ifoot{}
%Fusszeile mittig
\cfoot{}
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%

\setheadtopline{1pt}
\setheadsepline{1pt}

%Gummimaße erhöhen
\tolerance 1414
\hbadness 1414
\setlength{\emergencystretch}{1.5em}
\hfuzz 0.3pt
\widowpenalty=10000
\vfuzz \hfuzz
\raggedbottom

%Satz von Floats verbessern (nach FAQ):
\renewcommand{\floatpagefraction}{.7}
\renewcommand{\textfraction}{.15}
\renewcommand{\topfraction}{.8}
\renewcommand{\bottomfraction}{.5}
\usepackage[table]{xcolor}
\usepackage{multirow}
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
\begin{document}


%Titelseite
\titlehead{
\begin{center}
\begin{minipage}[b]{1.4cm}
\includegraphics[width=1.4cm]{AEI_small.png}
\end{minipage}
\begin{minipage}[b]{5,5cm}
	\small\textsc{Max-Planck-Institute for\\ Gravitational Physics\\
(Albert-Einstein-Institute)}\\
\end{minipage}\vspace{-0.5cm}
\begin{minipage}[b]{7cm}
\includegraphics[width=7cm]{UTN_complete_logo.jpg}
\end{minipage}\\
\end{center}}


\title{
	LTPDA Unit Test Report 
	\vspace{1cm}
	{\large \documentname} \\ \vspace{2cm}
	\author{
	\begin{tabular}{p{4cm}p{9.5cm}}
	\hline 
	prepared by & M~Hewitson \\
	checked by &  \\
	Issue & 1 \\
	Revision & 1 \\
	Status & Draft \\
	Number of pages & \pageref{LastPage}  \\
	date of issue & \documentdate \\
	approved by & \\
	\hline
	\end{tabular}
	}
}



\date{}
\maketitle

\textbf{This document and all parts of it are confidential. Any distribution is prohibited without
written authorisation from AEI and UNITN.}

\newpage

%----------------------------------------------------------------------------------

\section*{Distribution List}
\begin{tabular}{p{4cm}p{9.5cm}}
\hline \rowcolor[gray]{0.9} Name & Company/ Institute\\ \hline
												 &  AEI Hannover\\ 
\hline
\end{tabular}

\newpage

%
\tableofcontents
\listoftables
%

\newpage


%----------------------------------------------------------------------------------

\input{./introduction.tex}
\input{./results.tex}

%----------------------------------------------------------------------------------

\pagebreak


\end{document}
