3 man \- macros to typeset manual
11 These macros are used to format pages of this manual.
17 requests, any text argument denoted
19 in the request summary may be zero to six words.
22 may be used to include blanks in a `word'.
26 the special treatment is applied to
27 the next text input line (the next line that doesn't begin with dot).
28 In this way, for example,
30 may be used to italicize a line of more than 6 words, or
34 to make small letters in `bold' font.
36 A prevailing indent distance is remembered between
37 successive indented paragraphs,
38 and is reset to default value upon reaching a non-indented paragraph.
39 Default units for indents
46 roman, the main font, preferred for diagnostics
50 italic, preferred for parameters, short names of commands,
51 names of manual pages,
52 and naked function names
55 `bold', actually the constant width font,
56 preferred for examples, file names, declarations, keywords, names of
59 (numbers are rarely literals)
62 also the constant width font.
68 arguments of the macros
73 are printed in quotes;
74 preferred only where quotes really help (e.g. lower-case literals and
78 Type font and size are reset to default values
79 before each paragraph, and after processing
80 font- or size-setting macros.
84 macros admit equations and tables in the style of
88 but do not support arguments on
94 These strings are predefined by
98 .if t `\*R', `(Reg)' in
100 .if n `(Reg)', trademark symbol in
106 Change to default type size.
108 .B /sys/lib/tmac/tmac.an
113 .ta \w'.TH n c x 'u +\w'Cause 'u +\w'Argument\ 'u
120 Request Cause If no Explanation
124 \&\fL.B\fR \fIt\fR no \fIt\fR=n.t.l.* Text
128 \&\fL.BI\fR \fIt\fR no \fIt\fR=n.t.l. Join
131 alternating bold and italic.
133 \&\fL.BR\fR \fIt\fR no \fIt\fR=n.t.l. Join
136 alternating bold and Roman.
138 \&\fL.DT\fR no Restore default tabs.
140 \&\fL.EE\fR yes End displayed example
142 \&\fL.EX\fR yes Begin displayed example
144 \&\fL.HP\fR \fIi\fR yes \fIi\fR=p.i.* Set prevailing indent to
146 Begin paragraph with hanging indent.
148 \&\fL.I\fR \fIt\fR no \fIt\fR=n.t.l. Text
152 \&\fL.IB\fR \fIt\fR no \fIt\fR=n.t.l. Join
155 alternating italic and bold.
157 \&\fL.IP\fR \fIx i\fR yes \fIx\fR="" Same as \fL.TP\fP with tag
160 \&\fL.IR\fR \fIt\fR no \fIt\fR=n.t.l. Join
163 alternating italic and Roman.
165 \&\fL.L\fR \fIt\fR no \fIt\fR=n.t.l. Text
169 \&\fL.LP\fR yes Same as \fL.PP\fP.
171 \&\fL.LR\fR \fIt\fR no Join 2
174 alternating literal and Roman.
176 \&\fL.PD\fR \fId\fR no \fId\fR=\fL.4v\fP Interparagraph distance is
179 \&\fL.PP\fR yes Begin paragraph.
180 Set prevailing indent to default.
182 \&\fL.RE\fR yes End of relative indent.
183 Set prevailing indent to amount of starting \fL.RS\fP.
185 \&\fL.RI\fR \fIt\fR no \fIt\fR=n.t.l. Join
188 alternating Roman and italic.
190 \&\fL.RL\fR \fIt\fR no Join 2 or 3
193 alternating Roman and literal.
195 \&\fL.RS\fR \fIi\fR yes \fIi\fR=p.i. Start relative indent,
196 move left margin in distance
198 Set prevailing indent to default for nested indents.
200 \&\fL.SH\fR \fIt\fR yes \fIt\fR="" Subhead; reset paragraph distance.
202 \&\fL.SM\fR \fIt\fR no \fIt\fR=n.t.l. Text
206 \&\fL.SS\fR \fIt\fR no \fIt\fR="" Secondary subhead.
208 \&\fL.TF\fR \fIs\fR yes Prevailing indent is wide as
213 paragraph distance is 0.
215 \&\fL.TH\fR \fIn c x\fR yes Begin page named
220 is extra commentary, e.g. `local', for page head.
221 Set prevailing indent and tabs to default.
223 \&\fL.TP\fR \fIi\fR yes \fIi\fR=p.i. Set prevailing indent to
225 Restore default indent if
227 Begin indented paragraph
228 with hanging tag given by next text line.
229 If tag doesn't fit, place it on separate line.
231 \&\fL.1C\fR yes Equalize columns and return to 1-column output
233 \&\fL.2C\fR yes Start 2-column nofill output
236 * n.t.l. = next text line; p.i. = prevailing indent
238 There's no way to fool
240 into handling literal double quote marks
242 in font-alternation macros, such as
245 There is no direct way to suppress column widows in 2-column
246 output; the column lengths may be adjusted by inserting
248 requests before the closing