Linux man pages : groff_tmac (5)
GROFF_TMAC(5) GROFF_TMAC(5)
NAME
groff_tmac - macro files in the roff typesetting system
DESCRIPTION
The roff(7) type-setting system provides a set of macro packages suit-
able for special kinds of documents. Each macro package stores its
macros and definitions in a file called the package's tmac file. The
name is deduced from `TroffMACros'.
The tmac files are normal roff source documents, except that they usu-
ally contain only definitions and setup commands, but no text. All
tmac files are kept in a single or a small number of directories, the
tmac directories.
GROFF MACRO PACKAGES
groff provides all classical macro packages, some more full packages,
and some secondary packages for special purposes.
Man Pages
man This is the classical macro package for UNIX manual pages
(man pages); it is quite handy and easy to use; see
groff_man(7).
doc
mdoc An alternative macro package for man pages mainly used in BSD
systems; it provides many new features, but it is not the stan-
dard for man pages; see groff_mdoc(7).
Full Packages
The packages in this section provide a complete set of macros for writ-
ing documents of any kind, up to whole books. They are similar in
functionality; it is a matter of taste which one to use.
me The classical me macro package; see groff_me(7).
mm The semi-classical mm macro package; see groff_mm(7).
mom The new mom macro package, only available in groff. As this is
not based on other packages, it can be freely designed. So it
is expected to become quite a nice, modern macro package. See
groff_mom(7).
ms The classical ms macro package; see groff_ms(7).
Special Packages
The macro packages in this section are not intended for stand-alone
usage, but can be used to add special functionality to any other macro
package or to plain groff.
tty-char
Overrides the definition of standard troff characters and some
groff characters for tty devices. The optical appearance is
intentionally inferior compared to that of normal tty formatting
to allow processing with critical equipment.
www Additions of elements known from the html format, as being used
in the internet (World Wide Web) pages; this includes URL links
and mail addresses; see groff_www(7).
NAMING
In classical roff systems, there was a funny naming scheme for macro
packages, due to a simplistic design in option parsing. Macro packages
were always included by option -m; when this option was directly fol-
lowed by its argument without an intervening space, this looked like a
long option preceded by a single minus
|
 |
|
|