| www.delorie.com/gnu/docs/groff/groff_36.html | search |
![]() Buy GNU books! | |
| [ < ] | [ > ] | [ << ] | [ Up ] | [ >> ] | [Top] | [Contents] | [Index] | [ ? ] |
This section describes the available macros for manual pages. For further customization, put additional macros and requests into the file `man.local' which is loaded immediately after the `man' package.
Both title and section are positioned at the left and right in the header line (with section in parentheses immediately appended to title. extra1 is positioned in the middle of the footer line. extra2 is positioned at the left in the footer line (or at the left on even pages and at the right on odd pages if double-sided printing is active). extra3 is centered in the header line.
For HTML output, headers and footers are completely suppressed.
Additionally, this macro starts a new page; the new line number is 1
again (except if the `-rC1' option is given on the command line)
-- this feature is intended only for formatting multiple man pages; a
single man page should contain exactly one TH macro at the
beginning of the file.
SH up to the end of the line (or the
text in the next line if there is no argument to SH) in bold
face, one size larger than the base document size. Additionally, the
left margin for the following text is reset to its default value.
SS up to the end of the line (or the text in the next
line if there is no argument to SS) in bold face, at the same
size as the base document size. Additionally, the left margin for the
following text is reset to its default value.
The first line of text following this macro is interpreted as a string to be printed flush-left, as it is appropriate for a label. It is not interpreted as part of a paragraph, so there is no attempt to fill the first line with text from the following input lines. Nevertheless, if the label is not as wide as the indentation, then the paragraph starts at the same line (but indented), continuing on the following lines. If the label is wider than the indentation, then the descriptive part of the paragraph begins on the line following the label, entirely indented. Note that neither font shape nor font size of the label is set to a default value; on the other hand, the rest of the text has default font settings.
PD macro. The font size and shape are
reset to the default value (10pt roman if no `-rS' option
is given on the command line). Finally, the current left margin is
restored.
IP.
For example, to start a paragraph with bullets as the designator and 4 en indentation, write
.IP \(bu 4 |
RS macro can be nested.
RS
yet) has number 1, and each call to RS increases the level
by 1.
To summarize, the following macros cause a line break with the insertion
of vertical space (which amount can be changed with the PD
macro): SH, SS, TP, LP (PP,
P), IP, and HP.
The macros RS and RE also cause a break but do not insert
vertical space.
Finally, the macros SH, SS, LP (PP, P),
and RS reset the indentation to its default value.
| [ < ] | [ > ] | [ << ] | [ Up ] | [ >> ] | [Top] | [Contents] | [Index] | [ ? ] |
| webmaster donations bookstore | delorie software privacy |
| Copyright © 2003 by The Free Software Foundation | Updated Jun 2003 |