NOTE: This guide uses tables extensively. Better make sure you're reading it in a browser that renders them sensibly.
Page/paper size | Margins | Line length |
---|---|---|
PAGEWIDTH | T_MARGIN | LL |
PAGELENGTH | B_MARGIN | |
PAPER | L_MARGIN | |
PAGE | R_MARGIN |
Family/font | Point size | Leading |
---|---|---|
FAMILY | PT_SIZE | LS |
FT | \*[SIZE n] | AUTOLEAD |
FALLBACK_FONT |
Italicize | Embolden | Condense | Extend |
---|---|---|---|
SETSLANT | SETBOLDER | CONDENSE | EXTEND |
\*[SLANT] | \*[BOLDER] | \*[COND] | \*[EXT] |
\*[SLANTX] | \*[BOLDERX] | \*[CONDX] | \*[EXTX] |
Underscore | Underline |
---|---|
UNDERSCORE | UNDERLINE |
UNDERSCORE_2 | \*[UL]...\*[ULX] |
Define colours | Invoke colours |
---|---|
NEWCOLOR | COLOR |
XCOLOR | \*[<colorname>] |
Fill modes | No-fill modes |
---|---|
JUSTIFY | LEFT |
QUAD | CENTER |
RIGHT |
Break | Break (no space) | Break (extra space) | Break (force justify) |
---|---|---|---|
BR | EL | SPACE | SPREAD |
Enable | Set parameters |
---|---|
HY | HY_SET |
Word space | Sentence space |
---|---|
WS | SS |
Kern character pairs | Kern full lines | Ligatures |
---|---|---|
KERN | RW | LIGATURES |
\*[BU n] | EW | |
\*[FU n] | BR_AT_LINE_KERN |
Down | Up |
---|---|
ALD | RLD |
\*[DOWN n] | \*[UP n] |
Forward | Back |
---|---|
\*[FWD n] | \*[BCK n] |
Left | Right | Both | Quit | Temp | Hanging |
---|---|---|---|---|---|
IL | IR | IB | IQ | TI | HI |
ILX | IRX | IBX |
Setup | Invoking | Quitting |
---|---|---|
TAB_SET | TAB | TQ |
\*[STn]...\*[STnX] | TN | |
ST |
Initializing | Returning to top | Exiting |
---|---|---|
MCO | MCR | MCX |
Superscript | Condensed superscript | Extended superscript |
---|---|---|
\*[SUP]...\*[SUPX] | \*[CONDSUP]...\*[CONDSUPX] | \*[EXTSUP]...\*[EXTSUPX] |
Invoking | Dropcap control |
---|---|
DROPCAP | DROPCAP_FAMILY |
DROPCAP_FONT | |
DROPCAP_COLOR | |
DROPCAP_ADJUST | |
DROPCAP_GUTTER |
Initializing | Setting items | List control |
---|---|---|
LIST | ITEM | SHIFT_LIST |
RESET_LIST | ||
PAD_LIST_DIGITS |
Pad a line | Change the pad marker |
---|---|
PAD | PAD_MARKER |
Newpage | All caps | Smartquotes | Rules/leaders |
---|---|---|---|
NEWPAGE | CAPS | SMARTQUOTES | \*[RULE] |
\*[LEADER] | |||
LEADER_CHARACTER |
Change the escape character | Suppress input | Disable traps |
---|---|---|
ESC_CHAR | COMMENT | TRAP |
SILENT |
Titles | Authors | Draft copies |
---|---|---|
TITLE | AUTHOR | DRAFT |
SUBTITLE | REVISION | |
DOCTITLE | DRAFT_STRING | |
CHAPTER | REVISION_STRING |
Headers | Closing | Control |
---|---|---|
DATE | CLOSING | NO_SUITE |
FROM | ||
TO | ||
GREETING |
Basic style | Style control* |
---|---|
COPYSTYLE | DOC_LEFT_MARGIN |
DOCTYPE | DOC_RIGHT_MARGIN |
PRINTSTYLE** | DOC_LINE_LENGTH |
DOC_FAMILY | |
DOC_PT_SIZE | |
DOC_LEAD | |
DOC_LEAD_ADJUST | |
DOC_QUAD |
*See the note
Changing document-wide style parameters after START
**Absolutely required if you wish to use the document processing macros.
Italic/underlining | Quotes |
---|---|
UNDERLINE_ITALIC | UNDERLINE_QUOTES |
ITALIC_MEANS_ITALIC | |
UNDERLINE_SLANT | |
SLANT_MEANS_SLANT |
Absolutely required in order to initialize document processing |
---|
START |
Attribution | Author | Document type |
---|---|---|
ATTRIBUTE_STRING | AUTHOR_FAMILY | DOCTYPE_FAMILY |
ATTRIBUTE_COLOR | AUTHOR_FONT | DOCTYPE_FONT |
AUTHOR_SIZE | DOCTYPE_SIZE | |
AUTHOR_COLOR | DOCTYPE_COLOR |
*I.e. the "format" of page numbering (digits, roman numerals, letters)
Enabling | Controling | User-defined page headers/footers
for alternating pages* |
---|---|---|
RECTO_VERSO | SWITCH_HEADERS | HEADER_RECTO |
SWITCH_FOOTERS* | HEADER_VERSO | |
FOOTER_RECTO* | ||
FOOTER_VERSO* |
*Please note that most aspects of page header and footer control are treated identically. In the documentation, the descriptions of macros that control header and footer behaviour usually only mention "HEADER" or "HEADER_". Simply apply "FOOTER" or "FOOTER_" to the appropriate "HEADER" or "HEADER_"macros in order to enable their behaviour for footers.
Enabling | Controling |
---|---|
COLUMNS | COL_NEXT |
COL_BREAK |
Macro | Type-style control | Other |
---|---|---|
EPIGRAPH | EPIGRAPH_FAMILY | EPIGRAPH_AUTOLEAD |
EPIGRAPH_FONT | EPIGRAPH_QUAD | |
EPIGRAPH_SIZE | EPIGRAPH_INDENT | |
EPIGRAPH_COLOR |
Macro | Type-style control | Other |
---|---|---|
HEAD | HEAD_FAMILY | HEAD_QUAD |
HEAD_FONT | HEAD_CAPS | |
HEAD_SIZE | HEAD_UNDERLINE | |
HEAD_COLOR | HEAD_SPACE | |
NUMBER_HEADS | ||
RESET_HEAD_NUMBER |
Macro | Type-style control | Other |
---|---|---|
SUBHEAD | SUBHEAD_FAMILY | SUBHEAD_QUAD |
SUBHEAD_FONT | NUMBER_SUBHEADS | |
SUBHEAD_SIZE | RESET_SUBHEAD_NUMBER | |
SUBHEAD_COLOR |
Macro | Type-style control | Other |
---|---|---|
PARAHEAD | PARAHEAD_FAMILY | PARAHEAD_INDENT |
PARAHEAD_FONT | NUMBER_PARAHEADS | |
PARAHEAD_SIZE | RESET_PARAHEAD_NUMBER | |
PARAHEAD_COLOR |
Macro | Type-style control* | Other |
---|---|---|
PP | PP_FONT | PARA_INDENT |
INDENT_FIRST_PARAS | ||
PARA_SPACE |
*For an in-depth explanation of how to manage the type-style of paragraphs, much of which is normally established through the use of typesetting macros prior to START, see Paragraph control macros.
Macro | Type-style control | Other |
---|---|---|
QUOTE | QUOTE_FAMILY | QUOTE_INDENT* |
QUOTE_FONT | ALWAYS_FULLSPACE_QUOTES | |
QUOTE_SIZE | BREAK_QUOTE | |
QUOTE_AUTOLEAD | UNDERLINE_QUOTES | |
QUOTE_COLOR |
*Note that the use of QUOTE_INDENT sets the indent for both QUOTE and BLOCKQUOTE.
Macro | Type-style control | Other |
---|---|---|
BLOCKQUOTE | BLOCKQUOTE_FAMILY | BLOCKQUOTE_INDENT |
BLOCKQUOTE_FONT | BLOCKQUOTE_QUAD | |
BLOCKQUOTE_SIZE | BREAK_BLOCKQUOTE | |
BLOCKQUOTE_AUTOLEAD | ||
BLOCKQUOTE_COLOR |
*Note that the use of BLOCKQUOTE_INDENT sets the indent for both BLOCKQUOTE and QUOTE.
Macro | Type-style control | Other |
---|---|---|
LINEBREAK | LINEBREAK_COLOR | LINEBREAK_CHAR |
*Indenting of footnotes is handled by arguments passed to FOOTNOTE.
Input endnotes | Output endnotes pages |
---|---|
ENDNOTE | ENDNOTES |
Type-style control | Endnotes page
title string* |
Document identification string** |
---|---|---|
ENDNOTE_FAMILY | ENDNOTE_STRING | ENDNOTE_TITLE |
ENDNOTE_FONT | ENDNOTE_STRING_FAMILY | ENDNOTE_TITLE_FAMILY |
ENDNOTE_LEAD | ENDNOTE_STRING_FONT | ENDNOTE_TITLE_FONT |
ENDNOTE_PT_SIZE | ENDNOTE_STRING_SIZE | ENDNOTE_TITLE_SIZE |
ENDNOTE_QUAD | ENDNOTE_STRING_CAPS | ENDNOTE_TITLE_QUAD |
ENDNOTE_STRING_UNDERSCORE | ENDNOTE_TITLE_UNDERSCORE |
*By default, "Endnotes", at the top of the first page of
endnotes
**I.e. how each document in the endnotes for a collated document is
identified (by default, the strings passed to the reference
macro, .TITLE
Endnotes numbering | Paragraph control | Endnotes headers/footers |
---|---|---|
ENDNOTE_NUMBER_FAMILY | ENDNOTE_PARA_INDENT | ENDNOTES_ALLOWS_HEADERS |
ENDNOTE_NUMBER_FONT | ENDNOTE_PARA_SPACE | ENDNOTES_HEADER_CENTER |
ENDNOTE_NUMBER_SIZE | ENDNOTES_FOOTER_CENTER | |
ENDNOTE_NUMBERS_ALIGN_LEFT | ||
ENDNOTE_NUMBERS_ALIGN_RIGHT |
Endnotes page numbering | Misc |
---|---|
ENDNOTES_FIRST_PAGENUMBER | ENDNOTES_NO_COLUMNS |
ENDNOTES_PAGENUM_STYLE* | SINGLESPACE_ENDNOTES** |
ENDNOTES_NO_FIRST_PAGENUM |
*I.e. the format of page numbering (digits, roman, letters)
**Applies to PRINTSTYLE TYPEWRITE only
Initialize | Start |
---|---|
MN_INIT | MN |
Text | Quotes | Blockquotes |
---|---|---|
NUMBER_LINES | NUMBER_QUOTE_LINES | NUMBER_BLOCKQUOTE_LINES |
Begin/end refs | Footnote refs | Endnote refs | Embedded refs |
---|---|---|---|
REF | FOOTNOTE_REFS | ENDNOTE_REFS | REF( / REF) |
REF( / REF) | |||
REF[ / REF] | |||
REF{ / REF} |
Start bibliography page | Bibliography type |
---|---|
BIBLIOGRAPHY | BIBLIOGRAPHY_TYPE |
Generate | General
type-style control |
TOC title string*
and style control |
---|---|---|
TOC | TOC_FAMILY | TOC_HEADER_STRING |
TOC_PT_SIZE | TOC_HEADER_FAMILY | |
TOC_LEAD | TOC_HEADER_FONT | |
TOC_HEADER_SIZE | ||
TOC_HEADER_QUAD |
*By default, "Table of Contents"
Title entries | Head entries | Subhead entries |
---|---|---|
TOC_TITLE_ENTRY | TOC_HEAD_FAMILY | TOC_SUBHEAD_FAMILY |
TOC_APPENDS_AUTHOR | TOC_HEAD_FONT | TOC_SUBHEAD_FONT |
TOC_TITLE_FAMILY | TOC_HEAD_SIZE | TOC_SUBHEAD_SIZE |
TOC_TITLE_FONT | TOC_HEAD_INDENT | TOC_SUBHEAD_INDENT |
TOC_TITLE_SIZE | ||
TOC_TITLE_INDENT |
Parahead entries | Page number entries | Pagination | Misc |
---|---|---|---|
TOC_PARAHEAD_FAMILY | TOC_PN_FAMILY | PAGINATE_TOC | TOC_RV_SWITCH |
TOC_PARAHEAD_FONT | TOC_PN_FONT | TOC_PAGENUM_STYLE* | |
TOC_PARAHEAD_SIZE | TOC_PN_SIZE | ||
TOC_PARAHEAD_INDENT | TOC_PADDING |
*I.e. the format of page numbering (digits, roman, letters)
Macro | Type style control |
---|---|
FINIS | FINIS_COLOR |
FINIS_STRING |
Mom treats all aspects of headers and footers identically. The only difference between the two is whether the information they contain appears at the top of the page or at the bottom. Consequently, in the following, substitute FOOTERS for HEADERS, and FOOTER_ for HEADER_ if you're hunting down how to do something with footers.
Macro | Placement | User-defined headers | General
type-style control |
---|---|---|---|
HEADERS | HEADER_MARGIN | HEADER_RECTO | HEADER_FAMILY |
HEADER_GAP | HEADER_VERSO | HEADER_SIZE | |
HEADER_COLOR | |||
HEADER_PLAIN |
Separator rule | Misc |
---|---|
HEADER_RULE | REVISION_STRING |
HEADER_RULE_GAP | DRAFT_STRING |
HEADER_RULE_COLOR |
This is the one exception to the "HEADER also means FOOTER" convention used throughout the documentation.
FOOTER_ON_FIRST_PAGE |
Covers | Doc covers |
---|---|
COVER | DOC_COVER |
COVERS | DOC_COVERS |
Covers | Doc covers |
---|---|
COVERTITLE | DOC_COVERTITLE |
COVER_ADVANCE | DOC_COVER_ADVANCE |
COVER_FAMILY | DOC_COVER_FAMILY |
COVER_LEAD | DOC_COVER_LEAD |
For part-by-part control of the family, font, size and color, please see
Control macros--changing the defaults for covers and document covers |
Index of cover and doc cover control macros |
Output a blank page | Collate multiple
documents |
Get leading back
on track |
---|---|---|
BLANKPAGE | COLLATE | SHIM |