
tim@905: \documentclass[12pt]{scrartcl}
tim@905: 
tim@905: %----------------------------------------------
tim@905: % Load packages
tim@905: 
tim@905: \usepackage{a4}
tim@905: \usepackage{times}
tim@905: \usepackage[latin1]{inputenc}
tim@905: \usepackage{fancyhdr}
tim@905: %\usepackage{german}
tim@905: %\usepackage[marvosym]{eurofont}
tim@905: %\usepackage[all, light]{draftcopy}
tim@905: %\usepackage{supertabular}
tim@905: %\usepackage{colortbl}
tim@905: %\usepackage{epsf}
hans@912: \usepackage{graphicx}
tim@905: \usepackage{lastpage}
tim@905: %\usepackage{proposal}
tim@905: \usepackage{listings}
tim@905: % FIXME hyperref config
tim@905: 
tim@905: %----------------------------------------------
tim@905: % Document DATE and VERSION
tim@905: % set these values when releasing a new version
tim@905: 
tim@905: \newcommand{\documentdate}{April 30th, 2010}
tim@905: \newcommand{\documentversion}{1.0}
tim@905: \newcommand{\documentrevision}{FIXME SVN REV}
tim@905: \newcommand{\documentID}{installation-admin-manual.tex}
tim@905: %----------------------------------------------
tim@905: 
tim@905: %----------------------------------------------
tim@905: % Document TITLE
tim@905: \newcommand{\documenttitle}{Generic Viewer -- Installing and running}
tim@905: 
tim@905: 
tim@905: %----------------------------------------------
tim@905: % Some parameters for layouting
tim@905: 
tim@905: \paperwidth=21cm
tim@905: \hoffset=-0.54cm
tim@905: \textwidth=17cm
tim@905: 
tim@905: \paperheight=29.7cm
tim@905: \voffset=-1.5cm
tim@905: \topmargin=0cm
tim@905: \headheight=1cm
tim@905: \textheight=24cm
tim@905: 
tim@905: \setcounter{secnumdepth}{4}
tim@905: \setcounter{tocdepth}{4}
tim@905: 
tim@905: %----------------------------------------------
tim@905: 
tim@905: \begin{document}
tim@905: 
tim@905: \lstset{ %
tim@905: language=sh,
tim@905: basicstyle=\ttfamily,       % the size of the fonts that are used for the code
tim@905: numbers=left,                   % where to put the line-numbers
tim@905: numberstyle=\footnotesize,      % the size of the fonts that are used for the line-numbers
tim@905: numbersep=5pt,                  % how far the line-numbers are from the code
tim@905: % backgroundcolor=\color{white},  % choose the background color. You must add \usepackage{color}
tim@905: showspaces=false,               % show spaces adding particular underscores
tim@905: showstringspaces=false,         % underline spaces within strings
tim@905: showtabs=false,                 % show tabs within strings adding particular underscores
tim@905: frame=single,                   % adds a frame around the code
tim@905: tabsize=2,                      % sets default tabsize to 2 spaces
tim@905: captionpos=b,                   % sets the caption-position to bottom
tim@905: breaklines=true,                % sets automatic line breaking
tim@905: breakatwhitespace=false,        % sets if automatic breaks should only happen at whitespace
tim@905: title=\lstname,                 % show the filename of files included with \lstinputlisting; also try caption instead of title
tim@905: escapeinside={\%*}{*)}          % if you want to add a comment within your code
tim@905: % morekeywords={*,...}            % if you want to add more keywords to the set
tim@905: }
tim@905: 
tim@905: %-----------------------------------
tim@905: % HEADER/FOOTER DEFINITION
tim@905: 
tim@905: % for some pages latex switches back to pagestyle plain :-(
tim@905: \fancypagestyle{plain}{%
tim@905: 	\fancyhf{} % clear all header and footer fields
tim@905: 	\fancyhead[LO,RE]{\footnotesize \documenttitle\\ \leftmark}
tim@905: 	\fancyfoot[RO,LE]{\footnotesize Intevation GmbH} % Author
tim@905: 	\fancyfoot[CO,CE]{\footnotesize \thepage/\pageref{LastPage}}
tim@905: 	\fancyfoot[LO,RE]{\footnotesize \documentdate
tim@905: 	\\\documentID}
tim@905: 	\renewcommand{\footrulewidth}{0.4pt}
tim@905: }
tim@905: 
tim@905: % and now define pagestyle fancy
tim@905: \fancyhead{} % clear all fields
tim@905: \fancyhead[LO]{\footnotesize \documenttitle\\ \leftmark}
tim@905: 
tim@905: \fancyfoot{}% clear all fields
tim@905: \fancyfoot[RO]{\footnotesize Intevation GmbH} % Author
tim@905: \fancyfoot[CO]{\footnotesize \thepage/\pageref{LastPage}}
tim@905: \fancyfoot[LO]{\footnotesize \documentdate
tim@905: \\\documentID}
tim@905: 
tim@905: \renewcommand{\footrulewidth}{0.4pt}
tim@905: 
tim@905: %
tim@905: % END Header/Footer Definition
tim@905: %-----------------------------------
tim@905: 
tim@905: %----------------------------------------------
tim@905: % MACRO DEFINITION
tim@905: %
tim@905: %   \Fig{figure}{lof text}{caption} :
tim@905: %			places 'figure' and
tim@905: %                       writes 'caption' at the bottom with leading
tim@905: %                       'Abbildung figno:'. 'lof text' is added to the list of
tim@905: %                       figures.
tim@905: %                       Example:
tim@905: %                       \Fig{\epsfxsize30mm \epsffile{x.eps}}{the x}{the x}
tim@905: %
tim@905: %   \FigNoEntry{}{} :
tim@905: %			same as above, no entry in figures list
tim@905: %
tim@905: %   \FigCaption{} :
tim@905: %			line with figure caption, setting figure
tim@905: %                       counter and figures list
tim@905: %
tim@905: %   \Tab{table}{lot text}{caption} :
tim@905: %			places 'table' and writes caption on top of the table
tim@905: %			with leading 'Tabelle tabno:'. 'lot text' is added to
tim@905: %			the list of tables.
tim@905: %****************************************************************************
tim@905: %       Figure makro for graphics continously enumerated.
tim@905: %
tim@905: 
tim@905: \newcounter{FigCnt}
tim@905: \newcounter{TabCnt}
tim@905: 
tim@905: \newcommand{\Fig}[3]%
tim@905: {
tim@905:         \refstepcounter{FigCnt}
tim@905:         \addcontentsline{lof}{figure}%
tim@905:                 {\protect\numberline{\arabic{FigCnt}}{#2}}
tim@905:         \mbox{#1}
tim@905: 
tim@905: \nopagebreak
tim@905:         {Abbildung \arabic{FigCnt}: #3}
tim@905: 
tim@905: }
tim@905: 
tim@905: \newcommand{\FigNoEntry}[2]%
tim@905: {
tim@905:         \refstepcounter{FigCnt}
tim@905:         \mbox{#1}
tim@905: 
tim@905: \nopagebreak
tim@905:         {Abbildung \arabic{FigCnt}: #2}
tim@905: 
tim@905: }
tim@905: 
tim@905: \newcommand{\FigCaption}[1]%
tim@905: {
tim@905:         \refstepcounter{FigCnt}
tim@905:         \addcontentsline{lof}{figure}%
tim@905:                 {\protect\numberline{\arabic{FigCnt}}{#1}}
tim@905: 
tim@905:         %{Figure \thesection.\arabic{FigCnt}: #1}
tim@905: }
tim@905: 
tim@905: \newcommand{\Tab}[3]%
tim@905: {
tim@905:         \refstepcounter{TabCnt}
tim@905:         \addcontentsline{lot}{figure}%
tim@905:                 {\protect\numberline{\arabic{TabCnt}}{#2}}
tim@905:         {Tabelle \arabic{TabCnt}: #3}
tim@905: \nopagebreak
tim@905:         #1
tim@905: 
tim@905: }
tim@905: 
tim@905: \hyphenation{Intevation}
tim@905: % end macro definition
tim@905: 
tim@905: %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
tim@905: 
tim@905: \newcounter{schritt}
tim@905: \renewcommand{\theschritt}{\Roman{schritt}}
tim@905: %\makeatletter\renewcommand{\p@schritt}{Abschnitt~\thesubsubsection~}\makeatother
tim@905: 
tim@905: %-----------------------------------
tim@905: % DOCUMENT SETTINGS
tim@905: \pagestyle{fancy}
tim@905: \setlength{\parindent}{0cm}
tim@905: \setlength{\parskip}{5pt plus 2pt minus 1pt}
tim@905: 
tim@905: % Start actual content here
tim@905: \include{title}
tim@905: \newpage
tim@905: \tableofcontents
tim@935: \include{general_settings}
tim@906: \include{model_of_transitions}
tim@905: 
tim@905: \end{document}




