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