xref: /csrg-svn/share/man/man7/man.7 (revision 20951)
@(#)man.7 5.1 (Berkeley) 05/20/85

MAN 7 "7 March 1983"
.AT 3
NAME
man - macros to typeset manual
SYNOPSIS
nroff -man file ...

troff -man file ...

DESCRIPTION
These macros are used to lay out pages of this manual. A skeleton page may be found in the file /usr/man/man0/xx.

Any text argument t may be zero to six words. Quotes may be used to include blanks in a `word'. If text is empty, the special treatment is applied to the next input line with text to be printed. In this way . I may be used to italicize a whole line, or . SM followed by . B to make small bold letters.

A prevailing indent distance is remembered between successive indented paragraphs, and is reset to default value upon reaching a non-indented paragraph. Default units for indents i are ens.

Type font and size are reset to default values before each paragraph, and after processing font and size setting macros.

These strings are predefined by -man :

\e*R
\e*S
Change to default type size.
FILES
/usr/lib/tmac/tmac.an

/usr/man/man0/xx

SEE ALSO
troff(1), man(1)
BUGS
Relative indents don't nest.
REQUESTS
.di xx \ka

.di Request Cause If no Explanation Break Argument .li t no t=n.t.l.* Text t is bold. .li t no t=n.t.l. Join words of t alternating bold and italic. .li t no t=n.t.l. Join words of t alternating bold and Roman. .li .li

i yes i=p.i.* Set prevailing indent to i. Begin paragraph with hanging indent. .li t no t=n.t.l. Text t is italic. .li t no t=n.t.l. Join words of t alternating italic and bold. .li

x i yes x="" Same as .TP with tag
x. .li t no t=n.t.l. Join words of t alternating italic and Roman. .li

yes - Same as .PP. .li

d no d=.4v Interparagraph distance is d. .li

yes - Begin paragraph. Set prevailing indent to .5i. .li

Set prevailing indent to amount of starting .RS. .li t no t=n.t.l. Join words of t alternating Roman and bold. .li t no t=n.t.l. Join words of t alternating Roman and italic. .li

move left margin in distance i. Set prevailing indent to .5i for nested indents. .li

t yes t=n.t.l. Subhead.
.li t no t=n.t.l. Text t is small. .li
n c x v m yes - Begin page named
n of chapter c; x is extra commentary, e.g. `local', for page foot center; v alters page foot left, e.g. `4th Berkeley Distribution'; m alters page head center, e.g. `Brand X Programmer's Manual'. Set prevailing indent and tabs to .5i. .li

i yes i=p.i. Set prevailing indent to i. Begin indented paragraph with hanging tag given by next text line. If tag doesn't fit, place it on separate line.

* n.t.l. = next text line; p.i. = prevailing indent