Import of mom
[s-roff.git] / contrib / mom / momdoc / docelement.html
blob2ba6eb0e2b5eb9c3f082d522f875a54b3a81d9da
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 (affected 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 </ul>
230 <hr>
233 <!====================================================================>
235 <a name="EPIGRAPH_INTRO"><h2><u>Epigraphs</u></h2></a>
236 <ul>
237 <li><a href="#EPIGRAPH">Tag: EPIGRAPH</a>
238 <li><a href="#EPIGRAPH_CONTROL">Epigraph control macros</a>
239 </ul>
241 <a href="definitions.html#TERMS_EPIGRAPH">Epigraphs</a>
242 color, flavour, or comment on the text they precede. Typically,
243 they are centered on the page and set in a smaller point size
244 than that of paragraph text.
246 By default, <strong>mom</strong> sets epigraphs centered and
247 <a href="definitions.html#TERMS_NOFILL">unfilled</a>;
248 this lets you input them on a line for line basis. This behaviour
249 can be changed to accomodate filled epigraph &quot;blocks.&quot;
250 <br>
252 <!---EPIGRAPH--->
254 <hr width="66%" align="left">
256 <a name="EPIGRAPH">
257 Macro: <strong>EPIGRAPH</strong> <var>&lt;toggle&gt; | [ BLOCK ]</var></a>
258 </a>
261 <strong>EPIGRAPH</strong> is a toggle, used like this:
263 <pre>
264 .EPIGRAPH
265 &lt;text of epigraph&gt;
266 .EPIGRAPH OFF
267 </pre>
269 <strong>OFF</strong>, above, could be anything -- say, Q or X --
270 since any argument other than <strong>BLOCK</strong> turns it off.
272 If given the argument <strong>BLOCK</strong>, <strong>EPIGRAPH</strong>
273 sets epigraphs
274 <a href="definitions.html#TERMS_FILLED">filled</a>,
275 justified or quadded in the same direction as paragraphs, indented
276 equally from both the left and right margins.
278 If a block-style epigraph runs to more than one paragraph (unlikely,
279 but conceivable), you <strong>MUST</strong> introduce every paragraph
280 -- <u>INCLUDING THE FIRST!!!</u> -- with the
281 <a href="#PP">PP</a>
282 tag.
284 <strong>NOTE:</strong> <strong>EPIGRAPH</strong> should only be
285 used at the top of a document (i.e. just after
286 <a href="docprocessing.html#START">START</a>)
287 or after
288 <a href="#HEAD_INTRO">heads</a>. The latter is not especially
289 recommended, but it does work. In all other places where you
290 want quotes or cited text, use
291 <a href="#QUOTE">QUOTE</a>
293 <a href="#BLOCKQUOTE">BLOCKQUOTE</a>.
295 <a name="EPIGRAPH_CONTROL"><h3><u>Epigraph control macros</u></h3></a>
298 <a href="#CONTROL_MACRO_ARGS">Arguments to the control macros</a>.
300 <pre>
301 .EPIGRAPH_FAMILY default = prevailing document family; default is Times Roman
302 .EPIGRAPH_FONT default = roman
303 .EPIGRAPH_SIZE default = -1.5 (points)
304 .EPIGRAPH_AUTOLEAD default = 2 points
306 (The next two apply to &quot;block&quot; style epigraphs only)
308 .EPIGRAPH_QUAD default = same as paragraphs
309 .EPIGRAPH_INDENT default = para indent x 3 (for typeset), x 2 (for typewrite)
310 </pre>
311 <hr>
313 <!====================================================================>
315 <a name="PP_INTRO"><h2><u>Paragraphs</u></h2></a>
316 <ul>
317 <li><a href="#PP">Tag: PP</a>
318 <li><a href="#PP_CONTROL">Paragraph control macros</a>
319 </ul>
321 The paragraph macro is the one you use most often. Consequently,
322 it's one of most powerful, yet simplest to use -- just the letters
323 <strong>PP</strong>. No arguments, nothing. Just <kbd>.PP</kbd>
324 on a line by itself any time, in any document element, tells
325 <strong>mom</strong> you want to start a new paragraph. The spacing
326 and indent appropriate to where you are in your document are taken
327 care of automatically.
329 By default, <strong>mom</strong> does not indent the first paragraph
330 of a document, nor paragraphs that fall imediately after
331 <a href="#HEAD_INTRO">heads</a>
333 <a href="#SUBHEAD_INTRO">subheads</a>.
334 The first paragraphs of blockquotes and block-style epigraphs are
335 also not indented. This behaviour can be changed with the control
336 macro
337 <a href="#PARA_INDENT_FIRST">INDENT_FIRST_PARAS</a>.
339 In contrast to some other macro packages, <strong>mom</strong> does not
340 deposit a blank line between paragraphs. If you want her to do so, use
341 the control macro <strong>PARA_SPACE</strong>. (I don't recommend
342 using this macro with
343 <a href="typesetting.html#PRINTSTYLE">PRINTSTYLE TYPEWRITE</a>.)
345 Note that <strong>mom</strong> does not provide &quot;orphan
346 control&quot; for paragraphs (i.e. even if only one line of a paragraph
347 fits at the bottom of a page, she will set it on that page). The
348 reason for this is that writers of fiction often have single-line
349 paragraphs (e.g. in dialogue). Groff's simplistic orphan control
350 will break these one-liners -- if they fall at the bottom of the page
351 -- to a new page, which is not what you want.
353 <strong>TIP:</strong> The last thing you want while you're writing
354 and editing drafts of a document (particulary stories and chapters)
355 is a text file cluttered up with <strong>PP</strong>'s. The visual
356 interruption in the flow of text is a serious obstacle to creativity
357 and critiquing.
359 I use the tab key on my keyboard to indent paragraphs when I'm writing,
360 producing a text file that looks pretty much like what you see on
361 a printed page. When it comes time to format and print the file,
362 I run it through a sed script that (amongst other things) converts
363 the character generated by the tab key (<kbd>^I</kbd>) into <code>.PP</code>
364 (plus a new line), and pipe the output to groff for processing and
365 printing.
367 Another solution is to insert a blank line between paragraphs.
368 The blank lines can then be sedded out at print time as above, or,
369 more conveniently, you can use the <code>.blm</code>
370 <a href="definitions.html#TERMS_PRIMITIVES">primitive</a>
371 (blank line macro) to instruct groff (and <strong>mom</strong>)
372 that blank lines should be interpreted as <strong>PP</strong>'s.
374 <pre>
375 .blm PP
376 </pre>
377 tells groff that all blank lines are really the macro <strong>PP</strong>.
378 <br>
380 <!---PP--->
382 <hr width="66%" align="left">
384 <a name="PP">
385 Macro: <strong>PP</strong>
386 </a>
389 <strong>PP</strong> (on a line by itself, of course) tells mom to
390 start a new paragraph. See
391 <a href="#PP_INTRO">above</a>
392 for more details. In addition to regular text paragraphs, you can
393 use <strong>PP</strong> in
394 <a href="#EPIGRAPH_INTRO">epigraphs</a>,
395 <a href="#BLOCKQUOTE_INTRO">blockquotes</a>
397 <a href="#FOOTNOTE_INTRO">footnotes</a>.
399 <a name="PP_CONTROL"><h3><u>Paragraph control macros</u></h3></a>
401 The <strong>PP</strong> being so important, and representing, as
402 it were, the basis of everything that goes on in a document, its
403 control is managed in a manner somewhat different from other document
404 element tags.
406 <ol>
407 <li><a href="#PP_FAMILY">Family control</a>
408 <li><a href="#PP_FONT">Font control</a>
409 <li><a href="#PP_LEADING">Leading/linespacing control</a>
410 <li><a href="#PP_JUST_QUAD">Justification/quad control</a>
411 <li><a href="#PARA_INDENT">First-line indent control</a>
412 <li><a href="#PARA_INDENT_FIRST">Intitial paragraphs indent control</a>
413 <li><a href="#PP_SPACE">Paragraph spacing control</a>
414 </ol>
416 <a name="PP_FAMILY"><h3><u>1. Family</u></h3></a>
417 The paragraph
418 <a href="definitions.html#TERMS_FAMILY">family</a>
419 is set with
420 <a href="typesetting.html#FAMILY">FAMILY</a>
421 prior to
422 <a href="docprocessing.html#START">START</a>,
424 <a href="docprocessing.html#DOC_FAMILY">DOC_FAMILY</a>
425 afterwards. Please note that both globally affect the family of
426 every element in the document.
428 If you wish to change the family for regular
429 text paragraphs only, invoke <strong>FAMILY</strong> immediately
430 after <strong>PP</strong> in EVERY paragraph whose family you wish
431 to differ from the prevailing document family.
433 <strong>Mom</strong>'s default paragraph (and document) family
434 is Times Roman.
436 <a name="PP_FONT"><h3><u>2. Font -- PP_FONT</u></h3></a>
437 To change the
438 <a href="definitions.html#TERMS_FONT">font</a>
439 used in regular text paragraphs, use <code>.PP_FONT</code>,
440 which takes the same argument as
441 <a href="typesetting.html#FONT">FT</a>.
442 <strong>PP_FONT</strong> may be used before or after
443 <a href="docprocessing.html#START">START</a>.
444 Only regular text paragraphs are affected; paragraphs in
445 <a href="#EPIGRAPH_INTRO">epigraphs</a>,
446 <a href="#BLOCKQUOTE_INTRO">blockquotes</a>
448 <a href="#FOOTNOTE_INTRO">footnotes</a>
449 remain at their default setting (medium roman) unless you change them
450 with the appropriate control macros.
452 <strong>Mom</strong>'s default paragraph font is medium roman.
454 <a name="PP_LEADING"><h3><u>3.Leading</u></h3></a>
455 The paragraph
456 <a href="definitions.html#TERMS_LEADING">leading</a>
457 is set with
458 <a href="typesetting.html#LEADING">LS</a>
459 prior to
460 <a href="docprocessing.html#START">START</a>,
462 <a href="docprocessing.html#DOC_LEAD">DOC_LEAD</a>
463 afterwards. Please note that either method globally affects the
464 leading and spacing of every document element (except
465 <a href="definitions.html#TERMS_HEADER">headers</a>
467 <a href="definitions.html#TERMS_FOOTER">footers</a>).
469 If you wish to change the leading of regular text paragraphs only,
470 invoke <strong>LS</strong> immediately after <strong>PP</strong> in
471 EVERY paragraph whose leading you wish to change.
473 <strong>HYPER-IMPORTANT NOTE:</strong> It is extremely unwise to change
474 paragraph leading with <strong>LS</strong>, as it will, in all cases,
475 screw up <strong>mom</strong>'s ability to balance the bottom margin
476 of pages.
478 <strong>Mom</strong>'s default paragraph leading (document leading)
479 is 16 points, adjusted to fill the page.
481 <a name="PP_JUST_QUAD"><h3><u>4. Justification/quad</u></h3></a>
482 The justification/quad-direction of regular text paragraphs (i.e.
483 <a href="definitions.html#TERMS_JUST">justified</a>,
485 <a href="definitions.html#TERMS_FILLED">filled</a>
487 <a href="definitions.html#TERMS_QUAD">quadded</a>
488 left/right/center) is set with
489 <a href="typesetting.html#JUSTIFY">JUSTIFY</a>
491 <a href="typesetting.html#QUAD">QUAD</a>
492 prior to
493 <a href="docprocessing.html#START">START</a>,
494 and with
495 <a href="docprocessing.html#DOC_QUAD">DOC_QUAD</a>
496 afterwards.
498 Please note that either method of setting the paragraph
499 justification/quad-direction also affects
500 <a href="#EPIGRAPH_INTRO">epigraphs</a>
502 <a href="#FOOTNOTE_INTRO">footnotes</a>,
503 but not
504 <a href="#BLOCKQUOTE_INTRO">blockquotes</a>
505 (whose default is QUAD LEFT unless you change it with
506 <a href="#BLOCKQUOTE">BLOCKQUOTE_QUAD</a>).
507 The justification/quad-direction of epigraphs and footnotes may
508 be changed with their own control macros.
510 If you wish to change the justification/quad-direction of
511 individual paragraphs, use <strong>JUSTIFY</strong> or
512 <strong>QUAD</strong> immediately after <strong>PP</strong>.
513 Only the paragraph in question gets justified or quadded
514 differently; subsequent paragraphs remain unaffected.
516 <strong>Mom</strong>'s default justification/quad-direction for
517 paragraphs is justified for
518 <a href="docprocessing.html#PRINTSTYLE">PRINTSTYLE_TYPESET</a>
519 and quad left for
520 <a href="docprocessing.html#PRINTSTYLE">PRINTSTYLE_TYPEWRITE</a>.
522 <a name="PARA_INDENT"><h3><u>5. First-line indent -- PARA_INDENT</u></h3></a>
523 The first-line indent of paragraphs is controlled by
524 <strong>PARA_INDENT</strong>, which takes one argument: the size
525 of the indent. <strong>PARA_INDENT</strong> may be used before
526 or after
527 <a href="docprocessing.html#START">START</a>.
529 <a href="definitions.html#TERMS_UNITOFMEASURE">unit of measure</a>
530 is required; fractional sizes are allowed. Thus, to set the paragraph
531 indent to 4-1/2
532 <a href="definitions.html#TERMS_EM">ems</a>, do
534 <pre>
535 .PARA_INDENT 4.5m
536 </pre>
538 In addition to establishing the basic first line-indent of
539 paragraphs, <strong>PARA_INDENT</strong> also affects
540 <a href="#EPIGRAPH_INTRO">epigraphs</a>,
541 <a href="#QUOTE_INTRO">quotes</a>
543 <a href="#BLOCKQUOTE_INTRO">blockquotes</a>,
544 whose overal indenting from the left and (where applicable) right
545 margins is relative to <strong>PARA_INDENT</strong>. Furthermore, the
546 first-line indent of paragraphs within these document elements (as well
547 as footnotes) is also relative to <strong>PARA_INDENT</strong> (always
548 1/2 of <strong>PARA_INDENT)</strong>), hence they are also affected.
550 <strong>Mom</strong>'s default <strong>PARA_INDENT</strong> is 2
551 ems for
552 <a href="docprocessing.html#PRINTSTYLE">PRINTSTYLE_TYPESET</a>
553 and 3 picas (1/2 inch) for
554 <a href="docprocessing.html#PRINTSTYLE">PRINTSTYLE_TYPEWRITE</a>.
556 <a name="PARA_INDENT_FIRST"><h3><u>6. Indenting initial paragraphs -- INDENT_FIRST_PARAS</u></h3></a>
557 By default, <strong>mom</strong> does not indent the first paragraph
558 of a document, nor the first paragraph after a head or
559 subhead, nor the first paragraphs of
560 <a href="#EPIGRAPH_INTRO">epigraphs</a>,
561 <a href="#BLOCKQUOTE_INTRO">blockquotes</a>
563 <a href="#FOOTNOTE_INTRO">footnotes</a>
564 that run to more than one paragraph.
565 <a name="INDENT_FIRST_PARAS"></a>
567 If you wish to have first paragraphs indented, invoke the macro
568 <strong>.INDENT_FIRST_PARAS</strong> with no argument, either
569 before or after
570 <a href="docprocessing.html#START">START</a>.
571 <strong>INDENT_FIRST_PARAS</strong> is a toggle macro, therefore
572 passing it any argument (<strong>OFF, QUIT, Q, X</strong>...) cancels
573 its effect, meaning that first paragraphs will once again NOT be
574 indented.
576 <a name="PP_SPACE"><h3><u>7. Spacing paragraphs -- PARA_SPACE</u></h3></a>
577 By default, <strong>mom</strong> does not insert a blank line
578 between paragraphs. If you would like her to do so, invoke the
579 macro <code>.PARA_SPACE</code> with no argument, either
580 before or after
581 <a href="docprocessing.html#START">START</a>.
582 <strong>PARA_SPACE</strong> is a toggle macro, therefore passing
583 it any argument (<strong>OFF, QUIT, Q, X</strong>...) cancels its
584 effect, meaning that paragraphs will once again NOT be separated by
585 a blank line.
586 <br>
587 <hr>
589 <!====================================================================>
591 <a name="HEAD_INTRO"><h2><u>Main heads</u></h2></a>
592 <ul>
593 <li><a href="#HEAD">Tag: HEAD</a>
594 <li><a href="#HEAD_CONTROL">Head control macros</a>
595 </ul>
597 Main heads -- or, in this documentation, just &quot;heads&quot;
598 -- should be used any place you want titles to introduce major
599 sections of a document. If you wish, <strong>mom</strong> can number
600 your heads for you. Head numbers can also be included
601 hierarchically in numbered
602 <a href="#SUBHEAD_INTRO">subheads</a>
604 <a href="#PARAHEAD_INTRO">paraheads</a>.
606 By default, heads are centered on the page, underlined,
607 all in caps. A double linespace precedes each head. In <a
608 href="docprocessing.html#PRINTSTYLE">PRINTSTYLE TYPESET</a>, heads
609 are bold, slightly larger than paragraph text.
611 If these defaults don't suit you, you can change them with the
612 head control macros.
613 <br>
615 <!---HEAD--->
617 <hr width="66%" align="left">
619 <a name="HEAD">
620 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>
621 </a>
624 The argument to <strong>HEAD</strong> is the text of the head,
625 surrounded by double-quotes. If you need additional lines for a
626 head, simply surround each line with double-quotes.
628 <strong>NOTE:</strong> If a head falls near the bottom of an output page
629 and <strong>mom</strong> is unable to fit the head <em>plus at least
630 one line of text underneath it</em>, she will set the head at the
631 top of the next page.
633 <a name="HEAD_CONTROL"><h3><u>Head control macros</u></h3></a>
635 There are, in addition to the usual family/font/size/quad control
636 macros, a number of macros to manage head numbering, spacing,
637 underlining, and so on. Check them out if you're unhappy with
638 <strong>mom</strong>'s defaults.
640 <ol>
641 <li><a href="#HEAD_GENERAL">Family/font/size/quad</a>
642 <li><a href="#HEAD_CAPS">Caps</a>
643 <li><a href="#HEAD_SPACE">Pre-head space</a>
644 <li><a href="#HEAD_UNDERLINE">Underlining</a>
645 <li><a href="#NUMBER_HEADS">Numbering</a>
646 <li><a href="#RESET_HEAD_NUMBER">Reset head numbering</a>
647 <li><a href="#HEAD_INLINES">Vertical inline escapes inside heads</a>
648 </ol>
650 <a name="HEAD_GENERAL"><h3><u>1. Family/font/size/quad</u></h3></a>
653 <a href="#CONTROL_MACRO_ARGS">Arguments to the control macros</a>.
655 <pre>
656 .HEAD_FAMILY default = prevailing document family; default is Times Roman
657 .HEAD_FONT default = bold
658 .HEAD_SIZE default = +1 (point)
659 .HEAD_QUAD default = CENTER
660 </pre>
662 <a name="HEAD_CAPS"><h3><u>2. Capitalizing heads -- HEAD_CAPS</u></h3></a>
663 By default, <strong>mom</strong> sets heads in caps, regardless
664 of the
665 <a href="definitions.html#TERMS_STRINGARGUMENT">string(s)</a>
666 you give to
667 <a href="#HEAD">HEAD</a>.
668 To change this behaviour, do
670 <pre>
671 .HEAD_CAPS OFF
672 </pre>
674 <strong>HEAD_CAPS</strong> is a toggle macro, therefore you can use
675 any argument you like instead of <strong>OFF</strong> (<strong>END,
676 QUIT, Q, X</strong>...). To turn <strong>HEAD_CAPS</strong> back on,
677 simply invoke it without an argument.
679 <a name="HEAD_SPACE"><h3><u>3. Space before heads -- HEAD_SPACE</u></h3></a>
680 By default, <strong>mom</strong> deposits 2 blank lines prior to every
681 head. If you'd prefer just a single blank line, do
683 <pre>
684 .HEAD_SPACE OFF
685 </pre>
687 <strong>HEAD_SPACE</strong> is a toggle macro, therefore you can use
688 any argument you like instead of <strong>OFF</strong> (<strong>END,
689 QUIT, Q, X</strong>...). To restore the space before heads to 2
690 blank lines, invoke <strong>HEAD_SPACE</strong> without an argument.
692 <a name="HEAD_UNDERLINE"><h3><u>4. Underlining heads -- HEAD_UNDERLINE</u></h3></a>
693 By default, <strong>mom</strong> underlines heads. To change this
694 behaviour, do
696 <pre>
697 .HEAD_UNDERLINE OFF
698 </pre>
700 <strong>HEAD_UNDERLINE</strong> is a toggle macro, therefore you can
701 use any argument you like instead of <strong>OFF</strong> (<strong>END,
702 QUIT, Q, X</strong>...). To restore underlining of heads, invoke
703 <strong>HEAD_UNDERLINE</strong> without an argument.
705 <a name="NUMBER_HEADS"><h3><u>5. Number heads -- NUMBER_HEADS</u></h3></a>
706 If you'd like your heads numbered, simply invoke
707 <strong>NUMBER_HEADS</strong> with no argument. <strong>Mom</strong>
708 will number all subsequent heads automatically (in ascending order,
709 naturally).
711 If, in addition to numbering heads, you also request that
712 <a href="#SUBHEAD_INTRO">subheads</a>
713 and/or
714 <a href="#PARAHEAD_INTRO">paraheads</a>
715 be numbered, the head number will be included in their numbers
716 (each number separated by a period [dot]).
718 Should you wish to stop head numbering, invoke
719 <strong>NUMBER_HEADS</strong> with any argument (<strong>OFF, QUIT,
720 END, X</strong>...). Head numbering will cease, and the head number
721 will not be included in the numbering of subheads and/or paraheads.
723 <a name="RESET_HEAD_NUMBER"><h3><u>6. Reset head numbering -- RESET_HEAD_NUMBER</u></h3></a>
724 Should you wish to reset the head number to &quot;1&quot;, invoke
725 <strong>RESET_HEAD_NUMBER</strong> with no argument. If, for some
726 reason, you want <strong>mom</strong> to use a head number that is not
727 the next in ascending order (i.e. the last head number + 1), invoke
728 <strong>RESET_HEAD_NUMBER</strong> with the number you want, e.g.
730 <pre>
731 .RESET_HEAD_NUMBER 6
732 </pre>
734 Your next head will be numbered &quot;6&quot; and subsequent heads will
735 be numbered in ascending order from &quot;6&quot;.
737 <a name="HEAD_INLINES"><h3><u>7. Vertical inline escapes inside heads</u></h3></a>
738 If you need to adjust the
739 <a href="definitions.html#TERMS_BASELINE">baseline</a>
740 position of a head (e.g. the head falls at the top of a column and
741 you want its
742 <a href="definitions.html#TERMS_ASCENDER">ascenders</a>
743 to line up with the ascenders of
744 <a href="definitions.html#TERMS_RUNNING">running text</a>
745 in other columns), you can embed a vertical motion
746 <a href="definitions.html#TERMS_INLINES">inline escape</a>
747 (either
748 <a href="typesetting.html#INLINE_VERTICAL_MOM">mom's</a>
750 <a href="typesetting.html#INLINE_VERTICAL_GROFF">groff's</a>
751 in the string(s) you pass to <strong>HEAD</strong>
753 For example,
755 <pre>
756 .HEAD "\[ALD3]Text of head
757 </pre>
759 will lower the baseline of the head by three points. Note that
760 there's no need to reverse the sense of the inline escape.
762 In the case of heads that run to more than one line, you must embed
763 the escape in the string for each line, like this:
765 <pre>
766 .HEAD "\[ALD3]First line" "\[ALD3]Next line"
767 </pre>
772 <br>
773 <hr>
775 <!====================================================================>
777 <a name="SUBHEAD_INTRO"><h2><u>Subheads</u></h2></a>
778 <ul>
779 <li><a href="#SUBHEAD">Tag: SUBHEAD</a>
780 <li><a href="#SUBHEAD_CONTROL">Subhead control macros</a>
781 </ul>
783 Subheads should be used any place you want titles to introduce
784 sections of a document below heads. If you wish, <strong>mom</strong>
785 can number subheads for you. Subhead numbers can also be included
786 hierarchically in numbered
787 <a href="#PARAHEAD_INTRO">paraheads</a>.
789 By default, subheads are flush left. In
790 <a href="docprocessing.html#PRINTSTYLE">PRINTSTYLE TYPESET</a>,
791 they are set bold, slightly larger than paragraph text. In
792 <a href="docprocessing.html#PRINTSTYLE">PRINTSTYLE TYPEWRITE</a>,
793 they are underlined. A single linespace precedes them in both
794 printstyles, and a tiny space adjustment raises them slightly
795 above text that comes afterwards for greater clarity in
796 document structuring.
798 If these defaults don't suit you, you can change them with the
799 subhead control macros.
800 <br>
802 <!---SUBHEAD--->
804 <hr width="66%" align="left">
806 <a name="SUBHEAD">
807 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>
808 </a>
810 The argument to <strong>SUBHEAD</strong> is the text of the subhead,
811 surrounded by double-quotes. If you need additional lines for a
812 subhead, simply surround each line with double-quotes.
814 <strong>NOTE:</strong> If a subhead falls near the bottom of an output
815 page and <strong>mom</strong> is unable to fit the head <em>plus at
816 least one line of text underneath it</em>, she will set the subhead
817 at the top of the next page.
819 <a name="SUBHEAD_CONTROL"><h3><u>Subhead control macros</u></h3></a>
821 In addition to the usual family/font/size/quad control
822 macros, there are macros to manage subhead numbering.
824 <ol>
825 <li><a href="#SUBHEAD_GENERAL">Family/font/size/quad</a>
826 <li><a href="#NUMBER_SUBHEADS">Numbering</a>
827 <li><a href="#RESET_SUBHEAD_NUMBER">Reset subhead numbering</a>
828 <li><a href="#SUBHEAD_INLINES">Vertical inline escapes inside subheads</a>
829 </ol>
831 <a name="SUBHEAD_GENERAL"><h3><u>1. Family/font/size/quad</u></h3></a>
834 <a href="#CONTROL_MACRO_ARGS">Arguments to the control macros</a>.
836 <pre>
837 .SUBHEAD_FAMILY default = prevailing document family; default is Times Roman
838 .SUBHEAD_FONT default = bold
839 .SUBHEAD_SIZE default = +.5 (point)
840 .SUBHEAD_QUAD default = LEFT
841 </pre>
843 <a name="NUMBER_SUBHEADS"><h3><u>2. Number subheads -- NUMBER_SUBHEADS</u></h3></a>
844 If you'd like your subheads numbered, simply invoke
845 <strong>.NUMBER_SUBHEADS</strong> with no argument.
846 <strong>Mom</strong> will number all subsequent subheads automatically
847 (in ascending order, naturally).
849 If, in addition to numbering subheads, you also request that
850 <a href="#HEAD_INTRO">heads</a>
851 be numbered, the head number will be included in the subhead number
852 (separated by a period [dot]).
854 Should you wish to stop subhead numbering, invoke
855 <strong>NUMBER_SUBHEADS</strong> with any argument (<strong>OFF, QUIT,
856 END, X</strong>...). Subhead numbering will cease, and the subhead
857 number will not be included in the numbering of paraheads.
859 <a name="RESET_SUBHEAD_NUMBER"><h3><u>3. Reset head numbering -- RESET_SUBHEAD_NUMBER</u></h3></a>
860 Should you wish to reset the subhead number to &quot;1&quot;, invoke
861 <strong>RESET_SUBHEAD_NUMBER</strong> with no argument. If, for some
862 reason, you want <strong>mom</strong> to use a subhead number that is not
863 the next in ascending order (i.e. the last subhead number + 1), invoke
864 <strong>RESET_SUBHEAD_NUMBER</strong> with the number you want, e.g.
866 <pre>
867 .RESET_SUBHEAD_NUMBER 4
868 </pre>
870 Your next subhead will be numbered &quot;4&quot; and subsequent
871 subheads will be numbered in ascending order from &quot;4&quot;.
873 <a name="#SUBHEAD_INLINES"><h3><u>Vertical inline escapes inside subheads</u></h3></a>
875 <a href="#HEAD_INLINES">Vertical inline escapes inside heads</a>.
876 The information there applies equally to subheads.
879 <br>
880 <hr>
882 <!====================================================================>
884 <a name="PARAHEAD_INTRO"><h2><u>Paragraph heads</u></h2></a>
885 <ul>
886 <li><a href="#PARAHEAD">Tag: PARAHEAD</a>
887 <li><a href="#PARAHEAD_CONTROL">Parahead control macros</a>
888 </ul>
890 Paragraph heads (paraheads) should be used any place you want titles
891 to introduce paragraphs below heads or subheads. If you wish,
892 <strong>mom</strong> can number paraheads for you.
894 By default, paraheads are joined to the body of a paragraph,
895 slightly indented (provided the paragraph is not a
896 &quot;first&quot; paragraph as defined in
897 <a href="#PARA_INDENT_FIRST">Indenting initial paragraphs</a>).
899 <a href="docprocessing.html#PRINTSTYLE">PRINTSTYLE TYPESET</a>,
900 they are set bold italic, slightly larger than paragraph text. In
901 <a href="docprocessing.html#PRINTSTYLE">PRINTSTYLE TYPEWRITE</a>,
902 they are underlined.
904 If these defaults don't suit you, you can change them with the
905 parahead control macros.
906 <br>
908 <!---PARAHEAD--->
910 <hr width="66%" align="left">
912 <a name="PARAHEAD">
913 Macro: <strong>PARAHEAD</strong> <var>&quot;&lt;text of parahead&gt;&quot;</var>
914 </a>
916 <strong>PARAHEAD</strong> must come AFTER
917 <a href="#PP">PP</a>
918 or it will not work!
920 The argument is the text of the parahead, surrounded by double-quotes.
921 Because paraheads are joined to the body of a paragraph, they accept
922 only one argument (see
923 <a href="#HEAD">HEAD</a>
925 <a href="#SUBHEAD">SUBHEAD</a>).
927 <a name="PARAHEAD_CONTROL"><h3><u>Parahead control macros</u></h3></a>
929 In addition to the family/font/size/indent control macros, there are
930 macros to manage parahead numbering.
932 <ol>
933 <li><a href="#PARAHEAD_GENERAL">Family/font/size</a>
934 <li><a href="#PARAHEAD_INDENT">Indent</a>
935 <li><a href="#NUMBER_PARAHEADS">Numbering</a>
936 <li><a href="#RESET_PARAHEAD_NUMBER">Reset parahead numbering</a>
937 </ol>
939 <a name="PARAHEAD_GENERAL"><h3><u>1. Family/font/size</u></h3></a>
942 <a href="#CONTROL_MACRO_ARGS">Arguments to the control macros</a>.
944 <pre>
945 .PARAHEAD_FAMILY default = prevailing document family; default is Times Roman
946 .PARAHEAD_FONT default = bold italic
947 .PARAHEAD_SIZE default = +.5 (point)
948 </pre>
950 <a name="PARAHEAD_INDENT"><h3><u>2. Indent</u></h3></a>
951 Unlike other control macros that end in
952 <a href="#CONTROL_INDENTS"><strong>_INDENT</strong></a>,
953 the argument to the macro that controls indenting of paragraph heads
954 (<strong>PARAHEAD_INDENT</strong>) is NOT relative to the first-line
955 indent of normal paragraphs. In other words, it takes an absolute
956 value, and requires a
957 <a href="definitions.html#TERMS_UNITOFMEASURE">unit of measure</a>.
958 For example, to set the paragraph head indent to 2-1/2 picas, you
961 <pre>
962 .PARAHEAD_INDENT 2.5P
963 </pre>
964 <strong>Mom</strong>'s default indent for paragraph heads is 1/2
965 the first-line indent of normal paragraphs (both printstyles).
966 However, as stated above, if you choose to change the indent, you
967 must give an absolute value (unless you're a groff expert and want
968 to manipulate the number register <code>\n[#PP_INDENT]u</code>
969 arithmetically as the argument to <strong>PARAHEAD_INDENT</strong>
970 for an indent that's relative to <strong>PP_INDENT</strong>.)
972 <strong>NOTE:</strong> Paragraph heads in &quot;first
973 paragraphs&quot;, as defined in
974 <a href="#PARA_INDENT_FIRST">Indenting initial paragraphs</a>,
975 are not indented unless you turn
976 <a href="#INDENT_FIRST_PARAS">INDENT_FIRST_PARAS</a>
979 <a name="NUMBER_PARAHEADS"><h3><u>3. Number paraheads -- NUMBER_PARAHEADS</u></h3></a>
980 If you'd like your paraheads numbered, simply invoke
981 <strong>.NUMBER_PARAHEADS</strong> with no argument.
982 <strong>Mom</strong> will number all subsequent paraheads automatically
983 (in ascending order, naturally).
985 If, in addition to numbering paraheads, you also request that
986 <a href="#HEAD_INTRO">heads</a>
988 <a href="#SUBHEAD_INTRO">subheads</a>
989 be numbered, the head and/or subhead number will be included in the
990 parahead number (separated by a period [dot]).
992 Should you wish to stop parahead numbering, invoke
993 <strong>NUMBER_PARAHEADS</strong> with any argument (<strong>OFF,
994 QUIT, END, X</strong>...). Parahead numbering will cease.
996 <a name="RESET_PARAHEAD_NUMBER"><h3><u>4. Reset head numbering -- RESET_PARAHEAD_NUMBER</u></h3></a>
997 Should you wish to reset the parahead number to &quot;1&quot;, invoke
998 <strong>RESET_PARAHEAD_NUMBER</strong> with no argument. If, for some
999 reason, you want <strong>mom</strong> to use a parahead number that is not
1000 the next in ascending order (i.e. the last parahead number + 1), invoke
1001 <strong>RESET_PARAHEAD_NUMBER</strong> with the number you want, e.g.
1003 <pre>
1004 .RESET_PARAHEAD_NUMBER 7
1005 </pre>
1007 Your next parahead will be numbered &quot;7&quot; and subsequent
1008 paraheads will be numbered in ascending order from &quot;7&quot;.
1009 <br>
1010 <hr>
1012 <!====================================================================>
1014 <a name="LINEBREAK_INTRO"><h2><u>Author linebreaks</u></h2></a>
1015 <ul>
1016 <li><a href="#LINEBREAK">Tag: LINEBREAK</a>
1017 <li><a href="#LINEBREAK_CHAR">Linebreak character control macro</a>
1018 </ul>
1020 By default, <strong>mom</strong> marks
1021 <a href="definitions.html#TERMS_LINEBREAK">author linebreaks</a>
1022 with three centered asterisks. You can change this behaviour
1023 with the linebreak character
1024 <a href="definitions.html#TERMS_CONTROLMACRO">control macro</a>.
1025 <br>
1027 <!---LINEBREAK--->
1029 <hr width="66%" align="left">
1031 <a name="LINEBREAK">
1032 Macro: <strong>LINEBREAK</strong>
1033 </a>
1036 <strong>LINEBREAK</strong> takes no arguments. Simply invoke it
1037 (on a line by itself, of course) whenever you want to insert an
1038 author linebreak. The appearance of the linebreak is controlled
1039 by the
1040 <a href="#LINEBREAK_CHAR">LINEBREAK_CHAR</a>
1041 macro.
1043 <h3><u>Linebreak character control macro</u></h3>
1045 <a name="LINEBREAK_CHAR">
1046 Macro: <strong>LINEBREAK_CHAR</strong> <var>[ &lt;character&gt; ] [ &lt;iterations&gt; [ &lt;vertical adjustment&gt; ] ]</var>
1047 </a>
1048 <br>
1049 <em>*The third optional argument requires a
1050 <a href="definitions.html#TERMS_UNITOFMEASURE">unit of measure</a></em>.
1053 <strong>LINEBREAK_CHAR</strong> determines what <strong>mom</strong>
1054 prints when <strong>LINEBREAK</strong> is invoked. It takes 3
1055 optional arguments: the character you want deposited at the line
1056 break, the number of times you want the character repeated, and a
1057 vertical adjustment factor.
1059 The first argument is any legal groff character (e.g. <kbd>*</kbd>
1060 [an asterisk], <kbd>\(dg</kbd> [a dagger], <kbd>\f(ZD\N'141\fP</kbd>
1061 [an arbitrary character from Zapf Dingbats], <kbd>\l'4P'</kbd>
1062 [a 4-pica long rule]). <strong>Mom</strong> sets the character
1063 centered on the current line length.
1065 The second argument is the number of times to repeat the character.
1067 The third argument is a +|- value by which to raise (+) or lower (-)
1068 the character in order to make it appear visually centered between
1069 sections of text. This lets you make vertical adjustments
1070 to characters that don't sit on the
1071 <a href="definitions.html#TERMS_BASELINE">baseline</a>
1072 (such as asterisks). The argument must be preceded by a plus or
1073 minus sign, and must include a unit of measure.
1075 If you enter <strong>LINEBREAK_CHAR</strong> with no arguments,
1076 sections of text will be separated by two blank lines.
1078 <strong>Mom</strong>'s default for <strong>LINEBREAK_CHAR</strong> is
1080 <pre>
1081 .LINEBREAK_CHAR * 3 -3p
1082 </pre>
1084 i.e. three asterisks, lowered 3 points from their normal vertical
1085 position (for
1086 <a href="docprocessing.html#PRINTSTYLE">PRINTSTYLE TYPESET</a>;
1087 the vertical adjustment is -2 points for
1088 <a href="docprocessing.html#PRINTSTYLE">PRINTSTYLE TYPEWRITE</a>).
1089 <br>
1090 <hr>
1092 <!====================================================================>
1094 <a name="QUOTE_INTRO"><h2><u>Quotes (line for line)</u></h2></a>
1095 <ul>
1096 <li><a href="#QUOTE">Tag: QUOTE</a>
1097 <li><a href="#QUOTE_CONTROL">Quote control macros</a>
1098 </ul>
1100 <a href="definitions.html#TERMS_QUOTE">Quotes</a>
1101 are always set in
1102 <a href="definitions.html#TERMS_NOFILL">nofill mode</a>,
1103 flush left. This permits entering quotes on a line for line basis in
1104 your text editor and have them come out the same way on output copy.
1105 (See
1106 <a href="#BLOCKQUOTE_INTRO">Blockquotes</a>
1107 for how quotes, in the present sense, differ from longer
1108 passages of cited text.)
1110 Since <strong>mom</strong> originally came into being to serve
1111 the needs of creative writers (i.e. novelists, short story
1112 writers, etc. -- not to cast aspersions on the creativity of
1113 mathematicians and programmers), she sets quotes in italics
1114 <a href="docprocessing.html#PRINTSTYLE">(PRINTSTYLE TYPESET)</a>
1115 or underlined
1116 <a href="docprocessing.html#PRINTSTYLE">(PRINTSTYLE TYPEWRITE)</a>,
1117 indented from the left margin. Obviously, she's thinking
1118 &quot;quotes from poetry or song lyrics&quot;, but with the
1119 quote control macros you can change her defaults so
1120 <strong>QUOTE</strong> serves other needs, e.g. entering snippets of
1121 programming code, command line instructions, and so on.
1123 <a name="QUOTE_SPACING"></a>
1124 Besides indenting quotes, <strong>mom</strong> further sets them
1125 off from
1126 <a href="definitions.html#TERMS_RUNNING">running text</a>
1127 with a small amount of vertical whitespace top and bottom. In
1128 <a href="docprocessing.html#PRINTSTYLE">PRINTSTYLE TYPEWRITE</a>,
1129 this is always one full linespace. In
1130 <a href="docprocessing.html#PRINTSTYLE">PRINTSTYLE TYPESET</a>,
1131 it's 1/2 of the prevailing
1132 <a href="definitions.html#TERMS_LEADING">leading</a>
1133 if the quote fits fully on the page (i.e. with running text above
1134 and below it), otherwise it's a full linespace either above or below
1135 as is necessary to balance the page to the bottom margin. This
1136 behaviour can be changed with the control macro
1137 <a href="#ALWAYS_FULLSPACE_QUOTES">ALWAYS_FULLSPACE_QUOTES</a>.
1139 <strong>NOTE:</strong> <strong>ALWAYS_FULLSPACE_QUOTES</strong>
1140 applies to both
1141 <a href="#QUOTE">QUOTE</a>
1143 <a href="#BLOCKQUOTE">BLOCKQUOTE</a>,
1144 as does the control macro
1145 <a href="#QUOTE_INDENT">QUOTE_INDENT</a>.
1146 <br>
1148 <!---QUOTE--->
1150 <hr width="66%" align="left">
1152 <a name="QUOTE">
1153 Macro: <strong>QUOTE</strong> <var>toggle</var>
1154 </a>
1157 <strong>QUOTE</strong> is a toggle macro. To begin a section of
1158 quoted text, invoke it with no argument, then type in your quote.
1159 When you're finished, invoke <strong>QUOTE</strong> with any
1160 argument (e.g. OFF, END, X, Q...) to turn it off. Example:
1162 <pre>
1163 .QUOTE
1164 Nymphomaniacal Jill
1165 Used a dynamite stick for a thrill
1166 They found her vagina
1167 In North Carolina
1168 And bits of her tits in Brazil.
1169 .QUOTE END
1170 </pre>
1172 <a name="QUOTE_CONTROL"><h3><u>Quote control macros</u></h3></a>
1173 <ol>
1174 <li><a href="#QUOTE_GENERAL">Family/font/size/indent</a>
1175 <li><a href="#ALWAYS_FULLSPACE_QUOTES">Spacing above and below (typeset only)</a>
1176 <li><a href="#UNDERLINE_QUOTES">Underline quotes (typewrite only)</a>
1177 <li><a href="#BREAK_QUOTE">Manually break a footnoted quote that crosses pages/columns</a>
1178 </ol>
1180 <a name="QUOTE_GENERAL"><h3><u>1. Family/font/size/indent</u></h3></a>
1183 <a href="#CONTROL_MACRO_ARGS">Arguments to the control macros</a>.
1185 <pre>
1186 .QUOTE_FAMILY default = prevailing document family; default is Times Roman
1187 .QUOTE_FONT default = italic
1188 .QUOTE_SIZE default = 0 (i.e. same size as paragraph text)
1189 <a name="QUOTE_INDENT">.QUOTE_INDENT default = paragraph indent x 3 (typeset); x 2 (typewrite)</a>
1190 (note that this macro also sets the indents (left and right)
1191 for blockquotes)
1192 </pre>
1194 <a name="ALWAYS_FULLSPACE_QUOTES"><h3><u>2. Spacing above and below -- ALWAYS_FULLSPACE_QUOTES (typeset only)</u></h3></a>
1195 If you'd like <strong>mom</strong> always to put a full linespace above
1196 and below quotes, invoke <strong>.ALWAYS_FULLSPACE_QUOTES</strong>
1197 with no argument. If you wish to restore <strong>mom</strong>'s
1198 default behaviour regarding the spacing of quotes (see
1199 <a href="#QUOTE_SPACING">above</a>),
1200 invoke the macro with any argument (<strong>OFF, QUIT, END,
1201 X</strong>...)
1203 <strong>NOTE:</strong> This macro also sets <strong>mom</strong>'s
1204 spacing policy for
1205 <a href="#BLOCKQUOTE_INTRO">blockquotes</a>.
1207 <a name="UNDERLINE_QUOTES"><h3><u>3. Underlining -- UNDERLINE_QUOTES (typewrite only)</u></h3></a>
1208 By default in
1209 <a href="docprocessing.html#PRINTSTYLE">PRINTSTYLE TYPEWRITE</a>,
1210 <strong>mom</strong> underlines quotes. If you'd rather she didn't,
1211 invoke <strong>.UNDERLINE_QUOTES</strong> with any argument
1212 (<strong>OFF, QUIT, END, X</strong>...) to disable the feature.
1213 Invoke it without an argument to restore <strong>mom</strong>'s
1214 default underlining of quotes.
1216 If you not only wish that <strong>mom</strong> not underline
1217 quotes, but also that she set them in italic, you must follow each
1218 instance of <strong>QUOTE</strong> with the typesetting macro <a
1219 href="typesetting.html#FONT">FT I</a>.
1220 Furthermore, since <strong>mom</strong> underlines all instances
1221 of italics by default in <strong>PRINTSTYLE TYPEWRITE</strong>,
1222 you must also make sure that <strong>ITALIC_MEANS_ITALIC</strong>
1223 is enabled (see
1224 <a href="docprocessing.html#TYPEWRITE_CONTROL">PRINTSTYLE TYPEWRITE control macros</a>).
1226 <a name="BREAK_QUOTE"><h3><u>4. Manually break a footnoted quote -- BREAK_QUOTE</u></h3></a>
1227 Exceptionally, a quote or blockquote containing a footnote may crosse
1228 a page or column. When this happens, the footnote marker may not be
1229 correct for its position relative to other footnotes on the page, and
1230 the footnote itself may appear on the wrong page or at the bottom of
1231 the wrong column. When this happens, study your output to determine
1232 the precise point at which the quote breaks (or at which you want
1233 it to break), and add <code>.BREAK_QUOTE</code> on a line by itself
1234 afterwards. No other intervention is required, and the footnote(s)
1235 will be marked correctly and appear on the correct page.
1237 <strong>BREAK_QUOTE</strong> may be used with both quotes and
1238 blockquotes, and hence is aliased as <strong>BREAK_BLOCKQUOTE,
1239 BREAK_CITATION</strong> and <strong>BREAK_CITE</strong>.
1240 <br>
1241 <hr>
1243 <!====================================================================>
1245 <a name="BLOCKQUOTE_INTRO"><h2><u>Blockquotes (cited passages)</u></h2></a>
1246 <ul>
1247 <li><a href="#BLOCKQUOTE">Tag: BLOCKQUOTE (aliases: CITE, CITATION)</a>
1248 <li><a href="#BLOCKQUOTE_CONTROL">BLOCKQUOTE control macros</a>
1249 </ul>
1251 <strong>BLOCKQUOTES</strong> are used to cite passages from another
1252 author's work. So that they stand out well from
1253 <a href="definitions.html#TERMS_RUNNING">running text</a>,
1254 <strong>mom</strong> indents them from both the left and right margins
1255 and sets them in a different point size
1256 <a href="docprocessing.html#PRINTSTYLE">(PRINTSTYLE TYPESET</a>
1257 only).
1258 <a href="definitions.html#TERMS_OUTPUTLINE">Output lines</a>
1260 <a href="definitions.html#TERMS_FILLED">filled</a>,
1261 and, by default,
1262 <a href="definitions.html#TERMS_QUAD">quadded</a>
1263 left.
1265 Besides indenting blockquotes, <strong>mom</strong> further sets them
1266 off from running text with a small amount of vertical whitespace top
1267 and bottom. (See
1268 <a href="#QUOTE_SPACING">above</a>
1269 for a complete explanation of how this is managed, and how to control it.)
1271 You may notice that <strong>BLOCKQUOTE</strong> has no macro to
1272 control
1273 <a href="definitions.html#TERMS_LEADING">leading</a>,
1274 although you can change the point size. There are Very Good
1275 Reasons for this. If you can't live with the limitation, change
1276 the leading of blockquotes (after invoking the tag) with
1277 <a href="typesetting.html#LS">LS</a>,
1278 but know that there will be Bottom Margin Consequences.
1279 <br>
1281 <!---BLOCKQUOTE--->
1283 <hr width="66%" align="left">
1285 <a name="BLOCKQUOTE">
1286 Macro: <strong>BLOCKQUOTE</strong> <var>toggle</var>
1287 <br>
1288 Aliases: <strong>CITE, CITATION</strong>
1289 </a>
1292 <strong>BLOCKQUOTE</strong> is a toggle macro. To begin a
1293 cited passage, invoke the tag with no argument, then type in your quote.
1294 When you're finished, invoke <strong>BLOCKQUOTE</strong> with any
1295 argument (e.g. OFF, END, X, Q...) to turn it off. Example:
1297 <pre>
1298 .BLOCKQUOTE
1299 Redefining the role of the United States from enablers to keep
1300 the peace to enablers to keep the peace from peacekeepers is
1301 going to be an assignment.
1302 .RIGHT
1303 \(emGeorge W. Bush
1304 .BLOCKQUOTE END
1305 </pre>
1307 If the cited passage runs to more than one paragraph, you MUST
1308 introduce each paragraph -- <em>including the first!</em> --
1309 with
1310 <a href="#PP">PP</a>.
1312 <strong>NOTE:</strong> The aliases <strong>CITE</strong>
1313 and <strong>CITATION</strong> may be used in place of the
1314 <strong>BLOCKQUOTE</strong> tag, but &quot;CITE&quot; and
1315 &quot;CITATION&quot; must not be used to replace &quot;BLOCKQUOTE&quot;
1316 in any of the tag's control macros.
1318 <a name="BLOCKQUOTE_CONTROL"><h3><u>Blockquote control macros</u></h3></a>
1319 <ol>
1320 <li><a href="#BLOCKQUOTE_GENERAL">Family/font/size/indent</a>
1321 <li><a href="#ALWAYS_FULLSPACE_QUOTES">Spacing above and below (typeset only)</a>
1322 <li><a href="#BREAK_QUOTE">Manually break a footnoted blockquote that crosses pages/columns</a>
1323 </ol>
1325 <a name="BLOCKQUOTE_GENERAL"><h3><u>1. Family/font/size/indent</u></h3></a>
1328 <a href="#CONTROL_MACRO_ARGS">Arguments to the control macros</a>.
1330 <pre>
1331 .BLOCKQUOTE_FAMILY default = prevailing document family; default is Times Roman
1332 .BLOCKQUOTE_FONT default = italic
1333 .BLOCKQUOTE_SIZE default = -1 (point)
1334 .QUOTE_INDENT default = paragraph indent x 3 (typeset); x 2 (typewrite)</a>
1335 (note that this macro also sets the left indent for quotes)
1336 </pre>
1338 <a name="ALWAYS_FULLSPACE_QUOTES"><h3><u>2. Spacing above and below -- ALWAYS_FULLSPACE_QUOTES (typeset only)</u></h3></a>
1339 If you'd like <strong>mom</strong> always to put a full linespace above
1340 and below blockquotes, invoke <strong>.ALWAYS_FULLSPACE_QUOTES</strong>
1341 with no argument. If you wish to restore <strong>mom</strong>'s
1342 default behaviour regarding the spacing of blockquotes (see
1343 <a href="#QUOTE_SPACING">above</a>),
1344 invoke the macro with any argument (<strong>OFF, QUIT, END,
1345 X</strong>...).
1347 <strong>NOTE:</strong> This macro also sets <strong>mom</strong>'s
1348 spacing policy for
1349 <a href="#QUOTE_INTRO">quotes</a>.
1350 <br>
1351 <hr>
1353 <!====================================================================>
1355 <a name="FOOTNOTE_INTRO"><h2><u>Footnotes</u></h2></a>
1356 <ul>
1357 <li><a href="#FOOTNOTE">Tag: FOOTNOTE</a>
1358 <li><a href="#FOOTNOTE_CONTROL">FOOTNOTE control macros</a>
1359 </ul>
1362 For something so complex behind the scenes, footnotes are easy to use.
1363 You just type, for example
1365 <a name="FOOTNOTE_EXAMPLE"></a>
1366 <pre>
1367 ...the doctrines of Identity as urged by Schelling\c
1368 .FOOTNOTE
1369 &lt;footnote about who the hell is Schelling&gt;
1370 .FOOTNOTE OFF
1371 were generally the points of discussion presenting the most
1372 of beauty to the imaginative Morella.
1373 </pre>
1375 and be done with it. (Note the obligatory use of the
1376 <strong>\c</strong>
1377 <a href="definitions.html#TERMS_INLINES">inline escape</a>.)
1378 <strong>Mom</strong> takes care of everything:
1379 putting footnote markers in the body of the document, keeping track
1380 of how many footnotes are on the page, identifying the footnotes
1381 themeselves appropriately, balancing them properly with the botton
1382 margin, deferring footnotes that don't fit on the page... Even if
1383 you're using
1384 <a href="columns.html#COLUMNS">COLUMNS</a>,
1385 <strong>mom</strong> knows what to do, and Does The Right Thing.
1387 Footnotes can be sly little beasts, though. If you're writing a
1388 document that's footnote-heavy, you might want to read the following.
1390 <a name="FOOTNOTE_BEHAVIOUR"><h3><u>Footnote behaviour</u></h3></a>
1392 By default, <strong>mom</strong> marks footnotes with
1393 alternating stars (asterisks) and daggers. The first footnote
1394 gets a star, the second a dagger, the third two stars,
1395 the fourth two daggers, etc. If you prefer numbered footnotes, rest
1396 assured <strong>mom</strong> is happy to oblige.
1398 A small amount of vertical whitespace and a short horizontal rule
1399 separate footnotes from the document body. The amount of whitespace
1400 varies slightly from page to page depending on the number of lines
1401 in the footnotes. <strong>Mom</strong> tries for a nice balance
1402 between too little whitespace and too much, but when push comes to
1403 shove, she'll opt for ample over cramped. The last lines of footnotes
1404 are always flush with the document's bottom margin.
1406 If <strong>mom</strong> sees that a portion of a footnote cannot
1407 be fit on its page, she carries that portion over to the next
1408 page. If an entire footnote can't be fitted on its page (i.e.
1409 <strong>FOOTNOTE</strong> has been called too close to the bottom),
1410 she defers the footnote to the next page, but sets it with the
1411 appropriate marker from the previous page.
1413 In the unfortunate happenstance that a deferred footnote is the
1414 only footnote on its page (i.e. it's marked in the document body with
1415 a star) and the page it's deferred has its own footnotes,
1416 <strong>mom</strong> separates the deferred footnote from the page's
1417 proper footnote(s) with a blank line. This avoids the confusion that
1418 might result from readers seeing two footnote entries on the same page
1419 identified by a single star (or the number 1 if you've requested
1420 numbered footnotes that begin at 1 on every page). The blank line
1421 makes it clear that the first footnote entry belongs to the previous
1422 page.
1424 In the circumstance where a deferred footnote is not the only one on
1425 its page, and is consequently marked by something other than a single
1426 star, there's no confusion and <strong>mom</strong> doesn't bother
1427 with the blank line. (By convention, the first footnote on a page is
1428 always marked with a single star, so if readers see, say, a dagger or two
1429 stars marking the first footnote entry, they'll know the entry belongs
1430 to the previous page).
1432 Obviously, deferred footnotes aren't an issue if you request numbered
1433 footnotes that increase incrementally throughout the whole document --
1434 yet another convenience <strong>mom</strong> has thought of.
1436 Exceptionally, you may encounter problems with footnotes inside
1437 quotes and blockquotes that cross a page or column. See
1438 <a href="#BREAK_QUOTE">BREAK_QUOTE</a>
1439 for a solution.
1440 <br>
1442 <!---FOOTNOTE--->
1444 <hr width="66%" align="left">
1446 <a name="FOOTNOTE">
1447 Macro: <strong>FOOTNOTE</strong> <var>&lt;toggle&gt; | INDENT LEFT | RIGHT | BOTH &lt;indent value&gt;</var>
1448 <br>
1449 <em>*See <a href="#FOOTNOTE_NOTE">HYPER-IMPORTANT NOTE</a>!!!
1450 <br>
1451 &lt;indent value&gt; requires a
1452 <a href="definitions.html#TERMS_UNITOFMEASURE">unit of measure</a></em>
1453 </a>
1456 <strong>FOOTNOTE</strong> is a toggle macro, therefore invoking it
1457 on a line by itself allows you to enter a footnote in the body of a
1458 document. Invoking it with any argument <em>other than INDENT</em>
1459 (i.e. <strong>OFF, QUIT, END, X...</strong>) tells <strong>mom</strong>
1460 you're finished.
1462 Footnotes are the only element of
1463 <a href="definitions.html#TERMS_RUNNING">running text</a>
1464 that are not affected by the typesetting
1465 <a href="typesetting.html#INDENTS">indent macros</a>.
1466 In the unlikely event that you want a page's footnotes to line
1467 up with a running indent, invoke <strong>FOOTNOTE</strong> with
1468 the <strong>INDENT</strong> argument and pass it an indent
1469 direction and indent value. <strong>L, R,</strong> and
1470 <strong>B</strong> may be used in place of <strong>LEFT,
1471 RIGHT,</strong> and <strong>BOTH</strong>.
1472 <strong>FOOTNOTE</strong> must be invoked with <strong>INDENT</strong>
1473 for every footnote you want indented; <strong>Mom</strong> does
1474 not save any footnote indent information from invocation to
1475 invocation.
1477 <strong>NOTE:</strong> If a footnote runs to more than one
1478 paragraph(!), <strong>DO NOT</strong> begin the footnote with
1480 <a href="#PP">PP</a>
1481 tag. Use <strong>PP</strong> only to introduce subsequent paragraphs.
1483 <a name="FOOTNOTE_NOTE"><strong>HYPER-IMPORTANT NOTE:</strong></a>
1484 The final word on the
1485 <a href="definitions.html#TERMS_INPUTLINE">input line</a>
1486 that comes immediately before <strong>FOOTNOTE</strong> MUST terminate
1487 with a
1488 <a href="typesetting.html#JOIN">\c</a>
1489 inline escape. Otherwise, the footnote marker for the word won't be attached to
1490 it (i.e. <strong>mom</strong> will insert a word space between the word
1491 and the marker). See the
1492 <a href="#FOOTNOTE_EXAMPLE">footnote example</a>
1493 above.
1496 <a name="FOOTNOTE_CONTROL"><h3><u>Footnote control macros</u></h3></a>
1497 <ol>
1498 <li><a href="#FOOTNOTE_GENERAL">Family/font/size/lead/quad</a>
1499 <li><a href="#FOOTNOTE_MARKERS">Footnote markers</a> -- on or off
1500 <li><a href="#FOOTNOTE_MARKER_STYLE">Footnote marker style</a> -- star+dagger or numbered
1501 <li><a href="#RESET_FOOTNOTE_NUMBER">Reset footnote number</a> -- set footnote marker number to 1
1502 <li><a href="#FOOTNOTE_RULE">Footnote rule</a> -- on or off
1503 <li><a href="#FOOTNOTE_RULE_LENGTH">Footnote rule length</a> -- length of footnote separator rule
1504 <li><a href="#FOOTNOTE_RULE_ADJ">Adjust vertical position of footnote separator rule</a>
1505 </ol>
1507 <a name="FOOTNOTE_GENERAL"><h3><u>1. Family/font/size/quad/lead</u></h3></a>
1510 <a href="#CONTROL_MACRO_ARGS">Arguments to the control macros</a>.
1512 <pre>
1513 .FOOTNOTE_FAMILY default = prevailing document family; default is Times Roman
1514 .FOOTNOTE_FONT default = roman
1515 .FOOTNOTE_SIZE default = -2 (points)
1516 .FOOTNOTE_AUTOLEAD default = 2 points (typeset); single-spaced (typewrite)
1517 .FOOTNOTE_QUAD default = same as paragraphs
1518 </pre>
1520 <a name="FOOTNOTE_MARKERS"><h3><u>2. Footnote markers -- FOOTNOTE_MARKERS</u></h3></a>
1521 If you don't want footnote markers, in either the body of
1522 the document or beside footnote entries themselves, toggle
1523 them off with <strong>.FOOTNOTE_MARKERS OFF</strong> (or
1524 <strong>END, QUIT, X</strong>...). This means, of course, that
1525 you'll have to roll your own. If you want them back on, invoke
1526 <strong>.FOOTNOTE_MARKERS</strong> with no argument. Footnote markers
1527 are on by default.
1529 <a name="FOOTNOTE_MARKER_STYLE"><h3><u>3. Footnote marker style -- FOOTNOTE_MARKER_STYLE</u></h3></a>
1530 <strong>Mom</strong> gives you two choices of footnote marker style:
1531 star+dagger (see
1532 <a href="#FOOTNOTE_BEHAVIOUR">footnote behaviour</a>
1533 above), or numbered.
1535 <strong>.FOOTNOTE_MARKER_STYLE STAR</strong> gives you star+dagger
1536 (the default). There is a limit of 10 footnotes per page with
1537 this style.
1539 <strong>.FOOTNOTE_MARKER_STYLE NUMBER</strong> gives you superscript
1540 numbers, both in the document body and in the footnote entries
1541 themselves. By default, footnote numbers increase incrementally
1542 (prev. footnote number + 1) throughout the whole document. You can
1543 ask <strong>mom</strong> to start each page's footnote numbers at 1
1544 with <strong>.RESET_FOOTNOTE_NUMBER</strong> (see below).
1546 <a name="RESET_FOOTNOTE_NUMBER"><h3><u>4. Reset footnote number -- RESET FOOTNOTE NUMBER</u></h3></a>
1547 <strong>.RESET_FOOTNOTE_NUMBER</strong>, by itself, resets
1548 footnote numbering so that the next footnote you enter is
1549 numbered 1.
1551 <strong>.RESET_FOOTNOTE_NUMBER PAGE</strong> tells
1552 <strong>mom</strong> to start every page's footnote numbering at 1.
1554 <a name="FOOTNOTE_RULE"><h3><u>5. Footnote rule -- FOOTNOTE_RULE</u></h3></a>
1555 If you don't want a footnote separator rule, toggle it off with
1556 <strong>.FOOTNOTE_RULE OFF</strong> (or <strong>END,
1557 QUIT, X</strong>...). Toggle it back on by invoking
1558 <strong>.FOOTNOTE_RULE</strong> with no argument. The default is to
1559 print the rule.
1561 <a name="FOOTNOTE_RULE_LENGTH"><h3><u>6. Footnote rule length -- FOOTNOTE_RULE_LENGTH</u></h3></a>
1562 If you want to change the length of the footnote separator rule,
1563 invoke <strong>.FOOTNOTE_RULE_LENGTH</strong> with a length, like
1564 this,
1566 <pre>
1567 .FOOTNOTE_RULE_LENGTH 1i
1568 </pre>
1570 which sets the length to 1 inch. Note that a
1571 <a href="definitions.html#TERMS_UNITOFMEASURE">unit of measure</a>
1572 is required. The default is 4
1573 <a href="definitions.html#TERMS_PICASPOINTS">picas</a>
1574 for both
1575 <a href="docprocessing.html#PRINTSTYLE">printstyles</a>.
1576 <a name="FOOTNOTE_RULE_ADJ"><h3><u>7. Adjust vertical position of footnote separator rule -- FOOTNOTE_RULE_ADJ</u></h3></a>
1577 The footnote separator rule is actually a baseline rule that falls
1578 on the
1579 <a href="definitions.html#TERMS_BASELINE">baseline</a>
1580 of the first line of a page's footnotes. By default,
1581 <strong>mom</strong> raises the rule 3
1582 <a href="definitions.html#TERMS_PICASPOINTS">points</a>
1583 from the baseline so that the separator and the footnotes don't
1584 look jammed together. If you'd prefer a different vertical
1585 adjustment, invoke <strong>.FOOTNOTE_RULE_ADJ</strong> with the
1586 amount you'd like. For example
1588 <pre>
1589 .FOOTNOTE_RULE_ADJ 4.25p
1590 </pre>
1592 raises the rule by 4-1/4 points. Note that you can only raise
1593 the rule, not lower it. A
1594 <a href="definitions.html#TERMS_UNITOFMEASURE">unit of measure</a>
1595 is required.
1596 <br>
1597 <hr>
1599 <!====================================================================>
1601 <a name="FINIS_INTRO"><h2><u>Terminate document processing</u></h2></a>
1602 <ul>
1603 <li><a href="#FINIS">Tag: FINIS</a>
1604 <li><a href="#FINIS_STRING">Changing the FINIS string</a>
1605 </ul>
1608 The use of <strong>FINIS</strong> is optional. If you invoke it
1609 (at the end of a document, of course), <strong>mom</strong> turns off
1610 <a href="definitions.html#TERMS_FOOTER">footers</a>
1611 (if they're on) and page numbering (if page
1612 numbers are at the bottom of the page) and deposits the word
1613 END, centered after a blank line, beneath the last
1614 line of the document. END is enclosed between
1615 <a href="definitions.html#TERMS_EM">em-dashes</a>.
1617 If you're writing in a language other than English, you can
1618 change what <strong>mom</strong> prints for END with
1619 the control macro <strong>FINIS_STRING</strong>.
1620 <br>
1622 <!---FINIS--->
1624 <hr width="66%" align="left">
1626 <a name="FINIS">
1627 Macro: <strong>FINIS</strong>
1628 </a>
1631 The use of <strong>FINIS</strong> is optional, but if you use
1632 it, it should be the last macro you invoke in a document. See
1633 <a href="#FINIS_INTRO">above</a>
1634 for a description of how <strong>FINIS</strong> behaves.
1636 <strong>NOTE:</strong> If you don't use <strong>FINIS</strong>,
1637 and you don't want
1638 <a href="definitions.html#TERMS_FOOTER">footers</a>
1639 (if they're on) or a page number at the bottom of the last page of
1640 a document, you have to turn them off manually, as the last two
1641 lines of your document file, like this:
1643 <pre>
1644 .FOOTERS OFF
1645 .PAGINATE OFF
1646 </pre>
1648 <a name="FINIS_STRING"><h3><u>Changing the FINIS string</u></h3></a>
1651 By default, <strong>FINIS</strong> prints the word
1652 END between
1653 <a href="definitions.html#TERMS_EM">em-dashes</a>.
1654 If you'd like <strong>mom</strong> to print something else
1655 between the dashes, use the <strong>FINIS_STRING</strong> macro
1656 (anywhere in the document prior to <strong>FINIS</strong>).
1658 For example, if your document's in French, you'd do
1660 <pre>
1661 .FINIS_STRING "FIN"
1662 </pre>
1664 Double-quotes must enclose the macro's argument.
1666 <strong>NOTE:</strong> If you pass <strong>FINIS_STRING</strong>
1667 a blank string, i.e.
1669 <pre>
1670 .FINIS_STRING ""
1671 </pre>
1673 <strong>mom</strong> will still print the em-dashes if you
1674 invoke <strong>FINIS</strong>. This, in effect, produces a
1675 short, centered horizontal rule that terminates the document.
1677 <a href="docprocessing.html.#PRINTSTYLE">PRINTSTYLE TYPEWRITE</a>,
1678 it's a short, dashed line composed of four hyphens.)
1681 <hr>
1682 <a href="headfootpage.html#TOP">Next</a>&nbsp;&nbsp;
1683 <a href="docprocessing.html#TOP">Prev</a>&nbsp;&nbsp;
1684 <a href="#TOP">Top</a>&nbsp;&nbsp;
1685 <a href="toc.html">Back to Table of Contents</a>
1686 </body>
1687 </html>