docs/bib-ref1

view style @ 36:eef1ad137d7a

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