groff_ms(7) -- Linux man page
NAMEgroff_ms - groff ms macros
SYNOPSISgroff -ms [ options... ] [ files... ]
groff -m ms [ options... ] [ files... ]
DESCRIPTIONThis manual page describes the GNU version of the ms macros, part of the groff typesetting system. The ms macros are mostly compatible with the documented behavior of the 4.3 BSD Unix ms macros (see Differences from troff ms below for details). The ms macros are suitable for reports, letters, books, and technical documentation.
USAGEThe ms macro package expects files to have a certain amount of structure. The simplest documents can begin with a paragraph macro and consist of text separated by paragraph macros or even blank lines. Longer documents have a structure as follows:
- Document type
- If you use the RP (report) macro at the beginning of the document, groff prints the cover page information on its own page; otherwise it prints the information on the first page with your document text immediately following. Other document formats found in AT&T troff are specific to AT&T or Berkeley, and are not supported in groff ms.
- Format and layout
- By setting number registers, you can change your document's type (font and size), margins, spacing, headers and footers, and footnotes. See Document control registers below for more details.
- Cover page
- A cover page consists of a title, and optionally the author's name and institution, an abstract, and the date. See Cover page macros below for more details.
- Following the cover page is your document. It consists of paragraphs, headings, and lists.
- Table of contents
- Longer documents usually include a table of contents, which you can add by placing the TC macro at the end of your document.
Document control registersThe following table lists the document control number registers. For the sake of consistency, set registers related to margins at the beginning of your document, or just after the RP macro.
Reg. Definition Effective Default