o Added a .bp after .if \\n[#START]=1 in FOOTER. Without it,
[s-roff.git] / contrib / mom / momdoc / docelement.html
blob6f20ed12f65988715a54e055741ef34e680e2f63
1 <html>
2 <head>
3 <meta http-equiv="content-type" content="text/html;charset=iso-8859-1">
4 <title>Mom -- Document Processing, element tags</title>
5 </head>
6 <body bgcolor="#dfdfdf">
8 <!====================================================================>
10 <a href="headfootpage.html#TOP">Next</a>&nbsp;&nbsp;
11 <a href="docprocessing.html#TOP">Prev</a>&nbsp;&nbsp;
12 <a href="toc.html">Back to Table of Contents</a>
14 <a name="TOP"></a>
15 <a name="DOCELEMENT">
16 <h2 align="center"><u>THE DOCUMENT ELEMENT TAGS</u></h2>
17 </a>
19 <ul>
20 <li><a href="#DOCELEMENT_INTRO">Introduction to the document element tags</a>
21 <ul>
22 <li><a href="#DOCELEMENT_CONTROL">Control macros -- changing defaults for document element tags</a>
23 <li><a href="#CONTROL_MACRO_ARGS">Arguments to the control macros</a>
24 </ul>
25 <li><a href="#INDEX_DOCELEMENT">Index of document element tags</a>
26 </ul>
28 <a name="DOCELEMENT_INTRO">
29 <h2><u>Introduction to the document element tags</u></h2>
30 </a>
32 Once you've completed the setup for a document (see
33 <a href="docprocessing.html#DOCPROCESSING_TUT">Setting up a mom document</a>),
34 formatting it is a snap. Simply invoke the appropriate tag for
35 each document element as you need it. The tags are macros that
36 tell <strong>mom</strong>, &quot;This is a paragraph, this
37 is a subhead, this is a footnote,&quot; and so on.
38 <p>
39 The list of tags is actually quite small -- ideal for the users
40 <strong>mom</strong> brought herself into being for (see
41 <a href="intro.html#INTRO_INTRO">Who mom is meant for</a>).
42 However, the list of macros that control the appearance of the
43 tags upon output is extensive. Generally, for each tag,
44 there are
45 <a href="definitions.html#TERMS_CONTROLMACRO">control macros</a>
46 for the tag's family, font and point size. Where appropriate, there
47 are macros to control leading, indents, quad and special features
48 as well.
49 <p>
50 <strong>Mom</strong> has tasteful defaults for all the tags, hence you
51 only use the control macros when you want to change the way
52 she does things. This is usually done prior to
53 <a href="docprocessing.html#START">START</a>,
54 but can, in fact, be done at any time in the course of a document.
55 Any change to a tag's style affects all subsequent invocations of
56 the tag.
58 <a name="DOCELEMENT_CONTROL"><h3><u>Control macros -- changing defaults</u></h3></a>
60 <p>
61 The control macros for document processing tags let you
62 &quot;design&quot; the look of all the parts of your documents --
63 should you wish. At a bare minimum, all tags have macros to
64 change <strong>mom</strong>'s defaults for family, font
65 and point size. Where appropriate, there are macros to control
66 leading, indents and quad as well.
67 <p>
68 In addition, many tags have special macros to control features that
69 are pertinent to those tags alone. Have a look at the section dealing
70 with any particular tag to find out what macros control the tag,
71 and what <strong>mom</strong>'s defaults for the tag are.
72 <p>
73 The control macros may be used at any time during the course of
74 a document (i.e. before or after
75 <a href="docprocessing.html#START">START</a>). The changes you
76 make alter all subsequent invocations of the affected tag until
77 you make another change, either by passing new arguments to the
78 tag's control macro, or toggling a particular feature of the tag on
79 or off.
80 <p>
81 And don't forget: the
82 <a href="typesetting.html#MACROS_TYPESETTING">typesetting macros</a>
83 can be used at any time, including inside
84 <a href="definitions.html#TERMS_TOGGLE">toggle</a>
85 tags (affecting only that particular invocation of the tag).
86 Equally,
87 <a href="definitions.html#TERMS_INLINES">inline escapes</a>
88 can be used in tags that take
89 <a href="definitions.html#TERMS_STRINGARGUMENT">string arguments.</a>
90 <p>
91 <strong>IMPORTANT NOTE:</strong> The family, font, point size and
92 leading control macros have no effect in
93 <a href="docprocessing.html#PRINTSTYLE">PRINTSTYLE TYPEWRITE</a>,
94 which sets EVERYTHING in Courier roman, 12/24 (i.e. 12-point type on
95 a linespace of 24 points).
96 <p>
97 Please also note that the defaults listed
98 with the control macros apply only to
99 <a href="docprocessing.html#PRINTSTYLE">PRINTSTYLE TYPESET</a>
100 unless a default for <strong>TYPEWRITE</strong> is also given.
102 <strong>A WORD OF ADVICE:</strong> Get familiar with
103 <strong>mom</strong> at her default settings before exploring the
104 control macros. Put her through her paces. She how she behaves.
105 Get to know what she feels like and how she looks, both in your text
106 editor and on the printed page. Then, if you don't like something,
107 use this documentation to find the precise macro you need to change it.
108 There are tons of control macros. Reading up on them and trying to
109 remember them all might lead you to think that <strong>mom</strong>
110 is complex and unwieldy, which is not only untrue, but would offend
111 her mightily.
113 <a name="CONTROL_MACRO_ARGS"><h3><u>Arguments to the control macros</u></h3></a>
115 <h3>Family and font</h3>
116 The arguments to the control macros that end in
117 <strong>_FAMILY</strong> or <strong>_FONT</strong> are the same
118 as for
119 <a href="typesetting.html#FAMILY">FAMILY</a>
121 <a href="typesetting.html#FONT">FT</a>.
123 <h3>Point size</h3>
124 Control macros that end in <strong>_SIZE</strong> always take
125 the form <kbd>+digit</kbd> or <kbd>-digit</kbd> where digit is
126 the number of
127 <a href="definitions.html#TERMS_PICASPOINTS">points</a>
128 larger (+) or smaller (-) than the point size of paragraphs
129 you want the document element to be. For example, to change
130 subheads to 1-1/2 points larger than the type in paragraphs, do
132 <pre>
133 .SUBHEAD_SIZE +1.5
134 </pre>
136 There's no need for a
137 <a href="definitions.html#TERMS_UNITOFMEASURE">unit of measure</a>
138 with the <strong>_SIZE</strong> control macros; points is assumed.
140 <h3>Lead/linespacing</h3>
141 Control macros that end in <strong>_AUTOLEAD</strong> take the
142 same argument as
143 <a href="typesetting.html#AUTOLEAD">AUTOLEAD</a>,
144 viz. a digit that represents the number of points to add to the
145 tag's point size to arrive at its
146 <a href="definitions.html#TERMS_LEADING">lead</a>.
147 For example, to set footnotes
148 <a href="definitions.html#TERMS_SOLID">solid</a>, do
150 <pre>
151 .FOOTNOTE_AUTOLEAD 0
152 </pre>
154 To set footnotes with a 1-point lead (i.e. with the line spacing
155 one point greater than the footnote's point size), do
157 <pre>
158 .FOOTNOTE_AUTOLEAD 1
159 </pre>
161 <a name="CONTROL_INDENTS"><h3>Indents</h3></a>
162 Except for <strong>PARA_INDENT</strong>, the argument to the control
163 macros that end
164 in <strong>_INDENT</strong> is always a single digit (whole numbers
165 only; no decimal fractions) with no
166 <a href="definitions.html#TERMS_UNITOFMEASURE">unit of measure</a>
167 appended to it. The digit represents by how much you want the
168 size of the paragraph first-line indent multiplied to achieve the
169 correct indent for a particular tag.
171 <h3>Quad/justification style</h3>
172 Control macros that end in <strong>_QUAD</strong> take the same
173 arguments as
174 <a href="typesetting.html#QUAD">QUAD</a>.
177 <a name="INDEX_DOCELEMENT"><h3><u>Document element tags list</u></h3></a>
178 <ul>
179 <li><a href="#EPIGRAPH_INTRO">Epigraphs</a>
180 <ul>
181 <li><a href="#EPIGRAPH">EPIGRAPH</a>
182 <li><a href="#EPIGRAPH_CONTROL">Epigrah control</a>
183 </ul>
184 <li><a href="#PP_INTRO">Paragraphs</a>
185 <ul>
186 <li><a href="#PP">PP</a>
187 <li><a href="#PP_CONTROL">Paragraph control</a>
188 </ul>
189 <li><a href="#HEAD_INTRO">Main heads</a>
190 <ul>
191 <li><a href="#HEAD">HEAD</a>
192 <li><a href="#HEAD_CONTROL">Head control</a>
193 </ul>
194 <li><a href="#SUBHEAD_INTRO">Subheads</a>
195 <ul>
196 <li><a href="#SUBHEAD">SUBHEAD</a>
197 <li><a href="#SUBHEAD_CONTROL">Subhead control</a>
198 </ul>
199 <li><a href="#PARAHEAD_INTRO">Paragraph heads</a>
200 <ul>
201 <li><a href="#PARAHEAD">PARAHEAD</a>
202 <li><a href="#PARAHEAD_CONTROL">Parahead control</a>
203 </ul>
204 <li><a href="#LINEBREAK_INTRO">Linebreaks (author linebreaks)</a>
205 <ul>
206 <li><a href="#LINEBREAK">LINEBREAK</a>
207 <li><a href="#LINEBREAK_CHAR">Linebreak character</a>
208 </ul>
209 <li><a href="#QUOTE_INTRO">Quotes (line for line)</a>
210 <ul>
211 <li><a href="#QUOTE">QUOTE</a>
212 <li><a href="#QUOTE_CONTROL">Quote control</a>
213 </ul>
214 <li><a href="#BLOCKQUOTE_INTRO">Blockquotes (cited material)</a>
215 <ul>
216 <li><a href="#BLOCKQUOTE">BLOCKQUOTE</a>
217 <li><a href="#BLOCKQUOTE_CONTROL">Blockquote control</a>
218 </ul>
219 <li><a href="#FOOTNOTE_INTRO">Footnotes</a>
220 <ul>
221 <li><a href="#FOOTNOTE">FOOTNOTE</a>
222 <li><a href="#FOOTNOTE_CONTROL">Footnote control</a>
223 </ul>
224 <li><a href="#FINIS_INTRO">Document termination</a>
225 <ul>
226 <li><a href="#FINIS">FINIS</a>
227 <li><a href="#FINIS_STRING">Finis control</a> -- changing the FINIS string
228 </ul>
229 <li><a href="#ENDNOTE_INTRO">Endnotes</a>
230 <ul>
231 <li><a href="#ENDNOTE">ENDNOTE</a>
232 <li><a href="#ENDNOTE_CONTROL">Endnote control</a>
233 </ul>
234 <li><a href="#TOC_INTRO">Table of contents</a>
235 <ul>
236 <li><a href="#TOC">TOC</a>
237 <li><a href="#TOC_CONTROL">Table of contents control</a>
238 </ul>
239 <li><a href="#BLANK_PAGE_TITLE">Blank page</a>
240 </ul>
241 <hr>
244 <!====================================================================>
246 <a name="EPIGRAPH_INTRO"><h2><u>Epigraphs</u></h2></a>
247 <ul>
248 <li><a href="#EPIGRAPH">Tag: EPIGRAPH</a>
249 <li><a href="#EPIGRAPH_CONTROL">Epigraph control macros</a>
250 </ul>
252 <a href="definitions.html#TERMS_EPIGRAPH">Epigraphs</a>
253 color, flavour, or comment on the document they precede. Typically,
254 they are centered at the top of a document's first page (underneath the
255 title) and set in a smaller point size than that of paragraph text.
257 By default, <strong>mom</strong> sets epigraphs centered and
258 <a href="definitions.html#TERMS_NOFILL">unfilled</a>;
259 this lets you input them on a line for line basis. This behaviour
260 can be changed to accomodate
261 <a href="definitions.html#TERMS_FILLED">filled</a>
262 epigraph &quot;blocks.&quot;
263 <br>
265 <!---EPIGRAPH--->
267 <hr width="66%" align="left">
269 <a name="EPIGRAPH">
270 Macro: <strong>EPIGRAPH</strong> <var>&lt;toggle&gt; | [ BLOCK ]</var></a>
271 </a>
274 <strong>EPIGRAPH</strong> is a toggle, used like this:
276 <pre>
277 .EPIGRAPH
278 &lt;text of epigraph&gt;
279 .EPIGRAPH OFF
280 </pre>
282 <strong>OFF</strong>, above, could be anything -- say, Q or X --
283 since any argument other than <strong>BLOCK</strong> turns it off.
285 If given the argument <strong>BLOCK</strong>, <strong>EPIGRAPH</strong>
286 sets epigraphs
287 <a href="definitions.html#TERMS_FILLED">filled</a>,
288 justified or quadded in the same direction as paragraphs, indented
289 equally from both the left and right margins.
291 If a block-style epigraph runs to more than one paragraph (unlikely,
292 but conceivable), you <strong>MUST</strong> introduce every paragraph
293 -- <u>INCLUDING THE FIRST!!!</u> -- with the
294 <a href="#PP">PP</a>
295 tag.
297 <strong>NOTE:</strong> <strong>EPIGRAPH</strong> should only be
298 used at the top of a document (i.e. just after
299 <a href="docprocessing.html#START">START</a>)
300 or after
301 <a href="#HEAD_INTRO">heads</a>. The latter is not especially
302 recommended, but it does work. In all other places where you
303 want quotes or cited text, use
304 <a href="#QUOTE">QUOTE</a>
306 <a href="#BLOCKQUOTE">BLOCKQUOTE</a>.
308 <a name="EPIGRAPH_CONTROL"><h3><u>Epigraph control macros</u></h3></a>
311 <a href="#CONTROL_MACRO_ARGS">Arguments to the control macros</a>.
313 <pre>
314 .EPIGRAPH_FAMILY default = prevailing document family; default is Times Roman
315 .EPIGRAPH_FONT default = roman
316 .EPIGRAPH_SIZE default = -1.5 (points)
317 .EPIGRAPH_AUTOLEAD default = 2 points
319 (The next two apply to &quot;block&quot; style epigraphs only)
321 .EPIGRAPH_QUAD default = same as paragraphs
322 .EPIGRAPH_INDENT* default = para indent x 3 (for typeset), x 2 (for typewrite)
324 *Indent here refers to the indent from both the left and right margins
325 that centres the block style epigraph on the page.
326 </pre>
327 <hr>
329 <!====================================================================>
331 <a name="PP_INTRO"><h2><u>Paragraphs</u></h2></a>
332 <ul>
333 <li><a href="#PP">Tag: PP</a>
334 <li><a href="#PP_CONTROL">Paragraph control macros</a>
335 </ul>
337 The paragraph macro is the one you use most often. Consequently,
338 it's one of most powerful, yet simplest to use -- just the letters
339 <strong>PP</strong>. No arguments, nothing. Just <kbd>.PP</kbd>
340 on a line by itself any time, in any document element, tells
341 <strong>mom</strong> you want to start a new paragraph. The spacing
342 and indent appropriate to where you are in your document are taken
343 care of automatically.
345 By default, <strong>mom</strong> does not indent the first paragraph
346 of a document, nor paragraphs that fall immediately after
347 <a href="#HEAD_INTRO">heads</a>
349 <a href="#SUBHEAD_INTRO">subheads</a>.
350 The first paragraphs of blockquotes and block-style epigraphs are
351 also not indented. This behaviour can be changed with the control
352 macro
353 <a href="#PARA_INDENT_FIRST">INDENT_FIRST_PARAS</a>.
355 In contrast to some other macro packages, <strong>mom</strong> does not
356 deposit a blank line between paragraphs. If you want her to do so, use
357 the control macro <strong>PARA_SPACE</strong>. (I don't recommend
358 using this macro with
359 <a href="typesetting.html#PRINTSTYLE">PRINTSTYLE TYPEWRITE</a>.)
361 Note that <strong>mom</strong> does not provide &quot;orphan
362 control&quot; for paragraphs (i.e. even if only one line of a paragraph
363 fits at the bottom of a page, she will set it on that page). The
364 reason for this is that writers of fiction often have single-line
365 paragraphs (e.g. in dialogue). Groff's simplistic orphan control
366 will break these one-liners -- if they fall at the bottom of the page
367 -- to a new page, which is not what you want.
369 <strong>TIP:</strong> The last thing you want while you're writing
370 and editing drafts of a document (particulary stories and chapters)
371 is a text file cluttered up with <strong>PP</strong>'s. The visual
372 interruption in the flow of text is a serious obstacle to creativity
373 and critiquing.
375 I use the tab key on my keyboard to indent paragraphs when I'm writing,
376 producing a text file that looks pretty much like what you see on
377 a printed page. When it comes time to format and print the file,
378 I run it through a sed script that (amongst other things) converts
379 the character generated by the tab key (<kbd>^I</kbd>) into <code>.PP</code>
380 (plus a new line), and pipe the output to groff for processing and
381 printing.
383 Another solution is to insert a blank line between paragraphs.
384 The blank lines can then be sedded out at print time as above, or,
385 more conveniently, you can use the <code>.blm</code>
386 <a href="definitions.html#TERMS_PRIMITIVES">primitive</a>
387 (blank line macro) to instruct groff (and <strong>mom</strong>)
388 that blank lines should be interpreted as <strong>PP</strong>'s.
390 <pre>
391 .blm PP
392 </pre>
393 tells groff that all blank lines are really the macro <strong>PP</strong>.
394 <br>
396 <!---PP--->
398 <hr width="66%" align="left">
400 <a name="PP">
401 Macro: <strong>PP</strong>
402 </a>
405 <strong>PP</strong> (on a line by itself, of course) tells mom to
406 start a new paragraph. See
407 <a href="#PP_INTRO">above</a>
408 for more details. In addition to regular text paragraphs, you can
409 use <strong>PP</strong> in
410 <a href="#EPIGRAPH_INTRO">epigraphs</a>,
411 <a href="#BLOCKQUOTE_INTRO">blockquotes</a>
413 <a href="#FOOTNOTE_INTRO">footnotes</a>.
415 <a name="PP_CONTROL"><h3><u>Paragraph control macros</u></h3></a>
417 The <strong>PP</strong> being so important, and representing, as
418 it were, the basis of everything that goes on in a document, its
419 control is managed in a manner somewhat different from other document
420 element tags.
422 <ol>
423 <li><a href="#PP_FAMILY">Family control</a>
424 <li><a href="#PP_FONT">Font control</a>
425 <li><a href="#PP_LEADING">Leading/linespacing control</a>
426 <li><a href="#PP_JUST_QUAD">Justification/quad control</a>
427 <li><a href="#PARA_INDENT">First-line indent control</a>
428 <li><a href="#PARA_INDENT_FIRST">Intitial paragraphs indent control</a>
429 <li><a href="#PP_SPACE">Paragraph spacing control</a>
430 </ol>
432 <a name="PP_FAMILY"><h3><u>1. Family</u></h3></a>
433 The paragraph
434 <a href="definitions.html#TERMS_FAMILY">family</a>
435 is set with
436 <a href="typesetting.html#FAMILY">FAMILY</a>
437 prior to
438 <a href="docprocessing.html#START">START</a>,
440 <a href="docprocessing.html#DOC_FAMILY">DOC_FAMILY</a>
441 afterwards. Please note that both globally affect the family of
442 every element in the document.
444 If you wish to change the family for regular
445 text paragraphs only, invoke <strong>FAMILY</strong> immediately
446 after <strong>PP</strong> in EVERY paragraph whose family you wish
447 to differ from the prevailing document family.
449 <strong>Mom</strong>'s default paragraph (and document) family
450 is Times Roman.
452 <a name="PP_FONT"><h3><u>2. Font -- PP_FONT</u></h3></a>
453 To change the
454 <a href="definitions.html#TERMS_FONT">font</a>
455 used in regular text paragraphs, use <code>.PP_FONT</code>,
456 which takes the same argument as
457 <a href="typesetting.html#FONT">FT</a>.
458 <strong>PP_FONT</strong> may be used before or after
459 <a href="docprocessing.html#START">START</a>.
460 Only regular text paragraphs are affected; paragraphs in
461 <a href="#EPIGRAPH_INTRO">epigraphs</a>,
462 <a href="#BLOCKQUOTE_INTRO">blockquotes</a>
464 <a href="#FOOTNOTE_INTRO">footnotes</a>
465 remain at their default setting (medium roman) unless you change them
466 with the appropriate control macros.
468 <strong>Mom</strong>'s default paragraph font is medium roman.
470 <a name="PP_LEADING"><h3><u>3. Leading</u></h3></a>
471 The paragraph
472 <a href="definitions.html#TERMS_LEADING">leading</a>
473 is set with
474 <a href="typesetting.html#LEADING">LS</a>
475 prior to
476 <a href="docprocessing.html#START">START</a>,
478 <a href="docprocessing.html#DOC_LEAD">DOC_LEAD</a>
479 afterwards. Please note that either method globally affects the
480 leading and spacing of every document element (except
481 <a href="definitions.html#TERMS_HEADER">headers</a>
483 <a href="definitions.html#TERMS_FOOTER">footers</a>).
485 If you wish to change the leading of regular text paragraphs only,
486 invoke <strong>LS</strong> immediately after <strong>PP</strong> in
487 EVERY paragraph whose leading you wish to change.
489 <strong>HYPER-IMPORTANT NOTE:</strong> It is extremely unwise to change
490 paragraph leading with <strong>LS</strong>, as it will, in all cases,
491 screw up <strong>mom</strong>'s ability to balance the bottom margin
492 of pages. Should you absolutely need to change paragraph leading
493 with <strong>LS</strong>, and subsequently want <strong>mom</strong>
494 to get back on the right leading track, use the
495 <a href="docprocessing.html#SHIM">SHIM</a>
496 macro.
498 <strong>Mom</strong>'s default paragraph leading (document leading)
499 is 16 points, adjusted to fill the page.
501 <a name="PP_JUST_QUAD"><h3><u>4. Justification/quad</u></h3></a>
502 The justification/quad-direction of regular text paragraphs (i.e.
503 <a href="definitions.html#TERMS_JUST">justified</a>,
505 <a href="definitions.html#TERMS_FILLED">filled</a>
507 <a href="definitions.html#TERMS_QUAD">quadded</a>
508 left/right/center) is set with
509 <a href="typesetting.html#JUSTIFY">JUSTIFY</a>
511 <a href="typesetting.html#QUAD">QUAD</a>
512 prior to
513 <a href="docprocessing.html#START">START</a>,
514 and with
515 <a href="docprocessing.html#DOC_QUAD">DOC_QUAD</a>
516 afterwards.
518 Please note that either method of setting the paragraph
519 justification/quad-direction also affects
520 <a href="#EPIGRAPH_INTRO">epigraphs</a>
522 <a href="#FOOTNOTE_INTRO">footnotes</a>,
523 but not
524 <a href="#BLOCKQUOTE_INTRO">blockquotes</a>
525 (whose default is QUAD LEFT unless you change it with
526 <a href="#BLOCKQUOTE">BLOCKQUOTE_QUAD</a>).
527 The justification/quad-direction of epigraphs and footnotes may
528 be changed with their own control macros.
530 If you wish to change the justification/quad-direction of
531 individual paragraphs, use <strong>JUSTIFY</strong> or
532 <strong>QUAD</strong> immediately after <strong>PP</strong>.
533 Only the paragraph in question gets justified or quadded
534 differently; subsequent paragraphs remain unaffected.
536 <strong>Mom</strong>'s default justification/quad-direction for
537 paragraphs is justified for
538 <a href="docprocessing.html#PRINTSTYLE">PRINTSTYLE_TYPESET</a>
539 and quad left for
540 <a href="docprocessing.html#PRINTSTYLE">PRINTSTYLE_TYPEWRITE</a>.
542 <a name="PARA_INDENT"><h3><u>5. First-line indent -- PARA_INDENT</u></h3></a>
543 The first-line indent of paragraphs is controlled by
544 <strong>PARA_INDENT</strong>, which takes one argument: the size
545 of the indent. <strong>PARA_INDENT</strong> may be used before
546 or after
547 <a href="docprocessing.html#START">START</a>.
549 <a href="definitions.html#TERMS_UNITOFMEASURE">unit of measure</a>
550 is required; fractional sizes are allowed. Thus, to set the paragraph
551 indent to 4-1/2
552 <a href="definitions.html#TERMS_EM">ems</a>, do
554 <pre>
555 .PARA_INDENT 4.5m
556 </pre>
558 In addition to establishing the basic first line-indent of
559 paragraphs, <strong>PARA_INDENT</strong> also affects
560 <a href="#EPIGRAPH_INTRO">epigraphs</a>,
561 <a href="#QUOTE_INTRO">quotes</a>
563 <a href="#BLOCKQUOTE_INTRO">blockquotes</a>,
564 whose overal indenting from the left and (where applicable) right
565 margins is relative to <strong>PARA_INDENT</strong>. Furthermore, the
566 first-line indent of paragraphs within these document elements (as well
567 as footnotes) is also relative to <strong>PARA_INDENT</strong> (always
568 1/2 of <strong>PARA_INDENT)</strong>), hence they are also affected.
570 <strong>Mom</strong>'s default <strong>PARA_INDENT</strong> is 2
571 ems for
572 <a href="docprocessing.html#PRINTSTYLE">PRINTSTYLE_TYPESET</a>
573 and 3 picas (1/2 inch) for
574 <a href="docprocessing.html#PRINTSTYLE">PRINTSTYLE_TYPEWRITE</a>.
576 <a name="PARA_INDENT_FIRST"><h3><u>6. Indenting initial paragraphs -- INDENT_FIRST_PARAS</u></h3></a>
577 By default, <strong>mom</strong> does not indent the first paragraph
578 of a document, nor the first paragraph after a head or
579 subhead, nor the first paragraphs of
580 <a href="#EPIGRAPH_INTRO">epigraphs</a>,
581 <a href="#BLOCKQUOTE_INTRO">blockquotes</a>
583 <a href="#FOOTNOTE_INTRO">footnotes</a>
584 that run to more than one paragraph.
585 <a name="INDENT_FIRST_PARAS"></a>
587 If you wish to have first paragraphs indented, invoke the macro
588 <strong>.INDENT_FIRST_PARAS</strong> with no argument, either
589 before or after
590 <a href="docprocessing.html#START">START</a>.
591 <strong>INDENT_FIRST_PARAS</strong> is a toggle macro, therefore
592 passing it any argument (<strong>OFF, QUIT, Q, X</strong>...) cancels
593 its effect, meaning that first paragraphs will once again NOT be
594 indented.
596 <a name="PP_SPACE"><h3><u>7. Spacing paragraphs -- PARA_SPACE</u></h3></a>
597 By default, <strong>mom</strong> does not insert a blank line
598 between paragraphs. If you would like her to do so, invoke the
599 macro <code>.PARA_SPACE</code> with no argument, either
600 before or after
601 <a href="docprocessing.html#START">START</a>.
602 <strong>PARA_SPACE</strong> is a toggle macro, therefore passing
603 it any argument (<strong>OFF, QUIT, Q, X</strong>...) cancels its
604 effect, meaning that paragraphs will once again NOT be separated by
605 a blank line.
606 <br>
607 <hr>
609 <!====================================================================>
611 <a name="HEAD_INTRO"><h2><u>Main heads</u></h2></a>
612 <ul>
613 <li><a href="#HEAD">Tag: HEAD</a>
614 <li><a href="#HEAD_CONTROL">Head control macros</a>
615 </ul>
617 Main heads -- or, in this documentation, just &quot;heads&quot;
618 -- should be used any place you want titles to introduce major
619 sections of a document. If you wish, <strong>mom</strong> can number
620 your heads for you. Head numbers can also be included
621 hierarchically in numbered
622 <a href="#SUBHEAD_INTRO">subheads</a>
624 <a href="#PARAHEAD_INTRO">paraheads</a>.
626 By default, heads are centered on the page, underlined,
627 all in caps. A double linespace precedes each head. In <a
628 href="docprocessing.html#PRINTSTYLE">PRINTSTYLE TYPESET</a>, heads
629 are bold, slightly larger than paragraph text.
631 If these defaults don't suit you, you can change them with the
632 head control macros.
633 <br>
635 <!---HEAD--->
637 <hr width="66%" align="left">
639 <a name="HEAD">
640 Macro: <strong>HEAD</strong> <var>&quot;&lt;text of head&gt;&quot; [ &quot;&lt;2nd line&gt;&quot; [ &quot;&lt;3rd line&gt;&quot; ... ] ]</var>
641 </a>
644 The argument to <strong>HEAD</strong> is the text of the head,
645 surrounded by double-quotes. If you need additional lines for a
646 head, simply surround each line with double-quotes.
648 <strong>NOTE:</strong> If a head falls near the bottom of an output page
649 and <strong>mom</strong> is unable to fit the head <em>plus at least
650 one line of text underneath it</em>, she will set the head at the
651 top of the next page.
653 <strong>ADDITIONAL NOTE:</strong> If an
654 <a href="definitions.html#TERMS_INPUTLINE">input line</a>
655 in a head (i.e. one of the lines surrounded by double-quotes) has
656 to be broken by <strong>mom</strong> in order to fit the current
657 line-length (say, a narrow column measure), the head underline
658 (underscore) will not behave. You'll recognise the problem as soon
659 as you preview your document. If you encounter a head that
660 misbehaves with respect to underlining, the solution is to
661 supply each line <em>as you want it</em> as a separate argument
662 (surrounded by double-quotes) to the <strong>HEAD</strong> macro.
664 For example, if <strong>mom</strong> breaks
665 <pre>
666 .HEAD "This is a very, very, very long head"
667 </pre>
668 into
669 <pre>
670 This is a very, very, very
671 long head
672 </pre>
674 you'll see the misbehaving underscore and should change the
675 argument to <strong>HEAD</strong> to
676 <pre>
677 .HEAD "This is a very, very very" "long head"
678 </pre>
680 <a name="HEAD_CONTROL"><h3><u>Head control macros</u></h3></a>
682 There are, in addition to the usual family/font/size/quad control
683 macros, a number of macros to manage head numbering, spacing,
684 underlining, and so on. Check them out if you're unhappy with
685 <strong>mom</strong>'s defaults.
687 <ol>
688 <li><a href="#HEAD_GENERAL">Family/font/size/quad</a>
689 <li><a href="#HEAD_CAPS">Caps</a>
690 <li><a href="#HEAD_SPACE">Pre-head space</a>
691 <li><a href="#HEAD_UNDERLINE">Underlining</a>
692 <li><a href="#NUMBER_HEADS">Numbering</a>
693 <li><a href="#RESET_HEAD_NUMBER">Reset head numbering</a>
694 <li><a href="#HEAD_INLINES">Vertical inline escapes inside heads</a>
695 </ol>
697 <a name="HEAD_GENERAL"><h3><u>1. Family/font/size/quad</u></h3></a>
700 <a href="#CONTROL_MACRO_ARGS">Arguments to the control macros</a>.
702 <pre>
703 .HEAD_FAMILY default = prevailing document family; default is Times Roman
704 .HEAD_FONT default = bold
705 .HEAD_SIZE default = +1 (point)
706 .HEAD_QUAD default = CENTER
707 </pre>
709 <a name="HEAD_CAPS"><h3><u>2. Capitalizing heads -- HEAD_CAPS</u></h3></a>
710 By default, <strong>mom</strong> sets heads in caps, regardless
711 of the
712 <a href="definitions.html#TERMS_STRINGARGUMENT">string(s)</a>
713 you give to
714 <a href="#HEAD">HEAD</a>.
715 To change this behaviour, do
717 <pre>
718 .HEAD_CAPS OFF
719 </pre>
721 <strong>HEAD_CAPS</strong> is a toggle macro, therefore you can use
722 any argument you like instead of <strong>OFF</strong> (<strong>END,
723 QUIT, Q, X</strong>...). To turn <strong>HEAD_CAPS</strong> back on,
724 simply invoke it without an argument.
726 <a name="HEAD_SPACE"><h3><u>3. Space before heads -- HEAD_SPACE</u></h3></a>
727 By default, <strong>mom</strong> deposits 2 blank lines prior to every
728 head. If you'd prefer just a single blank line, do
730 <pre>
731 .HEAD_SPACE OFF
732 </pre>
734 <strong>HEAD_SPACE</strong> is a toggle macro, therefore you can use
735 any argument you like instead of <strong>OFF</strong> (<strong>END,
736 QUIT, Q, X</strong>...). To restore the space before heads to 2
737 blank lines, invoke <strong>HEAD_SPACE</strong> without an argument.
739 <a name="HEAD_UNDERLINE"><h3><u>4. Underlining heads -- HEAD_UNDERLINE</u></h3></a>
740 By default, <strong>mom</strong> underlines heads. To change this
741 behaviour, do
743 <pre>
744 .HEAD_UNDERLINE OFF
745 </pre>
747 <strong>HEAD_UNDERLINE</strong> is a toggle macro, therefore you can
748 use any argument you like instead of <strong>OFF</strong> (<strong>END,
749 QUIT, Q, X</strong>...). To restore underlining of heads, invoke
750 <strong>HEAD_UNDERLINE</strong> without an argument.
752 <a name="NUMBER_HEADS"><h3><u>5. Number heads -- NUMBER_HEADS</u></h3></a>
753 If you'd like your heads numbered, simply invoke
754 <strong>NUMBER_HEADS</strong> with no argument. <strong>Mom</strong>
755 will number all subsequent heads automatically (in ascending order,
756 naturally).
758 If, in addition to numbering heads, you also request that
759 <a href="#SUBHEAD_INTRO">subheads</a>
760 and/or
761 <a href="#PARAHEAD_INTRO">paraheads</a>
762 be numbered, the head number will be included in their numbers
763 (each number separated by a period [dot]).
765 Should you wish to stop head numbering, invoke
766 <strong>NUMBER_HEADS</strong> with any argument (<strong>OFF, QUIT,
767 END, X</strong>...). Head numbering will cease, and the head number
768 will not be included in the numbering of subheads and/or paraheads.
770 <a name="RESET_HEAD_NUMBER"><h3><u>6. Reset head numbering -- RESET_HEAD_NUMBER</u></h3></a>
771 Should you wish to reset the head number to &quot;1&quot;, invoke
772 <strong>RESET_HEAD_NUMBER</strong> with no argument. If, for some
773 reason, you want <strong>mom</strong> to use a head number that is not
774 the next in ascending order (i.e. the last head number + 1), invoke
775 <strong>RESET_HEAD_NUMBER</strong> with the number you want, e.g.
777 <pre>
778 .RESET_HEAD_NUMBER 6
779 </pre>
781 Your next head will be numbered &quot;6&quot; and subsequent heads will
782 be numbered in ascending order from &quot;6&quot;.
784 <a name="HEAD_INLINES"><h3><u>7. Vertical inline escapes inside heads</u></h3></a>
785 If you need to adjust the
786 <a href="definitions.html#TERMS_BASELINE">baseline</a>
787 position of a head (e.g. the head falls at the top of a column and
788 you want its
789 <a href="definitions.html#TERMS_ASCENDER">ascenders</a>
790 to line up with the ascenders of
791 <a href="definitions.html#TERMS_RUNNING">running text</a>
792 in other columns), you can embed a vertical motion
793 <a href="definitions.html#TERMS_INLINES">inline escape</a>
794 (either
795 <a href="inlines.html#INLINE_VERTICAL_MOM">mom's</a>
797 <a href="inlines.html#INLINE_VERTICAL_GROFF">groff's</a>
798 in the string(s) you pass to <strong>HEAD</strong>
800 For example,
802 <pre>
803 .HEAD "\[ALD3]Text of head"
805 .HEAD "\[DOWN 3p]Text of head"
806 </pre>
808 will lower the baseline of the head by three points. Note that
809 there's no need to reverse the sense of the inline escape.
811 In the case of heads that run to more than one line, you must embed
812 the escape in the string for each line, like this:
814 <pre>
815 .HEAD "\[ALD3]First line" "\[ALD3]Next line"
817 .HEAD "\[DOWN 3p]First line" "\[DOWN 3p]Next line"
818 </pre>
823 <br>
824 <hr>
826 <!====================================================================>
828 <a name="SUBHEAD_INTRO"><h2><u>Subheads</u></h2></a>
829 <ul>
830 <li><a href="#SUBHEAD">Tag: SUBHEAD</a>
831 <li><a href="#SUBHEAD_CONTROL">Subhead control macros</a>
832 </ul>
834 Subheads should be used any place you want titles to introduce
835 sections of a document below heads. If you wish, <strong>mom</strong>
836 can number subheads for you. Subhead numbers can also be included
837 hierarchically in numbered
838 <a href="#PARAHEAD_INTRO">paraheads</a>.
840 By default, subheads are flush left. In
841 <a href="docprocessing.html#PRINTSTYLE">PRINTSTYLE TYPESET</a>,
842 they are set bold, slightly larger than paragraph text. In
843 <a href="docprocessing.html#PRINTSTYLE">PRINTSTYLE TYPEWRITE</a>,
844 they are underlined. A single linespace precedes them in both
845 printstyles, and a tiny space adjustment raises them slightly
846 above text that comes afterwards for greater clarity in
847 document structuring.
849 If these defaults don't suit you, you can change them with the
850 subhead control macros.
851 <br>
853 <!---SUBHEAD--->
855 <hr width="66%" align="left">
857 <a name="SUBHEAD">
858 Macro: <strong>SUBHEAD</strong> <var>&quot;&lt;text of subhead&gt;&quot; [ &quot;&lt;2nd line&gt;&quot; [ &quot;&lt;3rd line&gt;&quot; ... ] ]</var>
859 </a>
861 The argument to <strong>SUBHEAD</strong> is the text of the subhead,
862 surrounded by double-quotes. If you need additional lines for a
863 subhead, simply surround each line with double-quotes.
865 <strong>NOTE:</strong> If a subhead falls near the bottom of an output
866 page and <strong>mom</strong> is unable to fit the head <em>plus at
867 least one line of text underneath it</em>, she will set the subhead
868 at the top of the next page.
870 <a name="SUBHEAD_CONTROL"><h3><u>Subhead control macros</u></h3></a>
872 In addition to the usual family/font/size/quad control
873 macros, there are macros to manage subhead numbering.
875 <ol>
876 <li><a href="#SUBHEAD_GENERAL">Family/font/size/quad</a>
877 <li><a href="#NUMBER_SUBHEADS">Numbering</a>
878 <li><a href="#RESET_SUBHEAD_NUMBER">Reset subhead numbering</a>
879 <li><a href="#SUBHEAD_INLINES">Vertical inline escapes inside subheads</a>
880 </ol>
882 <a name="SUBHEAD_GENERAL"><h3><u>1. Family/font/size/quad</u></h3></a>
885 <a href="#CONTROL_MACRO_ARGS">Arguments to the control macros</a>.
887 <pre>
888 .SUBHEAD_FAMILY default = prevailing document family; default is Times Roman
889 .SUBHEAD_FONT default = bold
890 .SUBHEAD_SIZE default = +.5 (point)
891 .SUBHEAD_QUAD default = LEFT
892 </pre>
894 <a name="NUMBER_SUBHEADS"><h3><u>2. Number subheads -- NUMBER_SUBHEADS</u></h3></a>
895 If you'd like your subheads numbered, simply invoke
896 <strong>.NUMBER_SUBHEADS</strong> with no argument.
897 <strong>Mom</strong> will number all subsequent subheads automatically
898 (in ascending order, naturally).
900 If, in addition to numbering subheads, you also request that
901 <a href="#HEAD_INTRO">heads</a>
902 be numbered, the head number will be included in the subhead number
903 (separated by a period [dot]).
905 Should you wish to stop subhead numbering, invoke
906 <strong>NUMBER_SUBHEADS</strong> with any argument (<strong>OFF, QUIT,
907 END, X</strong>...). Subhead numbering will cease, and the subhead
908 number will not be included in the numbering of paraheads.
910 <a name="RESET_SUBHEAD_NUMBER"><h3><u>3. Reset head numbering -- RESET_SUBHEAD_NUMBER</u></h3></a>
911 Should you wish to reset the subhead number to &quot;1&quot;, invoke
912 <strong>RESET_SUBHEAD_NUMBER</strong> with no argument. If, for some
913 reason, you want <strong>mom</strong> to use a subhead number that is not
914 the next in ascending order (i.e. the last subhead number + 1), invoke
915 <strong>RESET_SUBHEAD_NUMBER</strong> with the number you want, e.g.
917 <pre>
918 .RESET_SUBHEAD_NUMBER 4
919 </pre>
921 Your next subhead will be numbered &quot;4&quot; and subsequent
922 subheads will be numbered in ascending order from &quot;4&quot;.
924 <a name="SUBHEAD_INLINES"><h3><u>Vertical inline escapes inside subheads</u></h3></a>
926 <a href="#HEAD_INLINES">Vertical inline escapes inside heads</a>.
927 The information there applies equally to subheads.
930 <br>
931 <hr>
933 <!====================================================================>
935 <a name="PARAHEAD_INTRO"><h2><u>Paragraph heads</u></h2></a>
936 <ul>
937 <li><a href="#PARAHEAD">Tag: PARAHEAD</a>
938 <li><a href="#PARAHEAD_CONTROL">Parahead control macros</a>
939 </ul>
941 Paragraph heads (paraheads) should be used any place you want titles
942 to introduce paragraphs below heads or subheads. If you wish,
943 <strong>mom</strong> can number paraheads for you.
945 By default, paraheads are joined to the body of a paragraph,
946 slightly indented (provided the paragraph is not a
947 &quot;first&quot; paragraph as defined in
948 <a href="#PARA_INDENT_FIRST">Indenting initial paragraphs</a>).
950 <a href="docprocessing.html#PRINTSTYLE">PRINTSTYLE TYPESET</a>,
951 they are set bold italic, slightly larger than paragraph text. In
952 <a href="docprocessing.html#PRINTSTYLE">PRINTSTYLE TYPEWRITE</a>,
953 they are underlined.
955 If these defaults don't suit you, you can change them with the
956 parahead control macros.
957 <br>
959 <!---PARAHEAD--->
961 <hr width="66%" align="left">
963 <a name="PARAHEAD">
964 Macro: <strong>PARAHEAD</strong> <var>&quot;&lt;text of parahead&gt;&quot;</var>
965 </a>
967 <strong>PARAHEAD</strong> must come AFTER
968 <a href="#PP">PP</a>
969 or it will not work!
971 The argument is the text of the parahead, surrounded by double-quotes.
972 Because paraheads are joined to the body of a paragraph, they accept
973 only one argument (see
974 <a href="#HEAD">HEAD</a>
976 <a href="#SUBHEAD">SUBHEAD</a>).
978 <a name="PARAHEAD_CONTROL"><h3><u>Parahead control macros</u></h3></a>
980 In addition to the family/font/size/indent control macros, there are
981 macros to manage parahead numbering.
983 <ol>
984 <li><a href="#PARAHEAD_GENERAL">Family/font/size</a>
985 <li><a href="#PARAHEAD_INDENT">Indent</a>
986 <li><a href="#NUMBER_PARAHEADS">Numbering</a>
987 <li><a href="#RESET_PARAHEAD_NUMBER">Reset parahead numbering</a>
988 </ol>
990 <a name="PARAHEAD_GENERAL"><h3><u>1. Family/font/size</u></h3></a>
993 <a href="#CONTROL_MACRO_ARGS">Arguments to the control macros</a>.
995 <pre>
996 .PARAHEAD_FAMILY default = prevailing document family; default is Times Roman
997 .PARAHEAD_FONT default = bold italic
998 .PARAHEAD_SIZE default = +.5 (point)
999 </pre>
1001 <a name="PARAHEAD_INDENT"><h3><u>2. Indent</u></h3></a>
1002 Unlike other control macros that end in
1003 <a href="#CONTROL_INDENTS"><strong>_INDENT</strong></a>,
1004 the argument to the macro that controls indenting of paragraph heads
1005 (<strong>PARAHEAD_INDENT</strong>) is NOT relative to the first-line
1006 indent of normal paragraphs. In other words, it takes an absolute
1007 value, and requires a
1008 <a href="definitions.html#TERMS_UNITOFMEASURE">unit of measure</a>.
1009 For example, to set the paragraph head indent to 2-1/2 picas, you
1012 <pre>
1013 .PARAHEAD_INDENT 2.5P
1014 </pre>
1015 <strong>Mom</strong>'s default indent for paragraph heads is 1/2
1016 the first-line indent of normal paragraphs (both printstyles).
1017 However, as stated above, if you choose to change the indent, you
1018 must give an absolute value (unless you're a groff expert and want
1019 to manipulate the number register <code>\n[#PP_INDENT]u</code>
1020 arithmetically as the argument to <strong>PARAHEAD_INDENT</strong>
1021 for an indent that's relative to <strong>PP_INDENT</strong>.)
1023 <strong>NOTE:</strong> Paragraph heads in &quot;first
1024 paragraphs&quot;, as defined in
1025 <a href="#PARA_INDENT_FIRST">Indenting initial paragraphs</a>,
1026 are not indented unless you turn
1027 <a href="#INDENT_FIRST_PARAS">INDENT_FIRST_PARAS</a>
1030 <a name="NUMBER_PARAHEADS"><h3><u>3. Number paraheads -- NUMBER_PARAHEADS</u></h3></a>
1031 If you'd like your paraheads numbered, simply invoke
1032 <strong>.NUMBER_PARAHEADS</strong> with no argument.
1033 <strong>Mom</strong> will number all subsequent paraheads automatically
1034 (in ascending order, naturally).
1036 If, in addition to numbering paraheads, you also request that
1037 <a href="#HEAD_INTRO">heads</a>
1039 <a href="#SUBHEAD_INTRO">subheads</a>
1040 be numbered, the head and/or subhead number will be included in the
1041 parahead number (separated by a period [dot]).
1043 Should you wish to stop parahead numbering, invoke
1044 <strong>NUMBER_PARAHEADS</strong> with any argument (<strong>OFF,
1045 QUIT, END, X</strong>...). Parahead numbering will cease.
1047 <a name="RESET_PARAHEAD_NUMBER"><h3><u>4. Reset head numbering -- RESET_PARAHEAD_NUMBER</u></h3></a>
1048 Should you wish to reset the parahead number to &quot;1&quot;, invoke
1049 <strong>RESET_PARAHEAD_NUMBER</strong> with no argument. If, for some
1050 reason, you want <strong>mom</strong> to use a parahead number that is not
1051 the next in ascending order (i.e. the last parahead number + 1), invoke
1052 <strong>RESET_PARAHEAD_NUMBER</strong> with the number you want, e.g.
1054 <pre>
1055 .RESET_PARAHEAD_NUMBER 7
1056 </pre>
1058 Your next parahead will be numbered &quot;7&quot; and subsequent
1059 paraheads will be numbered in ascending order from &quot;7&quot;.
1060 <br>
1061 <hr>
1063 <!====================================================================>
1065 <a name="LINEBREAK_INTRO"><h2><u>Author linebreaks</u></h2></a>
1066 <ul>
1067 <li><a href="#LINEBREAK">Tag: LINEBREAK</a>
1068 <li><a href="#LINEBREAK_CHAR">Linebreak character control macro</a>
1069 </ul>
1071 By default, <strong>mom</strong> marks
1072 <a href="definitions.html#TERMS_LINEBREAK">author linebreaks</a>
1073 with three centered asterisks. You can change this behaviour
1074 with the linebreak character
1075 <a href="definitions.html#TERMS_CONTROLMACRO">control macro</a>.
1076 <br>
1078 <!---LINEBREAK--->
1080 <hr width="66%" align="left">
1082 <a name="LINEBREAK">
1083 Macro: <strong>LINEBREAK</strong>
1084 </a>
1087 <strong>LINEBREAK</strong> takes no arguments. Simply invoke it
1088 (on a line by itself, of course) whenever you want to insert an
1089 author linebreak. The appearance of the linebreak is controlled
1090 by the
1091 <a href="#LINEBREAK_CHAR">LINEBREAK_CHAR</a>
1092 macro.
1094 <h3><u>Linebreak character control macro</u></h3>
1096 <a name="LINEBREAK_CHAR">
1097 Macro: <strong>LINEBREAK_CHAR</strong> <var>[ &lt;character&gt; ] [ &lt;iterations&gt; [ &lt;vertical adjustment&gt; ] ]</var>
1098 </a>
1099 <br>
1100 <em>*The third optional argument requires a
1101 <a href="definitions.html#TERMS_UNITOFMEASURE">unit of measure</a></em>.
1104 <strong>LINEBREAK_CHAR</strong> determines what <strong>mom</strong>
1105 prints when <strong>LINEBREAK</strong> is invoked. It takes 3
1106 optional arguments: the character you want deposited at the line
1107 break, the number of times you want the character repeated, and a
1108 vertical adjustment factor.
1110 The first argument is any legal groff character (e.g. <kbd>*</kbd>
1111 [an asterisk], <kbd>\(dg</kbd> [a dagger], <kbd>\f(ZD\N'141\fP</kbd>
1112 [an arbitrary character from Zapf Dingbats], <kbd>\l'4P'</kbd>
1113 [a 4-pica long rule]). <strong>Mom</strong> sets the character
1114 centered on the current line length.
1116 The second argument is the number of times to repeat the character.
1118 The third argument is a +|- value by which to raise (+) or lower (-)
1119 the character in order to make it appear visually centered between
1120 sections of text. This lets you make vertical adjustments
1121 to characters that don't sit on the
1122 <a href="definitions.html#TERMS_BASELINE">baseline</a>
1123 (such as asterisks). The argument must be preceded by a plus or
1124 minus sign, and must include a unit of measure.
1126 If you enter <strong>LINEBREAK_CHAR</strong> with no arguments,
1127 sections of text will be separated by two blank lines when you invoke
1128 <strong>LINEBREAK</strong>.
1130 <strong>Mom</strong>'s default for <strong>LINEBREAK_CHAR</strong> is
1132 <pre>
1133 .LINEBREAK_CHAR * 3 -3p
1134 </pre>
1136 i.e. three asterisks, lowered 3 points from their normal vertical
1137 position (for
1138 <a href="docprocessing.html#PRINTSTYLE">PRINTSTYLE TYPESET</a>;
1139 the vertical adjustment is -2 points for
1140 <a href="docprocessing.html#PRINTSTYLE">PRINTSTYLE TYPEWRITE</a>).
1141 <br>
1142 <hr>
1144 <!====================================================================>
1146 <a name="QUOTE_INTRO"><h2><u>Quotes (line for line)</u></h2></a>
1147 <ul>
1148 <li><a href="#QUOTE">Tag: QUOTE</a>
1149 <li><a href="#QUOTE_CONTROL">Quote control macros</a>
1150 </ul>
1152 <a href="definitions.html#TERMS_QUOTE">Quotes</a>
1153 are always set in
1154 <a href="definitions.html#TERMS_NOFILL">nofill mode</a>,
1155 flush left. This permits entering quotes on a line for line basis in
1156 your text editor and have them come out the same way on output copy.
1157 (See
1158 <a href="#BLOCKQUOTE_INTRO">Blockquotes</a>
1159 for how quotes, in the present sense, differ from longer
1160 passages of cited text.)
1162 Since <strong>mom</strong> originally came into being to serve
1163 the needs of creative writers (i.e. novelists, short story
1164 writers, etc. -- not to cast aspersions on the creativity of
1165 mathematicians and programmers), she sets quotes in italics
1166 <a href="docprocessing.html#PRINTSTYLE">(PRINTSTYLE TYPESET)</a>
1167 or underlined
1168 <a href="docprocessing.html#PRINTSTYLE">(PRINTSTYLE TYPEWRITE)</a>,
1169 indented from the left margin. Obviously, she's thinking
1170 &quot;quotes from poetry or song lyrics&quot;, but with the
1171 quote control macros you can change her defaults so
1172 <strong>QUOTE</strong> serves other needs, e.g. entering snippets of
1173 programming code, command line instructions, and so on.
1175 <a name="QUOTE_SPACING"></a>
1176 Besides indenting quotes, <strong>mom</strong> further sets them
1177 off from
1178 <a href="definitions.html#TERMS_RUNNING">running text</a>
1179 with a small amount of vertical whitespace top and bottom. In
1180 <a href="docprocessing.html#PRINTSTYLE">PRINTSTYLE TYPEWRITE</a>,
1181 this is always one full linespace. In
1182 <a href="docprocessing.html#PRINTSTYLE">PRINTSTYLE TYPESET</a>,
1183 it's 1/2 of the prevailing
1184 <a href="definitions.html#TERMS_LEADING">leading</a>
1185 if the quote fits fully on the page (i.e. with running text above
1186 and below it), otherwise it's a full linespace either above or below
1187 as is necessary to balance the page to the bottom margin. This
1188 behaviour can be changed with the control macro
1189 <a href="#ALWAYS_FULLSPACE_QUOTES">ALWAYS_FULLSPACE_QUOTES</a>.
1191 <strong>NOTE:</strong> <strong>ALWAYS_FULLSPACE_QUOTES</strong>
1192 applies to both
1193 <a href="#QUOTE">QUOTE</a>
1195 <a href="#BLOCKQUOTE">BLOCKQUOTE</a>,
1196 as does the control macro
1197 <a href="#QUOTE_INDENT">QUOTE_INDENT</a>.
1198 <br>
1200 <!---QUOTE--->
1202 <hr width="66%" align="left">
1204 <a name="QUOTE">
1205 Macro: <strong>QUOTE</strong> <var>toggle</var>
1206 </a>
1209 <strong>QUOTE</strong> is a toggle macro. To begin a section of
1210 quoted text, invoke it with no argument, then type in your quote.
1211 When you're finished, invoke <strong>QUOTE</strong> with any
1212 argument (e.g. OFF, END, X, Q...) to turn it off. Example:
1214 <pre>
1215 .QUOTE
1216 Nymphomaniacal Jill
1217 Used a dynamite stick for a thrill
1218 They found her vagina
1219 In North Carolina
1220 And bits of her tits in Brazil.
1221 .QUOTE END
1222 </pre>
1224 <a name="QUOTE_CONTROL"><h3><u>Quote control macros</u></h3></a>
1225 <ol>
1226 <li><a href="#QUOTE_GENERAL">Family/font/size/indent</a>
1227 <li><a href="#ALWAYS_FULLSPACE_QUOTES">Spacing above and below (typeset only)</a>
1228 <li><a href="#UNDERLINE_QUOTES">Underline quotes (typewrite only)</a>
1229 <li><a href="#BREAK_QUOTE">Manually break a footnoted quote that crosses pages/columns</a>
1230 </ol>
1232 <a name="QUOTE_GENERAL"><h3><u>1. Family/font/size/indent</u></h3></a>
1235 <a href="#CONTROL_MACRO_ARGS">Arguments to the control macros</a>.
1237 <pre>
1238 .QUOTE_FAMILY default = prevailing document family; default is Times Roman
1239 .QUOTE_FONT default = italic
1240 .QUOTE_SIZE default = +0 (i.e. same size as paragraph text)
1241 <a name="QUOTE_INDENT">.QUOTE_INDENT default = paragraph indent x 3 (typeset); x 2 (typewrite)</a>
1242 (note that this macro also sets the indents (left and right)
1243 for blockquotes)
1244 </pre>
1246 <a name="ALWAYS_FULLSPACE_QUOTES"><h3><u>2. Spacing above and below -- ALWAYS_FULLSPACE_QUOTES (typeset only)</u></h3></a>
1247 If you'd like <strong>mom</strong> always to put a full linespace above
1248 and below quotes, invoke <strong>.ALWAYS_FULLSPACE_QUOTES</strong>
1249 with no argument. If you wish to restore <strong>mom</strong>'s
1250 default behaviour regarding the spacing of quotes (see
1251 <a href="#QUOTE_SPACING">above</a>),
1252 invoke the macro with any argument (<strong>OFF, QUIT, END,
1253 X</strong>...)
1255 <strong>NOTE:</strong> This macro also sets <strong>mom</strong>'s
1256 spacing policy for
1257 <a href="#BLOCKQUOTE_INTRO">blockquotes</a>.
1259 <a name="UNDERLINE_QUOTES"><h3><u>3. Underlining -- UNDERLINE_QUOTES (typewrite only)</u></h3></a>
1260 By default in
1261 <a href="docprocessing.html#PRINTSTYLE">PRINTSTYLE TYPEWRITE</a>,
1262 <strong>mom</strong> underlines quotes. If you'd rather she didn't,
1263 invoke <strong>.UNDERLINE_QUOTES</strong> with any argument
1264 (<strong>OFF, QUIT, END, X</strong>...) to disable the feature.
1265 Invoke it without an argument to restore <strong>mom</strong>'s
1266 default underlining of quotes.
1268 If you not only wish that <strong>mom</strong> not underline
1269 quotes, but also that she set them in italic, you must follow each
1270 instance of <strong>QUOTE</strong> with the typesetting macro <a
1271 href="typesetting.html#FONT">FT I</a>.
1272 Furthermore, since <strong>mom</strong> underlines all instances
1273 of italics by default in <strong>PRINTSTYLE TYPEWRITE</strong>,
1274 you must also make sure that <strong>ITALIC_MEANS_ITALIC</strong>
1275 is enabled (see
1276 <a href="docprocessing.html#TYPEWRITE_CONTROL">PRINTSTYLE TYPEWRITE control macros</a>).
1278 <a name="BREAK_QUOTE"><h3><u>4. Manually break a footnoted quote -- BREAK_QUOTE</u></h3></a>
1279 Exceptionally, a quote or blockquote containing a footnote may cross
1280 a page or column. When this happens, the footnote marker may not be
1281 correct for its position relative to other footnotes on the page, and
1282 the footnote itself may appear on the wrong page or at the bottom of
1283 the wrong column. When this happens, study your output to determine
1284 the precise point at which the quote breaks (or at which you want
1285 it to break), and add <code>.BREAK_QUOTE</code> on a line by itself
1286 afterwards. No other intervention is required, and the footnote(s)
1287 will be marked correctly and appear on the correct page.
1289 <strong>BREAK_QUOTE</strong> may be used with both quotes and
1290 blockquotes, and hence is aliased as <strong>BREAK_BLOCKQUOTE,
1291 BREAK_CITATION</strong> and <strong>BREAK_CITE</strong>.
1292 <br>
1293 <hr>
1295 <!====================================================================>
1297 <a name="BLOCKQUOTE_INTRO"><h2><u>Blockquotes (cited passages)</u></h2></a>
1298 <ul>
1299 <li><a href="#BLOCKQUOTE">Tag: BLOCKQUOTE (aliases: CITE, CITATION)</a>
1300 <li><a href="#BLOCKQUOTE_CONTROL">BLOCKQUOTE control macros</a>
1301 </ul>
1303 <strong>BLOCKQUOTES</strong> are used to cite passages from another
1304 author's work. So that they stand out well from
1305 <a href="definitions.html#TERMS_RUNNING">running text</a>,
1306 <strong>mom</strong> indents them from both the left and right margins
1307 and sets them in a different point size
1308 <a href="docprocessing.html#PRINTSTYLE">(PRINTSTYLE TYPESET</a>
1309 only).
1310 <a href="definitions.html#TERMS_OUTPUTLINE">Output lines</a>
1312 <a href="definitions.html#TERMS_FILLED">filled</a>,
1313 and, by default,
1314 <a href="definitions.html#TERMS_QUAD">quadded</a>
1315 left.
1317 Besides indenting blockquotes, <strong>mom</strong> further sets them
1318 off from running text with a small amount of vertical whitespace top
1319 and bottom. (See
1320 <a href="#QUOTE_SPACING">above</a>
1321 for a complete explanation of how this is managed, and how to control it.)
1323 You may notice that <strong>BLOCKQUOTE</strong> has no macro to
1324 control
1325 <a href="definitions.html#TERMS_LEADING">leading</a>,
1326 although you can change the point size. There are Very Good
1327 Reasons for this. If you can't live with the limitation, change
1328 the leading of blockquotes (after invoking the tag) with
1329 <a href="typesetting.html#LS">LS</a>,
1330 but know that there will be Bottom Margin Consequences unless you
1331 use the
1332 <a href="docprocessing.html#SHIM">SHIM</a>
1333 macro after you turn the blockquote off.
1334 <br>
1336 <!---BLOCKQUOTE--->
1338 <hr width="66%" align="left">
1340 <a name="BLOCKQUOTE">
1341 Macro: <strong>BLOCKQUOTE</strong> <var>toggle</var>
1342 <br>
1343 Aliases: <strong>CITE, CITATION</strong>
1344 </a>
1347 <strong>BLOCKQUOTE</strong> is a toggle macro. To begin a
1348 cited passage, invoke the tag with no argument, then type in your quote.
1349 When you're finished, invoke <strong>BLOCKQUOTE</strong> with any
1350 argument (e.g. OFF, END, X, Q...) to turn it off. Example:
1352 <pre>
1353 .BLOCKQUOTE
1354 Redefining the role of the United States from enablers to keep
1355 the peace to enablers to keep the peace from peacekeepers is
1356 going to be an assignment.
1357 .RIGHT
1358 \(emGeorge W. Bush
1359 .BLOCKQUOTE END
1360 </pre>
1362 If the cited passage runs to more than one paragraph, you MUST
1363 introduce each paragraph -- <em>including the first!</em> --
1364 with
1365 <a href="#PP">PP</a>.
1367 <strong>NOTE:</strong> The aliases <strong>CITE</strong>
1368 and <strong>CITATION</strong> may be used in place of the
1369 <strong>BLOCKQUOTE</strong> tag, but &quot;CITE&quot; and
1370 &quot;CITATION&quot; must not be used to replace &quot;BLOCKQUOTE&quot;
1371 in any of the tag's control macros.
1373 <a name="BLOCKQUOTE_CONTROL"><h3><u>Blockquote control macros</u></h3></a>
1374 <ol>
1375 <li><a href="#BLOCKQUOTE_GENERAL">Family/font/size/indent</a>
1376 <li><a href="#ALWAYS_FULLSPACE_QUOTES">Spacing above and below (typeset only)</a>
1377 <li><a href="#BREAK_QUOTE">Manually break a footnoted blockquote that crosses pages/columns</a>
1378 </ol>
1380 <a name="BLOCKQUOTE_GENERAL"><h3><u>1. Family/font/size/indent</u></h3></a>
1383 <a href="#CONTROL_MACRO_ARGS">Arguments to the control macros</a>.
1385 <pre>
1386 .BLOCKQUOTE_FAMILY default = prevailing document family; default is Times Roman
1387 .BLOCKQUOTE_FONT default = italic
1388 .BLOCKQUOTE_SIZE default = -1 (point)
1389 .QUOTE_INDENT default = paragraph indent x 3 (typeset); x 2 (typewrite)</a>
1390 (note that this macro also sets the left indent for quotes)
1391 </pre>
1393 <a name="ALWAYS_FULLSPACE_QUOTES"><h3><u>2. Spacing above and below -- ALWAYS_FULLSPACE_QUOTES (typeset only)</u></h3></a>
1394 If you'd like <strong>mom</strong> always to put a full linespace above
1395 and below blockquotes, invoke <strong>.ALWAYS_FULLSPACE_QUOTES</strong>
1396 with no argument. If you wish to restore <strong>mom</strong>'s
1397 default behaviour regarding the spacing of blockquotes (see
1398 <a href="#QUOTE_SPACING">above</a>),
1399 invoke the macro with any argument (<strong>OFF, QUIT, END,
1400 X</strong>...).
1402 <strong>NOTE:</strong> This macro also sets <strong>mom</strong>'s
1403 spacing policy for
1404 <a href="#QUOTE_INTRO">quotes</a>.
1405 <br>
1406 <hr>
1408 <!====================================================================>
1410 <a name="FOOTNOTE_INTRO"><h2><u>Footnotes</u></h2></a>
1411 <ul>
1412 <li><a href="#FOOTNOTE_BEHAVIOUR">Footnote behaviour</a>
1413 <li><a href="#FOOTNOTE">Tag: FOOTNOTE</a>
1414 <li><a href="#FOOTNOTE_CONTROL">FOOTNOTE control macros</a>
1415 </ul>
1418 For something so complex behind the scenes, footnotes are easy to use.
1419 You just type, for example
1421 <a name="FOOTNOTE_EXAMPLE"></a>
1422 <pre>
1423 ...the doctrines of Identity as urged by Schelling\c
1424 .FOOTNOTE
1425 &lt;footnote about who the hell is Schelling&gt;
1426 .FOOTNOTE OFF
1427 were generally the points of discussion presenting the most
1428 of beauty to the imaginative Morella.
1429 </pre>
1431 and be done with it. (Note the obligatory use of the
1432 <strong>\c</strong>
1433 <a href="definitions.html#TERMS_INLINES">inline escape</a>.)
1434 <strong>Mom</strong> takes care of everything:
1435 putting footnote markers in the body of the document, keeping track
1436 of how many footnotes are on the page, identifying the footnotes
1437 themeselves appropriately, balancing them properly with the botton
1438 margin, deferring footnotes that don't fit on the page... Even if
1439 you're using
1440 <a href="columns.html#COLUMNS">COLUMNS</a>,
1441 <strong>mom</strong> knows what to do, and Does The Right Thing.
1443 Footnotes can be sly little beasts, though. If you're writing a
1444 document that's footnote-heavy, you might want to read the following.
1446 <a name="FOOTNOTE_BEHAVIOUR"><h3><u>Footnote behaviour</u></h3></a>
1448 By default, <strong>mom</strong> marks footnotes with
1449 alternating stars (asterisks) and daggers. The first footnote
1450 gets a star, the second a dagger, the third two stars,
1451 the fourth two daggers, etc. If you prefer numbered footnotes, rest
1452 assured <strong>mom</strong> is happy to oblige.
1454 A small amount of vertical whitespace and a short horizontal rule
1455 separate footnotes from the document body. The amount of whitespace
1456 varies slightly from page to page depending on the number of lines
1457 in the footnotes. <strong>Mom</strong> tries for a nice balance
1458 between too little whitespace and too much, but when push comes to
1459 shove, she'll opt for ample over cramped. The last lines of footnotes
1460 are always flush with the document's bottom margin.
1462 If <strong>mom</strong> sees that a portion of a footnote cannot
1463 be fit on its page, she carries that portion over to the next
1464 page. If an entire footnote can't be fitted on its page (i.e.
1465 <strong>FOOTNOTE</strong> has been called too close to the bottom),
1466 she defers the footnote to the next page, but sets it with the
1467 appropriate marker from the previous page.
1469 In the unfortunate happenstance that a deferred footnote is the
1470 only footnote on its page (i.e. it's marked in the document body with
1471 a star) and the page it's deferred to has its own footnotes,
1472 <strong>mom</strong> separates the deferred footnote from the page's
1473 proper footnote(s) with a blank line. This avoids the confusion that
1474 might result from readers seeing two footnote entries on the same page
1475 identified by a single star (or the number 1 if you've requested
1476 numbered footnotes that begin at 1 on every page). The blank line
1477 makes it clear that the first footnote entry belongs to the previous
1478 page.
1480 In the circumstance where a deferred footnote is not the only one on
1481 its page, and is consequently marked by something other than a single
1482 star, there's no confusion and <strong>mom</strong> doesn't bother
1483 with the blank line. (By convention, the first footnote on a page is
1484 always marked with a single star, so if readers see, say, a dagger or two
1485 stars marking the first footnote entry, they'll know the entry belongs
1486 to the previous page).
1488 Obviously, deferred footnotes aren't an issue if you request numbered
1489 footnotes that increase incrementally throughout the whole document --
1490 yet another convenience <strong>mom</strong> has thought of.
1492 Exceptionally, you may encounter problems with footnotes inside
1493 quotes and blockquotes that cross a page or column. See
1494 <a href="#BREAK_QUOTE">BREAK_QUOTE</a>
1495 for a solution.
1496 <br>
1498 <!---FOOTNOTE--->
1500 <hr width="66%" align="left">
1502 <a name="FOOTNOTE">
1503 Macro: <strong>FOOTNOTE</strong> <var>&lt;toggle&gt; | INDENT LEFT | RIGHT | BOTH &lt;indent value&gt;</var>
1504 <br>
1505 <em>*See <a href="#FOOTNOTE_NOTE">HYPER-IMPORTANT NOTE</a>!!!</em>
1506 <br>
1507 &lt;indent value&gt; requires a
1508 <a href="definitions.html#TERMS_UNITOFMEASURE">unit of measure</a></em>
1509 </a>
1512 <strong>FOOTNOTE</strong> is a toggle macro, therefore invoking it
1513 on a line by itself allows you to enter a footnote in the body of a
1514 document. Invoking it with any argument <em>other than INDENT</em>
1515 (i.e. <strong>OFF, QUIT, END, X...</strong>) tells <strong>mom</strong>
1516 you're finished.
1518 Footnotes are the only element of
1519 <a href="definitions.html#TERMS_RUNNING">running text</a>
1520 that are not affected by the typesetting
1521 <a href="typesetting.html#INDENTS">indent macros</a>.
1522 In the unlikely event that you want a page's footnotes to line
1523 up with a running indent, invoke <strong>FOOTNOTE</strong> with
1524 the <strong>INDENT</strong> argument and pass it an indent
1525 direction and indent value. <strong>L, R,</strong> and
1526 <strong>B</strong> may be used in place of <strong>LEFT,
1527 RIGHT,</strong> and <strong>BOTH</strong>.
1528 <strong>FOOTNOTE</strong> must be invoked with <strong>INDENT</strong>
1529 for every footnote you want indented; <strong>mom</strong> does
1530 not save any footnote indent information from invocation to
1531 invocation.
1533 <strong>NOTE:</strong> If a footnote runs to more than one
1534 paragraph(!), <strong>DO NOT</strong> begin the footnote with
1536 <a href="#PP">PP</a>
1537 tag. Use <strong>PP</strong> only to introduce subsequent paragraphs.
1539 <a name="FOOTNOTE_NOTE"><strong>HYPER-IMPORTANT NOTE:</strong></a>
1540 The final word on the
1541 <a href="definitions.html#TERMS_INPUTLINE">input line</a>
1542 that comes immediately before <strong>FOOTNOTE</strong> MUST terminate
1543 with a
1544 <a href="typesetting.html#JOIN">\c</a>
1545 inline escape. Otherwise, the footnote marker for the word won't be attached to
1546 it (i.e. <strong>mom</strong> will insert a word space between the word
1547 and the marker). See the
1548 <a href="#FOOTNOTE_EXAMPLE">footnote example</a>
1549 above.
1552 <a name="FOOTNOTE_CONTROL"><h3><u>Footnote control macros</u></h3></a>
1553 <ol>
1554 <li><a href="#FOOTNOTE_GENERAL">Family/font/size/lead/quad</a>
1555 <li><a href="#FOOTNOTE_MARKERS">Footnote markers</a> -- on or off
1556 <li><a href="#FOOTNOTE_MARKER_STYLE">Footnote marker style</a> -- star+dagger or numbered
1557 <li><a href="#RESET_FOOTNOTE_NUMBER">Reset footnote number</a> -- set footnote marker number to 1
1558 <li><a href="#FOOTNOTE_RULE">Footnote rule</a> -- on or off
1559 <li><a href="#FOOTNOTE_RULE_LENGTH">Footnote rule length</a> -- length of footnote separator rule
1560 <li><a href="#FOOTNOTE_RULE_ADJ">Adjust vertical position of footnote separator rule</a>
1561 </ol>
1563 <a name="FOOTNOTE_GENERAL"><h3><u>1. Family/font/size/quad/lead</u></h3></a>
1566 <a href="#CONTROL_MACRO_ARGS">Arguments to the control macros</a>.
1568 <pre>
1569 .FOOTNOTE_FAMILY default = prevailing document family; default is Times Roman
1570 .FOOTNOTE_FONT default = roman
1571 .FOOTNOTE_SIZE default = -2 (points)
1572 .FOOTNOTE_AUTOLEAD default = 2 points (typeset); single-spaced (typewrite)
1573 .FOOTNOTE_QUAD default = same as paragraphs
1574 </pre>
1576 <a name="FOOTNOTE_MARKERS"><h3><u>2. Footnote markers -- FOOTNOTE_MARKERS</u></h3></a>
1577 If you don't want footnote markers, in either the body of
1578 the document or beside footnote entries themselves, toggle
1579 them off with <strong>.FOOTNOTE_MARKERS OFF</strong> (or
1580 <strong>END, QUIT, X</strong>...). This means, of course, that
1581 you'll have to roll your own. If you want them back on, invoke
1582 <strong>.FOOTNOTE_MARKERS</strong> with no argument. Footnote markers
1583 are on by default.
1585 <a name="FOOTNOTE_MARKER_STYLE"><h3><u>3. Footnote marker style -- FOOTNOTE_MARKER_STYLE</u></h3></a>
1586 <strong>Mom</strong> gives you two choices of footnote marker style:
1587 star+dagger (see
1588 <a href="#FOOTNOTE_BEHAVIOUR">footnote behaviour</a>
1589 above), or numbered.
1591 <strong>.FOOTNOTE_MARKER_STYLE STAR</strong> gives you star+dagger
1592 (the default). There is a limit of 10 footnotes per page with
1593 this style.
1595 <strong>.FOOTNOTE_MARKER_STYLE NUMBER</strong> gives you superscript
1596 numbers, both in the document body and in the footnote entries
1597 themselves. By default, footnote numbers increase incrementally
1598 (prev. footnote number + 1) throughout the whole document. You can
1599 ask <strong>mom</strong> to start each page's footnote numbers at 1
1600 with <strong>.RESET_FOOTNOTE_NUMBER</strong> (see below).
1602 <a name="RESET_FOOTNOTE_NUMBER"><h3><u>4. Reset footnote number -- RESET FOOTNOTE NUMBER</u></h3></a>
1603 <strong>.RESET_FOOTNOTE_NUMBER</strong>, by itself, resets
1604 footnote numbering so that the next footnote you enter is
1605 numbered 1.
1607 <strong>.RESET_FOOTNOTE_NUMBER PAGE</strong> tells
1608 <strong>mom</strong> to start every page's footnote numbering at 1.
1610 <a name="FOOTNOTE_RULE"><h3><u>5. Footnote rule -- FOOTNOTE_RULE</u></h3></a>
1611 If you don't want a footnote separator rule, toggle it off with
1612 <strong>.FOOTNOTE_RULE OFF</strong> (or <strong>END,
1613 QUIT, X</strong>...). Toggle it back on by invoking
1614 <strong>.FOOTNOTE_RULE</strong> with no argument. The default is to
1615 print the rule.
1617 <a name="FOOTNOTE_RULE_LENGTH"><h3><u>6. Footnote rule length -- FOOTNOTE_RULE_LENGTH</u></h3></a>
1618 If you want to change the length of the footnote separator rule,
1619 invoke <strong>.FOOTNOTE_RULE_LENGTH</strong> with a length, like
1620 this,
1622 <pre>
1623 .FOOTNOTE_RULE_LENGTH 1i
1624 </pre>
1626 which sets the length to 1 inch. Note that a
1627 <a href="definitions.html#TERMS_UNITOFMEASURE">unit of measure</a>
1628 is required. The default is 4
1629 <a href="definitions.html#TERMS_PICASPOINTS">picas</a>
1630 for both
1631 <a href="docprocessing.html#PRINTSTYLE">printstyles</a>.
1632 <a name="FOOTNOTE_RULE_ADJ"><h3><u>7. Adjust vertical position of footnote separator rule -- FOOTNOTE_RULE_ADJ</u></h3></a>
1633 The footnote separator rule is actually a baseline rule that falls
1634 on the
1635 <a href="definitions.html#TERMS_BASELINE">baseline</a>
1636 of the first line of a page's footnotes. By default,
1637 <strong>mom</strong> raises the rule 3
1638 <a href="definitions.html#TERMS_PICASPOINTS">points</a>
1639 from the baseline so that the separator and the footnotes don't
1640 look jammed together. If you'd prefer a different vertical
1641 adjustment, invoke <strong>.FOOTNOTE_RULE_ADJ</strong> with the
1642 amount you'd like. For example
1644 <pre>
1645 .FOOTNOTE_RULE_ADJ 4.25p
1646 </pre>
1648 raises the rule by 4-1/4 points. Note that you can only raise
1649 the rule, not lower it. A
1650 <a href="definitions.html#TERMS_UNITOFMEASURE">unit of measure</a>
1651 is required.
1652 <br>
1653 <hr>
1655 <!====================================================================>
1657 <a name="FINIS_INTRO"><h2><u>Terminate document processing</u></h2></a>
1658 <ul>
1659 <li><a href="#FINIS">Tag: FINIS</a>
1660 <li><a href="#FINIS_STRING">Changing the FINIS string</a>
1661 </ul>
1664 The use of <strong>FINIS</strong> is optional. If you invoke it
1665 (at the end of a document before
1666 <a href="#TOC">TOC</a>
1668 <a href="#ENDNOTES">ENDNOTES</a>),
1669 <strong>mom</strong> turns off
1670 <a href="definitions.html#TERMS_FOOTER">footers</a>
1671 (if they're on) and page numbering (if page
1672 numbers are at the bottom of the page) and deposits the word
1673 END, centered after a blank line, beneath the last
1674 line of the document. END is enclosed between
1675 <a href="definitions.html#TERMS_EM">em-dashes</a>.
1677 If you're writing in a language other than English, you can
1678 change what <strong>mom</strong> prints for END with
1679 the control macro <strong>FINIS_STRING</strong>.
1680 <br>
1682 <!---FINIS--->
1684 <hr width="66%" align="left">
1686 <a name="FINIS">
1687 Macro: <strong>FINIS</strong>
1688 </a>
1691 The use of <strong>FINIS</strong> is optional, but if you use
1692 it, it should be the last macro you invoke in a document (before
1693 <a href="#ENDNOTES">ENDNOTES</a>
1695 <a href="#TOC">TOC</a>).
1697 <a href="#FINIS_INTRO">above</a>
1698 for a description of how <strong>FINIS</strong> behaves.
1700 <strong>NOTE:</strong> If you don't use <strong>FINIS</strong>,
1701 and you don't want
1702 <a href="definitions.html#TERMS_FOOTER">footers</a>
1703 (if they're on) or a page number at the bottom of the last page of
1704 a document, you have to turn them off manually, as the last two
1705 lines of your document file, like this:
1707 <pre>
1708 .FOOTERS OFF
1709 .PAGINATE OFF
1710 </pre>
1712 <a name="FINIS_STRING"><h3><u>Changing the FINIS string</u></h3></a>
1715 By default, <strong>FINIS</strong> prints the word
1716 END between
1717 <a href="definitions.html#TERMS_EM">em-dashes</a>.
1718 If you'd like <strong>mom</strong> to print something else
1719 between the dashes, use the <strong>FINIS_STRING</strong> macro
1720 (anywhere in the document prior to <strong>FINIS</strong>).
1722 For example, if your document's in French, you'd do
1724 <pre>
1725 .FINIS_STRING "FIN"
1726 </pre>
1728 Double-quotes must enclose the macro's argument.
1730 <strong>NOTE:</strong> If you pass <strong>FINIS_STRING</strong>
1731 a blank string, i.e.
1733 <pre>
1734 .FINIS_STRING ""
1735 </pre>
1737 <strong>mom</strong> will still print the em-dashes if you
1738 invoke <strong>FINIS</strong>. This, in effect, produces a
1739 short, centered horizontal rule that terminates the document.
1741 <a href="docprocessing.html.#PRINTSTYLE">PRINTSTYLE TYPEWRITE</a>,
1742 it's a short, dashed line composed of four hyphens.)
1744 <br>
1745 <hr>
1747 <!====================================================================>
1749 <a name="ENDNOTE_INTRO"><h2><u>Endnotes</u></h2></a>
1750 <ul>
1751 <li><a href="#ENDNOTE_BEHAVIOUR">Endnote behaviour</a>
1752 <ul>
1753 <li><a href="#ENDNOTE_SPACING">A Note on Endnote Spacing</a>
1754 <li><a href="#ENDNOTE_COLUMNS">Endnotes and columnar documents</a>
1755 </ul>
1756 <li><a href="#ENDNOTE">Tag: ENDNOTE</a>
1757 <li><a href="#ENDNOTES">Macro: ENDNOTES</a> -- tell <strong>mom</strong> to output endnotes
1758 <li><a href="#ENDNOTE_CONTROL">ENDNOTES control macros</a>
1759 </ul>
1762 Embedding endnotes into <strong>mom</strong> documents is accomplished
1763 the same way as embedding
1764 <a href="#FOOTNOTE_INTRO">footnotes</a>. The example below is
1765 identical to the one shown in the
1766 <a href="#FOOTNOTE_EXAMPLE">introduction to footnotes</a>,
1767 except that <kbd>.FOOTNOTE</kbd> has been replaced with
1768 <kbd>.ENDNOTE</kbd>.
1770 <a name="ENDNOTE_EXAMPLE"></a>
1771 <pre>
1772 ...the doctrines of Identity as urged by Schelling\c
1773 .ENDNOTE
1774 &lt;endnote about who the hell is Schelling&gt;
1775 .ENDNOTE OFF
1776 were generally the points of discussion presenting the most
1777 of beauty to the imaginative Morella.
1778 </pre>
1780 As with footnotes, note the obligatory use of the <strong>\c</strong>
1781 <a href="definitions.html#TERMS_INLINES">inline escape</a>.
1783 Endnotes differ from footnotes in two ways (other than the fact that
1784 endnotes come at the end of a document whereas footnotes appear in the
1785 body of the document):
1786 <br>
1787 <ol>
1788 <li>Endnotes are always numbered incrementally throughout a
1789 document. In other words, you don't get a choice of marker styles,
1790 as you do with footnotes.
1791 <li>Endnotes MUST be output explicitly; <strong>mom</strong> does
1792 not output them for you. In
1793 <a href="rectoverso.html#COLLATE">collated</a>
1794 documents, this allows you to choose whether you
1795 want the endnotes to appear at the end of each chapter or
1796 section, or grouped together at the very end of the document.
1797 </ol>
1799 Within endnotes, you may use the document element tags
1800 <a href="#PP">PP</a>,
1801 <a href="#QUOTE">QUOTE</a>
1803 <a href="#BLOCKQUOTE">BLOCKQUOTE</a>.
1804 This provides the flexibility to create endnotes that run to several
1805 paragraphs, as well as to embed cited text within endnotes.
1807 Should you wish to change the appearance of quotes or blockquotes that
1808 appear within endnotes, you may do so with the
1809 <a href="#QUOTE_CONTROL">quote control macros</a>
1811 <a href="#BLOCKQUOTE_CONTROL">blockquote control macros</a>.
1812 HOWEVER... you must make the changes <em>within</em> each endnote, prior
1813 to invoking <strong>QUOTE</strong> or <strong>BLOCKQUOTE</strong>, and
1814 undo them prior to terminating the endnote (i.e. before <strong>ENDNOTE
1815 OFF</strong>), otherwise the changes will affect subsequent quotes and
1816 blockquotes that appear in the document body as well.
1818 <a name="ENDNOTE_BEHAVIOUR"><h3><u>Endnote behaviour</u></h3></a>
1820 When you output endnotes (with
1821 <a href="#ENDNOTES">ENDNOTES</a>),
1822 <strong>mom</strong> finishes processing the last page of your document,
1823 then breaks to a new page for printing the endnotes. If the document
1824 type is
1825 <a href="docprocessing.html#DOCTYPE">CHAPTER</a>,
1826 the centre part of the
1827 <a href="definitions.html#TERMS_HEADER">header</a>
1828 (or footer), which, by default, contains a chapter number or title, is
1829 removed.
1831 By default, <strong>mom</strong> starts the endnotes page with a
1832 bold, centered, double-underscored head, &quot;ENDNOTES&quot;.
1833 Underneath--flush left, bold, and underscored--she prints the document
1834 title (or, in the case of chapters, the chapter number or title). She
1835 then prints the endnotes. Each endnote is identified by its appropriate
1836 number, in bold, right aligned to two placeholders. The text of the
1837 endnotes themselves is indented to the right of the numbers.
1839 If the endnotes are grouped together at the end of a collated document,
1840 each section of the document that contains endnotes is identified by its
1841 own unique title (or chapter number or title), bold, flush left, and
1842 underscored.
1844 Of course, all the defaults, as well as the overall style of the
1845 endnotes page, can be changed with the
1846 <a href="#ENDNOTE_CONTROL">endnote control macros</a>.
1847 The attentive will notice that endnotes have an awful lot of control
1848 macros. This is because endnotes are like a mini-document unto
1849 themselves, and therefore need not be bound by the style parameters of
1850 the body of the document.
1852 <a name="ENDNOTE_SPACING">
1853 <h3><u>A Note on Endnote Spacing</u></h3>
1854 </a>
1856 On the endnotes page(s), each new endnote is separated from the
1857 previous endnote by a full line space. This can result in a bottom
1858 margin that hangs, and is the one instance, other than the use of
1859 <a href="#PP_SPACE">PARA_SPACE</a>,
1860 where <strong>mom</strong> allows unequal bottom alignment of pages.
1861 Should you wish to correct this, by adding or subtracting small amounts
1862 of space between endnotes that appear together on an endnote page, make
1863 the adjustment (with
1864 <a href="typesetting.html#ALD">ALD</a>,
1865 <a href="typesetting.html#RLD">RLD</a>
1867 <a href="typesetting.html#SPACE">SPACE</a>)
1868 <em>at the end of each endnote</em> (i.e. just before invoking
1869 <a href="#ENDNOTE">ENDNOTE OFF</a>)
1870 rather than at the top.
1872 <a name="ENDNOTE_COLUMNS">
1873 <h3><u>Endnotes and columnar documents</u></h3>
1874 </a>
1876 Formerly (pre 1.1.6), there was no way to set a document in columns
1877 (see
1878 <a href="docprocessing.html#COLUMNS">COLUMNS</a>)
1879 and then turn off column mode for endnotes. As of version 1.1.6,
1880 you may now do so. See
1881 <a href="#ENDNOTES_NO_COLUMNS">ENDNOTES_NO_COLUMS</a>.
1882 <br>
1883 <hr>
1885 <!---ENDNOTE--->
1888 <a name="ENDNOTE">
1889 Macro: <strong>ENDNOTE</strong> <var>&lt;toggle&gt;</var>
1890 <br>
1891 <em>*See <a href="#ENDNOTE_NOTE">HYPER-IMPORTANT NOTE</a>!!!</em>
1892 </a>
1895 <strong>ENDNOTE</strong> is a toggle macro, therefore invoking it
1896 on a line by itself allows you to enter an endnote in the body of a
1897 document. Invoking it with any other argument
1898 (i.e. <strong>OFF, QUIT, END, X...</strong>) tells <strong>mom</strong>
1899 that you've finished the endnote.
1901 <strong>NOTE:</strong> If an endnote runs to more than one paragraph,
1902 <strong>DO NOT</strong> begin the endnote with the
1903 <a href="#PP">PP</a>
1904 tag. Use <strong>PP</strong> only to introduce subsequent paragraphs.
1906 <a name="ENDNOTE_NOTE"><strong>HYPER-IMPORTANT NOTE:</strong></a>
1907 The final word on the
1908 <a href="definitions.html#TERMS_INPUTLINE">input line</a>
1909 that comes immediately before <strong>ENDNOTE</strong> MUST terminate
1910 with a
1911 <a href="typesetting.html#JOIN">\c</a>
1912 inline escape. Otherwise, the endnote number for the word won't be attached to
1913 it (i.e. <strong>mom</strong> will insert a word space between the word
1914 and the number). See the
1915 <a href="#ENDNOTE_EXAMPLE">endnote example</a>
1916 above.
1917 <br>
1919 <!---ENDNOTES--->
1921 <hr width="66%" align="left">
1923 <a name="ENDNOTES">Macro: <strong>ENDNOTES</strong></a>
1926 Unlike footnotes, which <strong>mom</strong> automatically outputs at the
1927 bottom of pages, endnotes must be explicitly output by you, the user.
1928 <strong>ENDNOTES</strong>, by itself (i.e. without any argument), is
1929 the macro to do this.
1931 Typically, you'll use <strong>ENDNOTES</strong> at the end of
1932 a document. If it's a single (i.e. not collated) document,
1933 <strong>mom</strong> will print the endnotes pertaining to it. If it's
1934 a collated document, <strong>mom</strong> will print all the endnotes
1935 contained within all sections of the document (typically chapters),
1936 appropriately identified and numbered.
1938 Should you wish to output the endnotes for each section of a collated
1939 document at the ends of the sections (instead of at the very end of the
1940 document), simply invoke <strong>ENDNOTES</strong> immediately prior to
1941 <a href="rectoverso.html#COLLATE">COLLATE</a>.
1942 <strong>Mom</strong> will print the endnotes, identified and numbered
1943 appropriately, on a separate page prior to starting the next section of
1944 the document. Each subsequent invocation of <strong>ENDNOTES</strong>
1945 outputs only those endnotes that <strong>mom</strong> collected
1946 after the previous invocation.
1947 <br>
1948 <hr width="66%" align="left">
1950 <a name="ENDNOTE_CONTROL"><h3><u>Endnote control macros</u></h3></a>
1952 Every time you embed an endnote in the body of a document,
1953 <strong>mom</strong> collects <em>and processes</em> the endnote for
1954 later outputting when you invoke
1955 <a href="#ENDNOTES">ENDNOTES</a>.
1956 For this reason, endnote control macros should always be invoked prior
1957 to the first instance of
1958 <a href="#ENDNOTE">ENDNOTE/ENDNOTE OFF</a>.
1959 <br>
1960 <ol>
1961 <li><a href="#ENDNOTES_GENERAL"><strong>General endnotes-pages style control</strong></a>
1962 <ul>
1963 <li><a href="#ENDNOTE_GENERAL">Base family/font/quad for endnotes-pages</a>
1964 <li><a href="#ENDNOTE_PT_SIZE">Base point size for the endnotes-pages</a>
1965 <li><a href="#ENDNOTE_LEAD">Leading of endnotes-pages</a>
1966 <li><a href="#SINGLESPACE_ENDNOTES">Singlespace endnotes (for TYPEWRITE only)</a>
1967 <li><a href="#ENDNOTE_PARA_INDENT">Size of paragraph first line indent in multi-paragraph endnotes</a>
1968 <li><a href="#ENDNOTE_PARA_SPACE">Inserting space between paragraphs of multi-paragraph endnotes</a>
1969 <li><a href="#ENDNOTES_NO_COLUMNS">Turning off column mode during endnotes output</a>
1970 <li>Pagination of endnotes
1971 <ul>
1972 <li><a href="#ENDNOTES_PAGENUM_STYLE">Endnotes-pages page numbering style</a>
1973 <li><a href="#ENDNOTES_FIRST_PAGENUMBER">Setting the first page number of endnotes pages</a>
1974 <li><a href="#ENDNOTES_NO_FIRST_PAGENUM">Omitting a page number on the first page of endnotes</a>
1975 </ul>
1976 <li><a href="#SUSPEND_PAGINATION">Suspending pagination of endotes pages</a>
1977 </ul>
1978 <li><a href="#ENDNOTES_HEADER_CONTROL"><strong>Endnotes-page header/footer control</strong></a>
1979 <ul>
1980 <li><a href="#ENDNOTES_MODIFY_HDRFTR">Modifying what goes in the endnotes-pages header/footer</a>
1981 <li><a href="#ENDNOTES_HDRFTR_CENTER">Enabling a header/footer centre when doctype is CHAPTER</a>
1982 <li><a href="#ENDNOTES_ALLOWS_HEADERS">Allow headers on endnotes-pages</a>
1983 </ul>
1984 <li><a href="#ENDNOTES_MAIN_TITLE"><strong>Endnotes-page head (i.e. the title at the top) control</strong></a>
1985 <ul>
1986 <li><a href="#ENDNOTE_STRING">Creating/modifying the endnotes-page head</a>
1987 <li><a href="#ENDNOTE_STRING_CONTROL">Endnotes-page head control</a>
1988 <li><a href="#ENDNOTE_STRING_UNDERSCORE">Endnotes-page head underscoring</a>
1989 <li><a href="#ENDNOTE_STRING_CAPS">Endnotes-page head capitalisation</a>
1990 </ul>
1991 <li><a href="#ENDNOTES_DOC_TITLE"><strong>Endnote document-identification title</strong></a>
1992 <ul>
1993 <li><a href="#ENDNOTE_TITLE">Creating/modifying the endnote document-identification title</a>
1994 <li><a href="#ENDNOTE_TITLE_CONTROL">Document-identification title control</a>
1995 <li><a href="#ENDNOTE_TITLE_UNDERSCORE">Document-identification title underscoring</a>
1996 </ul>
1997 <li><a href="#ENDNOTES_NUMBERING"><strong>Endnotes-pages endnote numbering style</strong></a>
1998 <ul>
1999 <li><a href="#ENDNOTE_NUMBER_CONTROL">Endnotes-pages endnote numbering style control</a>
2000 <li><a href="#ENDNOTE_NUMBER_ALIGNMENT">Endnote numbering alignment</a>
2001 <ul>
2002 <li><a href="#ENDNOTE_NUMBERS_ALIGN_RIGHT">ENDNOTE_NUMBERS_ALIGN_RIGHT</a>
2003 <li><a href="#ENDNOTE_NUMBERS_ALIGN_LEFT">ENDNOTE_NUMBERS_ALIGN_LEFT</a>
2004 </ul>
2005 </ul>
2006 </ol>
2007 <hr>
2009 <a name="ENDNOTES_GENERAL"><h2><u>1. General endnotes page style control</u></h2>
2011 <a name="ENDNOTE_GENERAL"><h3><u>*Endnote family/font/quad</u></h3></a>
2014 <a href="#CONTROL_MACRO_ARGS">Arguments to the control macros</a>.
2016 <pre>
2017 .ENDNOTE_FAMILY default = prevailing document family; default is Times Roman
2018 .ENDNOTE_FONT default = roman
2019 .ENDNOTE_QUAD default = justified
2020 </pre>
2022 <!---ENDNOTE_PT_SIZE--->
2024 <a name="ENDNOTE_PT_SIZE"><h3><u>*Endnote point size</u></h3></a>
2026 Macro: <strong>ENDNOTE_PT_SIZE</strong> <var>&lt;base type size of endnotes&gt;</var>
2029 Unlike most other control macros that deal with size of document
2030 elements, <strong>ENDNOTE_PT_SIZE</strong> takes as its argument an
2031 absolute value, relative to nothing. Therefore, the argument represents
2032 the size of endnote type in
2033 <a href="definitions.html#TERMS_PICASPOINTS">points</a>,
2034 unless you append an alternative
2035 <a href="definitions.html#TERMS_UNITOFMEASURE">unit of measure</a>.
2036 For example,
2038 <pre>
2039 .ENDNOTE_PT_SIZE 12
2040 </pre>
2042 sets the base point size of type on the endnotes page to 12
2043 points, whereas
2045 <pre>
2046 .ENDNOTE_PT_SIZE .6i
2047 </pre>
2049 sets the base point size of type on the endnotes page to 1/6 of an
2050 inch.
2052 The type size set with <strong>ENDNOTE_PT_SIZE</strong> is the size of
2053 type used for the text of the endnotes, and forms the basis from which
2054 the point size of other endnote page elements is calculated.
2056 The default for
2057 <a href="docprocessing.html#PRINTSTYLE">PRINTSTYLE TYPESET</a>
2058 is 12.5 points (the same default size used in the body of the document).
2060 <!---ENDNOTE_LEAD--->
2062 <a name="ENDNOTE_LEAD"><h3><u>*Endnote lead</u></h3></a>
2064 Macro: <strong>ENDNOTE_LEAD</strong> <var>&lt;base leading of endnotes&gt; [ ADJUST ] </var>
2065 <br>
2066 <em>*Does not require a <a href="definitions.html#TERMS_UNITOFMEASURE">unit of measure</a>; points is assumed</em>
2069 Unlike most other control macros that deal with leading of document
2070 elements, <strong>ENDNOTE_LEAD</strong> takes as its argument an
2071 absolute value, relative to nothing. Therefore, the argument represents
2073 <a href="definitions.html#TERMS_LEADING">leading</a>
2074 of endnotes in
2075 <a href="definitions.html#TERMS_PICASPOINTS">points</a>
2076 unless you append an alternative
2077 <a href="definitions.html#TERMS_UNITOFMEASURE">unit of measure</a>.
2078 For example,
2080 <pre>
2081 .ENDNOTE_LEAD 14
2082 </pre>
2084 sets the base leading of type on the endnotes page to 14
2085 points, whereas
2087 <pre>
2088 .ENDNOTE_LEAD .5i
2089 </pre>
2091 sets the base leading of type on the endnotes page to 1/2 inch.
2093 If you want the leading of endnotes adjusted to fill the page, pass
2094 <strong>ENDNOTE_LEAD</strong> the optional argument
2095 <strong>ADJUST</strong>. (See
2096 <a href="docprocessing.html#DOC_LEAD_ADJUST">DOC_LEAD_ADJUST</a>
2097 for an explanation of leading adjustment.)
2099 The default for
2100 <a href="docprocessing.html#PRINTSTYLE">PRINTSTYLE TYPESET</a>
2101 is 14 points, adjusted.
2103 <strong>NOTE:</strong> Even if you give <strong>mom</strong> a
2104 <strong>DOC_LEAD_ADJUST OFF</strong> command, she will still, by
2105 default, adjust endnote leading. You MUST enter
2106 <strong>ENDNOTE_LEAD &lt;lead&gt;</strong> with no
2107 <strong>ADJUST</strong> argument to disable this default behaviour.
2109 <!---SINGLESPACE_ENDNOTES--->
2111 <a name="SINGLESPACE_ENDNOTES"><h3><u>*Singlespace endnotes (TYPEWRITE only)</u></h3></a>
2113 Macro: <strong>SINGLESPACE_ENDNOTES</strong> <var>&lt;toggle&gt;</var>
2116 If your
2117 <a href="docprocessing.html#PRINTSTYLE">PRINTSTYLE</a>
2118 is <strong>TYPEWRITE</strong> and you use TYPEWRITE's default
2119 double-spacing, endnotes are double-spaced. If your document is
2120 single-spaced, endnotes are single-spaced.
2122 If, for some reason, you'd prefer that endnotes be single-spaced
2123 in an otherwise double-spaced document (including double-spaced
2124 <a href="rectoverso.html#COLLATE">collated</a> documents), invoke
2125 <strong>SINGLESPACE_ENDNOTES</strong> with no argument. And if,
2126 god help you, you want to change endnote single-spacing back to
2127 double-spacing for different spacing of endnotes output at the ends
2128 of separate docs in a collated doc, invoke
2129 <strong>SINGLESPACE_ENDNOTES</strong> with any argument(<strong>OFF,
2130 QUIT, Q, X</strong>...).
2132 <!---ENDNOTE_PARA_INDENT--->
2134 <a name="ENDNOTE_PARA_INDENT"><h3><u>*Endnote paragraph indenting</u></h3></a>
2136 Macro: <strong>ENDNOTE_PARA_INDENT</strong> <var>&lt;amount to indent first line of paragraphs in endnotes&gt;</var>
2137 <br>
2138 <em>*Requires a <a href="definitions.html#TERMS_UNITOFMEASURE">unit of measure</a></em>
2141 <strong>ENDNOTE_PARA_INDENT</strong> works exactly the same way as
2142 <a href="#PARA_INDENT">PARA_INDENT</a>,
2143 except that the indent given is the amount by which to indent the first
2144 lines of endnote paragraphs, not document body paragraphs.
2146 The default is 1.5
2147 <a href="definitions.html#TERMS_EM">ems</a>
2149 <a href="docprocessing.html#PRINTSTYLE">PRINTSTYLE TYPESET</a>;
2150 1/2 inch for
2151 <a href="docprocessing.html#PRINTSTYLE">PRINTSTYLE TYPEWRITE</a>.
2154 <strong>NOTE:</strong> The first line of the first paragraph of endnotes
2155 (the one attached immediately to the identifying endnote number) is
2156 never indented. Only subsequent paragraphs are affected by
2157 <strong>ENDNOTE_PARA_INDENT</strong>.
2159 <!---ENDNOTE_PARA_SPACE--->
2161 <a name="ENDNOTE_PARA_SPACE"><h3><u>*Endnote paragraph spacing</u></h3></a>
2163 Macro: <strong>ENDNOTE_PARA_SPACE</strong> <var>&lt;toggle&gt;</var>
2166 <strong>ENDNOTE_PARA_SPACE</strong> works exactly the same way as
2167 <a href="#PP_SPACE">PARA_SPACE</a>,
2168 except that it inserts a blank line between endnote paragraphs, not
2169 document body paragraphs.
2171 The default is not to insert a blank line between paragraphs in
2172 endnotes.
2174 <strong>NOTE:</strong> Each endnote itself is always separated from any
2175 previous endnote by a line space. <strong>ENDNOTE_PARA_SPACE</strong>
2176 refers only to paragraphs that appear within each discrete endnote.
2178 <!---ENDNOTES_NO_COLUMNS--->
2180 <a name="ENDNOTES_NO_COLUMNS"><h3><u>*Turning off column mode during endnotes output</u></h3></a>
2182 Macro: <strong>ENDNOTES_NO_COLUMNS</strong> <var>&lt;toggle&gt;</var>
2185 By default, if your document is
2186 <a href="columns.html#COLUMNS">set in columns</a>,
2187 <strong>mom</strong> sets the endnotes in columns, too. However,
2188 if your document is set in columns and you'd like the endnotes not
2189 to be, just invoke <strong>ENDNOTES_NO_COLUMNS</strong> with no
2190 argument. The endnotes pages will be set to the full page measure
2191 of your document.
2193 If you output endnotes at the end of each document in a
2194 <a href="rectoverso.html#COLLATE">collated</a>
2195 document set in columns, column mode will automatically
2196 be reinstated for each document, even with
2197 <strong>ENDNOTES_NO_COLUMNS</strong> turned on.
2199 <!---ENDNOTES_PAGENUM_STYLE--->
2201 <a name="ENDNOTES_PAGENUM_STYLE"><h3><u>*Endnotes-pages page numbering style</u></h3></a>
2203 Macro: <strong>ENDNOTES_PAGENUM_STYLE</strong> <var>DIGIT | ROMAN | roman | ALPHA | alpha</var>
2206 Use this macro to set the page numbering style of endnotes pages.
2207 The arguments are identical to those for
2208 <a href="headfootpage.html#PAGENUM_STYLE">PAGENUM_STYLE</a>.
2209 The default is <strong>digit</strong>. You may want to change it
2210 to, say, <strong>alpha</strong>, which you would do with
2212 <pre>
2213 .ENDNOTES_PAGENUM_STYLE alpha
2214 </pre>
2216 <!---ENDNOTES_FIRST_PAGENUMBER--->
2218 <a name="ENDNOTES_FIRST_PAGENUMBER"><h3><u>*Setting the first page number of endnotes pages</u></h3></a>
2220 Macro: <strong>ENDNOTES_FIRST_PAGENUMBER</strong> <var>&lt;page # that appears on page 1 of endnotes&gt;</var>
2223 Use this macro with caution. If all endnotes for several
2224 <a href="rectoverso.html#COLLATE">collated</a>
2225 documents are to be output at once, i.e. not at the end of each
2226 separate doc, <strong>ENDNOTES_FIRST_PAGENUMBER</strong> tells
2227 <strong>mom</strong> what page number to put on the first page of
2228 the endnotes.
2230 If you set <strong>ENDNOTES_FIRST_PAGENUMBER</strong> in collated
2231 documents where the endnotes are output after each separate doc,
2232 you have to reset every separate document's first page number after
2233 <a href="rectoverso.html#COLLATE">COLLATE</a>
2234 and before
2235 <a href="docprocessing.html#START">START</a>.
2237 <!---ENDNOTES_NO_FIRST_PAGENUN--->
2239 <a name="ENDNOTES_NO_FIRST_PAGENUM"><h3><u>*Omitting a page number on the first page of endnotes</u></h3></a>
2241 Macro: <strong>ENDNOTES_NO_FIRST_PAGENUM</strong> <var>&lt;toggle&gt;</var>
2244 This macro is for use only if <strong>FOOTERS</strong> are on. It
2245 tells
2246 <a href="#ENDNOTES">ENDNOTES</a>
2247 not to print a page number on the first endnotes page.
2248 <strong>Mom</strong>'s default is to print the page number.
2250 <!---SUSPEND_PAGINATION--->
2252 <a name="SUSPEND_PAGINATION"><h3><u>*Suspending pagination of endnotes pages</u></h3></a>
2254 Macro: <strong>SUSPEND_PAGINATION</strong>
2255 <br>
2256 Macro: <strong>RESTORE_PAGINATION</strong>
2259 <strong>SUSPEND_PAGINATION</strong> doesn't take an argument.
2260 Invoked immediately prior to
2261 <a href="#ENDNOTES">ENDNOTES</a>,
2262 it turns off endnotes pages pagination. <strong>Mom</strong>
2263 continues, however to increment page numbers silently.
2265 To restore normal document pagination after endnotes, invoke
2266 <strong>RESTORE_PAGINATION</strong> (again, with no argument)
2267 immediately after <strong>ENDNOTES</strong>.
2269 <a name="ENDNOTES_HEADER_CONTROL"><h2><u>2. Endnotes-page header/footer control</u></h2></a>
2271 <a name="ENDNOTES_MODIFY_HDRFTR"></a>
2272 If you wish to modify what appears in the header/footer that appears
2273 on endnotes page(s), make the changes before you invoke
2274 <a href="#ENDNOTES">ENDNOTES</a>,
2275 not afterwards.
2277 Except in the case of
2278 <a href="docprocessing.html#DOCTYPE">DOCTYPE CHAPTER</a>,
2279 <strong>mom</strong> prints the same header or footer used throughout
2280 the document on the endnotes page(s). Chapters get treated differently
2281 in that, by default, <strong>mom</strong> does not print the
2282 header/footer centre string (normally the chapter number or chapter
2283 title.) In most cases, this is what you want. However, should you
2284 <em>not</em> want <strong>mom</strong> to remove the centre string from
2285 the endnotes page(s) headers/footers, invoke
2286 <a href="#ENDNOTES_HDRFTR_CENTER">ENDNOTES_HEADER_CENTER</a>
2287 with no argument.
2289 An important change you may want to make is to put the word
2290 &quot;Endnotes&quot; in the header/footer center position.
2291 To do so, do
2293 <pre>
2294 .HEADER_CENTER "Endnotes"
2296 .FOOTER_CENTER "Endnotes"
2297 </pre>
2299 prior to invoking <strong>.ENDNOTES</strong>. If your
2300 <a href="docprocessing.html#DOCTYPE">DOCTYPE</a>
2301 is <kbd>CHAPTER</kbd>, you must also invoke
2302 <a href="#ENDNOTES_HDRFTR_CENTER">ENDNOTES_HEADER_CENTER</a>
2303 for the <strong>HEADER_CENTER</strong> to appear.
2305 <a name="ENDNOTES_HDRFTR_CENTER"><h3><u>*Endnotes page(s) header/footer center string</u></h3></a>
2307 Macro: <strong>ENDNOTES_HEADER_CENTER</strong> <var>toggle</var>
2310 If your
2311 <a href="docprocessing.html#DOCTYPE">DOCTYPE</a>
2312 is <kbd>CHAPTER</kbd> and you want <strong>mom</strong> to include
2313 a centre string in the headers/footers that appear on endnotes pages,
2314 invoke <strong>ENDNOTES_HEADER_CENTER</strong> (or
2315 <strong>ENDNOTES_FOOTER_CENTER</strong>) with no argument.
2316 <strong>Mom</strong>'s default is NOT to print the center string.
2318 If, for some reason, having enabled the header/footer center string
2319 on endnotes pages, you wish to disable it, invoke the same macro
2320 with any argument (<strong>OFF, QUIT, Q, X</strong>...).
2322 <a name="ENDNOTES_ALLOWS_HEADERS"><h3><u>*Allow headers on endnotes_pages</u></h3></a>
2324 Macro: <strong>ENDNOTES_ALLOWS_HEADERS</strong> <var>&lt;none&gt; | ALL</var>
2327 By default, if <strong>HEADERS</strong> are on, <strong>mom</strong>
2328 prints page headers on all endnotes pages except the first. If you
2329 don't want her to print headers on endnotes pages, do
2331 <pre>
2332 .ENDNOTES_ALLOWS_HEADERS OFF
2333 </pre>
2335 If you want headers on every page <em>including the first</em>, do
2337 <pre>
2338 .ENDNOTES_ALLOWS_HEADERS ALL
2339 </pre>
2341 <strong>NOTE:</strong> If <strong>FOOTERS</strong> are on,
2342 <strong>mom</strong> prints footers on every endnotes page. This is
2343 a style convention. In <strong>mom</strong>, there is no such beast
2344 as <strong>ENDNOTES_ALLOWS_FOOTERS OFF</strong>.
2346 <a name="ENDNOTES_MAIN_TITLE"><h2><u>3. Endnotes-page first page head (title) control</u></h2>
2348 <!---ENDNOTE_STRING--->
2350 <a name="ENDNOTE_STRING"><h3><u>*Endnotes-page first page head (title) string</u></h3></a>
2352 Macro: <strong>ENDNOTE_STRING</strong> <var>&quot;&lt;head to print at the top of endnotes&gt;&quot;</var>
2355 By default, <strong>mom</strong> prints the word &quot;ENDNOTES&quot;
2356 as a head at the top of the first page of endnotes. If you want her
2357 to print something else, invoke <strong>ENDNOTE_STRING</strong> with
2358 the endnotes-page head you want, surrounded by double-quotes. If
2359 you don't want a head at the top of the first endnotes-page, invoke
2360 <strong>ENDNOTE_STRING</strong> with a blank argument (either two
2361 double-quotes side by side -- <kbd>&quot;&quot;</kbd> -- or no argument
2362 at all).
2364 <!---ENDNOTE_STRING_CONTROL--->
2366 <a name="ENDNOTE_STRING_CONTROL"><h3><u>*Endnotes-page first page head (title) control</u></h3></a>
2369 <a href="#CONTROL_MACRO_ARGS">Arguments to the control macros</a>.
2371 <pre>
2372 .ENDNOTE_STRING_FAMILY default = prevailing document family; default is Times Roman
2373 .ENDNOTE_STRING_FONT* default = bold
2374 .ENDNOTE_STRING_SIZE default = +1
2375 .ENDNOTE_STRING_QUAD default = centered
2377 *Relative to the size of the endnotes text (set with ENDNOTE_PT_SIZE)
2378 </pre>
2380 <!---ENDNOTE_STRING_UNDERSCORE--->
2382 <a name="ENDNOTE_STRING_UNDERSCORE"><h3><u>*Endnotes-page head (title) underscoring</h3></u></a>
2384 Macro: <strong>ENDNOTE_STRING_UNDERSCORE</strong> <var>toggle | 2</var>
2387 Invoked by itself, <strong>ENDNOTE_STRING_UNDERSCORE</strong> will
2388 underscore the endnotes-page head. Invoked with the argument 2
2389 (i.e. the digit 2), <strong>ENDNOTE_STRING_UNDERSCORE</strong> will
2390 double-underscore the head. Invoked with any other argument, the macro
2391 disables underscoring of the head.
2393 <strong>Mom</strong>'s default is to double-underscore the
2394 head, therefore if you want no underscoring, you must insert
2395 <kbd>.ENDNOTE_STRING_UNDERSCORE OFF</kbd> (or <kbd>QUIT, X, NO,
2396 NONE,</kbd> etc.) into your document prior to outputting endnotes with
2397 <a href="#ENDNOTES">ENDNOTES</a>.
2399 <!---ENDNOTE_STRING_CAPS--->
2401 <a name="ENDNOTE_STRING_CAPS"><h3><u>*Endnotes-page head (title) automatic capitalisation</h3></u></a>
2403 Macro: <strong>ENDNOTE_STRING_CAPS</strong> <var>toggle</var>
2406 Invoked by itself, <strong>ENDNOTE_STRING_CAPS</strong> will
2407 automatically capitalise the endnotes-page head. Invoked with any
2408 other argument, the macro disables automatic capitalisation of the
2409 head.
2411 If you're generating a table of contents, you may want the
2412 endnotes-pages head string in caps, but the toc entry in caps/lower
2413 case. If the argument to
2414 <a href="#ENDNOTE_STRING">ENDNOTE_STRING</a>
2415 is in caps/lower case and <strong>ENDNOTE_STRING_CAPS</strong> is
2416 on, this is exactly what will happen.
2418 <strong>Mom</strong>'s default is to capitalise the endnotes-pages
2419 head string.
2421 <!---ENDNOTE_TITLE--->
2423 <a name="ENDNOTES_DOC_TITLE"><h2><u>4. Endnote document-identification title</u></h2>
2424 <a name="ENDNOTE_TITLE"><h3><u>*Endnote document-identification title string</u></h3></a>
2426 Macro: <strong>ENDNOTE_TITLE</strong> <var>&quot;&lt;title to identify a document in endnotes&gt;&quot;</var>
2429 By default, <strong>mom</strong> identifies the document(s) to which
2430 endnotes belong by the document title(s) given to the
2431 <a href="docprocessing.html#TITLE">TITLE</a>
2432 macro. If you'd want her to identify the document(s) another way,
2433 just invoke <strong>ENDNOTE_TITLE</strong> with the identifying
2434 title you want, surrounded by double-quotes.
2436 If you don't want any identifying title, invoke
2437 <strong>ENDNOTE_TITLE</strong> with a blank argument (either two
2438 double-quotes side by side -- <kbd>&quot;&quot;</kbd> -- or no
2439 argument at all). This is particularly useful if you have a single
2440 (i.e. non-collated) document and find having the document's title
2441 included in the endnotes redundant.
2443 <!---ENDNOTE_TITLE_CONTROL--->
2445 <a name="ENDNOTE_TITLE_CONTROL"><h3><u>*Endnote document-identification title control</u></h3></a>
2448 <a href="#CONTROL_MACRO_ARGS">Arguments to the control macros</a>.
2450 <pre>
2451 .ENDNOTE_TITLE_FAMILY default = prevailing document family; default is Times Roman
2452 .ENDNOTE_TITLE_FONT default = bold
2453 .ENDNOTE_TITLE_SIZE* default = 0
2454 .ENDNOTE_TITLE_QUAD default = left
2456 *Relative to the size of the endnotes text (set with ENDNOTE_PT_SIZE)
2457 </pre>
2459 <!---ENDNOTE_TITLE_UNDERSCORE--->
2461 <a name="ENDNOTE_TITLE_UNDERSCORE"><h3><u>*Endnote document-identification title underscoring</h3></u></a>
2463 Macro: <strong>ENDNOTE_TITLE_UNDERSCORE</strong> <var>toggle</var>
2466 Inovked by itself, <strong>ENDNOTE_TITLE_UNDERSCORE</strong> will
2467 underscore the endnote document-identification title(s). Invoked with any
2468 other argument, the macro disables underscoring of the title(s).
2470 <strong>Mom</strong>'s default is to underscore the document-identification title, therefore if you want no underscoring, you must
2471 insert <kbd>.ENDNOTE_TITLE_UNDERSCORE OFF</kbd> (or <kbd>QUIT, X, NO,
2472 NONE,</kbd> etc.) into your document prior to outputting endnotes with
2473 <a href="#ENDNOTES">ENDNOTES</a>.
2475 <!---ENDNOTE_NUMBERING--->
2477 <a name="ENDNOTES_NUMBERING"><h2><u>5. Endnotes-pages endnote numbering style</u></h2>
2479 <a name="ENDNOTE_NUMBER_CONTROL"><h3><u>*Endnote numbering style control</u></h3></a>
2482 <a href="#CONTROL_MACRO_ARGS">Arguments to the control macros</a>.
2484 Please note that the control macros for endnote numbering affect only
2485 the numbers that appear on the endnotes pages themselves, not the
2486 endnote numbers that appear in the body of the document(s).
2488 <pre>
2489 .ENDNOTE_NUMBER_FAMILY default = prevailing document family; default is Times Roman
2490 .ENDNOTE_NUMBER_FONT default = bold
2491 .ENDNOTE_NUMBER_SIZE* default = 0
2493 *Relative to the size of the endnotes text (set with ENDNOTE_PT_SIZE)
2494 </pre>
2496 <a name="ENDNOTE_NUMBER_ALIGNMENT"><h3><u>*Endnote numbering alignment</u></h3></a>
2498 By default, <strong>mom</strong> hangs the numbers on endnotes pages,
2499 aligned right to two placeholders, producing this:
2501 <a name="ENDNOTE_NUMBERING_ALIGNMENT_EXAMPLE"></a>
2502 <pre>
2503 9. Lorem ipsum dolor sit amet, consetetur sadipscing elitr,
2504 sed diam nonumy eirmod tempor invidunt ut labore et
2505 dolore magna aliquyam erat, sed diam voluptua.
2507 10. Lorem ipsum dolor sit amet, consetetur sadipscing elitr,
2508 sed diam nonumy eirmod tempor invidunt ut labore et
2509 dolore magna aliquyam erat, sed diam voluptua.
2510 </pre>
2512 The macros to alter this behaviour are
2513 <br>
2514 <ul>
2515 <li><a href="#ENDNOTE_NUMBERS_ALIGN_RIGHT"><strong>ENDNOTE_NUMBERS_ALIGN_RIGHT</strong></a>
2516 <li><a href="#ENDNOTE_NUMBERS_ALIGN_LEFT"><strong>ENDNOTE_NUMBERS_ALIGN_LEFT</strong></a>
2517 </ul>
2518 <br>
2519 <hr width="66%" align="left">
2521 <!---ENDNOTE_NUMBERS_ALIGN_RIGHT--->
2524 <a name="ENDNOTE_NUMBERS_ALIGN_RIGHT">
2525 Macro: <strong>ENDNOTE_NUMBERS_ALIGN_RIGHT</strong> <var>&lt;number of placeholders&gt;</var>
2526 </a>
2528 <strong>ENDNOTE_NUMBERS_ALIGN_RIGHT</strong> takes one (non-optional)
2529 argument: the number of placeholders to reserve for right alignment of
2530 endnote numbers.
2532 For example, if you have fewer than ten endnotes, you might want to do
2534 <pre>
2535 .ENDNOTE_NUMBERS_ALIGN_RIGHT 1
2536 </pre>
2538 which would ensure that the endnote numbers hang, but are all flush
2539 with the page's left margin. If, god help you, you have over a hundred
2540 endnotes, you'd want to do
2542 <pre>
2543 .ENDNOTE_NUMBERS_ALIGN_RIGHT 3
2544 </pre>
2546 to ensure that the numbers hang and are properly right-aligned.
2547 <br>
2548 <hr width="66%" align="left">
2550 <!---ENDNOTE_NUMBERS_ALIGN_LEFT--->
2553 <a name="ENDNOTE_NUMBERS_ALIGN_LEFT">
2554 Macro: <strong>ENDNOTE_NUMBERS_ALIGN_LEFT</strong>
2555 </a>
2557 If you don't want the endnote numbers to hang and right-align, invoke
2558 <strong>ENDNOTE_NUMBERS_ALIGN_LEFT</strong>, which doesn't require any
2559 argument. This disables hanging and right-alignment of endnote numbers,
2560 so that the example
2561 <a href="#ENDNOTE_NUMBERING_ALIGNMENT_EXAMPLE">above</a>
2562 comes out like this:
2564 <pre>
2565 9. Lorem ipsum dolor sit amet, consetetur sadipscing elitr,
2566 sed diam nonumy eirmod tempor invidunt ut labore et
2567 dolore magna aliquyam erat, sed diam voluptua.
2569 10. Lorem ipsum dolor sit amet, consetetur sadipscing elitr,
2570 sed diam nonumy eirmod tempor invidunt ut labore et
2571 dolore magna aliquyam erat, sed diam voluptua.
2572 </pre>
2574 <br>
2575 <hr>
2577 <!====================================================================>
2579 <a name="TOC_INTRO"><h2><u>Table of contents</u></h2></a>
2580 <ul>
2581 <li><a href="#TOC_BEHAVIOUR">TOC behaviour</a>
2582 <li><a href="#TOC">Macro: TOC</a> -- tell <strong>mom</strong> to output a table of contents
2583 <li><a href="#TOC_CONTROL">TOC control macros</a>
2584 </ul>
2587 Want a table of contents for your document? Easy. Just enter
2589 <pre>
2590 .TOC
2591 </pre>
2593 as the very last macro of your document file. <strong>Mom</strong>
2594 will have picked up all document titles (in
2595 <a href="docprocessing.html#COLLATE">collated</a>
2596 documents), all heads, subheads, and paragraph heads, as well as any
2597 endnotes pages that have been output, and assigned them the
2598 appropriate page number (and page numbering style). Talk about a
2599 no-brainer!
2601 That said, tables of contents (tocs) have even more control macros
2602 than endnotes. As always, the reason for so many control macros is
2603 so that if you want to change just about any aspect of the toc's
2604 typographic appearance, you can. <strong>Mom</strong> is all about
2605 simplicity AND flexibility.
2607 <a name="TOC_BEHAVIOUR"><h3><u>TOC behaviour</u></h3></a>
2609 When you output a toc (with
2610 <a href="#TOC">TOC</a>),
2611 <strong>mom</strong> finishes processing the last page of your document,
2612 then breaks to a new page for printing the toc.
2614 <strong>Mom</strong> follows standard typesetting conventions for
2615 tables of contents. To this end, if
2616 <a href="headfootpage.html#HEADERS">HEADERS</a>
2617 are on for the document, the first page of the toc has no page
2618 header, but does have a first page (roman numeral) number, always
2619 &quot;1&quot;, in the bottom margin. If
2620 <a href="headfootpage.html#FOOTERS">FOOTERS</a>
2621 are on for the document, the first page has neither a footer, nor a
2622 page number in the top margin. (If you absolutely must have a page
2623 footer on the first page of the toc, simply invoke
2624 <a href="headfootpage.html#FOOTER_ON_FIRST_PAGE">FOOTER_ON_FIRST_PAGE</a>
2625 immediately before <strong>TOC</strong>.) Subsequent toc pages have
2626 both page headers or footers and a page number.
2628 Entries in the toc are hierarchically indented, as you would
2629 expect. By default, each type of entry (e.g. a head or a subhead)
2630 is set in a different font as well. If any of heads, subheads or
2631 paragraph heads are numbered in the body of the document, they are
2632 also numbered in the toc. Head numbering in the toc is NOT
2633 concatenated as it is in the body of the document, which would be
2634 visually redundant in a toc.
2636 Tocs are never set in columns, regardless of whether the rest of
2637 the document is. Lastly, if
2638 <a href="rectoverso.html#RECTO_VERSO">recto/verso</a>
2639 printing is enabled, the toc respects it. This sometimes leads to
2640 tocs that begin with the wrong margins, but the margins can be
2641 corrected either by outputting a
2642 <a href="#BLANK_PAGE">BLANKPAGE</a>
2643 or by using the toc control macro
2644 <a href="#TOC_RV_SWITCH">TOC_RV_SWITCH</a>.
2646 The overall toc
2647 <a href="definitions.html#TERMS_FAMILY">family</a>,
2648 <a href="definitions.html#TERMS_PS">point size</a>
2650 <a href="definitions.html#TERMS_LEADING">lead</a>
2651 can be altered with the toc
2652 <a href="definitions.html#TERMS_CONTROLMACRO">control macros</a>,
2653 as can the family,
2654 <a href="definitions.html#TERMS_FONT">font</a>,
2655 point size and indent of each type of toc entry (i.e. title, head,
2656 subhead, paragraph head). Furthermore, the page numbering style
2657 can be changed, as can the amount of visual space reserved for toc
2658 entry page numbers.
2659 <br>
2661 <!---TOC--->
2663 <hr width="66%" align="left">
2665 <a name="TOC">Macro: <strong>TOC</strong></a>
2668 If you want a toc, just put <strong>TOC</strong> as the last macro
2669 in a document. <strong>Mom</strong> takes care of the rest.
2670 <br>
2671 <hr width="66%" align="left">
2673 <a name="TOC_CONTROL"><h3><u>TOC control macros</u></h3></a>
2675 Toc entries are not actually processed when <strong>mom</strong>
2676 collects them, so you can put any toc control macros anywhere you
2677 like in your document. Some may prefer to place them at the top of
2678 the file. Others may prefer to place them just before outputting
2679 the toc. The choice is yours.
2680 <br>
2681 <ol>
2682 <li><a href="#TOC_GENERAL"><strong>General toc page style control</strong></a>
2683 <ul>
2684 <li><a href="#TOC_FAMILY">Base family for toc pages</a>
2685 <li><a href="#TOC_PT_SIZE">Base point size for toc pages</a>
2686 <li><a href="#TOC_LEAD">Leading of toc pages</a>
2687 </ul>
2688 <li><a href="#TOC_PAGENUMBERING"><strong>Toc page numbering</strong></a>
2689 <ul>
2690 <li><a href="#PAGINATE_TOC">Turn toc pagination on or off</a>
2691 <li><a href="#TOC_PAGENUM_STYLE">Toc page numbering style</a>
2692 </ul>
2693 <li><a href="#TOC_HEADER"><strong>Changing the toc header (title), string and style</strong></a>
2694 <ul>
2695 <li><a href="#TOC_HEADER_STRING">Changing the string (title)</a>
2696 <li><a href="#TOC_HEADER_STYLE">Changing the string (title) style</a>
2697 </ul>
2698 <li><a href="#TOC_STYLE"><strong>Changing the style for toc entries</strong></a>
2699 <ul>
2700 <li><a href="#TOC_INDENT">The toc _INDENT control macros</a>
2701 <li><a href="#TOC_TITLE">Changing the style for toc title entries</a>
2702 <li><a href="#TOC_HEAD">Changing the style for toc head entries</a>
2703 <li><a href="#TOC_SUBHEAD">Changing the style for toc subhead entries</a>
2704 <li><a href="#TOC_PARAHEAD">Changing the style for toc paragraph head entries</a>
2705 <li><a href="#TOC_PN">Changing the style for toc page number listings</a>
2706 </ul>
2707 <li><a href="#TOC_ADDITIONAL"><strong>Additional toc control macros</strong></a>
2708 <ul>
2709 <li><a href="#TOC_APPENDS_AUTHOR">Append author(s) to toc title entries</a>
2710 <li><a href="#TOC_RV_SWITCH">TOC_RV_SWITCH</a>
2711 <li><a href="#TOC_PADDING">TOC_PADDING</a>
2712 </ul>
2713 </ol>
2714 <hr>
2716 <a name="TOC_GENERAL"><h2><u>1. General toc page style control</u></h2>
2718 <a name="TOC_FAMILY"><h3><u>*Toc family</u></h3></a>
2721 <a href="#CONTROL_MACRO_ARGS">Arguments to the control macros</a>.
2723 Set the family of toc pages with <strong>TOC_FAMILY</strong>, which
2724 establishes the default family for every element of a toc page,
2725 including the toc title (&quot;Contents&quot;) and the page number
2726 in the top or bottom margin. The default is the prevailing document
2727 family.
2729 All elements on a toc page also have their own _FAMILY
2730 control macros, which override the default set by
2731 <strong>TOC_FAMILY</strong>.
2732 <!---TOC_PT_SIZE--->
2734 <a name="TOC_PT_SIZE"><h3><u>*Toc point size</u></h3></a>
2736 Macro: <strong>TOC_PT_SIZE</strong> <var>&lt;base type size of the toc&gt;</var>
2739 Unlike most other control macros that deal with size of document
2740 elements, <strong>TOC_PT_SIZE</strong> takes as its argument an
2741 absolute value, relative to nothing. Therefore, the argument
2742 represents the size of toc type in
2743 <a href="definitions.html#TERMS_PICASPOINTS">points</a>,
2744 unless you append an alternative
2745 <a href="definitions.html#TERMS_UNITOFMEASURE">unit of measure</a>.
2746 For example,
2748 <pre>
2749 .TOC_PT_SIZE 12
2750 </pre>
2752 sets the base point size of type for the toc to 12 points, whereas
2754 <pre>
2755 .TOC_PT_SIZE .6i
2756 </pre>
2758 sets the base point size of type for the toc to 1/6 of an inch.
2760 The type size set with <strong>TOC_PT_SIZE</strong> forms the basis
2761 from which the point size of other toc page elements are calculated.
2763 The default for
2764 <a href="docprocessing.html#PRINTSTYLE">PRINTSTYLE TYPESET</a>
2765 is 12.5 points (the same default size used in the body of the
2766 document).
2768 <!---TOC_LEAD--->
2770 <a name="TOC_LEAD"><h3><u>*Toc lead</u></h3></a>
2772 Macro: <strong>TOC_LEAD</strong> <var>&lt;leading of the toc&gt; [ ADJUST ]</var>
2773 <br>
2774 <em>*Does not require a <a href="definitions.html#TERMS_UNITOFMEASURE">unit of measure</a>; points is assumed</em>
2777 Unlike most other control macros that deal with leading of document
2778 elements, <strong>TOC_LEAD</strong> takes as its argument an
2779 absolute value, relative to nothing. Therefore, the argument
2780 represents the
2781 <a href="definitions.html#TERMS_LEADING">leading</a>
2782 of tocs in
2783 <a href="definitions.html#TERMS_PICASPOINTS">points</a>
2784 unless you append an alternative
2785 <a href="definitions.html#TERMS_UNITOFMEASURE">unit of measure</a>.
2786 For example,
2788 <pre>
2789 .TOC_LEAD 14
2790 </pre>
2792 sets the base leading of type on the endnotes page to 14
2793 points, whereas
2795 <pre>
2796 .TOC_LEAD .5i
2797 </pre>
2799 sets the base leading of type on the endnotes page to 1/2 inch.
2801 If you want the leading of toc pages adjusted to fill the
2802 page, pass <strong>TOC_LEAD</strong> the optional argument
2803 <strong>ADJUST</strong>. (See
2804 <a href="docprocessing.html#DOC_LEAD_ADJUST">DOC_LEAD_ADJUST</a>
2805 for an explanation of leading adjustment.)
2807 The default for
2808 <a href="docprocessing.html#PRINTSTYLE">PRINTSTYLE TYPESET</a>
2809 is the prevailing document lead (16 by default), adjusted.
2811 <strong>NOTE:</strong> Even if you give <strong>mom</strong> a
2812 <strong>DOC_LEAD_ADJUST OFF</strong> command, she will still, by
2813 default, adjust toc leading. You MUST enter
2814 <strong>TOC_LEAD &lt;lead&gt;</strong> with no
2815 <strong>ADJUST</strong> argument to disable this default behaviour.
2817 <strong>ADDITIONAL NOTE:</strong> Tocs are always double-spaced in
2818 <strong>PRINTSTYLE TYPEWRITE</strong>, regardless of whether the
2819 body of the document is single-spaced.
2821 <a name="TOC_PAGENUMBERING"><h2><u>2. Toc page numbering</u></h2></a>
2823 The page numbering of toc pages is controlled by the same macros
2824 that control
2825 <a href="headfootpage.html#PAGINATION">document page numbering</a>,
2826 except
2827 <a href="headfootpage.html#PAGENUM">PAGENUM</a>
2828 (tocs always start on page 1). The defaults are the same as the
2829 rest of the document.
2831 If you wish to change some aspect of toc pagination, use the
2832 document pagination control macros immediately prior to
2833 <strong>.TOC</strong>.
2835 A special macro,
2836 <a href="#TOC_PAGENUM_STYLE">TOC_PAGENUM_STYLE</a>
2837 controls the style of toc pages page numbers.
2838 <br>
2840 <hr width="33%" align="left">
2842 <!---PAGINATE_TOC--->
2845 <a name="PAGINATE_TOC">
2846 Macro: <strong>PAGINATE_TOC</strong> <var>&lt;toggle&gt;</var>
2847 </a>
2849 By default, <strong>mom</strong> paginates the toc. If you'd like
2850 her not to, do
2852 <pre>
2853 .PAGINATE_TOC OFF
2854 </pre>
2856 <strong>NOTE:</strong> Simply invoking <strong>PAGINATION
2857 OFF</strong> or <strong>PAGINATE OFF</strong> disables toc
2858 pagination <em>for the first toc page only.</em> You MUST use
2859 <strong>.PAGINATE_TOC OFF</strong> to disable toc pagination, even
2860 if pagination is turned off elsewhere in your document.
2863 <hr width="33%" align="left">
2866 <!---TOC_PAGENUM_STYLE--->
2868 <a name="TOC_PAGENUM_STYLE">
2869 Macro: <strong>TOC_PAGENUM_STYLE</strong> <var>&lt;DIGIT | ROMAN | roman | ALPHA | alpha&gt;</var>
2870 </a>
2872 By default, <strong>mom</strong> uses roman numerals to number
2873 toc pages. Use <strong>TOC_PAGENUM_STYLE</strong>if you'd prefer
2874 something else. For example, to have standard digits instead of
2875 roman numerals, do the following:
2877 <pre>
2878 .TOC_PAGENUM_STYLE DIGIT
2879 </pre>
2881 <br>
2882 <hr width="33%" align="left">
2883 <br>
2885 <a name="TOC_HEADER"><h2><u>3. Changing the toc header (title) string and style</u></h2></a>
2887 The toc header string is the title that appears at to top of the
2888 toc. By default, it's &quot;Contents&quot;. If you'd like
2889 something else, say, &quot;Table of Contents&quot;, do
2891 <a name="TOC_HEADER_STRING"></a>
2892 <pre>
2893 .TOC_HEADER_STRING "Table of Contents"
2894 </pre>
2896 <a name="TOC_HEADER_STYLE"></a>
2897 The style of the toc header (title) is managed by the usual control
2898 macros (see
2899 <a href="#CONTROL_MACRO_ARGS">arguments to the control macros</a>).
2901 <pre>
2902 .TOC_HEADER_FAMILY default = prevailing doc family (Times Roman in TYPEWRITE)
2903 .TOC_HEADER_FONT default = bold
2904 .TOC_HEADER_SIZE default = +4
2905 .TOC_HEADER_QUAD default = left
2906 </pre>
2908 <a name="TOC_STYLE"><h2><u>4. Changing the style for toc entries</u></h2></a>
2910 &quot;Toc entries&quot; refers to titles, heads, subheads and
2911 paragraph heads as they appear in the toc. Their style is managed
2912 by the usual
2913 <a href="definitions.html#TERMS_CONTROLMACRO">control macros</a>,
2914 starting with TOC_
2916 <a name="TOC_INDENT"><h3><u>The toc _INDENT control macros</u></h3></a>
2918 The toc control macros that end in _INDENT all take a single
2919 argument that requires a
2920 <a href="definitions.html#TERMS_UNITOFMEASURE">unit of measure</a>.
2921 The argument is the distance to indent the entry from the left
2922 margin. For example,
2924 <pre>
2925 .TOC_HEAD_INDENT 2P
2926 </pre>
2928 indents head entries 2
2929 <a href="definitions.html#TERMS_PICASPOINTS">picas</a>
2930 from the left margin.
2932 <a name="TOC_TITLE"><h3><u>*Changing the style for toc title entries</u></h3></a>
2934 (See
2935 <a href="#CONTROL_MACRO_ARGS">arguments to the control macros</a>).
2937 Toc title entries are the titles of documents that have been
2938 <a href="rectoverso.html#COLLATE">collated</a>
2939 together.
2941 <pre>
2942 .TOC_TITLE_FAMILY default = prevailing doc family (Times Roman in TYPEWRITE)
2943 .TOC_TITLE_FONT default = bold italic
2944 .TOC_TITLE_SIZE default = +0
2945 .TOC_TITLE_INDENT default = 0 for TYPESET and TYPEWRITE
2946 </pre>
2948 <a name="TOC_HEAD"><h3><u>*Changing the style for toc head entries</u></h3></a>
2950 (See
2951 <a href="#CONTROL_MACRO_ARGS">arguments to the control macros</a>).
2953 Toc head entries are main heads that appear in the body of a
2954 document.
2956 <pre>
2957 .TOC_HEAD_FAMILY default = prevailing doc family (Times Roman in TYPEWRITE)
2958 .TOC_HEAD_FONT default = bold
2959 .TOC_HEAD_SIZE default = +.5
2960 .TOC_HEAD_INDENT default = 18p for TYPESET; 2m for TYPEWRITE
2961 </pre>
2963 <a name="TOC_SUBHEAD"><h3><u>*Changing the style for toc subhead entries</u></h3></a>
2965 (See
2966 <a href="#CONTROL_MACRO_ARGS">arguments to the control macros</a>).
2968 Toc subhead entries are subheads that appear in the body of a
2969 document.
2971 <pre>
2972 .TOC_SUBHEAD_FAMILY default = prevailing doc family (Times Roman in TYPEWRITE)
2973 .TOC_SUBHEAD_FONT default = roman
2974 .TOC_SUBHEAD_SIZE default = +0
2975 .TOC_SUBHEAD_INDENT default = 30p for TYPESET; 4m for TYPEWRITE
2976 </pre>
2978 <a name="TOC_PARAHEAD"><h3><u>*Changing the style for toc paragraph head entries</u></h3></a>
2980 (See
2981 <a href="#CONTROL_MACRO_ARGS">arguments to the control macros</a>).
2983 Toc paragraph head entries are paragraph heads that appear in the
2984 body of a document.
2986 <pre>
2987 .TOC_PARAHEAD_FAMILY default = prevailing doc family (Times Roman in TYPEWRITE)
2988 .TOC_PARAHEAD_FONT default = italic
2989 .TOC_PARAHEAD_SIZE default = +0
2990 .TOC_PARAHEAD_INDENT default = 42p for TYPESET; 6m for TYPEWRITE
2991 </pre>
2993 <a name="TOC_PN"><h3><u>*Changing the style for toc paragraph page number listings</u></h3></a>
2995 (See
2996 <a href="#CONTROL_MACRO_ARGS">arguments to the control macros</a>).
2998 Toc paragraph head entries are paragraph heads that appear in the
2999 body of a document.
3001 <pre>
3002 .TOC_PN_FAMILY default = prevailing doc family (Times Roman in TYPEWRITE)
3003 .TOC_PN_FONT default = roman
3004 .TOC_PN_SIZE default = +0
3005 </pre>
3007 <a name="TOC_ADDITIONAL"><h2><u>5. Additional toc macros</u></h2></a>
3009 The following macros allow you to switch page margins should
3010 they be incorrect for recto/verso printing, to establish how
3011 many placeholders to leave for page listings, and to have
3012 <strong>mom</strong> append author(s) to toc title entries.
3014 <br>
3015 <hr width="33%" align="left">
3017 <!---TOC_RV_SWITCH--->
3020 <a name="TOC_RV_SWITCH">
3021 Macro: <strong>TOC_RV_SWITCH</strong>
3022 </a>
3024 <strong>TOC_RV_SWITCH</strong> doesn't take an argument. It simply
3025 instructs <strong>mom</strong> to switch the left and right margins
3027 <a href="rectoverso.html#RECTO_VERSO">recto/verso</a>
3028 documents should the toc happen to begin on an even page when you
3029 want an odd, or vice versa.
3031 The same result can be accomplished by outputting a
3032 <a href="#BLANK_PAGE">BLANKPAGE</a>.
3034 <br>
3035 <hr width="33%" align="left">
3037 <!---TOC_APPENDS_AUTHOR--->
3040 <a name="TOC_APPENDS_AUTHOR">
3041 Macro: <strong>TOC_APPENDS_AUTHOR</strong> <var>&lt;none&gt; | &lt;&quot;name(s) of authors&quot;&gt;</var>
3042 </a>
3044 In certain kinds of collated documents, different authors are
3045 responsible for the articles or stories contained within them. In
3046 such documents, you may wish to have the author or authors
3047 appended to the toc's title entry for each story or article.
3049 If you invoke <strong>TOC_APPENDS_AUTHOR</strong> with no argument,
3050 <strong>mom</strong> appends the first argument you passed to
3051 <a href="docprocessing.html#AUTHOR">AUTHOR</a>
3052 to toc title entries, separated by a front-slash.
3054 If you invoke <strong>TOC_APPENDS_AUTHOR</strong> with an argument
3055 (surrounded by double-quotes), <strong>mom</strong> will append it
3056 to the toc title entries instead. This is useful if you have
3057 multiple authors you wish to identify by last name only. For
3058 example, if three authors--Joe Blough, Jane Doe, and John
3059 Deere--are responsible for a single article
3061 <pre>
3062 .TOC_APPENDS_AUTHOR "Blough et al."
3063 </pre>
3065 would be a good way to identify them in the toc.
3067 <br>
3068 <hr width="33%" align="left">
3070 <!---TOC_PADDING--->
3073 <a name="TOC_PADDING">
3074 Macro: <strong>TOC_PADDING</strong> <var>&lt;# of placeholders to allow for page number listings&gt</var>
3075 </a>
3077 By default, <strong>mom</strong> allows room for 3 digits in the
3078 page number listings of tocs. If you'd like some other number of
3079 placeholders, say 2, do
3081 <pre>
3082 .TOC_PADDING 2
3083 </pre>
3085 <br>
3086 <hr>
3088 <!====================================================================>
3090 <a name="BLANK_PAGE_TITLE"><h2><u>Inserting a blank page into the document</u></h2></a>
3092 <a name="BLANK_PAGE">
3093 Macro: <strong>BLANKPAGE</strong> <var>&lt;# of blank pages to insert&gt;</var>
3094 </a>
3097 This one does exactly what you'd expect -- inserts a blank page into
3098 the document. <strong>Mom</strong> silently increments the page
3099 number of every blank page and keeps track of
3100 <a href="rectoverso.html#RECTO_VERSO">recto/verso</a>
3101 stuff, but otherwise, does nothing. It's up to you, the user, to
3102 figure out what to do with this feature. However, it's worth
3103 noting that without it, inserting completely blank pages, to use
3104 a vernacular Québécois phrase, &quot;c'est pas évident&quot;
3105 (somewhere between &quot;isn't easy&quot;, &quot;isn't
3106 obvious&quot; and &quot;isn't fun&quot;).
3108 The argument to <strong>BLANK_PAGE</strong> is the number of blank
3109 pages to insert. The argument is not optional, hence even if you
3110 only want one blank page, you have to tell <strong>mom</strong>:
3112 <pre>
3113 .BLANKPAGE 1
3114 </pre>
3117 <hr>
3118 <a href="headfootpage.html#TOP">Next</a>&nbsp;&nbsp;
3119 <a href="docprocessing.html#TOP">Prev</a>&nbsp;&nbsp;
3120 <a href="#TOP">Top</a>&nbsp;&nbsp;
3121 <a href="toc.html">Back to Table of Contents</a>
3122 </body>
3123 </html>