]> CyberLeo.Net >> Repos - FreeBSD/releng/10.0.git/blob - share/doc/usd/21.troff/m0a
- Copy stable/10 (r259064) to releng/10.0 as part of the
[FreeBSD/releng/10.0.git] / share / doc / usd / 21.troff / m0a
1 .\" Copyright (C) Caldera International Inc. 2001-2002.  All rights reserved.
2 .\" 
3 .\" Redistribution and use in source and binary forms, with or without
4 .\" modification, are permitted provided that the following conditions are
5 .\" met:
6 .\" 
7 .\" Redistributions of source code and documentation must retain the above
8 .\" copyright notice, this list of conditions and the following
9 .\" disclaimer.
10 .\" 
11 .\" Redistributions in binary form must reproduce the above copyright
12 .\" notice, this list of conditions and the following disclaimer in the
13 .\" documentation and/or other materials provided with the distribution.
14 .\" 
15 .\" All advertising materials mentioning features or use of this software
16 .\" must display the following acknowledgement:
17 .\" 
18 .\" This product includes software developed or owned by Caldera
19 .\" International, Inc.  Neither the name of Caldera International, Inc.
20 .\" nor the names of other contributors may be used to endorse or promote
21 .\" products derived from this software without specific prior written
22 .\" permission.
23 .\" 
24 .\" USE OF THE SOFTWARE PROVIDED FOR UNDER THIS LICENSE BY CALDERA
25 .\" INTERNATIONAL, INC.  AND CONTRIBUTORS ``AS IS'' AND ANY EXPRESS OR
26 .\" IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED
27 .\" WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE
28 .\" DISCLAIMED.  IN NO EVENT SHALL CALDERA INTERNATIONAL, INC. BE LIABLE
29 .\" FOR ANY DIRECT, INDIRECT INCIDENTAL, SPECIAL, EXEMPLARY, OR
30 .\" CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF
31 .\" SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR
32 .\" BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY,
33 .\" WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE
34 .\" OR OTHERWISE) RISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN
35 .\" IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
36 .\" 
37 .\"     @(#)m0a 8.1 (Berkeley) 8/14/93
38 .\"
39 .\" $FreeBSD$
40 .br
41 .tr |
42 .ce
43 .ft B
44 SUMMARY OF REQUESTS AND OUTLINE OF THIS MANUAL
45 .ft R
46 .de mx
47 .ev 2
48 .nf
49 .h1
50 .in
51 .sp
52 .fi
53 .ev
54 .ns
55 ..
56 .xx
57 .h1 \s-1#\s+1 *
58 .fn
59 .sp .3
60 *Values separated by "\fB;\fR" are for \*(NR and \*(TR respectively.
61 .sp .2
62 \s-1#\s+1Notes are explained at the end of this Summary and Index
63 .ef
64 .mh
65 General Explanation
66 .mh
67 Font and Character Size Control
68 .bt
69 \fB&ps\fI\|\(+-N\fR     10\|point       previous        E       Point size; also \fB\es\fI\(+-N\fR.\(dg
70 .b1
71 \fB&fz\fI|F|\(+-N\fR    off     -       E       font \fIF\fR to point size \fI\(+-N\fR.
72 .b1
73 \fB&fz|S|\fIF|\(+-N\fR  off     -       E       Special Font characters to point size \fI\(+-N\fR.
74 .b1
75 \fB&ss\fI|N\fR  12\(sl36\|em    ignored E       Space-character size
76 set to \fIN\fR\(sl36\|em.\(dg
77 .b1
78 \fB&cs\fI|F\|N\|M\fR    off     -       P       Constant character
79 space (width)
80 mode (font \fIF\^\fR\^).\(dg
81 .b1
82 \fB&bd\fI|F|N\fR        off     -       P       Embolden font \fIF\fR by \fIN\fR\(mi1 units.\(dg
83 .b1
84 \fB&bd|S|\fIF|N\fR      off     -       P       Embolden Special Font when current font is \fIF\fR.\(dg
85 .fn
86 .sp .2
87 \(dgNo effect in \*(NR.
88 .ef
89 .b1
90 \fB&ft\fI|F\fR  Roman   previous        E       Change to font
91 \fIF\fR|= \fIx\fR, \fIxx\fR, or 1-4.
92 Also \fB\ef\fIx\fR,\|\fB\ef(\fIxx\fR,\|\fB\ef\fIN\fR.
93 .b1
94 \fB&fp\fI|N|F\fR        R,I,B,S ignored -       Font named \fIF\fR mounted on physical position 1\(<=\fIN\fR\(<=4.
95 .mh
96 Page Control
97 .bt
98 \fB&pl\fI|\(+-N\fR      11\|in  11\|in  \fBv\fR Page length.
99 .b1
100 \fB&bp|\fI\(+-N\fR      \fIN\(eq\fR1    -       B\(dd,\fBv\fR   \
101 Eject current page; next page number \fIN\fR.
102 .fn
103 .sp .2
104 \(ddThe use of "\ \fB\'\fR\ " as control character (instead of "\fB.\fR")
105 suppresses the break function.
106 .ef
107 .b1
108 \fB&pn\fI|\(+-N N\(eq\fR1       ignored -       Next page number \fIN\fR.
109 .b1
110 \fB&po\fI|\(+-N\fR      0;|26\(sl27\|in previous        \fBv\fR Page offset.
111 .b1
112 \fB&ne\fI|N\fR  -       \fIN\(eq\fR1\fIV\fR     D,\fBv\fR       Need \fIN\fR vertical space (\fIV\fR = vertical spacing).
113 .b1
114 \fB&mk|\fIR\fR  none    internal        D       Mark current vertical place in register \fIR\fR.
115 .b1
116 \fB&rt\fI|\(+-N\fR      none    internal        D,\fBv\fR       Return \fI(upward only)\fR to marked vertical place.
117 .mh
118 Text Filling, Adjusting, and Centering
119 .bt
120 \fB&br\fR       -       -       B       Break.
121 .b1
122 .lg 0
123 \fB&fi\fR       \(fill  -       B,E     Fill output lines.
124 .lg
125 .b1
126 \fB&nf\fR       fill    -       B,E     No filling or adjusting of output lines.
127 .b1
128 \fB&ad\fI|c\fR  adj,both        adjust  E       Adjust output lines with mode \fIc\fR.
129 .b1
130 \fB&na\fR       adjust  -       E       No output line adjusting.
131 .b1
132 \fB&ce\fI|N\fR  off     \fIN\(eq\fR1    B,E     Center following \fIN\fR input text lines.
133 .mh
134 Vertical Spacing
135 .bt
136 \fB&vs\fI|N\fR  1\(sl6in;12pts  previous        E,\fBp\fR       Vertical base line spacing (\fIV\fR\^).
137 .b1
138 \fB&ls\fI|N     N\(eq\fR1       previous        E       Output \fIN\(mi\fR1 \fIV\^\fRs after each text output line.
139 .b1
140 \fB&sp\fI|N\fR  -       \fIN\(eq\fR1\fIV\fR     B,\fBv\fR       Space \
141 vertical distance \fIN\fR \fIin either direction\fR.
142 .b1
143 \fB&sv\fI|N\fR  -       \fIN\(eq\fR1\fIV\fR     \fBv\fR Save vertical distance \fIN\fR.
144 .b1
145 \fB&os\fR       -       -       -       Output saved vertical distance.
146 .b1
147 \fB&ns\fR       space   -       D       Turn no-space mode on.
148 .b1
149 \fB&rs\fR       -       -       D       Restore spacing; turn no-space mode off.
150 .mh
151 Line Length and Indenting
152 .bt
153 \fB&ll\fI|\(+-N\fR      6.5\|in previous        E,\fBm\fR       Line length.
154 .b1
155 \fB&in\fI|\(+-N\fR      \fIN\(eq\fR\^0  previous        B,E,\fBm\fR     Indent.
156 .b1
157 \fB&ti\fI|\(+-N\fR      -       ignored B,E,\fBm\fR     Temporary indent.
158 .mh
159 Macros, Strings, Diversion, and Position Traps
160 .bt
161 \fB&de\fI|xx|yy\fR      -       \fI.yy=\fB..\fR -       Define or redefine macro \fIxx;\fR end at call of \fIyy\fR.
162 .b1
163 \fB&am\fI|xx|yy\fR      -       \fI.yy=\fB..\fR -       Append to a macro.
164 .b1
165 \fB&ds\fI|xx|string\fR  -       ignored -       Define a string \fIxx\fR containing \fIstring\fR.
166 .b1
167 \fB&as\fI|xx|string\fR  -       ignored -       Append \fIstring\fR to string \fIxx\fR.
168 .b1
169 \fB&rm\fI|xx\fR -       ignored -       Remove request, macro, or string.
170 .b1
171 \fB&rn\fI|xx|yy\fR      -       ignored -       Rename request, macro, or string \fIxx\fR to \fIyy\fR.
172 .b1
173 \fB&di\fI|xx\fR -       end     D       Divert output to macro \fIxx\fR.
174 .b1
175 \fB&da\fI|xx\fR -       end     D       Divert and append to \fIxx\fR.
176 .b1
177 \fB&wh\fI|N|xx\fR       -       -       \fBv\fR Set location trap; negative is w.r.t. page bottom.
178 .b1
179 \fB&ch\fI|xx|N\fR       -       -       \fBv\fR Change trap location.
180 .b1
181 \fB&dt\fI|N|xx\fR       -       off     D,\fBv\fR       Set a diversion trap.
182 .b1
183 \fB&it\fI|N|xx\fR       -       off     E       Set an input-line count trap.
184 .b1
185 \fB&em\fI|xx\fR none    none    -       End macro is \fIxx\fI.
186 .mh
187 Number Registers
188 .bt
189 \fB&nr\fI|R|\(+-N|M\fR  -       -       \fBu\fR Define and set number register \fIR\fR; auto-increment by \fIM\fR.
190 .b1
191 \fB&af\fI|R|c\fR        arabic  -       -       Assign format to register \fIR\fR (\fIc=\fB1\fR, \fBi\fR, \fBI\fR, \fBa\fR, \fBA\fR).
192 .b1
193 \fB&rr\fI|R\fR  -       -       -       Remove register \fIR\fR.
194 .mh
195 Tabs, Leaders, and Fields
196 .bt
197 \fB&ta\fI|Nt|...\fR     0.8;|0.5in      none    E,\fBm\fR       Tab settings; \fIleft\fR type, unless \fIt=\fBR\fR(right), \fBC\fR(centered).
198 .b1
199 \fB&tc\fI|c\fR  none    none    E       Tab repetition character.
200 .b1
201 \fB&lc\fI|c\fR  \fB.\fR none    E       Leader repetition character.
202 .b1
203 \fB&fc\fI|a|b\fR        off     off     -       Set field delimiter \fIa\fR and pad character \fIb\fR.
204 .mh
205 Input and Output Conventions and Character Translations
206 .bt
207 \fB&ec\fI|c\fR  \e      \e      -       Set escape character.
208 .b1
209 \fB&eo\fR       on      -       -       Turn off escape character mechanism.
210 .b1
211 \fB&lg\fI|N\fR  -;\|on  on      -       Ligature mode
212 on if \fIN\fR>0.
213 .b1
214 \fB&ul\fI|N\fR  off     \fIN\(eq\fR1    E       Underline (italicize in \*(TR) \fIN\fR input lines.
215 .b1
216 \fB&cu\fI|N\fR  off     \fIN\(eq\fR1    E       Continuous underline in \*(NR; like \fBul\fR in \*(TR.
217 .b1
218 \fB&uf\fI|F\fR  Italic  Italic  -       Underline font set to \fIF\fR (to be switched to by \fBul\fR).
219 .b1
220 \fB&cc\fI|c\fR  \fB.    .\fR    E       Set control character to \fIc\fR.
221 .b1
222 \fB&c2\fI|c\fR  \fB\'   \'\fR   E       Set nobreak control character to \fIc\fR.
223 .b1
224 \fB&tr\fI|abcd....\fR   none    -       O       Translate \fIa\fR to \fIb\fR, etc. on output.
225 .mh
226 Local Horizontal and Vertical Motions, and the Width Function
227 .mh
228 Overstrike, Bracket, Line-drawing, and Zero-width Functions
229 .mh
230 Hyphenation.
231 .bt
232 \fB&nh\fR       hyphenate       -       E       No hyphenation.
233 .b1
234 \fB&hy\fI|N\fR  hyphenate       hyphenate       E       Hyphenate; \fIN =\fR mode.
235 .b1
236 \fB&hc\fI|c\fR  \fB\e%  \e%\fR  E       Hyphenation indicator character \fIc\fR.
237 .b1
238 \fB&hw\fI|word1|...\fR          ignored -       Exception words.
239 .mh
240 Three Part Titles.
241 .bt
242 \fB&tl\fI|\'left\|\'center\|\'right\|\'\fR      -       -       Three part title.
243 .b1
244 \fB&pc\fI|c\fR  \fB%\fR off     -       Page number character.
245 .b1
246 \fB&lt\fI|\(+-N\fR      6.5\|in previous        E,\fBm\fR       Length of title.
247 .mh
248 Output Line Numbering.
249 .bt
250 \fB&nm\fI|\(+-N|M|S|I\fR        off     E       Number mode on or off, set parameters.
251 .b1
252 \fB&nn\fI|N\fR  -       \fIN\(eq\fR1    E       Do not number next \fIN\fR lines.
253 .mh
254 Conditional Acceptance of Input
255 .bt
256 \fB&if\fI|c|anything\fR -       -       If condition \fIc\fR true, accept \fIanything\fR as input,
257 .b1
258                                 for multi-line use \fI\e{anything\|\e}\fR.
259 .b1
260 \fB&if|!\fIc|anything\fR        -       -       If condition \fIc\fR false, accept \fIanything\fR.
261 .b1
262 \fB&if\fI|N|anything\fR -       \fBu\fR If expression \fIN\fR > 0, accept \fIanything\fR.
263 .b1
264 \fB&if|!\fIN|anything\fR        -       \fBu\fR If expression \fIN\fR \(<= 0, accept \fIanything\fR.
265 .b1
266 \fB&if\fI|\|\'string1\|\'string2\|\'|anything\fR        -       If \fIstring1\fR identical to \fIstring2\fR,
267 accept \fIanything\fR.
268 .b1
269 \fB&if|!\fI\|\'string1\|\'string2\|\'|anything\fR       -       If \fIstring1\fR not identical to \fIstring2\fR,
270 accept \fIanything\fR.
271 .b1
272 \fB&ie\fI|c|anything\fR -       \fBu\fR If portion of if-else; all above forms (like \fBif\fR).
273 .b1
274 \fB&el\fI|anything\fR           -       -       Else portion of if-else.
275 .mh
276 Environment Switching.
277 .bt
278 \fB&ev\fI|N\fR  \fIN\(eq\fR0    previous        -       Environment switched (\fIpush down\fR).
279 .mh
280 Insertions from the Standard Input
281 .bt
282 \fB&rd\fI|prompt\fR\fR  -       \fIprompt=\s-1\fRBEL\s+1        Read insertion.
283 .b1
284 \fB&ex\fR       -       -       -       \
285 Exit from \*(NR\(sl\*(TR.
286 .mh
287 Input\(slOutput File Switching
288 .bt
289 \fB&so\fI|filename\fR           -       -       Switch source file \fI(push down)\fR.
290 .b1
291 \fB&nx\fI|filename\fR           end-of-file     -       Next file.
292 .b1
293 \fB&pi\fI|program\fR            -       -       Pipe output to \fIprogram\fR (\*(NR only).
294 .mh
295 Miscellaneous
296 .bt
297 \fB&mc\fI|c|N\fR        -       off     E,\fBm\fR       Set margin character \fIc\fR and separation \fIN\fR.
298 .b1
299 \fB&tm\fI|string\fR     -       newline -       Print \fIstring\fR on terminal \
300 (\s-1UNIX\s+1 standard error output).
301 .b1
302 \fB&ig\fI|yy\fR -       \fI.yy=\fB..\fR -       Ignore till call of \fIyy\fR.
303 .b1
304 \fB&pm\fI|t\fR  -       all     -       Print macro names and sizes;
305 .b1
306                                 if \fIt\fR present, print only total of sizes.
307 .b1
308 \fB&ab\fI|string\fR     -       -       -       Print a message and abort.
309 .b1
310 .lg 0
311 \fB&fl\fR       -       -       B       Flush output buffer.
312 .lg
313 .mh
314 Output and Error Messages
315 .xx
316 .nf
317 .rm mx
318 .ft R
319 \l'\n(.lu'
320 .ft B
321 .xx
322 .ta .3iC .6i
323         Notes-
324 .xx
325 .ft R
326         B       Request normally causes a break.
327         D       Mode or relevant parameters associated with current diversion level.
328         E       Relevant parameters are a part of the current environment.
329         O       Must stay in effect until logical output.
330         P       Mode must be still or again in effect at the time of physical output.
331         \fBv\fR,\fBp\fR,\fBm\fR,\fBu\fR Default scale indicator; if not specified, scale indicators are \fIignored\fR.
332 .br
333 .nr zz 11
334 .de cl
335 .ie \\n+(cl<\n(zz \{\
336 .       po +\\n(.lu/\n(zzu
337 .       rt
338 .\}
339 .el \{\
340 .po 26i/27u
341 .\}
342 ..
343 .nr cl 0 1
344 .di zz
345 .ta .3iR
346 .nf
347 .ps 8
348 .vs 10
349 ab      20
350 ad      4
351 af      8
352 am      7
353 as      7
354 bd      2
355 bp      3
356 br      4
357 c2      10
358 cc      10
359 ce      4
360 ch      7
361 cs      2
362 cu      10
363 da      7
364 de      7
365 di      7
366 ds      7
367 dt      7
368 ec      10
369 el      16
370 em      7
371 eo      10
372 ev      17
373 ex      18
374 fc      9
375 fi      4
376 fl      20
377 fp      2
378 ft      2
379 fz      2
380 hc      13
381 hw      13
382 hy      13
383 ie      16
384 if      16
385 ig      20
386 in      6
387 it      7
388 lc      9
389 lg      10
390 li      10
391 ll      6
392 ls      5
393 lt      14
394 mc      20
395 mk      3
396 na      4
397 ne      3
398 nf      4
399 nh      13
400 nm      15
401 nn      15
402 nr      8
403 ns      5
404 nx      19
405 os      5
406 pc      14
407 pi      19
408 pl      3
409 pm      20
410 pn      3
411 po      3
412 ps      2
413 rd      18
414 rm      7
415 rn      7
416 rr      8
417 rs      5
418 rt      3
419 so      19
420 sp      5
421 ss      2
422 sv      5
423 ta      9
424 tc      9
425 ti      6
426 tl      14
427 tm      20
428 tr      10
429 uf      10
430 ul      10
431 vs      5
432 wh      7
433 .di
434 .nr aa \n(dn/\n(zz
435 .ne \n(aau+10p
436 .sp
437 .ft B
438 Alphabetical Request and Section Number Cross Reference
439 .ft
440 .sp .3
441 .wh \n(nlu+\n(aau cl
442 .nr qq \n(nlu+\n(aau
443 .ps
444 .vs
445 .mk
446 .zz
447 .rt
448 .sp \n(.tu
449 .ch cl 12i
450 .sp
451 .bp
452 .nf
453 .ft B
454 Escape Sequences for Characters, Indicators, and Functions
455 .ft R
456 .xx
457 .TS
458 c2l
459 c2l2l
460 n2l2l.
461 .ft I
462 .bd I 3
463 Section Escape
464 Reference       Sequence        Meaning
465 .ft R
466 .bd I
467 .xx
468 10.1    \fB\e\e\fR      \e (to prevent or delay the interpretation of \e\|)
469 10.1    \fB\ee\fR       Printable version of the \fIcurrent\fR escape character.
470 2.1     \fB\e\'\fR      \' (acute accent); equivalent to \fB\e(aa\fR
471 2.1     \fB\e\`\fR      \` (grave accent); equivalent to \fB\e(ga\fR
472 2.1     \fB\e\-\fR      \- Minus sign in the \fIcurrent\fR font
473 7       \fB\e\^.\fR     Period (dot) (see \fBde\fR)
474 11.1    \fB\e\fR(space) Unpaddable space-size space character
475 11.1    \fB\e0\fR       Digit width space
476 .tr ||
477 11.1    \fB\e\||\fR     1\(sl6\|em narrow space character (zero width in \*(NR)
478 .tr |
479 11.1    \fB\e^\fR       1\(sl12\|em half-narrow space character (zero width in \*(NR)
480 .tr &&
481 4.1     \fB\e&\fR       Non-printing, zero width character
482 .tr &.
483 10.6    \fB\e!\fR       Transparent line indicator
484 10.7    \fB\e"\fR       Beginning of comment
485 7.3     \fB\e$\fIN\fR   Interpolate argument 1\(<=\fIN\fR\(<=9
486 13      \fB\e%\fR       Default optional hyphenation character
487 2.1     \fB\e(\fIxx\fR  Character named \fIxx\fR
488 7.1     \fB\e\(**\fIx\fR,|\fB\e\(**(\fIxx\fR    Interpolate string \fIx\fR or \fIxx\fR
489 9.1     \fB\ea\fR       Non-interpreted leader character
490 12.3    \fB\eb\fI\'abc...\|\'\fR        Bracket building function
491 4.2     \fB\ec\fR       Interrupt text processing
492 11.1    \fB\ed\fR       Forward (down) 1\(sl2\|em vertical motion (1\(sl2 line in \*(NR)
493 2.2     \fB\ef\fIx\fR,\fB\ef(\fIxx\fR,\fB\ef\fIN\fR     Change to font named \fIx\fR or \fIxx\fR, or position \fIN\fR
494 11.1    \fB\eh\fI\'N|\'\fR      Local horizontal motion; move right \fIN\fR \fI(negative left)\fR
495 11.3    \fB\ek\fIx\fR   Mark horizontal \fIinput\fR place in register \fIx\fR
496 12.4    \fB\el\fI\|\'Nc\|\'\fR  Horizontal line drawing function (optionally with \fIc\fR\|)
497 12.4    \fB\eL\fI\'Nc\|\'\fR    Vertical line drawing function (optionally with \fIc\fR\|)
498 8       \fB\en\fIx\fR,\fB\en(\fIxx\fR   Interpolate number register \fIx\fR or \fIxx\fR
499 12.1    \fB\eo\fI\'abc...\|\'\fR        Overstrike characters \fIa, b, c, ...\fR
500 4.1     \fB\ep\fR       Break and spread output line
501 11.1    \fB\er\fR       Reverse 1\|em vertical motion (reverse line in \*(NR)
502 2.3     \fB\es\fIN\fR,\|\fB\es\fI\(+-N\fR       Point-size change function
503 9.1     \fB\et\fR       Non-interpreted horizontal tab
504 11.1    \fB\eu\fR       Reverse (up) 1\(sl2\|em vertical motion (1\(sl2 line in \*(NR)
505 11.1    \fB\ev\fI\'N\|\|\'\fR   Local vertical motion; move down \fIN\fR \fI(negative up)\fR
506 11.2    \fB\ew\fI\'string\|\'\fR        Interpolate width of \fIstring\fR
507 5.2     \fB\ex\fI\'N\|\|\'\fR   Extra line-space function \fI(negative before, positive after)\fR
508 12.2    \fB\ez\fIc\fR   Print \fIc\fR with zero width (without spacing)
509 16      \fB\e{\fR       Begin conditional input
510 16      \fB\e}\fR       End conditional input
511 10.7    \fB\e\fR(newline)       Concealed (ignored) newline
512 -       \fB\e\fIX\fR    \fIX\fR, any character \fInot\fR listed above
513 .TE
514 .fi
515 .sp
516 The escape sequences
517 \fB\e\e\fR,
518 \fB\e\^.\fR,
519 \fB\e"\fR,
520 \fB\e$\fR,
521 \fB\e\(**\fR,
522 \fB\ea\fR,
523 \fB\en\fR,
524 \fB\et\fR,
525 and
526 \fB\e\fR(newline) are interpreted in \fIcopy mode\fR (\(sc7.2).
527 .bp
528 .ft B
529 .nf
530 Predefined General Number Registers
531 .ft
532 .TS
533 c2l
534 c2l2l
535 n2l2l.
536 .ft I
537 .bd I 3
538 Section Register
539 Reference       Name    Description
540 .ft R
541 .bd I
542 .xx
543 3       \fB%\fR Current page number.
544 19      \fBc&\fR        Number of \fIlines\fR read from current input file.
545 11.2    \fBct\fR        Character type (set by \fIwidth\fR function).
546 7.4     \fBdl\fR        Width (maximum) of last completed diversion.
547 7.4     \fBdn\fR        Height (vertical size) of last completed diversion.
548 -       \fBdw\fR        Current day of the week (1-7).
549 -       \fBdy\fR        Current day of the month (1-31).
550 11.3    \fBhp\fR        Current horizontal place on \fIinput\fR line (not in ditroff)
551 15      \fBln\fR        Output line number.
552 -       \fBmo\fR        Current month (1-12).
553 4.1     \fBnl\fR        Vertical position of last printed text base-line.
554 11.2    \fBsb\fR        Depth of string below base line (generated by \fIwidth\fR function).
555 11.2    \fBst\fR        Height of string above base line (generated by \fIwidth\fR function).
556 -       \fByr\fR        Last two digits of current year.
557 .TE
558 .sp
559 .ft B
560 Predefined Read-Only Number Registers
561 .ft R
562 .TS
563 c2l
564 c2l2l
565 n2l2l.
566 .ft I
567 .bd I 3
568 Section Register
569 Reference       Name    Description
570 .ft R
571 .bd I
572 .xx
573 7.3     \fB&$\fR        Number of arguments available at the current macro level.
574 -       \fB&A\fR        Set to 1 in \*(TR, if \fB\-a\fR option used; always 1 in \*(NR.
575 11.1    \fB&H\fR        Available horizontal resolution in basic units.
576 5.3     \fB&L\fR        Set to current \fIline-spacing\fR (\fBls\fR) parameter
577 -       \fB&P\fR        Set to 1 if the current page is being printed; otherwise 0.
578 -       \fB&T\fR        Set to 1 in \*(NR, if \fB\-T\fR option used; always 0 in \*(TR.
579 11.1    \fB&V\fR        Available vertical resolution in basic units.
580 5.2     \fB&a\fR        Post-line extra line-space most recently utilized \
581 using \fB\ex\fI\'N\|\'\fR.
582 19      \fB&c\fR        Number of \fIlines\fR read from current input file.
583 7.4     \fB&d\fR        Current vertical place in current diversion; equal to \fBnl\fR, if no diversion.
584 2.2     \fB&f\fR        Current font as physical quadrant (1-4).
585 4       \fB&h\fR        Text base-line high-water mark on current page or diversion.
586 6       \fB&i\fR        Current indent.
587 4.2     \fB&j\fR        Current adjustment mode and type.
588 4.1     \fB&k\fR        Length of text portion on current partial output line.
589 6       \fB&l\fR        Current line length.
590 4       \fB&n\fR        Length of text portion on previous output line.
591 3       \fB&o\fR        Current page offset.
592 3       \fB&p\fR        Current page length.
593 2.3     \fB&s\fR        Current point size.
594 7.5     \fB&t\fR        Distance to the next trap.
595 4.1     \fB&u\fR        Equal to 1 in fill mode and 0 in nofill mode.
596 5.1     \fB&v\fR        Current vertical line spacing.
597 11.2    \fB&w\fR        Width of previous character.
598 -       \fB&x\fR        Reserved version-dependent register.
599 -       \fB&y\fR        Reserved version-dependent register.
600 7.4     \fB&z\fR        Name of current diversion.
601 .TE
602 .in 0
603 .fi
604 .ps 10
605 .vs 12
606 .ft R
607 .bp