HP-UX Reference (11i v1 05/09) - 5 Miscellaneous Topics (vol 9)

m
man(5) man(5)
The resulting output is in the form:
t1(s2) n4 t1(s2)
a5 a5
c3
.SH text Place section head text, such as
SYNOPSIS, here. Section headings start at the left margin.
Since they are normally all uppercase, they are printed a point-size smaller in
troff.
.SS text Place subsection head text, such as
Options, here. Subsection headings start between the left
margin and the normal text indent.
.S3 text Place third-level head text, such as subhead, here. Third-level headings start at the normal text
indent.
Paragraph Macros
.P
.PP
Begin a block paragraph. Reset in to \n(IN, "cancelling" any value set by previous
.HP, .IP,
and
.TP macros.
.HP in Begin a paragraph with hanging indent. The text begins at the current margin. The second and
following output lines are indented.
.TP in Begin an indented paragraph with hanging tag. The next input line that contains text to be
printed is taken as the tag. The tag begins at the current margin. If the tag fits in the indent,
the paragraph text begins at the indent position on the same line. If the tag does not fit in the
indent, the paragraph text begins at the indent position on the next line.
.IP tinSame as .TP in with tag t. Often used to get an indented paragraph without a tag.
.RS mi Increase the current left margin by mi.Ifmi is omitted, it defaults to the current value of in.
Set the paragraph indent, in, for the new margin level to
\n(IN. You can specify up to nine
.RS increment levels. Margin increments can be backed out with the .RE macro and are reset
to the base margin by the .TH, .SH, .SS, and .S3 header macros.
.RE k Return to the kth left margin setting (initially, k=1; k=0 is equivalent to k=1). If k is omitted,
return to the previous margin value. The paragraph indent, in, is restored to the value it had
prior to the corresponding
.RS
macro.
.PD pd Set the interparagraph distance to pd vertical spaces. If pd is omitted, set the interparagraph
distance to the default value: 1 line in
nroff. 0.4 line in troff. The measure for pd is verti-
cal line spaces (
v).
Font Macros
.B text Set text in bold.
.C text Set text in constant-width font. See the WARNINGS section.
.I text Set text in italic.
(There is no .R (roman) macro, but you can use one of the .XY combinations if need be.)
.XY a b Concatenate a in font X with b in font Y and alternate these two fonts for up to six words. The
font letters X and Y can be B (bold), C (constant-width), I (italic), and R (roman), in the following
combinations:
.CB .IB .RB
.BC .IC .RC
.BI .CI .RI
.BR .CR .IR
For more about constant-width font, see the WARNINGS section.
.SM text Make text one point smaller than the default point size. This has no effect in nroff.
Special Macros
These macros identify common text elements in manpages. They aid in providing consistent font usage in
the HP style and in improving conversion to other formatting systems.
HP-UX 11i Version 1: September 2005 3 Hewlett-Packard Company Section 589