docs/master

view style @ 11:9a313c929a2a

style: Introduced .U2 for unnumbered .H2.
author markus schnalke <meillo@marmaro.de>
date Fri, 20 Apr 2012 19:14:30 +0200
parents 7497062adc82
children 66d1835189ad
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 LinLibertine_R otf
9 .feature R +onum
10 .fp 2 I LinLibertine_RI otf
11 .feature I +onum
12 .fp 3 B LinLibertine_RB otf
13 .feature B +onum
14 .fp 4 BI LinLibertine_RBI otf
15 .feature BI +onum
16 .fp 5 CW TerminusMedium-4.36 ttf
17 .fp 0 CI TerminusMediumItalic-4.36 ttf
18 .fp 0 CB TerminusBold-4.36 ttf
19 .fp 0 L TerminusMedium-4.36 ttf
20 .fp 0 RC LinLibertine_R otf
21 .feature RC +onum +smcp
22 .fp 0 BC LinLibertine_RB otf
23 .feature BC +onum +smcp
25 .ig
26 . nr PS 10
27 . nr VS 12
28 ..
30 .nr PI 3n
31 .nr PD .5v
32 .nr lu 0
33 .af PN i
35 .ds _E '\\\\n(PN''\f(RCMarkus Schnalke: The Modern Mail Handler\fP' \" left
36 .ds _O '\f(RCChapter \\\\n(H1\ \ \\\\*(_C\fP''\\\\n(PN' \" right
37 .ds CH "
39 .nr HM 3.3c
40 .nr FM 6.6c
41 .nr LL 14c
42 .ll 14c
43 .nr LT \n(LL
44 .nr PO 2.3c
45 .de _X
46 \&
47 ..
48 .wh 2.8c _X
50 .de _M \" change margins for text block on next page
51 .if e .nr PO -2.3c
52 .if o .nr PO +2.3c
53 .ds CF "
54 ..
55 .wh -1u _M
57 .de CW
58 .nr PQ \\n(.f
59 .if t \{\
60 . ft CW
61 . if !^\\$1^^ \&\\$1\f\\n(PQ\\$2
62 .\}
63 .if n \{\
64 . ie ^\\$1^^ .ul 999
65 . el .ul 1
66 . if \\n(.$=1 \&\\$1
67 . if \\n(.$>1 \&\\$1\c
68 . if \\n(.$>1 \&\\$2
69 .\}
70 ..
72 .ds [. [
73 .ds .] ]
74 .rm ]<
75 .de ]<
76 . LP
77 . de FP
78 . IP \\\\$1.
79 \\..
80 . rm FS FE
81 ..
83 .am PT
84 . rs
85 ..
87 .rm NH
88 .de NH
89 .SH
90 .nr NS \\$1
91 .if !\\n(.$ .nr NS 1
92 .if !\\n(NS .nr NS 1
93 .nr H\\n(NS +1
94 .if \\n(NS<2 .nr H2 0
95 .if \\n(NS<3 .nr H3 0
96 .ds SN \\n(H1
97 .if \\n(NS>1 .as SN \&.\\n(H2
98 .if \\n(NS>2 .as SN \&.\\n(H3
99 ..
101 .de H0
102 .EH "
103 .OH "
104 .bp
105 .if e .bp
106 .EH "\\\\*(_E
107 .OH "\\\\*(_O
108 .ds CF \\n(PN
109 \
110 . lg 0
111 . nr PS +6
112 . nr VS +6
113 .if \\n(.$=2 .if ,\\$2,no, .SH
114 .if \\n(.$=1 \{\
115 . NH 1
116 . ce 1
117 Chapter \\*(SN
118 . sp .5
119 .\}
120 . ce 1
121 . tr aAbBcCdDeEfFgGhHiIjJkKlLmMnNoOpPqQrRsStTuUvVwWxXyYzZ
122 \&\\$1
123 . br
124 . tr aabbccddeeffgghhiijjkkllmmnnooppqqrrssttuuvvwwxxyyzz
125 . nr PS -6
126 . nr VS -6
127 . lg
128 .ds _C "\\$1
129 . RT
130 . XS
131 . sp .5v
132 . B
133 .if ''\\*(SN' \&\\$1
134 .if \\*(SN \{\
135 Chapter \\*(SN \\$1
136 .\}
137 . XE
138 .sp 4
139 .nr PP 0
140 ..
142 .de H1
143 .br
144 .ne 7
145 .sp
146 . nr PS +2
147 . nr VS +2
148 .if '\\$2'no' .SH
149 .if \\n(.$=1 .NH 2
150 . lg 0
151 . tr aAbBcCdDeEfFgGhHiIjJkKlLmMnNoOpPqQrRsStTuUvVwWxXyYzZ
152 .if !'\\$2'no' \&\\*(SN
153 \\$1
154 . br
155 . tr aabbccddeeffgghhiijjkkllmmnnooppqqrrssttuuvvwwxxyyzz
156 . nr PS -2
157 . nr VS -2
158 . lg
159 . RT
160 .if !'\\$2'no' \{\
161 .ds _S "\\$1
162 . XS
163 \\*(SN \\$1
164 . XE
165 .\}
166 .nr PP 0
167 ..
169 .de H2
170 .br
171 .ne 4
172 .if \\n(.$=1 .NH 3
173 \&\\*(SN
174 \\$1
175 .RT
176 .ds _S "\\$1
177 .XS
178 \\*(SN \\$1
179 .XE
180 .nr PP 0
181 ..
183 .de U2
184 .br
185 .ne 4
186 .SH
187 .if \\n(.$=1 .NH 3
188 \\$1
189 .RT
190 .nr PP 0
191 ..
193 .de P
194 .ie \\n(PP .PP
195 .el .LP
196 .nr PP 1
197 ..
199 .am IP
200 .nr PP 0
201 ..
203 .de BU
204 .IP \(bu
205 ..
207 .am QP
208 .ps -1
209 ..
211 .am DS
212 .ft CW
213 .ps -1
214 .ta T 8n
215 .nr PP 0
216 ..
218 .am FA
219 .ps 8
220 .vs 9
221 ..