BSD 3 development
[unix-history] / usr / man / man7 / man.7
CommitLineData
e6817382
BJ
1.TH MAN 7
2.SH NAME
3man \- macros to typeset manual
4.SH SYNOPSIS
5.B
6nroff \-man\
7file ...
8.PP
9.B
10troff \-man\
11file ...
12.SH DESCRIPTION
13These macros are used to lay out pages of this manual.
14A skeleton page may be found in the file
15/usr/man/man0/xx.
16.PP
17Any text argument
18.I t
19may be zero to six words.
20Quotes may be used to include blanks in a `word'.
21If
22.I text
23is empty,
24the special treatment is applied to
25the next input line with text to be printed.
26In this way
27.BR . I
28may be used to italicize a whole line, or
29.BR . SM
30followed by
31.BR . B
32to make small bold letters.
33.PP
34A prevailing indent distance is remembered between
35successive indented paragraphs,
36and is reset to default value upon reaching a non-indented paragraph.
37Default units for indents
38.I i
39are ens.
40.PP
41Type font and size are reset to default values
42before each paragraph, and after processing
43font and size setting macros.
44.PP
45These strings are predefined by
46.BR \-man :
47.IP \e*R
48.if t `\*R', `(Reg)' in
49.if t .I nroff.
50.if n `(Reg)', trademark symbol in
51.if n .I troff.
52.IP \e*S
53Change to default type size.
54.SH FILES
55/usr/lib/tmac/tmac.an
56.br
57/usr/man/man0/xx
58.SH SEE ALSO
59troff(1), man(1)
60.SH BUGS
61Relative indents don't nest.
62.SH REQUESTS
63.ta \w'.TH n c x 'u +\w'Cause 'u +\w'Argument\ 'u
64.di xx
65 \ka
66.br
67.di
68.in \nau
69.ti0
70Request Cause If no Explanation
71.ti0
72 Break Argument
73.ti0
74.li
75.B \fIt\fR no \fIt\fR=n.t.l.* Text
76.I t
77is bold.
78.ti0
79.li
80.BI \fIt\fR no \fIt\fR=n.t.l. Join
81words of
82.I t
83alternating bold and italic.
84.ti0
85.li
86.BR \fIt\fR no \fIt\fR=n.t.l. Join
87words of
88.I t
89alternating bold and Roman.
90.ti0
91.li
92.DT no .5i 1i... Restore default tabs.
93.ti0
94.li
95.HP \fIi\fR yes \fIi\fR=p.i.* Set prevailing indent to
96.I i.
97Begin paragraph with hanging indent.
98.ti0
99.li
100.I \fIt\fR no \fIt\fR=n.t.l. Text
101.I t
102is italic.
103.ti0
104.li
105.IB \fIt\fR no \fIt\fR=n.t.l. Join
106words of
107.I t
108alternating italic and bold.
109.ti0
110.li
111.IP \fIx i\fR yes \fIx\fR="" Same as .TP with tag
112.I x.
113.ti0
114.li
115.IR \fIt\fR no \fIt\fR=n.t.l. Join
116words of
117.I t
118alternating italic and Roman.
119.ti0
120.li
121.LP yes - Same as .PP.
122.ti0
123.li
124.PD \fId\fR no \fId\fR=.4v Interparagraph distance is
125.I d.
126.ti0
127.li
128.PP yes - Begin paragraph.
129Set prevailing indent to .5i.
130.ti0
131.li
132.RE yes - End of relative indent.
133Set prevailing indent to amount of starting .RS.
134.ti0
135.li
136.RB \fIt\fR no \fIt\fR=n.t.l. Join
137words of
138.I t
139alternating Roman and bold.
140.ti0
141.li
142.RI \fIt\fR no \fIt\fR=n.t.l. Join
143words of
144.I t
145alternating Roman and italic.
146.ti0
147.li
148.RS \fIi\fR yes \fIi\fR=p.i. Start relative indent,
149move left margin in distance
150.I i.
151Set prevailing indent to .5i for nested indents.
152.ti0
153.li
154.SH \fIt\fR yes \fIt\fR=n.t.l. Subhead.
155.ti0
156.li
157.SM \fIt\fR no \fIt\fR=n.t.l. Text
158.I t
159is small.
160.ti0
161.li
162.TH \fIn c x\fR yes - Begin page named
163.I n
164of chapter
165.IR c;
166.I x
167is extra commentary, e.g. `local', for page foot.
168Set prevailing indent and tabs to .5i.
169.ti0
170.li
171.TP \fIi\fR yes \fIi\fR=p.i. Set prevailing indent to
172.I i.
173Begin indented paragraph
174with hanging tag given by next text line.
175If tag doesn't fit, place it on separate line.
176.PP
177.ti0
178* n.t.l. = next text line; p.i. = prevailing indent