comparison artifacts/doc/datacage-config-manual/datacage-config-manual.tex @ 5838:5aa05a7a34b7

Rename modules to more fitting names.
author Sascha L. Teichmann <teichmann@intevation.de>
date Thu, 25 Apr 2013 15:23:37 +0200
parents flys-artifacts/doc/datacage-config-manual/datacage-config-manual.tex@1a79d47ed14b
children
comparison
equal deleted inserted replaced
5837:d9901a08d0a6 5838:5aa05a7a34b7
1 \documentclass[12pt]{scrartcl}
2
3 %----------------------------------------------
4 % Load packages
5
6 \usepackage{a4}
7 \usepackage{times}
8 \usepackage[latin1]{inputenc}
9 \usepackage{fancyhdr}
10 %\usepackage{german}
11 %\usepackage[marvosym]{eurofont}
12 %\usepackage[all, light]{draftcopy}
13 %\usepackage{supertabular}
14 %\usepackage{colortbl}
15 %\usepackage{epsf}
16 \usepackage{graphicx}
17 \usepackage{lastpage}
18 %\usepackage{proposal}
19 \usepackage{listings}
20 \usepackage[hyperindex=true, bookmarks=true, breaklinks=true,
21 colorlinks=true, linkcolor=red,bookmarksopen]{hyperref}
22
23 %----------------------------------------------
24 % Document DATE and VERSION
25 % set these values when releasing a new version
26
27 \newcommand{\documentdate}{July 05th, 2012}
28 \newcommand{\documentversion}{1.0}
29 \newcommand{\documentrevision}{FIXME SVN REV}
30 \newcommand{\documentID}{datacage-config-manual.tex}
31 %----------------------------------------------
32
33 %----------------------------------------------
34 % Document TITLE
35 \newcommand{\documenttitle}{FLYS 3.0 -- Configuration of the Datacage}
36
37
38 %----------------------------------------------
39 % Some parameters for layouting
40
41 \paperwidth=21cm
42 \hoffset=-0.54cm
43 \textwidth=17cm
44
45 \paperheight=29.7cm
46 \voffset=-1.5cm
47 \topmargin=0cm
48 \headheight=1cm
49 \textheight=24cm
50
51 \setcounter{secnumdepth}{4}
52 \setcounter{tocdepth}{4}
53
54 %----------------------------------------------
55
56 \begin{document}
57
58 \lstset{ %
59 language=sh,
60 basicstyle=\ttfamily, % the size of the fonts that are used for the code
61 numbers=left, % where to put the line-numbers
62 numberstyle=\footnotesize, % the size of the fonts that are used for the line-numbers
63 numbersep=5pt, % how far the line-numbers are from the code
64 % backgroundcolor=\color{white}, % choose the background color. You must add \usepackage{color}
65 showspaces=false, % show spaces adding particular underscores
66 showstringspaces=false, % underline spaces within strings
67 showtabs=false, % show tabs within strings adding particular underscores
68 frame=single, % adds a frame around the code
69 tabsize=2, % sets default tabsize to 2 spaces
70 captionpos=b, % sets the caption-position to bottom
71 breaklines=true, % sets automatic line breaking
72 breakatwhitespace=false, % sets if automatic breaks should only happen at whitespace
73 title=\lstname, % show the filename of files included with \lstinputlisting; also try caption instead of title
74 escapeinside={\%*}{*)} % if you want to add a comment within your code
75 % morekeywords={*,...} % if you want to add more keywords to the set
76 }
77
78 %-----------------------------------
79 % HEADER/FOOTER DEFINITION
80
81 % for some pages latex switches back to pagestyle plain :-(
82 \fancypagestyle{plain}{%
83 \fancyhf{} % clear all header and footer fields
84 \fancyhead[LO,RE]{\footnotesize \documenttitle\\ \leftmark}
85 \fancyfoot[RO,LE]{\footnotesize Intevation GmbH} % Author
86 \fancyfoot[CO,CE]{\footnotesize \thepage/\pageref{LastPage}}
87 \fancyfoot[LO,RE]{\footnotesize \documentdate
88 \\\documentID}
89 \renewcommand{\footrulewidth}{0.4pt}
90 }
91
92 % and now define pagestyle fancy
93 \fancyhead{} % clear all fields
94 \fancyhead[LO]{\footnotesize \documenttitle\\ \leftmark}
95
96 \fancyfoot{}% clear all fields
97 \fancyfoot[RO]{\footnotesize Intevation GmbH} % Author
98 \fancyfoot[CO]{\footnotesize \thepage/\pageref{LastPage}}
99 \fancyfoot[LO]{\footnotesize \documentdate
100 \\\documentID}
101
102 \renewcommand{\footrulewidth}{0.4pt}
103
104 %
105 % END Header/Footer Definition
106 %-----------------------------------
107
108 %----------------------------------------------
109 % MACRO DEFINITION
110 %
111 % \Fig{figure}{lof text}{caption} :
112 % places 'figure' and
113 % writes 'caption' at the bottom with leading
114 % 'Abbildung figno:'. 'lof text' is added to the list of
115 % figures.
116 % Example:
117 % \Fig{\epsfxsize30mm \epsffile{x.eps}}{the x}{the x}
118 %
119 % \FigNoEntry{}{} :
120 % same as above, no entry in figures list
121 %
122 % \FigCaption{} :
123 % line with figure caption, setting figure
124 % counter and figures list
125 %
126 % \Tab{table}{lot text}{caption} :
127 % places 'table' and writes caption on top of the table
128 % with leading 'Tabelle tabno:'. 'lot text' is added to
129 % the list of tables.
130 %****************************************************************************
131 % Figure makro for graphics continously enumerated.
132 %
133
134 \newcounter{FigCnt}
135 \newcounter{TabCnt}
136
137 \newcommand{\Fig}[3]%
138 {
139 \refstepcounter{FigCnt}
140 \addcontentsline{lof}{figure}%
141 {\protect\numberline{\arabic{FigCnt}}{#2}}
142 \mbox{#1}
143
144 \nopagebreak
145 {Abbildung \arabic{FigCnt}: #3}
146
147 }
148
149 \newcommand{\FigNoEntry}[2]%
150 {
151 \refstepcounter{FigCnt}
152 \mbox{#1}
153
154 \nopagebreak
155 {Abbildung \arabic{FigCnt}: #2}
156
157 }
158
159 \newcommand{\FigCaption}[1]%
160 {
161 \refstepcounter{FigCnt}
162 \addcontentsline{lof}{figure}%
163 {\protect\numberline{\arabic{FigCnt}}{#1}}
164
165 %{Figure \thesection.\arabic{FigCnt}: #1}
166 }
167
168 \newcommand{\Tab}[3]%
169 {
170 \refstepcounter{TabCnt}
171 \addcontentsline{lot}{figure}%
172 {\protect\numberline{\arabic{TabCnt}}{#2}}
173 {Tabelle \arabic{TabCnt}: #3}
174 \nopagebreak
175 #1
176
177 }
178
179 \hyphenation{Intevation}
180 % end macro definition
181
182 %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
183
184 \newcounter{schritt}
185 \renewcommand{\theschritt}{\Roman{schritt}}
186 %\makeatletter\renewcommand{\p@schritt}{Abschnitt~\thesubsubsection~}\makeatother
187
188 %-----------------------------------
189 % DOCUMENT SETTINGS
190 \pagestyle{fancy}
191 \setlength{\parindent}{0cm}
192 \setlength{\parskip}{5pt plus 2pt minus 1pt}
193
194 % Start actual content here
195 \include{title}
196 \newpage
197 \tableofcontents
198 \include{content}
199 \end{document}

http://dive4elements.wald.intevation.org