Troff macro
From Wikipedia, the free encyclopedia
(Redirected from Troff macros)
| This article does not cite any references or sources. Please help improve this article by adding citations to reliable sources. Unsourced material may be challenged and removed. (December 2009) |
The troff typesetting system includes sets of commands called macros that are run before starting to process the document. These macros include setting up page headers and footers, defining new commands, and generally influencing how the output will be formatted.
The command-line argument for including a macro set is -mname, which has led to many macro sets being known as the base filename with a leading m.
The standard macro sets, with leading m are:
- man -- for creating manual pages
- mdoc -- redesign of man for semantically-annotated manual pages
- me -- for creating research papers
- mm -- for creating memorandums
- ms -- for creating books, reports, and technical documentation