2 Copyright (C) 1999-2000, 2001, 2002, 2003, 2004, 2005
3 Free Software Foundation, Inc.
5 Permission is granted to make and distribute verbatim copies of this
6 manual provided the copyright notice and this permission notice are
7 preserved on all copies.
9 Permission is granted to copy and distribute modified versions of this
10 manual under the conditions for verbatim copying, provided that the
11 entire resulting derived work is distributed under the terms of a
12 permission notice identical to this one.
14 Permission is granted to copy and distribute translations of this
15 manual into another language, under the above conditions for modified
16 versions, except that this permission notice may be included in
17 translations approved by the Free Software Foundation instead of in
28 .TH GROFF_MAN @MAN7EXT@ "@MDATE@" "Groff Version @VERSION@"
31 .\" -----------------------------------------------------------------
35 groff_man \- groff `man' macros to support generation of man pages
38 .\" -----------------------------------------------------------------
61 .\" -----------------------------------------------------------------
67 macros used to generate
71 were written by James Clark.
73 This document provides a brief summary of the use of each macro in that
77 .\" -----------------------------------------------------------------
83 macros understand the following command line options (which define
88 This option (the default if in nroff mode) will create a single, very
89 long page instead of multiple pages.
97 If more than one manual page is given on the command line, number the
98 pages continuously, rather than starting each at\ 1.
102 Double-sided printing.
104 Footers for even and odd pages are formatted differently.
108 Set distance of the footer relative to the bottom of the page if
109 negative or relative to the top if positive.
111 The default is -0.5i.
115 Set hyphenation flags.
117 Possible values are 1\ to hyphenate without restrictions, 2\ to not
118 hyphenate the last word on a page, 4\ to not hyphenate the last two
119 characters of a word, and 8\ to not hyphenate the first two characters
122 These values are additive; the default is\ 14.
126 Set body text indentation to
128 The default is 7n for
134 this value should always be an integer multiple of unit `n' to get
135 consistent indentation.
138 .BI \-rLL= line-length
141 If this option is not given,
142 the line length is set to respect any value set by a prior `.ll' request,
145 be in effect when the `.TH' macro is invoked),
146 if this differs from the built\-in default for the formatter;
147 otherwise it defaults to 78n in
154 Note that the use of a `.ll' request to initialize the line length
155 is supported for backward compatibility with some versions of the
158 direct initialization of the `LL' register should
160 be preferred to the use of such a request.
161 In particular, note that a `.ll\ 65n' request will
168 default initialization to 78n will prevail),
170 the `-rLL=65n' option, or an equivalent `.nr\ LL\ 65n'
171 request preceding the use of the `TH' macro,
173 set a line length of 65n.
176 .BI \-rLT= title-length
179 If this option is not given, the title length defaults to the line
184 Enumeration of pages will start with
190 Base document font size is
194 can be 10, 11, or\ 12) rather than 10\ points.
198 Set sub-subheading indentation to
212 For example, the option `\-rX2' will produce the following page
213 numbers: 1, 2, 2a, 2b, 2c, etc.
216 .\" -----------------------------------------------------------------
220 This section describes the available macros for manual pages.
222 For further customization, put additional macros and requests into the
225 which will be loaded immediately after the
230 .BI .TH " title section \fB[\fPextra1\fB]\fP \fB[\fPextra2\fB]\fP \fB[\fPextra3\fB]"
237 which must take on a value between 1 and\ 8.
241 may also have a string appended, e.g. `.pm', to indicate a specific
248 are positioned at the left and right in the header line (with
250 in parentheses immediately appended to
253 will be positioned in the middle of the footer line.
255 will be positioned at the left in the footer line (or at the left on
256 even pages and at the right on odd pages if double-sided printing is
259 is centered in the header line.
262 For HTML output, headers and footers are completely supressed.
265 Additionally, this macro starts a new page; the new line number is\ 1
266 again (except if the `-rC1' option is given on the command line) --
267 this feature is intended only for formatting multiple
271 should contain exactly one
273 macro at the beginning of the file.
276 .BI ".SH [" "text for a heading" ]
277 Set up an unnumbered section heading sticking out to the left.
279 Prints out all the text following
281 up to the end of the line (or the text in the next input line if there
285 (or the font specified by the string
287 one size larger than the base document size.
289 Additionally, the left margin and the indentation for the following
290 text is reset to the default values.
293 .BI ".SS [" "text for a heading" ]
294 Set up a secondary, unnumbered section heading.
296 Prints out all the text following
298 up to the end of the line (or the text in the next input line if there
302 (or the font specified by the string
304 at the same size as the base document size.
306 Additionally, the left margin and the indentation for the following
307 text is reset to the default values.
311 Set up an indented paragraph with label.
313 The indentation is set to
315 if that argument is supplied (the default unit is `n' if omitted),
316 otherwise it is set to the previous indentation value specified with
321 (or to the default value if none of them have been used yet).
324 The first input line of text following this macro is interpreted as a
325 string to be printed flush-left, as it is appropriate for a label.
327 It is not interpreted as part of a paragraph, so there is no attempt
328 to fill the first line with text from the following input lines.
330 Nevertheless, if the label is not as wide as the indentation the
331 paragraph starts at the same line (but indented), continuing on the
334 If the label is wider than the indentation the descriptive part of the
335 paragraph begins on the line following the label, entirely indented.
337 Note that neither font shape nor font size of the label is set to a
338 default value; on the other hand, the rest of the text will have
339 default font settings.
344 macro is the macro used for the explanations you are just reading.
352 These macros are mutual aliases.
354 Any of them causes a line break at the current position, followed by a
355 vertical space downwards by the amount specified by the
359 The font size and shape are reset to the default value (10pt
362 Finally, the current left margin and the indentation are restored.
365 .BI ".IP [" designator "] [" nnn ]
366 Set up an indented paragraph, using
368 as a tag to mark its beginning.
370 The indentation is set to
372 if that argument is supplied (the default unit is `n' if omitted),
373 otherwise it is set to the previous indentation value specified with
378 (or to the default value if none of them have been used yet).
380 Font size and face of the paragraph (but not the designator) are reset
381 to its default values.
384 To start an indented paragraph with a particular indentation but
385 without a designator, use `""' (two doublequotes) as the second
389 For example, the following paragraphs were all set up with bullets as
390 the designator, using `.IP\ \\(bu\ 4'.
392 The whole block has been enclosed with `.RS' and `.RE' to set the left
393 margin temporarily to the current indentation value.
398 is one of the three macros used in the
400 package to format lists.
405 This macro produces a paragraph with a left hanging indentation.
410 This macro produces an unindented label followed by an indented
416 Set up a paragraph with hanging left indentation.
418 The indentation is set to
420 if that argument is supplied (the default unit is `n' if omitted),
421 otherwise it is set to the previous indentation value specified with
426 (or to the default value if none of them have been used yet).
428 Font size and face are reset to its default values.
430 The following paragraph illustrates the effect of this macro with
431 hanging indentation set to\ 4 (enclosed by
435 to set the left margin temporarily to the current indentation):
439 This is a paragraph following an invocation of the
443 As you can see, it produces a paragraph where all lines but the first
449 This macro moves the left margin to the right by the value
451 if specified (default unit is `n'); otherwise it is set to the
452 previous indentation value specified with
457 (or to the default value if none of them have been used yet).
459 The indentation value is then set to the default.
468 This macro moves the left margin back to level
470 restoring the previous left margin.
472 If no argument is given, it moves one level back.
474 The first level (i.e., no call to
476 yet) has number\ 1, and each call to
478 increases the level by\ 1.
481 To summarize, the following macros cause a line break with the
482 insertion of vertical space (which amount can be changed with the
498 also cause a break but no insertion of vertical space.
501 .\" -----------------------------------------------------------------
503 .SH "MACROS TO SET FONTS"
505 The standard font is Roman; the default text size is 10\ point.
509 Causes the text on the same line or the text on the next input line to
510 appear in a font that is one point size smaller than the default font.
514 Causes the text on the same line or the text on the next input line to
515 appear in boldface font, one point size smaller than the default font.
519 Causes text on the same line to appear alternately in bold face and
522 The text must be on the same line as the macro call.
527 \&.BI this "word and" that
529 would cause `this' and `that' to appear in bold face, while `word and'
535 Causes text to appear alternately in italic and bold face.
537 The text must be on the same line as the macro call.
541 Causes text on the same line to appear alternately in roman and
544 The text must be on the same line as the macro call.
548 Causes text on the same line to appear alternately in italic and
551 The text must be on the same line as the macro call.
555 Causes text on the same line to appear alternately in bold face and
558 The text must be on the same line as the macro call.
562 Causes text on the same line to appear alternately in roman and bold
565 The text must be on the same line as the macro call.
571 to appear in bold face.
573 If no text is present on the line where the macro is called the text
574 of the next input line appears in bold face.
582 If no text is present on the line where the macro is called the text
583 of the next input line appears in italic.
586 .\" -----------------------------------------------------------------
590 The default indentation is 7.2n in troff mode and 7n in nroff mode
593 which ignores indentation.
597 Set tabs every 0.5 inches.
599 Since this macro is always called during a
601 request, it makes sense to call it only if the tab positions have been
606 Adjust the empty space before a new paragraph or section.
608 The optional argument gives the amount of space (default unit is `v');
609 without parameter, the value is reset to its default value (1\ line in
610 nroff mode, 0.4v\ otherwise).
612 This affects the macros
626 .BI ".AT [" system " [" release ]]
627 Alter the footer for use with \f[CR]AT&T\f[]
629 This command exists only for compatibility; don't use it.
633 info manual for more.
636 .BI ".UC [" version ]
637 Alter the footer for use with \f[CR]BSD\f[]
639 This command exists only for compatibility; don't use it.
643 info manual for more.
647 Print the header string.
649 Redefine this macro to get control of the header.
653 Print the footer string.
655 Redefine this macro to get control of the footer.
658 The following strings are defined:
661 Switch back to the default font size.
665 The `registered' sign.
669 The `trademark' sign.
675 Left and right quote.
677 This is equal to `\e(lq' and `\e(rq', respectively.
681 The typeface used to print headings and subheadings.
686 If a preprocessor like
690 is needed, it has become usage to make the first line of the
698 Note the single space character after the double quote.
700 consists of letters for the needed preprocessors: `e' for
706 Modern implementations of the
708 program read this first line and automatically call the right
712 .\" -----------------------------------------------------------------
719 These are wrapper files to call
723 This file checks whether the
727 package should be used.
732 macros are contained in this file.
735 Local changes and customizations should be put into this file.
738 .\" -----------------------------------------------------------------
744 macros consist of groups of
746 requests, one can, in principle, supplement the functionality of the
748 macros with individual
750 requests where necessary.
754 info pages for a complete reference of all requests.
757 .BR @g@tbl (@MAN1EXT@),
758 .BR @g@eqn (@MAN1EXT@),
759 .BR @g@refer (@MAN1EXT@),
764 .\" -----------------------------------------------------------------
768 This manual page was originally written for the Debian GNU/Linux
769 system by Susan G. Kleinmann <sgk@debian.org>, corrected and updated
770 by Werner Lemberg <wl@gnu.org>, and is now part of the GNU troff