|
1 How to write man pages - nrof -man |
|
2 .TH title section date extra2 extra3 |
|
3 .SH $1 (Section Header) |
|
4 .SS $1 (Subsection) |
|
5 .BR break line |
|
6 .P New paragraph (vertical space, point size, font regular, indent) |
|
7 .LP $1 (labeled paragraph, label $1) |
|
8 .TP $1 (will be at the left column until next line input's newline.) |
|
9 After newline, will be a bit more to the left($1), as in html's <DL>. |
|
10 Subsequent .TP, without parameter, will keep the later parameter. |
|
11 The .TP indent value is reset after .PP. (?) |
|
12 .IP $1 (Starts an indented paragraph where "item" is put to the left of it; if |
|
13 no blanks in "item", quotes are not needed.) |
|
14 .HP (Starts a paragraph with a hanging indent; i.e. lines after the first are |
|
15 indented) |
|
16 .RE Defines an indented region |
|
17 .NF Nofill (used to suppress normal line filling; used for preformatted text) |
|
18 .FI Fill (used to resume normal line filling, usually after a .nf) |
|
19 .\" Comment line |
|
20 |
|
21 .B (bold) |
|
22 .I (Italic) |
|
23 .SM (Small) |
|
24 .SB (Small bold) |
|
25 .IR $1 $2 (first italic, second regular, ...) |
|
26 .RI $1 $2 (first regular, second italic, ...) |
|
27 .IB $1 $2 as above, italic bold. |
|
28 .BI $1 $2 as above, bold italic |
|
29 .RB $1 $2 as above, regular bold. |
|
30 .BB $1 $2 as above, bold regular |
|
31 .RS Store indents |
|
32 .RE Restore indents |
|
33 .R Register sign (R) |
|
34 |
|
35 \fX change font (B, R) |
|
36 \- char - |
|
37 \` char ` |
|
38 |
|
39 |
|
40 .AT (settings for Unix) |
|
41 .UC (settings for BSD) |
|
42 .DT (tabs every .5 inches) |
|
43 .PD ? |
|
44 |
|
45 .LP ?? |
|
46 |
|
47 .IP |