man.5 (2010 09)
m
man(5) man(5)
\n(LL Line length including \n(IN: 75 characters in
nroff; 6.5 inches in troff. Also see the
Options subsection.
LL is expressed in basic units (
u).
\n(PD Current interparagraph distance. Set by
.PD. PD is expressed in vertical line spaces (
v).
Measure
nroff and troff use a number of scale indicators to qualify horizontal and vertical measurements.
Many macro parameters have default units of measure. Because all assignments to numeric variables
are converted to basic units (u
), it is important to take care in assigning and referencing values.
Scale Basic Units
Indicator Measure nroff troff
c centimeter 240/2.54 D/2.54
i inch 240 D
m em C p*S
n en = em/2 C p*S/2
p point = 1/72 inch 240/72 D/72
P pica = 1/6 inch 240/6 D/6
u basic unit 1 1
v vertical line space VV
C Character width of output device.
D Dots per inch (dpi) of output device.
S Current type size in points.
V Current vertical line spacing in basic units.
Font Conventions
Entries in the HP-UX Reference use the following font conventions:
roman Regular typeface.
italic Used for variables and other words that represent an argument that may
take on a user-defined or variable value. Also used for emphasis .
boldface Used primarily in headings and occasionally for terms when first intro-
duced or when being defined.
constant-width Used for all literals that are typed exactly as shown when used as key-
board commands or command-line options, in programs, etc.
Page Footers
The strings used in the page footer are initialized by the
.TH macro. )H defaults to a nonprinting (null)
string. ]W defaults to the date the manpage is formatted, as in Formatted: July 5, 1995
.InHP
manpages,
)H is set to the company name, "Hewlett-Packard Company"; ]W is set to release information,
as in "HP-UX Release 10.10: November 1995".
This arrangement enables users and third-party software suppliers to directly control the contents of the
left- and right-hand fields of the footer line for use in displaying company name, release version, etc., as
desired when creating their own manual entries.
)H is printed on the left, ]W is printed on the right, and
the page number is printed in the center. These strings can be defined anywhere after the .TH macro
call, provided they appear before the end of the first page. For example, the following source file seg-
ment:
.TH man 5
.ds )H XYZ Company
.ds ]W Release 2.3: May 1996
HP-UX 11i Version 3: September 2010 − 5 − Hewlett-Packard Company 5