man.5 (2010 09)

m
man(5) man(5)
NAME
man - macros for formatting manpages
SYNOPSIS
man file ...
nroff -man
[option ]... [file]...
DESCRIPTION
The
man macros are used by the man
and nroff commands (see man(1) and nroff(1)) and are usable
by
troff (see third-party documentation) to format the on-line versions of manpages found in HP-UX
Reference and other related reference manuals. The
man command calls nroff.
man and nroff Defaults
The default page size is 85 characters by 66 lines (8.5×11 inches), with a 75-character by 60-line text
area. Hyphenation is turned off and paragraphs are left-adjusted, ragged-right.
troff Defaults
The default page size is 8.5×11 inches with a 6.5×10-inch text area. The type size is 10 points and the
vertical line spacing is 12 points. Hyphenation is turned on and paragraphs are justified left and right.
Other Defaults
Type font and size are reset to default values before each paragraph and after processing font- and size-
setting macros such as
.I, .RB, and .SM. Tab stops are neither used nor set by any macro except
.DT
and .TH. The .TH macro invokes .DT (see below).
Options
The following options can be specified for
nroff or troff. They are not permitted for the
man com-
mand.
-rs1 Reduce the dimensions for troff to a page size of 6×9 inches with a 4.75×8.375-inch text
area, the type size to 9 points, and the vertical line spacing to 10 points. This option is ignored
by
nroff.
-rV2 Set certain parameters to values appropriate for certain Versatec printers: line length to 82
characters (ens); page length to 84 lines; underlining inhibited. Do not confuse this option
with the
-Tvp option of the man command, which is available on some operating systems, but
not on HP-UX.
Summary of Macros, Strings, and Numbers
The defined
man macros, strings, and numbers are summarized here and described in detail in the fol-
lowing subsections.
.B Set text in bold.
.BC Set words alternately in bold and constant-width.
.BI Set words alternately in bold and italics.
.BR Set words alternately in bold and roman.
.C Set text in constant-width.
.CB Set words alternately in constant-width and bold.
.CD Identify command name.
.CI Set words alternately in constant-width and italics.
.CR Set words alternately in constant-width and roman.
.CT Identify citation title.
.DT Restore default tab settings.
.EM Identify emphasis.
.ER Identify error name.
.EV Identify environment variable name.
.GT Identify glossary term.
.HP Begin paragraph with hanging indent.
.I Set text in italics.
.IB Set words alternately in italics and bold.
.IC Set words alternately in italics and constant-width.
.IP Begin indented paragraph with optional tag.
HP-UX 11i Version 3: September 2010 1 Hewlett-Packard Company 1

Summary of content (8 pages)