a50a1fa9 |
1 | .\" -*-nroff-*- |
2 | . |
3 | .\"----- Page layout -------------------------------------------------------- |
4 | . |
5 | .pl 10.0i |
6 | .ie t \{\ |
7 | . po 1i |
8 | . pl 11i |
9 | . if \n(.g \{\ |
10 | . fam P |
11 | . \} |
3cdc3f3a |
12 | . ps 10 |
13 | . vs 12 |
a50a1fa9 |
14 | .\} |
15 | .el \{\ |
16 | . po 0 |
17 | . ll 7.2i |
18 | . lt 7.2i |
19 | . nr LT 7.2i |
20 | . nr LL 7.2i |
21 | . ad l |
22 | .\} |
23 | .ds LF Author |
24 | .ie t .ds RF Page % |
25 | .el .ds RF FORMFEED[Page %] |
26 | .ds CF |
27 | .ds LH RFC XXXX |
28 | .ds RH Date |
29 | .ds CH Title |
30 | .hy 0 |
31 | . |
32 | .\"----- Font handling ------------------------------------------------------ |
33 | . |
620078f9 |
34 | .\" .Ff font nfont [stuff more-stuff] |
a50a1fa9 |
35 | .\" Without stuff, changes to font. With stuff, prints stuff in font |
36 | .\" and more-stuff in the current font, with no intervening space. |
37 | .ie t \{\ |
38 | . de Ff |
620078f9 |
39 | . ie '\\$3'' \f\\$1\c |
40 | . el \&\f\\$1\\$3\fP\\$4 |
a50a1fa9 |
41 | .. |
42 | .\} |
43 | .el \{\ |
620078f9 |
44 | . de Ff |
45 | . ie '\\$3'' \f\\$2\c |
46 | . el \&\f\\$2\\$3\fP\\$4 |
a50a1fa9 |
47 | .. |
48 | .\} |
49 | . |
50 | .\" .R|.B|.I|... [stuff more-stuff] |
51 | .\" Change to appropriate font, or print stuff in chosen font followed |
52 | .\" by more-stuff in current font, with no intervening space. |
53 | .de R |
620078f9 |
54 | .Ff R R "\\$1" "\\$2" |
a50a1fa9 |
55 | .. |
56 | .de B |
620078f9 |
57 | .Ff B B "\\$1" "\\$2" |
a50a1fa9 |
58 | .. |
59 | .de I |
620078f9 |
60 | .Ff I I "\\$1" "\\$2" |
a50a1fa9 |
61 | .. |
3cdc3f3a |
62 | .de PF |
620078f9 |
63 | .Ff P P "\\$1" "\\$2" |
a50a1fa9 |
64 | .. |
65 | .de C |
620078f9 |
66 | .Ff (CR R "\\$1" "\\$2" |
a50a1fa9 |
67 | .. |
68 | .de CB |
620078f9 |
69 | .Ff (CB B "\\$1" "\\$2" |
a50a1fa9 |
70 | .. |
71 | .de CI |
620078f9 |
72 | .Ff (CI I "\\$1" "\\$2" |
a50a1fa9 |
73 | .. |
74 | .de H |
620078f9 |
75 | .Ff (HR R "\\$1" "\\$2" |
a50a1fa9 |
76 | .. |
77 | .de HB |
620078f9 |
78 | .Ff (HB B "\\$1" "\\$2" |
a50a1fa9 |
79 | .. |
80 | .de HI |
620078f9 |
81 | .Ff (HI I "\\$1" "\\$2" |
a50a1fa9 |
82 | .. |
83 | . |
3cdc3f3a |
84 | .\"----- Paragraphs --------------------------------------------------------- |
85 | . |
86 | .ie t \{\ |
87 | . de P |
88 | . sp .67 |
89 | .. |
90 | .\} |
91 | .el \{\ |
92 | . de P |
93 | . sp 1 |
94 | .. |
95 | .\} |
96 | . |
a50a1fa9 |
97 | .\"----- Titling ------------------------------------------------------------ |
98 | . |
99 | .\" .TL left right |
100 | .\" Typesets one of the RFC header lines. |
101 | .de TL |
102 | .B |
103 | .tl '\\$1''\\$2' |
3cdc3f3a |
104 | .PF |
a50a1fa9 |
105 | .. |
106 | . |
107 | .\" .TT number author title |
108 | .\" Sets the main title, and fiddles the running headers and footers. |
109 | .ds RN xxxx |
110 | .de TT |
111 | .ds LH RFC \\$1 |
112 | .ds LF \\$2 |
113 | .ds RH \\$3 |
114 | .ds CH \\$4 |
115 | .HB |
116 | .ps 18 |
117 | .ce |
118 | \&\\$4 |
119 | .ps |
3cdc3f3a |
120 | .PF |
a50a1fa9 |
121 | .fi |
122 | .in +3m |
123 | .. |
124 | . |
125 | .\" .TI level title [number] |
126 | .\" Sets a title without a number. |
127 | .nr S0 14 |
128 | .nr S1 12 |
129 | .nr S2 10 |
130 | .nr S3 10 |
131 | .de TI |
132 | .if t .sp 1 |
133 | .ne 4 |
134 | .ti -3m |
135 | .nr _i 3m |
136 | .ps \\n(S\\$1 |
137 | .HB |
138 | .if !'\\$3'' \{\ |
139 | . ie t \&\\$3.\h'\\n(_iu-\w'\\$3.'u'\c |
140 | . el \&\\$3.\ \ \c |
141 | .\} |
142 | \&\\$2 |
3cdc3f3a |
143 | .PF |
a50a1fa9 |
144 | .ps |
145 | .br |
146 | .. |
147 | . |
148 | .\" .Tn title |
149 | .\" Sets a level-n title (n = 0, 1, 2, 3). Does automatic numbering. |
150 | .nr T0 0 1 |
151 | .de T0 |
152 | .nr T1 0 1 |
153 | .TI 0 "\\$1" "\\n+(T0" |
154 | .. |
155 | .de T1 |
156 | .nr T2 0 1 |
157 | .TI 1 "\\$1" "\\n(T0.\\n+(T1" |
158 | .. |
159 | .de T2 |
160 | .nr T3 0 1 |
161 | .TI 2 "\\$1" "\\n(T0.\\n(T1.\\n+(T2" |
162 | .. |
163 | .de T3 |
164 | .TI 3 "\\$1" "\\n(T0.\\n(T1.\\n(T2.\\n+(T3" |
165 | .. |
166 | . |
167 | .\" .AP |
168 | .\" Starts the appendix. |
169 | .de AP |
170 | .nr T0 0 1 |
171 | .af T0 A |
172 | .. |
173 | . |
174 | .\"----- Bibliography ------------------------------------------------------- |
175 | . |
176 | .\" .BS thing |
177 | .\" Starts a bibliography section. The thing is the widest bibliography |
178 | .\" key. |
179 | .de BS |
180 | .nr bw \\w'[\\$1]\h'1m'' |
181 | .in +\\n(bwu |
182 | .. |
183 | . |
184 | .\" .BR ref |
185 | .\" Puts in the header for a bibliography item. |
186 | .de BR |
187 | .ne 2 |
3cdc3f3a |
188 | .P |
a50a1fa9 |
189 | .ti -\\n(bwu |
190 | [\\$1]\h'\\n(bwu-\\w'[\\$1]'u'\c |
191 | .. |
192 | . |
193 | .\" .BE |
194 | .\" Ends a bibliography section. |
195 | .de BE |
196 | .in -4 |
197 | .. |
198 | . |
199 | .\"----- Lists of things ---------------------------------------------------- |
200 | . |
201 | .\" .LS [indent] |
202 | .\" Starts a list |
203 | .nr ld 0 |
204 | .de LS |
205 | .ie '\\$1'' .ds _i 4n |
206 | .el .ds _i \\$1 |
207 | .in +\\*(_i |
208 | .rn L L\\n(ld |
209 | .rn LE E\\n(ld |
210 | .de LE |
211 | .in -\\*(_i |
212 | .rn L\\n(ld L |
213 | .rn E\\n(ld LE |
214 | .nr ld \\n(ld |
215 | \\.. |
216 | .nr ld +1 |
217 | .. |
218 | . |
219 | .\" .LE |
220 | .\" Ends a list |
221 | .de LE |
222 | .ab unexpected .LE (at line \\n(.c) |
223 | .. |
224 | . |
225 | .\" .UL |
226 | .\" Starts an unordered list |
227 | .nr ul 0 |
228 | .de do |
229 | .ie t .ds b\\$1 \\$2 |
620078f9 |
230 | .el .ds b\\$1 \fB\\$3\fP |
a50a1fa9 |
231 | .. |
232 | .do 0 \(bu o |
233 | .do 1 \(em \- |
234 | .do 2 \(sq [] |
235 | .do 3 \(ci * |
236 | .de UL |
237 | .LS |
238 | .ds L \\*(b\\n(ul |
239 | .nr ul +1 |
240 | .am E |
241 | .nr ul -1 |
242 | \\.. |
243 | .. |
244 | . |
245 | .\" .OL |
246 | .\" Starts an ordered (numbered) list |
247 | .nr ol 0 |
248 | .de do |
249 | .ds l\\$1 \\$2 |
250 | .ds m\\$1 \\$3 |
251 | .ds r\\$1 \\$4 |
252 | .. |
253 | .do 0 "" 1 . |
254 | .do 1 ( a ) |
255 | .do 2 ( i ) |
256 | .do 3 "" A . |
257 | . |
258 | .de OL |
259 | .LS |
260 | .nr i\\n(ol 0 1 |
261 | .af i\\n(ol \\*(m\\n(ol |
262 | .ds L \\*(l\\n(ol\\\\n+(i\\n(ol\\*(r\\n(ol |
263 | .nr ol +1 |
264 | .am E |
265 | .nr ol -1 |
266 | \\.. |
267 | .. |
268 | . |
269 | .\" .DL |
270 | .\" Starts a definition list |
271 | .de DL |
272 | .LS 1i |
273 | .. |
274 | . |
275 | .\" .DI name |
276 | .\" Starts a definition item for `name' |
277 | .de DI |
3cdc3f3a |
278 | .P |
a50a1fa9 |
279 | .B |
280 | \h'-1i'\\$1\c |
281 | .ie \w'\\$1\h'2n''u<1i \h'1i-\w'\\$1'u'\c |
282 | .el .br |
3cdc3f3a |
283 | .PF |
a50a1fa9 |
284 | .. |
285 | . |
286 | .\" .LI [tag] |
287 | .\" Starts a new list item |
288 | .de LI |
3cdc3f3a |
289 | .P |
a50a1fa9 |
290 | .ie '\\$1'' .ds LL \\*L |
291 | .el .ds LL \\$1 |
292 | \h'-\w'\\*(LL\h'1n''u'\\*(LL\h'1n'\c |
293 | .. |
294 | . |
295 | .\" --- Displays --- |
296 | . |
297 | .\" .QS |
298 | .\" Starts a display. |
299 | .de QS |
3cdc3f3a |
300 | .P |
a50a1fa9 |
301 | .in +4n |
302 | .ll -4n |
303 | .. |
304 | . |
305 | .\" .QE |
306 | .\" Ends a display |
307 | .de QE |
308 | .in -4n |
309 | .ll +4n |
310 | .. |
311 | . |
312 | .\" .VS |
313 | .\" Starts a listing kinda thing. |
314 | .de VS |
315 | .QS |
316 | .nf |
317 | .fam C |
318 | .. |
319 | . |
320 | .\" .VE |
321 | .\" Ends a listing kinda thing. |
322 | .de VE |
323 | .fam P |
324 | .fi |
325 | .QE |
326 | .. |
327 | . |
328 | .\" --- Mathematical things --- |
329 | . |
330 | .\" Superscript and subscript (not very good). |
331 | .ie t \{\ |
332 | . ds ^( \s8\v'-.5m' |
333 | . ds ^) \v'.5m'\s0 |
334 | . ds _( \s8\v'.2m' |
335 | . ds _) \v'-.2m'\s0 |
336 | .\} |
337 | .el \{\ |
338 | . ds ^( ^ |
339 | . ds ^) |
340 | . ds _( _ |
341 | . ds _) |
342 | .\} |
343 | . |
344 | .de K |
345 | \&\\$2\c |
346 | .I K \c |
347 | .R \*(_(\\$1\*(_)\c |
348 | \&\\$3 |
349 | .. |
350 | .de K' |
351 | \&\\$2\c |
352 | .I K \c |
353 | .R \z'\*(_(\\$1\*(_)\c |
354 | \&\\$3 |
355 | .. |
356 | . |
357 | .\"------ That's all, folks ------------------------------------------------- |