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