NAME
mm − text formatting (memorandum) macros
SYNOPSIS
nroff -mm [options] filename...
troff -mm [options] filename...
DESCRIPTION
This package of nroff(1) and troff(1) macro definitions provides a formatting facility for various styles of articles, theses, and books. When producing 2-column output on a terminal or lineprinter, or when reverse line motions are needed, filter the output through col(1). All external -mm macros are defined below.
Note: this -mm macro package is an extended version written at Berkeley and is a superset of the standard -mm macro packages as supplied by Bell Labs. Some of the Bell Labs macros have been removed; for instance, it is assumed that the user has little interest in producing headers stating that the memo was generated at Whippany Labs.
Many nroff and troff requests are unsafe in conjunction with this package. However, the first four requests below may be used with impunity after initialization, and the last two may be used even before initialization:
.bp |
begin new page |
|||
.br |
break output line |
|||
.spn |
insert n spacing lines |
|||
.cen |
center next n lines |
|||
.lsn |
line spacing: n=1 single, n=2 double space |
|||
.na |
no alignment of right margin |
Font and point size changes with \f and \s are also allowed; for example, \fIword\fR will italicize word. Output of the tbl(1), eqn(1) and refer(1) preprocessors for equations, tables, and references is acceptable as input.
REQUESTS
Here is a table of macros.
REGISTERS
Formatting distances can be controlled in -mm by means of built-in number registers. For example, this sets the line length to 6.5 inches:
.nr LL 6.5i
Here is a table of number registers and their default values:
When resetting these values, make sure to specify the appropriate units. Setting the line length to 7, for example, will result in output with one character per line. Setting Pi to 0 suppresses paragraph indentation
Here is a list of string registers available in -mm; they may be used anywhere in the text:
When using the extended accent mark definitions available with .AM, these strings should come after, rather than before, the letter to be accented.
FILES
/usr/share/lib/tmac/m
/usr/share/lib/tmac/mm.[nt]
nroff and troff definitions of mm.
ATTRIBUTES
See attributes(5) for descriptions of the following attributes:
SEE ALSO
col(1), eqn(1), nroff(1), refer(1), tbl(1), troff(1), attributes(5)
BUGS
Floating keeps and regular keeps are diverted to the same space, so they cannot be mixed together with predictable results.