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




