docs/bib-ref1

view style @ 2:55b37a2bf922

added fonts
author markus schnalke <meillo@marmaro.de>
date Thu, 14 Nov 2013 07:08:57 +0100
parents c264ce6f5b83
children 108e11233f6c
line source
1 .do xflag 3
2 .de __
3 ..
4 .blm __ \" ignore empty lines in input
5 .lc_ctype en_US.utf8
6 .mediasize a4
8 .fp 1 R urw/bookman/ubkl8a pfb
9 .fp 2 I urw/bookman/ubkli8a pfb
10 .fp 3 B urw/bookman/ubkd8a pfb
11 .fp 4 BI urw/bookman/ubkdi8a pfb
14 .ss 12 0 \" the second (non-portable) argument requests french spacing
16 .nr PI 4n
17 .nr PD .3v
18 .nr QI 2u*\n(PIu
19 .nr lu 0
20 .af PN i
22 .nr PS 12
23 .nr VS 18
25 .ds CH "
27 .nr PO 2.5c
28 .nr HM 3.5c
29 .nr FM 3.5c
30 .nr LL 15c
31 .ll 15c
32 .nr LT \n(LL
34 . \" _M - change margins for text block on next page
35 .de _M
36 .\" if t .if o .nr PO 5c
37 .\" if t .if e .nr PO 3c
38 .\" nr PO 2.5c
39 .\" ds CF "
40 ..
41 .\" .wh -1u _M
43 .de _H
44 'sp |\n(HMu-1.5c
45 .ps 12
46 .vs 14
47 .ft I
48 .tl 'Markus Schnalke: Die Anfaenge der digitalen Revolution''%'
49 .ft P
50 .ps
51 .vs
52 ..
53 .wh 1u _H
55 . \" ZZ - enlarge or shorten the text block on the current
56 . \" page to avoid widows
57 . \" .ZZ -> enlarge by one line
58 . \" .ZZ +3 -> enlarge by three lines
59 . \" .ZZ -2 -> shorten by two lines
60 . \" .ZZ +1c -> enlarge by one centimeter
61 . \" .ZZ "" -> reset to the default
62 .de ZZ
63 .ie \\n(.$=0 .ch FO -\\n(FMu+1v
64 .el .ch FO -\\n(FMu\\$1
65 ..
67 . \" CW - Set text in CW font (similar to .B and .I)
68 .de CW
69 .nr PQ \\n(.f
70 .if t \{\
71 . ft CW
72 . if !^\\$1^^ \&\\$1\f\\n(PQ\\$2
73 .\}
74 .if n \{\
75 . ie ^\\$1^^ .ul 999
76 . el .ul 1
77 . if \\n(.$=1 \&\\$1
78 . if \\n(.$>1 \&\\$1\c
79 . if \\n(.$>1 \&\\$2
80 .\}
81 ..
83 . \" refer(1) stuff
84 .ds [. " [
85 .ds .] ]
86 .rm ]<
87 .de ]<
88 . de FP
89 . IP \\\\$1
90 \\..
91 . rm FS FE
92 ..
94 . \" PT - page top macro of ms
95 .am PT
96 . rs
97 ..
100 . \" RN - Reset PN and continue on an odd page ($1=number-format)
101 .de RN
102 .ie e .pn 1
103 .el \{
104 . pn 0
105 . bp
106 .\}
107 .ie \\n(.$=1 .af PN \\$1
108 .el .af PN 1
109 ..
112 . \" T_ - Add TOC entry ($1=pre-space $2=indent-level $3=text)
113 .de T_
114 .tm TOC____.sp \\$1
115 .tm TOC____\&\\h'\\$2u*2u*\\n(PIu'\\$3\0\0\a\t\\n(PN\fR
116 ..
118 . \" NH - redefine numbered heading
119 .de NH
120 .SH
121 .nr NS \\$1
122 .if !\\n(.$ .nr NS 1
123 .if !\\n(NS .nr NS 1
124 .nr H\\n(NS +1
125 .if \\n(NS<2 .nr H2 0
126 .if \\n(NS<3 .nr H3 0
127 .ds SN \\n(H1
128 .if \\n(NS>1 .as SN \&.\\n(H2
129 .if \\n(NS>2 .as SN \&.\\n(H3
130 ..
132 . \" H- - Chapter not numbered and not in TOC
133 .de H-
134 .ig IG
135 .EH "
136 .OH "
137 .IG
138 .bp
139 .\" .if e .rs \" move to an odd page
140 .\" .if e .bp
141 .lg 0
142 .nr PS +6
143 .nr VS +6
144 .SH
145 .ce 1
146 .tr aAbBcCdDeEfFgGhHiIjJkKlLmMnNoOpPqQrRsStTuUvVwWxXyYzZ
147 \&\\$1
148 .br
149 .tr aabbccddeeffgghhiijjkkllmmnnooppqqrrssttuuvvwwxxyyzz
150 .nr PS -6
151 .nr VS -6
152 .lg
153 .ig IG
154 .EH "\\\\*(_E
155 .OH "\\\\*(_o
156 .IG
157 .\" .ds CF \\n(PN
158 .RT
159 .sp 4
160 .nr PP 0
161 ..
163 . \" AP - Start the Appendix
164 .de AP
165 .nr _A 1
166 .nr H1 0
167 .af H1 A
168 ..
170 . \" H0 - Chapter ($2=="no" -> not numbered)
171 .de H0
172 .\" bp
173 .\" .if e .rs \" begin chapter on an odd page
174 .\" .if e .bp
175 .lg 0
176 .nr PS +6
177 .nr VS +6
178 .ie ,\\$2,no, .SH
179 .el \{\
180 . NH 1
181 . ce 1
182 .ie \\n(_A Appendix \\*(SN
183 .el Chapter \\*(SN
184 . sp .5
185 .\}
186 .sp
187 .ce 1
188 .tr aAbBcCdDeEfFgGhHiIjJkKlLmMnNoOpPqQrRsStTuUvVwWxXyYzZ
189 \&\\$1
190 .br
191 .tr aabbccddeeffgghhiijjkkllmmnnooppqqrrssttuuvvwwxxyyzz
192 .nr PS -6
193 .nr VS -6
194 .lg
195 .\" add to TOC
196 .rm t_
197 .if !,\\$2,no, .ds t_ \\Z'\\*(SN'\\h'3n'
198 .T_ .5v 0 "\fB\\*(t_\\$1
199 .RT
200 .sp
201 .nr PP 0
202 ..
205 . \" H1 - Section ($2=="no" -> not numbered)
206 .de H1
207 .br
208 .ne 7
209 .sp
210 .lg 0
211 .nr PS +2
212 .nr VS +2
213 .ie '\\$2'no' .SH
214 .el .NH 2
215 .if !'\\$2'no' \&\\*(SN
216 .tr aAbBcCdDeEfFgGhHiIjJkKlLmMnNoOpPqQrRsStTuUvVwWxXyYzZ
217 \&\\$1
218 .br
219 .tr aabbccddeeffgghhiijjkkllmmnnooppqqrrssttuuvvwwxxyyzz
220 .nr PS -2
221 .nr VS -2
222 .lg
223 .if !'\\$2'no' .T_ .3v 1 "\\Z'\\*(SN'\\h'4n'\\$1 \" add to TOC
224 .RT
225 .nr PP 0
226 ..
228 . \" H2 - Subsection
229 .de H2
230 .br
231 .ne 4
232 .NH 3
233 \&\\*(SN \\$1
234 .T_ 0 2 "\\Z'\\*(SN'\\h'5.5n'\\$1 \" add to TOC
235 .RT
236 .nr PP 0
237 ..
239 . \" U1 - Section ($2=="yes" -> add to TOC)
240 .de U1
241 .br
242 .ne 7
243 .sp
244 .lg 0
245 .nr PS +2
246 .nr VS +2
247 .SH
248 .tr aAbBcCdDeEfFgGhHiIjJkKlLmMnNoOpPqQrRsStTuUvVwWxXyYzZ
249 \&\\$1
250 .br
251 .tr aabbccddeeffgghhiijjkkllmmnnooppqqrrssttuuvvwwxxyyzz
252 .nr PS -2
253 .nr VS -2
254 .lg
255 .T_ .3v 1 "\\$1 \" add to TOC
256 .RT
257 .nr PP 0
258 ..
261 . \" U2 - Subsection unnumbered ($2=="yes" -> add to TOC)
262 .de U2
263 .br
264 .ne 4
265 .SH
266 \&\\$1
267 .if '\\$2'yes' .T_ 0 2 "\\Z'\\*(SN'\\h'5.5n'\\$1 \" add to TOC
268 .RT
269 .nr PP 0
270 ..
272 . \" U3 - Subsubsection unnumbered
273 .de U3
274 .br
275 .ne 4
276 .RT
277 .sp
278 .I "\\$1
279 .RT
280 .nr PP 0
281 ..
283 . \" P - Paragraph (indented unless following a heading)
284 .de P
285 .ie \\n(PP .PP
286 .el .LP
287 .nr PP 1
288 ..
290 .am LP
291 .nr PP 1
292 ..
295 . \" LI - Numbered paragraph ``list item'' ($1=label)
296 .de LI
297 .ie \\n(.$ .IP "\\h'\\n(PIu'\\$1." 2u*\\n(PIu
298 .el .IP "\\h'\\n(PIu'\\(bu" 2u*\\n(PIu
299 .nr PP 1
300 ..
301 .ig \" backup
302 .ie \\n(.$ .IP "\h'1n'\\$1"
303 .el .IP "\h'1.5n'\\(bu"
304 ..
306 . \" BU - Bulleted paragraph
307 .de BU
308 .LI
309 ..
311 . \" QS - Block quote start
312 .de QS
313 .ti \\n(.iu
314 .\"RT
315 .sp 2u*\\n(PDu
316 .ne 1.1
317 .ps -1
318 .vs -1
319 .in +\\n(QIu
320 .ll -\\n(QIu
321 .ti \\n(.iu
322 .\"if \\n(Qp .ti +\\n(PIu
323 .\"nr QP 1
324 .\"rr Qp
325 ..
327 . \" QP - Block quote paragraph
328 .de QP
329 .sp \n(PDu
330 .ne 1.1
331 .ti +\\n(PIu
332 ..
334 . \" QP - Block quote end
335 .de QE
336 .sp \\n(PDu
337 .in -\\n(QIu
338 .ll +\\n(QIu
339 .ti \\n(.iu
340 .ps +1
341 .vs +1
342 ..
344 . \" DS - Code display
345 .am DS
346 .ft CW
347 .ps -1
348 .ta T 8n
349 ..
351 . \" VS - verbatim text start (\\ -> ^G; ' -> disabled; . -> ^B)
352 .de VS
353 .br
354 .ne 3
355 .sp \n(DDu
356 .di _V
357 .nf
358 .ft CW
359 .ps -.5
360 .\" set up verbatim environment
361 \.blm
362 \.ec 
363 \.c2 ""
364 \.cc 
365 ..
367 . \" VE - verbatim text end (NOTE: Needs to be called as ^BVE !)
368 .de VE
369 \" restore the special characters
370 cc
371 .c2
372 .ec
373 .br
374 .di
375 .ne \\n(dnu+1v \" ensure enough space on the page
376 .in +2u*\\n(PIu
377 .ta T 8n
378 \.ec  \" set up verbatim environment, once again
379 \.c2 ""
380 \.cc 
381 _V \" output the verbatim content
382 \" restore the special characters
383 cc
384 .c2
385 .ec
386 .blm __
387 .in -2u*\\n(PIu
388 .sp \n(DDu
389 .ps +.5
390 .ft P
391 .fi
392 .TA
393 ..
395 . \" VF - verbatim text from file ($1=filename)
396 .de VF
397 .VS
398 so $1
399 VE
400 ..
402 .de Fn \" file name
403 .CW "\\$1" "\\$2
404 ..
405 .de Pn \" program name
406 .CW "\\$1" "\\$2
407 ..
408 .de Fu \" function
409 .CW "\\$1" "\\$2
410 ..
411 .de Ev \" env variable
412 .CW "\\$1" "\\$2
413 ..
414 .de Cl \" command line
415 `\c
416 .CW "\\$1" "'\\$2
417 ..
418 .de Sw \" switch
419 .CW "\\$1" "\\$2
420 ..
421 .de Ar \" argument
422 .CW "\f(CI\\$1" "\\$2
423 ..
424 .de Mp \" man page
425 .I "\\$1" "\\$2
426 ..
427 .de Pe \" profile entry
428 .CW "\\$1" "\\$2
429 ..
430 .de Hd \" mail header field
431 .CW "\\$1:\&" "\\$2
432 ..
434 .de Ci \" commit hash ref
435 .ds _t \\$1
436 .substring _t 0 6
437 [\(rh\|\fL\\*(_t\fP]\\$2
438 ..
440 . \" Cf - reference within the document ($1=name of ref file)
441 .de Cf
442 \.if !\\nZ .so refs/\\$1 \c
443 \\$2
444 ..
446 . \" Id - put a referenceable marker here ($1=identifier)
447 .de Id
448 .tm REF____\\$1\t\\*(SN\t\\n(PN
449 ..