PageRenderTime 53ms CodeModel.GetById 26ms RepoModel.GetById 0ms app.codeStats 1ms

/contrib/groff/contrib/mom/momdoc/docelement.html

https://bitbucket.org/freebsd/freebsd-head/
HTML | 5041 lines | 4616 code | 379 blank | 46 comment | 0 complexity | 94cb9ffdba54505b8afea218276b3f23 MD5 | raw file
Possible License(s): MPL-2.0-no-copyleft-exception, BSD-3-Clause, LGPL-2.0, LGPL-2.1, BSD-2-Clause, 0BSD, JSON, AGPL-1.0, GPL-2.0
  1. <!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 3.2 Final//EN">
  2. <html>
  3. <head>
  4. <meta http-equiv="content-type" content="text/html;charset=iso-8859-1">
  5. <title>Mom -- Document Processing, element tags</title>
  6. </head>
  7. <body bgcolor="#dfdfdf">
  8. <!====================================================================>
  9. <a href="headfootpage.html#TOP">Next</a>&nbsp;&nbsp;
  10. <a href="docprocessing.html#TOP">Prev</a>&nbsp;&nbsp;
  11. <a href="toc.html">Back to Table of Contents</a>
  12. <p>
  13. <a name="TOP"></a>
  14. <a name="DOCELEMENT">
  15. <h1 align="center"><u>THE DOCUMENT ELEMENT TAGS</u></h1>
  16. </a>
  17. <ul>
  18. <li><a href="#DOCELEMENT_INTRO">Introduction to the document element tags</a>
  19. <ul>
  20. <li><a href="#DOCELEMENT_CONTROL">Control macros -- changing defaults for document element tags</a>
  21. <li><a href="#CONTROL_MACRO_ARGS">Arguments to the control macros</a>
  22. </ul>
  23. <li><a href="#INDEX_DOCELEMENT">Index of document element tags</a>
  24. </ul>
  25. <a name="DOCELEMENT_INTRO">
  26. <h2><u>Introduction to the document element tags</u></h2>
  27. </a>
  28. Once you've completed the setup for a document (see
  29. <a href="docprocessing.html#DOCPROCESSING_TUT">Setting up a mom document</a>),
  30. formatting it is a snap. Simply invoke the appropriate tag for
  31. each document element as you need it. The tags are macros that
  32. tell <strong>mom</strong>, &quot;This is a paragraph, this
  33. is a subhead, this is a footnote,&quot; and so on.
  34. <p>
  35. The list of tags is actually quite small -- ideal for the users
  36. <strong>mom</strong> brought herself into being for (see
  37. <a href="intro.html#INTRO_INTRO">Who mom is meant for</a>).
  38. However, the list of macros that control the appearance of the
  39. tags upon output is extensive. Generally, for each tag,
  40. there are
  41. <a href="definitions.html#TERMS_CONTROLMACRO">control macros</a>
  42. for the tag's family, font and point size. Where appropriate, there
  43. are macros to control leading, indents, quad and special features
  44. as well.
  45. <p>
  46. <strong>Mom</strong> has tasteful defaults for all the tags, hence you
  47. only use the control macros when you want to change the way
  48. she does things. This is usually done prior to
  49. <a href="docprocessing.html#START">START</a>,
  50. but can, in fact, be done at any time in the course of a document.
  51. Any change to a tag's style affects all subsequent invocations of
  52. the tag.
  53. <p>
  54. <a name="DOCELEMENT_CONTROL"><h3><u>Control macros -- changing defaults</u></h3></a>
  55. <p>
  56. The control macros for document processing tags let you
  57. &quot;design&quot; the look of all the parts of your documents --
  58. should you wish. At a bare minimum, all tags have macros to change
  59. <strong>mom</strong>'s defaults for family, font, point size and
  60. colour. Where appropriate, there are macros to control leading,
  61. indents and quad as well.
  62. <p>
  63. In addition, many tags have special macros to control features that
  64. are pertinent to those tags alone. Have a look at the section dealing
  65. with any particular tag to find out what macros control the tag,
  66. and what <strong>mom</strong>'s defaults for the tag are.
  67. <p>
  68. The control macros may be used at any time during the course of
  69. a document (i.e. before or after
  70. <a href="docprocessing.html#START">START</a>). The changes you
  71. make alter all subsequent invocations of the affected tag until
  72. you make another change, either by passing new arguments to the
  73. tag's control macro, or toggling a particular feature of the tag on
  74. or off.
  75. <p>
  76. And don't forget: the
  77. <a href="typesetting.html#MACROS_TYPESETTING">typesetting macros</a>
  78. can be used at any time, including inside
  79. <a href="definitions.html#TERMS_TOGGLE">toggle</a>
  80. tags (affecting only that particular invocation of the tag).
  81. Equally,
  82. <a href="definitions.html#TERMS_INLINES">inline escapes</a>
  83. can be used in tags that take
  84. <a href="definitions.html#TERMS_STRINGARGUMENT">string arguments.</a>
  85. <p>
  86. <strong>IMPORTANT NOTE:</strong> The family, font, point size,
  87. colour and leading control macros have no effect in
  88. <a href="docprocessing.html#PRINTSTYLE">PRINTSTYLE TYPEWRITE</a>,
  89. which sets EVERYTHING in Courier roman, 12/24 (i.e. 12-point type on
  90. a linespace of 24 points).
  91. <p>
  92. Please also note that the defaults listed
  93. with the control macros apply only to
  94. <a href="docprocessing.html#PRINTSTYLE">PRINTSTYLE TYPESET</a>
  95. unless a default for <strong>TYPEWRITE</strong> is also given.
  96. <p>
  97. <strong>A WORD OF ADVICE:</strong> Get familiar with
  98. <strong>mom</strong> at her default settings before exploring the
  99. control macros. Put her through her paces. See how she behaves.
  100. Get to know what she feels like and how she looks, both in your text
  101. editor and on the printed page. Then, if you don't like something,
  102. use this documentation to find the precise macro you need to change it.
  103. There are tons of control macros. Reading up on them and trying to
  104. remember them all might lead you to think that <strong>mom</strong>
  105. is complex and unwieldy, which is not only untrue, but would offend
  106. her mightily.
  107. <p>
  108. <a name="CONTROL_MACRO_ARGS"><h3><u>Arguments to the control macros</u></h3></a>
  109. <h3>Family and font</h3>
  110. The arguments to the control macros that end in
  111. <strong>_FAMILY</strong> or <strong>_FONT</strong> are the same
  112. as for
  113. <a href="typesetting.html#FAMILY">FAMILY</a>
  114. and
  115. <a href="typesetting.html#FONT">FT</a>.
  116. <h3>Point size</h3>
  117. Control macros that end in <strong>_SIZE</strong> always take
  118. the form <kbd>+digit</kbd> or <kbd>-digit</kbd> where digit is
  119. the number of
  120. <a href="definitions.html#TERMS_PICASPOINTS">points</a>
  121. larger (+) or smaller (-) than the point size of paragraphs
  122. you want the document element to be. For example, to change
  123. subheads to 1-1/2 points larger than the type in paragraphs, do
  124. <p>
  125. <pre>
  126. .SUBHEAD_SIZE +1.5
  127. </pre>
  128. There's no need for a
  129. <a href="definitions.html#TERMS_UNITOFMEASURE">unit of measure</a>
  130. with the <strong>_SIZE</strong> control macros; points is assumed.
  131. <h3>Colour</h3>
  132. Control macros that end in <strong>_COLOR</strong> take as their
  133. argument a colour name pre-defined (or &quot;initialized&quot;)
  134. with
  135. <a href="color.html#NEWCOLOR">NEWCOLOR</a>
  136. or
  137. <a href="color.html#XCOLOR">XCOLOR</a>.
  138. For example, if you want your heads to be red, once you've defined
  139. or initialized the color, red,
  140. <p>
  141. <pre>
  142. .HEAD_COLOR red
  143. </pre>
  144. will turn your heads red.
  145. <h3>Lead/linespacing</h3>
  146. Control macros that end in <strong>_AUTOLEAD</strong> take the
  147. same argument as
  148. <a href="typesetting.html#AUTOLEAD">AUTOLEAD</a>,
  149. viz. a digit that represents the number of points to add to the
  150. tag's point size to arrive at its
  151. <a href="definitions.html#TERMS_LEADING">lead</a>.
  152. For example, to set footnotes
  153. <a href="definitions.html#TERMS_SOLID">solid</a>, do
  154. <p>
  155. <pre>
  156. .FOOTNOTE_AUTOLEAD 0
  157. </pre>
  158. To set footnotes with a 1-point lead (i.e. with the line spacing
  159. one point greater than the footnote's point size), do
  160. <p>
  161. <pre>
  162. .FOOTNOTE_AUTOLEAD 1
  163. </pre>
  164. <h3><a name="CONTROL_INDENTS">Indents</a></h3>
  165. Except for <strong>PARA_INDENT</strong>, the argument to the control
  166. macros that end
  167. in <strong>_INDENT</strong> is always a single digit (whole numbers
  168. only; no decimal fractions) with no
  169. <a href="definitions.html#TERMS_UNITOFMEASURE">unit of measure</a>
  170. appended to it. The digit represents by how much you want the
  171. size of the paragraph first-line indent multiplied to achieve the
  172. correct indent for a particular tag.
  173. <h3>Quad/justification style</h3>
  174. Control macros that end in <strong>_QUAD</strong> take the same
  175. arguments as
  176. <a href="typesetting.html#QUAD">QUAD</a>.
  177. <p>
  178. <hr>
  179. <a name="INDEX_DOCELEMENT"><h3><u>Document element tags list</u></h3></a>
  180. <ul>
  181. <li><a href="#EPIGRAPH_INTRO">Epigraphs</a>
  182. <ul>
  183. <li><a href="#EPIGRAPH">EPIGRAPH</a>
  184. <li><a href="#EPIGRAPH_CONTROL">Epigrah control</a>
  185. </ul>
  186. <li><a href="#PP_INTRO">Paragraphs</a>
  187. <ul>
  188. <li><a href="#PP">PP</a>
  189. <li><a href="#PP_CONTROL">Paragraph control</a>
  190. </ul>
  191. <li><a href="#HEAD_INTRO">Main heads</a>
  192. <ul>
  193. <li><a href="#HEAD">HEAD</a>
  194. <li><a href="#HEAD_CONTROL">Head control</a>
  195. </ul>
  196. <li><a href="#SUBHEAD_INTRO">Subheads</a>
  197. <ul>
  198. <li><a href="#SUBHEAD">SUBHEAD</a>
  199. <li><a href="#SUBHEAD_CONTROL">Subhead control</a>
  200. </ul>
  201. <li><a href="#PARAHEAD_INTRO">Paragraph heads</a>
  202. <ul>
  203. <li><a href="#PARAHEAD">PARAHEAD</a>
  204. <li><a href="#PARAHEAD_CONTROL">Parahead control</a>
  205. </ul>
  206. <li><a href="#LINEBREAK_INTRO">Linebreaks (author linebreaks, section breaks)</a>
  207. <ul>
  208. <li><a href="#LINEBREAK">LINEBREAK</a>
  209. <li><a href="#LINEBREAK_CHAR">Linebreak character</a>
  210. <li><a href="#LINEBREAK_COLOR">Linebreak colour</a>
  211. </ul>
  212. <li><a href="#QUOTE_INTRO">Quotes (line for line)</a>
  213. <ul>
  214. <li><a href="#QUOTE">QUOTE</a>
  215. <li><a href="#QUOTE_CONTROL">Quote control</a>
  216. </ul>
  217. <li><a href="#BLOCKQUOTE_INTRO">Blockquotes (cited material)</a>
  218. <ul>
  219. <li><a href="#BLOCKQUOTE">BLOCKQUOTE</a>
  220. <li><a href="#BLOCKQUOTE_CONTROL">Blockquote control</a>
  221. </ul>
  222. <li><a href="#LIST_INTRO">Nested lists</a>
  223. <ul>
  224. <li><a href="#LIST">LIST</a>
  225. <ul>
  226. <li><a href="#ITEM">ITEM</a>
  227. </ul>
  228. <li><a href="#LIST_CONTROL">List control</a>
  229. </ul>
  230. <li><a href="#NUMBER_LINES_INTRO">Line numbering</a>
  231. <ul>
  232. <li><a href="#NUMBER_LINES">NUMBER_LINES</a>
  233. <li><a href="#NUMBER_LINES_CONTROL">Control macros</a> (for QUOTE and BLOCKQUOTE)
  234. </ul>
  235. <li><a href="#FOOTNOTE_INTRO">Footnotes</a>
  236. <ul>
  237. <li><a href="#FOOTNOTE">FOOTNOTE</a>
  238. <li><a href="#FOOTNOTE_CONTROL">Footnote control</a>
  239. </ul>
  240. <li><a href="#ENDNOTE_INTRO">Endnotes</a>
  241. <ul>
  242. <li><a href="#ENDNOTE">ENDNOTE</a>
  243. <li><a href="#ENDNOTE_CONTROL">Endnote control</a>
  244. </ul>
  245. <li><a href="#MARGIN_NOTES_INTRO">Margin notes</a>
  246. <ul>
  247. <li><a href="#MN_INIT">MN_INIT</a> -- initialize margin notes
  248. <li><a href="#MN">MN</a> -- start and end a margin note
  249. </ul>
  250. <li><a href="refer.html#TOP">Bibliographies and references</a>
  251. <ul>
  252. <li><a href="refer.html#REF">REF</a>
  253. <li><a href="refer.html#ENDNOTE_REFS">ENDNOTE_REFS</a>
  254. <li><a href="refer.html#FOOTNOTE_REFS">FOOTNOTE_REFS</a>
  255. <li><a href="refer.html#BRACKET_REFS">Embedded references</a>
  256. <li><a href="refer.html#BIBLIOGRAPHY">BIBLIOGRAPHY</a>
  257. <li><a href="refer.html#BIBLIOGRAPHY_TYPE">BIBLIOGRAPHY_TYPE</a>
  258. </ul>
  259. <li><a href="#BLANK_PAGE_TITLE">Blank pages</a>
  260. <li><a href="#TOC_INTRO">Table of contents</a>
  261. <ul>
  262. <li><a href="#TOC">TOC</a>
  263. <li><a href="#TOC_CONTROL">Table of contents control</a>
  264. </ul>
  265. <li><a href="#FINIS_INTRO">Document termination</a>
  266. <ul>
  267. <li><a href="#FINIS">FINIS (Document termination)</a>
  268. </ul>
  269. <ul>
  270. <li><a href="#FINIS_STRING">Changing the FINIS string</a>
  271. <li><a href="#FINIS_COLOR">Changing the FINIS colour</a>
  272. </ul>
  273. </ul>
  274. <hr>
  275. <!====================================================================>
  276. <a name="EPIGRAPH_INTRO"><h2><u>Epigraphs</u></h2></a>
  277. <ul>
  278. <li><a href="#EPIGRAPH">Tag: EPIGRAPH</a>
  279. <li><a href="#EPIGRAPH_CONTROL">Epigraph control macros</a>
  280. </ul>
  281. <p>
  282. <a href="definitions.html#TERMS_EPIGRAPH">Epigraphs</a>
  283. colour, flavour, or comment on the document they precede. Typically,
  284. they are centred at the top of a document's first page (underneath the
  285. title) and set in a smaller point size than that of paragraph text.
  286. <p>
  287. By default, <strong>mom</strong> sets epigraphs centred and
  288. <a href="definitions.html#TERMS_NOFILL">unfilled</a>;
  289. this lets you input them on a line for line basis. This behaviour
  290. can be changed to accomodate
  291. <a href="definitions.html#TERMS_FILLED">filled</a>
  292. epigraph &quot;blocks.&quot;
  293. <p>
  294. <!---EPIGRAPH--->
  295. <hr width="66%" align="left">
  296. <p>
  297. <a name="EPIGRAPH">
  298. <nobr>Macro: <strong>EPIGRAPH</strong> &lt;toggle&gt; | [ BLOCK ]</a></nobr>
  299. </a>
  300. <p>
  301. <strong>EPIGRAPH</strong> is a toggle, used like this:
  302. <p>
  303. <pre>
  304. .EPIGRAPH
  305. &lt;text of epigraph&gt;
  306. .EPIGRAPH OFF
  307. </pre>
  308. <strong>OFF</strong>, above, could be anything -- say, Q or X --
  309. since any argument other than <strong>BLOCK</strong> turns it off.
  310. <p>
  311. If given the argument <strong>BLOCK</strong>, <strong>EPIGRAPH</strong>
  312. sets epigraphs
  313. <a href="definitions.html#TERMS_FILLED">filled</a>,
  314. justified or quadded in the same direction as paragraphs, indented
  315. equally from both the left and right margins.
  316. <p>
  317. If a block-style epigraph runs to more than one paragraph (unlikely,
  318. but conceivable), you <strong>MUST</strong> introduce every paragraph
  319. -- <u>INCLUDING THE FIRST!!!</u> -- with the
  320. <a href="#PP">PP</a>
  321. tag.
  322. <p>
  323. <strong>NOTE:</strong> <strong>EPIGRAPH</strong> should only be
  324. used at the top of a document (i.e. just after
  325. <a href="docprocessing.html#START">START</a>)
  326. or after
  327. <a href="#HEAD_INTRO">heads</a>. The latter is not especially
  328. recommended, but it does work. In all other places where you
  329. want quotes or cited text, use
  330. <a href="#QUOTE">QUOTE</a>
  331. or
  332. <a href="#BLOCKQUOTE">BLOCKQUOTE</a>.
  333. <p>
  334. <a name="EPIGRAPH_CONTROL"><h3><u>Epigraph control macros</u></h3></a>
  335. <p>
  336. See
  337. <a href="#CONTROL_MACRO_ARGS">Arguments to the control macros</a>.
  338. <p>
  339. <pre>
  340. .EPIGRAPH_FAMILY default = prevailing document family; default is Times Roman
  341. .EPIGRAPH_FONT default = roman
  342. .EPIGRAPH_SIZE default = -1.5 (points)
  343. .EPIGRAPH_COLOR default = black
  344. .EPIGRAPH_AUTOLEAD default = 2 points
  345. (The next two apply to &quot;block&quot; style epigraphs only)
  346. .EPIGRAPH_QUAD default = same as paragraphs
  347. .EPIGRAPH_INDENT* default = para indent x 3 (for typeset), x 2 (for typewrite)
  348. *Indent here refers to the indent from both the left and right margins
  349. that centres the block style epigraph on the page.
  350. </pre>
  351. <hr>
  352. <!====================================================================>
  353. <a name="PP_INTRO"><h2><u>Paragraphs</u></h2></a>
  354. <ul>
  355. <li><a href="#PP">Tag: PP</a>
  356. <li><a href="#PP_CONTROL">Paragraph control macros</a>
  357. </ul>
  358. <p>
  359. The paragraph macro is the one you use most often. Consequently,
  360. it's one of most powerful, yet simplest to use -- just the letters
  361. <strong>PP</strong>. No arguments, nothing. Just <kbd>.PP</kbd>
  362. on a line by itself any time, in any document element, tells
  363. <strong>mom</strong> you want to start a new paragraph. The spacing
  364. and indent appropriate to where you are in your document are taken
  365. care of automatically.
  366. <p>
  367. By default, <strong>mom</strong> does not indent the first paragraph
  368. of a document, nor paragraphs that fall immediately after
  369. <a href="#HEAD_INTRO">heads</a>
  370. or
  371. <a href="#SUBHEAD_INTRO">subheads</a>.
  372. The first paragraphs of blockquotes and block-style epigraphs are
  373. also not indented. This behaviour can be changed with the control
  374. macro
  375. <a href="#PARA_INDENT_FIRST">INDENT_FIRST_PARAS</a>.
  376. <p>
  377. In contrast to some other macro packages, <strong>mom</strong> does not
  378. deposit a blank line between paragraphs. If you want her to do so, use
  379. the control macro <strong>PARA_SPACE</strong>. (I don't recommend
  380. using this macro with
  381. <a href="typesetting.html#PRINTSTYLE">PRINTSTYLE TYPEWRITE</a>.)
  382. <p>
  383. Note that <strong>mom</strong> does not provide &quot;orphan
  384. control&quot; for paragraphs (i.e. even if only one line of a paragraph
  385. fits at the bottom of a page, she will set it on that page). The
  386. reason for this is that writers of fiction often have single-line
  387. paragraphs (e.g. in dialogue). Groff's simplistic orphan control
  388. will break these one-liners -- if they fall at the bottom of the page
  389. -- to a new page, which is not what you want.
  390. <p>
  391. <strong>TIP:</strong> The last thing you want while you're writing
  392. and editing drafts of a document (particularly stories and chapters)
  393. is a text file cluttered up with <strong>PP</strong>'s. The visual
  394. interruption in the flow of text is a serious obstacle to creativity
  395. and critiquing.
  396. <p>
  397. I use the tab key on my keyboard to indent paragraphs when I'm writing,
  398. producing a text file that looks pretty much like what you see on
  399. a printed page. When it comes time to format and print the file,
  400. I run it through a sed script that (amongst other things) converts
  401. the character generated by the tab key (<kbd>^I</kbd>) into <code>.PP</code>
  402. (plus a new line), and pipe the output to groff for processing and
  403. printing.
  404. <p>
  405. Another solution is to insert a blank line between paragraphs.
  406. The blank lines can then be sedded out at print time as above, or,
  407. more conveniently, you can use the <code>.blm</code>
  408. <a href="definitions.html#TERMS_PRIMITIVES">primitive</a>
  409. (blank line macro) to instruct groff (and <strong>mom</strong>)
  410. that blank lines should be interpreted as <strong>PP</strong>'s.
  411. <p>
  412. <pre>
  413. .blm PP
  414. </pre>
  415. tells groff that all blank lines are really the macro <strong>PP</strong>.
  416. <p>
  417. <!---PP--->
  418. <hr width="66%" align="left">
  419. <p>
  420. <a name="PP">
  421. Macro: <strong>PP</strong>
  422. </a>
  423. <p>
  424. <strong>PP</strong> (on a line by itself, of course) tells mom to
  425. start a new paragraph. See
  426. <a href="#PP_INTRO">above</a>
  427. for more details. In addition to regular text paragraphs, you can
  428. use <strong>PP</strong> in
  429. <a href="#EPIGRAPH_INTRO">epigraphs</a>,
  430. <a href="#BLOCKQUOTE_INTRO">blockquotes</a>
  431. and
  432. <a href="#FOOTNOTE_INTRO">footnotes</a>.
  433. <a name="PP_CONTROL"><h3><u>Paragraph control macros</u></h3></a>
  434. <p>
  435. The <strong>PP</strong> being so important, and representing, as
  436. it were, the basis of everything that goes on in a document, its
  437. control is managed in a manner somewhat different from other document
  438. element tags.
  439. <p>
  440. <ol>
  441. <li><a href="#PP_FAMILY">Family control</a>
  442. <li><a href="#PP_FONT">Font control</a>
  443. <li><a href="#PP_COLOR">Paragraph colour</a>
  444. <li><a href="#PP_LEADING">Leading/linespacing control</a>
  445. <li><a href="#PP_JUST_QUAD">Justification/quad control</a>
  446. <li><a href="#PARA_INDENT">First-line indent control</a>
  447. <li><a href="#PARA_INDENT_FIRST">Initial paragraphs indent control</a>
  448. <li><a href="#PP_SPACE">Paragraph spacing control</a>
  449. </ol>
  450. <a name="PP_FAMILY"><h3><u>1. Family</u></h3></a>
  451. <p>
  452. The paragraph
  453. <a href="definitions.html#TERMS_FAMILY">family</a>
  454. is set with
  455. <a href="typesetting.html#FAMILY">FAMILY</a>
  456. prior to
  457. <a href="docprocessing.html#START">START</a>,
  458. or
  459. <a href="docprocessing.html#DOC_FAMILY">DOC_FAMILY</a>
  460. afterwards. Please note that both globally affect the family of
  461. every element in the document.
  462. <p>
  463. If you wish to change the family for regular
  464. text paragraphs only, invoke <strong>FAMILY</strong> immediately
  465. after <strong>PP</strong> in EVERY paragraph whose family you wish
  466. to differ from the prevailing document family.
  467. <p>
  468. <strong>Mom</strong>'s default paragraph (and document) family
  469. is Times Roman.
  470. <p>
  471. <a name="PP_FONT"><h3><u>2. Font -- PP_FONT</u></h3></a>
  472. <p>
  473. To change the
  474. <a href="definitions.html#TERMS_FONT">font</a>
  475. used in regular text paragraphs, use <code>.PP_FONT</code>,
  476. which takes the same argument as
  477. <a href="typesetting.html#FONT">FT</a>.
  478. <strong>PP_FONT</strong> may be used before or after
  479. <a href="docprocessing.html#START">START</a>.
  480. Only regular text paragraphs are affected; paragraphs in
  481. <a href="#EPIGRAPH_INTRO">epigraphs</a>,
  482. <a href="#BLOCKQUOTE_INTRO">blockquotes</a>
  483. and
  484. <a href="#FOOTNOTE_INTRO">footnotes</a>
  485. remain at their default setting (medium roman) unless you change them
  486. with the appropriate control macros.
  487. <p>
  488. <strong>Mom</strong>'s default paragraph font is medium roman.
  489. <p>
  490. <a name="PP_COLOR"><h3><u>3. Paragraph colour</u></h3></a>
  491. <p>
  492. <strong>Mom</strong> has no special control macro for colourizing
  493. paragraphs. If you wish a colourized paragraph, you must use the
  494. macro,
  495. <a href="color.html#COLOR">COLOR</a>,
  496. or the
  497. <a href="definitions.html#TERMS_INLINE">inline escape</a>,
  498. <a href="color.html#COLOR_INLINE">\*[&lt;colorname&gt;]</a>,
  499. <em>after</em> <strong>.PP</strong>. The colour must be one
  500. pre-defined (or &quot;initialized&quot;) with
  501. <a href="color.html#NEWCOLOR">NEWCOLOR</a>
  502. or
  503. <a href="color.html#XCOLOR">XCOLOR</a>.
  504. <p>
  505. Please note that unless you change the colour back to it's default
  506. (usually black) at the end of the paragraph, all subsequent
  507. paragraphs will be set in the new colour, although most other
  508. elements of your document will continue to be set in the default
  509. colour (usually black).
  510. <p>
  511. For example, assuming you have defined the colour, blue,
  512. <p>
  513. <pre>
  514. .PP
  515. .COLOR blue
  516. &lt;first paragraph&gt;
  517. .HEAD "Monty Python"
  518. .SUBHEAD "The Origins of Spam"
  519. .PP
  520. &lt;second paragraph&gt;
  521. </pre>
  522. the first paragraph will be blue, the head and subhead will be in
  523. the document's default colour (usually black), and the second
  524. paragraph will be in blue.
  525. <p>
  526. The one document element that is affected by changing the colour
  527. of paragraphs are
  528. <a href="#PARAHEAD">paraheads</a>,
  529. since they are attached directly to the body of paragraphs. In
  530. other words, if you change the colour of a paragraph and do not
  531. reset the paragraph colour back to its default, subsequent paraheads
  532. will appear in the same colour as your paragraphs unless you have
  533. explicitly told <strong>mom</strong> you want a pre-defined (or
  534. &quot;initialized&quot;) color (usually black) for your paraheads.
  535. <p>
  536. See the footnote to
  537. <a href="#PARAHEAD_COLOR">.PARAHEAD_COLOR</a>.
  538. <a name="PP_LEADING"><h3><u>4. Leading</u></h3></a>
  539. <p>
  540. The paragraph
  541. <a href="definitions.html#TERMS_LEADING">leading</a>
  542. is set with
  543. <a href="typesetting.html#LEADING">LS</a>
  544. prior to
  545. <a href="docprocessing.html#START">START</a>,
  546. or
  547. <a href="docprocessing.html#DOC_LEAD">DOC_LEAD</a>
  548. afterwards. Please note that either method globally affects the
  549. leading and spacing of every document element (except
  550. <a href="definitions.html#TERMS_HEADER">headers</a>
  551. and
  552. <a href="definitions.html#TERMS_FOOTER">footers</a>).
  553. <p>
  554. If you wish to change the leading of regular text paragraphs only,
  555. invoke <strong>LS</strong> immediately after <strong>PP</strong> in
  556. EVERY paragraph whose leading you wish to change.
  557. <p>
  558. <strong>HYPER-IMPORTANT NOTE:</strong> It is extremely unwise to change
  559. paragraph leading with <strong>LS</strong>, as it will, in all cases,
  560. screw up <strong>mom</strong>'s ability to balance the bottom margin
  561. of pages. Should you absolutely need to change paragraph leading
  562. with <strong>LS</strong>, and subsequently want <strong>mom</strong>
  563. to get back on the right leading track, use the
  564. <a href="docprocessing.html#SHIM">SHIM</a>
  565. macro.
  566. <p>
  567. <strong>Mom</strong>'s default paragraph leading (document leading)
  568. is 16 points, adjusted to fill the page.
  569. <p>
  570. <a name="PP_JUST_QUAD"><h3><u>5. Justification/quad</u></h3></a>
  571. <p>
  572. The justification/quad-direction of regular text paragraphs (i.e.
  573. <a href="definitions.html#TERMS_JUST">justified</a>,
  574. or
  575. <a href="definitions.html#TERMS_FILLED">filled</a>
  576. and
  577. <a href="definitions.html#TERMS_QUAD">quadded</a>
  578. left/right/centre) is set with
  579. <a href="typesetting.html#JUSTIFY">JUSTIFY</a>
  580. or
  581. <a href="typesetting.html#QUAD">QUAD</a>
  582. prior to
  583. <a href="docprocessing.html#START">START</a>,
  584. and with
  585. <a href="docprocessing.html#DOC_QUAD">DOC_QUAD</a>
  586. afterwards.
  587. <p>
  588. Please note that either method of setting the paragraph
  589. justification/quad-direction also affects
  590. <a href="#EPIGRAPH_INTRO">epigraphs</a>
  591. and
  592. <a href="#FOOTNOTE_INTRO">footnotes</a>,
  593. but not
  594. <a href="#BLOCKQUOTE_INTRO">blockquotes</a>
  595. (whose default is QUAD LEFT unless you change it with
  596. <a href="#BLOCKQUOTE">BLOCKQUOTE_QUAD</a>).
  597. The justification/quad-direction of epigraphs and footnotes may
  598. be changed with their own control macros.
  599. <p>
  600. If you wish to change the justification/quad-direction of
  601. individual paragraphs, use <strong>JUSTIFY</strong> or
  602. <strong>QUAD</strong> immediately after <strong>PP</strong>.
  603. Only the paragraph in question gets justified or quadded
  604. differently; subsequent paragraphs remain unaffected.
  605. <p>
  606. <strong>Mom</strong>'s default justification/quad-direction for
  607. paragraphs is
  608. <br>
  609. <ul>
  610. <li>justified, for
  611. <a href="docprocessing.html#PRINTSTYLE">PRINTSTYLE_TYPESET</a>
  612. <li>quad left, for
  613. <a href="docprocessing.html#PRINTSTYLE">PRINTSTYLE_TYPEWRITE</a>
  614. </ul>
  615. <p>
  616. <a name="PARA_INDENT"><h3><u>6. First-line indent -- PARA_INDENT</u></h3></a>
  617. <p>
  618. The first-line indent of paragraphs is controlled by
  619. <strong>PARA_INDENT</strong>, which takes one argument: the size
  620. of the indent. <strong>PARA_INDENT</strong> may be used before
  621. or after
  622. <a href="docprocessing.html#START">START</a>.
  623. A
  624. <a href="definitions.html#TERMS_UNITOFMEASURE">unit of measure</a>
  625. is required; fractional sizes are allowed. Thus, to set the paragraph
  626. indent to 4-1/2
  627. <a href="definitions.html#TERMS_EM">ems</a>, do
  628. <p>
  629. <pre>
  630. .PARA_INDENT 4.5m
  631. </pre>
  632. In addition to establishing the basic first line-indent of
  633. paragraphs, <strong>PARA_INDENT</strong> also affects
  634. <a href="#EPIGRAPH_INTRO">epigraphs</a>,
  635. <a href="#QUOTE_INTRO">quotes</a>
  636. and
  637. <a href="#BLOCKQUOTE_INTRO">blockquotes</a>,
  638. whose overall indenting from the left and (where applicable) right
  639. margins is relative to <strong>PARA_INDENT</strong>. Furthermore, the
  640. first-line indent of paragraphs within these document elements (as well
  641. as footnotes) is also relative to <strong>PARA_INDENT</strong> (always
  642. 1/2 of <strong>PARA_INDENT)</strong>), hence they are also affected.
  643. <p>
  644. <strong>Mom</strong>'s default <strong>PARA_INDENT</strong> is 2
  645. ems for
  646. <a href="docprocessing.html#PRINTSTYLE">PRINTSTYLE_TYPESET</a>
  647. and 3 picas (1/2 inch) for
  648. <a href="docprocessing.html#PRINTSTYLE">PRINTSTYLE_TYPEWRITE</a>.
  649. <p>
  650. <a name="PARA_INDENT_FIRST"><h3><u>7. Indenting initial paragraphs -- INDENT_FIRST_PARAS</u></h3></a>
  651. <p>
  652. By default, <strong>mom</strong> does not indent the first paragraph
  653. of a document, nor the first paragraph after a head or
  654. subhead, nor the first paragraphs of
  655. <a href="#EPIGRAPH_INTRO">epigraphs</a>,
  656. <a href="#BLOCKQUOTE_INTRO">blockquotes</a>
  657. or
  658. <a href="#FOOTNOTE_INTRO">footnotes</a>
  659. that run to more than one paragraph.
  660. <a name="INDENT_FIRST_PARAS"></a>
  661. <p>
  662. If you wish to have first paragraphs indented, invoke the macro
  663. <strong>.INDENT_FIRST_PARAS</strong> with no argument, either
  664. before or after
  665. <a href="docprocessing.html#START">START</a>.
  666. <strong>INDENT_FIRST_PARAS</strong> is a toggle macro, therefore
  667. passing it any argument (<strong>OFF, QUIT, Q, X</strong>...) cancels
  668. its effect, meaning that first paragraphs will once again NOT be
  669. indented.
  670. <p>
  671. <a name="PP_SPACE"><h3><u>8. Spacing paragraphs -- PARA_SPACE</u></h3></a>
  672. <p>
  673. By default, <strong>mom</strong> does not insert a blank line
  674. between paragraphs. If you would like her to do so, invoke the
  675. macro <code>.PARA_SPACE</code> with no argument, either
  676. before or after
  677. <a href="docprocessing.html#START">START</a>.
  678. <strong>PARA_SPACE</strong> is a toggle macro, therefore passing
  679. it any argument (<strong>OFF, QUIT, Q, X</strong>...) cancels its
  680. effect, meaning that paragraphs will once again NOT be separated by
  681. a blank line.
  682. <p>
  683. <strong>NOTE:</strong> If <strong>PARA_SPACE</strong> is on,
  684. <strong>mom</strong> spaces only those paragraphs that come after
  685. an &quot;initial&quot; paragraph. Initial paragraphs are those
  686. that come immediately after the
  687. <a href="definitions.html#TERMS_DOCHEADER">docheader</a>,
  688. <a href="#EPIGRAPH_INTRO">epigraphs</a>,
  689. <a href="#HEAD_INTRO">heads</a>,
  690. <a href="#SUBHEAD_INTRO">subheads</a>
  691. and
  692. <a href="#LINEBREAK_INTRO">linebreaks</a>.
  693. (The first paragraph after these document elements requires no
  694. blank line to separate it from other paragraphs.)
  695. <p>
  696. Sometimes, you can be fairly deep into a document before using
  697. <strong>.PP</strong> for the first time, and when you do, because
  698. <strong>mom</strong> is still waiting for that &quot;initial&quot;
  699. paragraph, she doesn't space it with a blank line, even though
  700. you expect her to. The simple workaround for this is to invoke
  701. <strong>.PP</strong> <em>twice</em> (in succession) at the point you
  702. expect the blank line to appear.
  703. <br>
  704. <hr>
  705. <!====================================================================>
  706. <a name="HEAD_INTRO"><h2><u>Main heads</u></h2></a>
  707. <ul>
  708. <li><a href="#HEAD">Tag: HEAD</a>
  709. <li><a href="#HEAD_CONTROL">Head control macros</a>
  710. </ul>
  711. <p>
  712. Main heads -- or, in this documentation, just &quot;heads&quot;
  713. -- should be used any place you want titles to introduce major
  714. sections of a document. If you wish, <strong>mom</strong> can number
  715. your heads for you. Head numbers can also be included
  716. hierarchically in numbered
  717. <a href="#SUBHEAD_INTRO">subheads</a>
  718. and
  719. <a href="#PARAHEAD_INTRO">paraheads</a>.
  720. <p>
  721. By default, heads are centred on the page, underlined,
  722. all in caps. A double linespace precedes each head. In <a
  723. href="docprocessing.html#PRINTSTYLE">PRINTSTYLE TYPESET</a>, heads
  724. are bold, slightly larger than paragraph text.
  725. <p>
  726. If these defaults don't suit you, you can change them with the
  727. head control macros.
  728. <p>
  729. <!---HEAD--->
  730. <hr width="66%" align="left">
  731. <p>
  732. <a name="HEAD">
  733. <nobr>Macro: <strong>HEAD</strong> &quot;&lt;text of head&gt;&quot; [ &quot;&lt;2nd line&gt;&quot; [ &quot;&lt;3rd line&gt;&quot; ... ] ]</nobr>
  734. </a>
  735. <p>
  736. The argument to <strong>HEAD</strong> is the text of the head,
  737. surrounded by double-quotes. If you need additional lines for a
  738. head, simply surround each line with double-quotes.
  739. <p>
  740. <strong>NOTE:</strong> If a head falls near the bottom of an output page
  741. and <strong>mom</strong> is unable to fit the head <em>plus at least
  742. one line of text underneath it</em>, she will set the head at the
  743. top of the next page.
  744. <p>
  745. <strong>ADDITIONAL NOTE:</strong> If an
  746. <a href="definitions.html#TERMS_INPUTLINE">input line</a>
  747. in a head (i.e. one of the lines surrounded by double-quotes) has
  748. to be broken by <strong>mom</strong> in order to fit the current
  749. line-length (say, a narrow column measure), the head underline
  750. (underscore) will not behave. You'll recognize the problem as soon
  751. as you preview your document. If you encounter a head that
  752. misbehaves with respect to underlining, the solution is to
  753. supply each line <em>as you want it</em> as a separate argument
  754. (surrounded by double-quotes) to the <strong>HEAD</strong> macro.
  755. <p>
  756. For example, if <strong>mom</strong> breaks
  757. <pre>
  758. .HEAD "This is a very, very, very long head"
  759. </pre>
  760. into
  761. <pre>
  762. This is a very, very, very
  763. long head
  764. </pre>
  765. you'll see the misbehaving underscore and should change the
  766. argument to <strong>HEAD</strong> to
  767. <pre>
  768. .HEAD "This is a very, very very" "long head"
  769. </pre>
  770. <a name="HEAD_CONTROL"><h3><u>Head control macros</u></h3></a>
  771. <p>
  772. There are, in addition to the usual family/font/size/quad control
  773. macros, a number of macros to manage head numbering, spacing,
  774. underlining, and so on. Check them out if you're unhappy with
  775. <strong>mom</strong>'s defaults.
  776. <p>
  777. <ol>
  778. <li><a href="#HEAD_GENERAL">Family/font/size/colour/quad</a>
  779. <li><a href="#HEAD_CAPS">Caps</a>
  780. <li><a href="#HEAD_SPACE">Pre-head space</a>
  781. <li><a href="#HEAD_UNDERLINE">Underlining</a>
  782. <li><a href="#NUMBER_HEADS">Numbering</a>
  783. <li><a href="#RESET_HEAD_NUMBER">Reset head numbering</a>
  784. <li><a href="#HEAD_INLINES">Vertical inline escapes inside heads</a>
  785. </ol>
  786. <p>
  787. <a name="HEAD_GENERAL"><h3><u>1. Family/font/size/colour/quad</u></h3></a>
  788. <p>
  789. See
  790. <a href="#CONTROL_MACRO_ARGS">Arguments to the control macros</a>.
  791. <p>
  792. <pre>
  793. .HEAD_FAMILY default = prevailing document family; default is Times Roman
  794. .HEAD_FONT default = bold
  795. .HEAD_SIZE default = +1 (point)
  796. .HEAD_COLOR default = black
  797. .HEAD_QUAD default = CENTER
  798. </pre>
  799. <a name="HEAD_CAPS"><h3><u>2. Capitalizing heads -- HEAD_CAPS</u></h3></a>
  800. <p>
  801. By default, <strong>mom</strong> sets heads in caps, regardless
  802. of the
  803. <a href="definitions.html#TERMS_STRINGARGUMENT">string(s)</a>
  804. you give to
  805. <a href="#HEAD">HEAD</a>.
  806. To change this behaviour, do
  807. <p>
  808. <pre>
  809. .HEAD_CAPS OFF
  810. </pre>
  811. <strong>HEAD_CAPS</strong> is a toggle macro, therefore you can use
  812. any argument you like instead of <strong>OFF</strong> (<strong>END,
  813. QUIT, Q, X</strong>...). To turn <strong>HEAD_CAPS</strong> back on,
  814. simply invoke it without an argument.
  815. <p>
  816. <a name="HEAD_SPACE"><h3><u>3. Space before heads -- HEAD_SPACE</u></h3></a>
  817. <p>
  818. By default, <strong>mom</strong> deposits 2 blank lines prior to every
  819. head. If you'd prefer just a single blank line, do
  820. <p>
  821. <pre>
  822. .HEAD_SPACE OFF
  823. </pre>
  824. <strong>HEAD_SPACE</strong> is a toggle macro, therefore you can use
  825. any argument you like instead of <strong>OFF</strong> (<strong>END,
  826. QUIT, Q, X</strong>...). To restore the space before heads to 2
  827. blank lines, invoke <strong>HEAD_SPACE</strong> without an argument.
  828. <p>
  829. <a name="HEAD_UNDERLINE"><h3><u>4. Underlining heads -- HEAD_UNDERLINE</u></h3></a>
  830. <p>
  831. By default, <strong>mom</strong> underlines heads. To change this
  832. behaviour, do
  833. <p>
  834. <pre>
  835. .HEAD_UNDERLINE OFF
  836. </pre>
  837. <strong>HEAD_UNDERLINE</strong> is a toggle macro, therefore you can
  838. use any argument you like instead of <strong>OFF</strong> (<strong>END,
  839. QUIT, Q, X</strong>...). To restore underlining of heads, invoke
  840. <strong>HEAD_UNDERLINE</strong> without an argument.
  841. <p>
  842. <a name="NUMBER_HEADS"><h3><u>5. Number heads -- NUMBER_HEADS</u></h3></a>
  843. <p>
  844. If you'd like your heads numbered, simply invoke
  845. <strong>NUMBER_HEADS</strong> with no argument. <strong>Mom</strong>
  846. will number all subsequent heads automatically (in ascending order,
  847. naturally).
  848. <p>
  849. If, in addition to numbering heads, you also request that
  850. <a href="#SUBHEAD_INTRO">subheads</a>
  851. and/or
  852. <a href="#PARAHEAD_INTRO">paraheads</a>
  853. be numbered, the head number will be included in their numbers
  854. (each number separated by a period [dot]).
  855. <p>
  856. Should you wish to stop head numbering, invoke
  857. <strong>NUMBER_HEADS</strong> with any argument (<strong>OFF, QUIT,
  858. END, X</strong>...). Head numbering will cease, and the head number
  859. will not be included in the numbering of subheads and/or paraheads.
  860. <p>
  861. <a name="RESET_HEAD_NUMBER"><h3><u>6. Reset head numbering -- RESET_HEAD_NUMBER</u></h3></a>
  862. <p>
  863. Should you wish to reset the head number to &quot;1&quot;, invoke
  864. <strong>RESET_HEAD_NUMBER</strong> with no argument. If, for some
  865. reason, you want <strong>mom</strong> to use a head number that is not
  866. the next in ascending order (i.e. the last head number + 1), invoke
  867. <strong>RESET_HEAD_NUMBER</strong> with the number you want, e.g.
  868. <p>
  869. <pre>
  870. .RESET_HEAD_NUMBER 6
  871. </pre>
  872. Your next head will be numbered &quot;6&quot; and subsequent heads will
  873. be numbered in ascending order from &quot;6&quot;.
  874. <p>
  875. <a name="HEAD_INLINES"><h3><u>7. Vertical inline escapes inside heads</u></h3></a>
  876. <p>
  877. If you need to adjust the
  878. <a href="definitions.html#TERMS_BASELINE">baseline</a>
  879. position of a head (e.g. the head falls at the top of a column and
  880. you want its
  881. <a href="definitions.html#TERMS_ASCENDER">ascenders</a>
  882. to line up with the ascenders of
  883. <a href="definitions.html#TERMS_RUNNING">running text</a>
  884. in other columns), you can embed a vertical motion
  885. <a href="definitions.html#TERMS_INLINES">inline escape</a>
  886. (either
  887. <a href="inlines.html#INLINE_VERTICAL_MOM">mom</a>'s
  888. or
  889. <a href="inlines.html#INLINE_VERTICAL_GROFF">groff</a>'s
  890. in the string(s) you pass to <strong>HEAD</strong>
  891. <p>
  892. For example,
  893. <p>
  894. <pre>
  895. .HEAD "\[ALD3]Text of head"
  896. or
  897. .HEAD "\[DOWN 3p]Text of head"
  898. </pre>
  899. will lower the baseline of the head by three points. Note that
  900. there's no need to reverse the sense of the inline escape.
  901. <p>
  902. In the case of heads that run to more than one line, you must embed
  903. the escape in the string for each line, like this:
  904. <p>
  905. <pre>
  906. .HEAD "\[ALD3]First line" "\[ALD3]Next line"
  907. or
  908. .HEAD "\[DOWN 3p]First line" "\[DOWN 3p]Next line"
  909. </pre>
  910. <hr>
  911. <!====================================================================>
  912. <a name="SUBHEAD_INTRO"><h2><u>Subheads</u></h2></a>
  913. <ul>
  914. <li><a href="#SUBHEAD">Tag: SUBHEAD</a>
  915. <li><a href="#SUBHEAD_CONTROL">Subhead control macros</a>
  916. </ul>
  917. <p>
  918. Subheads should be used any place you want titles to introduce
  919. sections of a document below heads. If you wish, <strong>mom</strong>
  920. can number subheads for you. Subhead numbers can also be included
  921. hierarchically in numbered
  922. <a href="#PARAHEAD_INTRO">paraheads</a>.
  923. <p>
  924. By default, subheads are flush left. In
  925. <a href="docprocessing.html#PRINTSTYLE">PRINTSTYLE TYPESET</a>,
  926. they are set bold, slightly larger than paragraph text. In
  927. <a href="docprocessing.html#PRINTSTYLE">PRINTSTYLE TYPEWRITE</a>,
  928. they are underlined. A single linespace precedes them in both
  929. printstyles, and a tiny space adjustment raises them slightly
  930. above text that comes afterwards for greater clarity in
  931. document structuring.
  932. <p>
  933. If these defaults don't suit you, you can change them with the
  934. subhead control macros.
  935. <p>
  936. <!---SUBHEAD--->
  937. <hr width="66%" align="left">
  938. <p>
  939. <a name="SUBHEAD">
  940. <nobr>Macro: <strong>SUBHEAD</strong> &quot;&lt;text of subhead&gt;&quot; [ &quot;&lt;2nd line&gt;&quot; [ &quot;&lt;3rd line&gt;&quot; ... ] ]</nobr>
  941. </a>
  942. <p>
  943. The argument to <strong>SUBHEAD</strong> is the text of the subhead,
  944. surrounded by double-quotes. If you need additional lines for a
  945. subhead, simply surround each line with double-quotes.
  946. <p>
  947. <strong>NOTE:</strong> If a subhead falls near the bottom of an output
  948. page and <strong>mom</strong> is unable to fit the head <em>plus at
  949. least one line of text underneath it</em>, she will set the subhead
  950. at the top of the next page.
  951. <a name="SUBHEAD_CONTROL"><h3><u>Subhead control macros</u></h3></a>
  952. <p>
  953. In addition to the usual family/font/size/quad control
  954. macros, there are macros to manage subhead numbering.
  955. <p>
  956. <ol>
  957. <li><a href="#SUBHEAD_GENERAL">Family/font/size/colour/quad</a>
  958. <li><a href="#NUMBER_SUBHEADS">Numbering</a>
  959. <li><a href="#RESET_SUBHEAD_NUMBER">Reset subhead numbering</a>
  960. <li><a href="#SUBHEAD_INLINES">Vertical inline escapes inside subheads</a>
  961. </ol>
  962. <p>
  963. <a name="SUBHEAD_GENERAL"><h3><u>1. Family/font/size/quad</u></h3></a>
  964. <p>
  965. See
  966. <a href="#CONTROL_MACRO_ARGS">Arguments to the control macros</a>.
  967. <p>
  968. <pre>
  969. .SUBHEAD_FAMILY default = prevailing document family; default is Times Roman
  970. .SUBHEAD_FONT default = bold
  971. .SUBHEAD_SIZE default = +.5 (point)
  972. .SUBHEAD_COLOR default = black
  973. .SUBHEAD_QUAD default = LEFT
  974. </pre>
  975. <a name="NUMBER_SUBHEADS"><h3><u>2. Number subheads -- NUMBER_SUBHEADS</u></h3></a>
  976. <p>
  977. If you'd like your subheads numbered, simply invoke
  978. <strong>.NUMBER_SUBHEADS</strong> with no argument.
  979. <strong>Mom</strong> will number all subsequent subheads automatically
  980. (in ascending order, naturally).
  981. <p>
  982. If, in addition to numbering subheads, you also request that
  983. <a href="#HEAD_INTRO">heads</a>
  984. be numbered, the head number will be included in the subhead number
  985. (separated by a period [dot]).
  986. <p>
  987. Should you wish to stop subhead numbering, invoke
  988. <strong>NUMBER_SUBHEADS</strong> with any argument (<strong>OFF, QUIT,
  989. END, X</strong>...). Subhead numbering will cease, and the subhead
  990. number will not be included in the numbering of paraheads.
  991. <p>
  992. <a name="RESET_SUBHEAD_NUMBER"><h3><u>3. Reset head numbering -- RESET_SUBHEAD_NUMBER</u></h3></a>
  993. <p>
  994. Should you wish to reset the subhead number to &quot;1&quot;, invoke
  995. <strong>RESET_SUBHEAD_NUMBER</strong> with no argument. If, for some
  996. reason, you want <strong>mom</strong> to use a subhead number that is not
  997. the next in ascending order (i.e. the last subhead number + 1), invoke
  998. <strong>RESET_SUBHEAD_NUMBER</strong> with the number you want, e.g.
  999. <p>
  1000. <pre>
  1001. .RESET_SUBHEAD_NUMBER 4
  1002. </pre>
  1003. Your next subhead will be numbered &quot;4&quot; and subsequent
  1004. subheads will be numbered in ascending order from &quot;4&quot;.
  1005. <a name="SUBHEAD_INLINES"><h3><u>Vertical inline escapes inside subheads</u></h3></a>
  1006. See
  1007. <a href="#HEAD_INLINES">Vertical inline escapes inside heads</a>.
  1008. The information there applies equally to subheads.
  1009. <p>
  1010. <hr>
  1011. <!====================================================================>
  1012. <a name="PARAHEAD_INTRO"><h2><u>Paragraph heads</u></h2></a>
  1013. <ul>
  1014. <li><a href="#PARAHEAD">Tag: PARAHEAD</a>
  1015. <li><a href="#PARAHEAD_CONTROL">Parahead control macros</a>
  1016. </ul>
  1017. <p>
  1018. Paragraph heads (paraheads) should be used any place you want titles
  1019. to introduce paragraphs below heads or subheads. If you wish,
  1020. <strong>mom</strong> can number paraheads for you.
  1021. <p>
  1022. By default, paraheads are joined to the body of a paragraph,
  1023. slightly indented (provided the paragraph is not a
  1024. &quot;first&quot; paragraph as defined in
  1025. <a href="#PARA_INDENT_FIRST">Indenting initial paragraphs</a>).
  1026. In
  1027. <a href="docprocessing.html#PRINTSTYLE">PRINTSTYLE TYPESET</a>,
  1028. they are set bold italic, slightly larger than paragraph text. In
  1029. <a href="docprocessing.html#PRINTSTYLE">PRINTSTYLE TYPEWRITE</a>,
  1030. they are underlined.
  1031. <p>
  1032. If these defaults don't suit you, you can change them with the
  1033. parahead control macros.
  1034. <p>
  1035. <!---PARAHEAD--->
  1036. <hr width="66%" align="left">
  1037. <p>
  1038. <a name="PARAHEAD">
  1039. <nobr>Macro: <strong>PARAHEAD</strong> &quot;&lt;text of parahead&gt;&quot;</nobr>
  1040. </a>
  1041. <p>
  1042. <strong>PARAHEAD</strong> must come AFTER
  1043. <a href="#PP">PP</a>
  1044. or it will not work!
  1045. <p>
  1046. The argument is the text of the parahead, surrounded by double-quotes.
  1047. Because paraheads are joined to the body of a paragraph, they accept
  1048. only one argument (see
  1049. <a href="#HEAD">HEAD</a>
  1050. and
  1051. <a href="#SUBHEAD">SUBHEAD</a>).
  1052. <p>
  1053. <a name="PARAHEAD_CONTROL"><h3><u>Parahead control macros</u></h3></a>
  1054. <p>
  1055. In addition to the family/font/size/colour/indent control macros,
  1056. there are macros to manage parahead numbering.
  1057. <p>
  1058. <ol>
  1059. <li><a href="#PARAHEAD_GENERAL">Family/font/size/color</a>
  1060. <li><a href="#PARAHEAD_INDENT">Indent</a>
  1061. <li><a href="#NUMBER_PARAHEADS">Numbering</a>
  1062. <li><a href="#RESET_PARAHEAD_NUMBER">Reset parahead numbering</a>
  1063. </ol>
  1064. <p>
  1065. <a name="PARAHEAD_GENERAL"><h3><u>1. Family/font/size/colour</u></h3></a>
  1066. <p>
  1067. See
  1068. <a href="#CONTROL_MACRO_ARGS">Arguments to the control macros</a>.
  1069. <p>
  1070. <pre>
  1071. .PARAHEAD_FAMILY default = prevailing document family; default is Times Roman
  1072. .PARAHEAD_FONT default = bold italic
  1073. .PARAHEAD_SIZE default = +.5 (point)
  1074. <a name="PARAHEAD_COLOR">.PARAHEAD_COLOR default = black*</a>
  1075. *If you colourize paragraph text, paraheads will appear in the same
  1076. colour as the text unless you explicitly tell mom to colour them
  1077. otherwise by invoking .PARAHEAD_COLOR. If you do want paraheads
  1078. that are coloured the same as paragraph text, it's generally a good
  1079. idea to invoke .PARAHEAD_COLOR anyway (with the same colour used
  1080. for paragraph text), just to let mom know.
  1081. </pre>
  1082. <a name="PARAHEAD_INDENT"><h3><u>2. Indent</u></h3></a>
  1083. <p>
  1084. Unlike other control macros that end in
  1085. <a href="#CONTROL_INDENTS"><strong>_INDENT</strong></a>,
  1086. the argument to the macro that controls indenting of paragraph heads
  1087. (<strong>PARAHEAD_INDENT</strong>) is NOT relative to the first-line
  1088. indent of normal paragraphs. In other words, it takes an absolute
  1089. value, and requires a
  1090. <a href="definitions.html#TERMS_UNITOFMEASURE">unit of measure</a>.
  1091. For example, to set the paragraph head indent to 2-1/2 picas, you
  1092. do:
  1093. <p>
  1094. <pre>
  1095. .PARAHEAD_INDENT 2.5P
  1096. </pre>
  1097. <strong>Mom</strong>'s default indent for paragraph heads is 1/2
  1098. the first-line indent of normal paragraphs (both printstyles).
  1099. However, as stated above, if you choose to change the indent, you
  1100. must give an absolute value (unless you're a groff expert and want
  1101. to manipulate the number register <code>\n[#PP_INDENT]u</code>
  1102. arithmetically as the argument to <strong>PARAHEAD_INDENT</strong>
  1103. for an indent that's relative to <strong>PP_INDENT</strong>.)
  1104. <p>
  1105. <strong>NOTE:</strong> Paragraph heads in &quot;first
  1106. paragraphs&quot;, as defined in
  1107. <a href="#PARA_INDENT_FIRST">Indenting initial paragraphs</a>,
  1108. are not indented unless you turn
  1109. <a href="#INDENT_FIRST_PARAS">INDENT_FIRST_PARAS</a>
  1110. on.
  1111. <p>
  1112. <a name="NUMBER_PARAHEADS"><h3><u>3. Number paraheads -- NUMBER_PARAHEADS</u></h3></a>
  1113. <p>
  1114. If you'd like your paraheads numbered, simply invoke
  1115. <strong>.NUMBER_PARAHEADS</strong> with no argument.
  1116. <strong>Mom</strong> will number all subsequent paraheads automatically
  1117. (in ascending order, naturally).
  1118. <p>
  1119. If, in addition to numbering paraheads, you also request that
  1120. <a href="#HEAD_INTRO">heads</a>
  1121. and
  1122. <a href="#SUBHEAD_INTRO">subheads</a>
  1123. be numbered, the head and/or subhead number will be included in the
  1124. parahead number (separated by a period [dot]).
  1125. <p>
  1126. Should you wish to stop parahead numbering, invoke
  1127. <strong>NUMBER_PARAHEADS</strong> with any argument (<strong>OFF,
  1128. QUIT, END, X</strong>...). Parahead numbering will cease.
  1129. <p>
  1130. <a name="RESET_PARAHEAD_NUMBER"><h3><u>4. Reset head numbering -- RESET_PARAHEAD_NUMBER</u></h3></a>
  1131. <p>
  1132. Should you wish to reset the parahead number to &quot;1&quot;, invoke
  1133. <strong>RESET_PARAHEAD_NUMBER</strong> with no argument. If, for some
  1134. reason, you want <strong>mom</strong> to use a parahead number that is not
  1135. the next in ascending order (i.e. the last parahead number + 1), invoke
  1136. <strong>RESET_PARAHEAD_NUMBER</strong> with the number you want, e.g.
  1137. <p>
  1138. <pre>
  1139. .RESET_PARAHEAD_NUMBER 7
  1140. </pre>
  1141. Your next parahead will be numbered &quot;7&quot; and subsequent
  1142. paraheads will be numbered in ascending order from &quot;7&quot;.
  1143. <p>
  1144. <hr>
  1145. <!====================================================================>
  1146. <a name="LINEBREAK_INTRO"><h2><u>Author linebreaks</u></h2></a>
  1147. <ul>
  1148. <li><a href="#LINEBREAK">Tag: LINEBREAK</a>
  1149. <li><a href="#LINEBREAK_CHAR">Linebreak character control macro</a>
  1150. </ul>
  1151. <p>
  1152. By default, <strong>mom</strong> marks
  1153. <a href="definitions.html#TERMS_LINEBREAK">author linebreaks</a>
  1154. with three centred asterisks. You can change this behaviour
  1155. with the linebreak character
  1156. <a href="definitions.html#TERMS_CONTROLMACRO">control macro</a>.
  1157. <p>
  1158. <!---LINEBREAK--->
  1159. <hr width="66%" align="left">
  1160. <p>
  1161. <a name="LINEBREAK">
  1162. Macro: <strong>LINEBREAK</strong>
  1163. </a>
  1164. <br>
  1165. Alias: <strong>SECTION</strong>
  1166. <p>
  1167. <strong>LINEBREAK</strong> takes no arguments. Simply invoke it
  1168. (on a line by itself, of course) whenever you want to insert an
  1169. author linebreak. The appearance of the linebreak is controlled
  1170. by the
  1171. <a href="#LINEBREAK_CHAR">LINEBREAK_CHAR</a>
  1172. macro.
  1173. <h3><u>Linebreak character control macro</u></h3>
  1174. <p>
  1175. <a name="LINEBREAK_CHAR">
  1176. <nobr>Macro: <strong>LINEBREAK_CHAR</strong> [ &lt;character&gt; ] [ &lt;iterations&gt; [ &lt;vertical adjustment&gt; ] ]</nobr>
  1177. </a>
  1178. <br>
  1179. Alias: <strong>SECTION_CHAR</strong>
  1180. <br>
  1181. <em>*The third optional argument requires a
  1182. <a href="definitions.html#TERMS_UNITOFMEASURE">unit of measure</a></em>.
  1183. <p>
  1184. <strong>LINEBREAK_CHAR</strong> determines what <strong>mom</strong>
  1185. prints when <strong>LINEBREAK</strong> is invoked. It takes 3
  1186. optional arguments: the character you want deposited at the line
  1187. break, the number of times you want the character repeated, and a
  1188. vertical adjustment factor.
  1189. <p>
  1190. The first argument is any legal groff character (e.g. <kbd>*</kbd>
  1191. [an asterisk], <kbd>\(dg</kbd> [a dagger], <kbd>\f(ZD\N'141\fP</kbd>
  1192. [an arbitrary character from Zapf Dingbats], <kbd>\l'4P'</kbd>
  1193. [a 4-pica long rule]). <strong>Mom</strong> sets the character
  1194. centred on the current line length. (See &quot;man groff_char&quot;
  1195. for a list of all legal groff characters.)
  1196. <p>
  1197. The second argument is the number of times to repeat the character.
  1198. <p>
  1199. The third argument is a +|- value by which to raise (+) or lower (-)
  1200. the character in order to make it appear visually centred between
  1201. sections of text. This lets you make vertical adjustments
  1202. to characters that don't sit on the
  1203. <a href="definitions.html#TERMS_BASELINE">baseline</a>
  1204. (such as asterisks). The argument must be preceded by a plus or
  1205. minus sign, and must include a unit of measure.
  1206. <p>
  1207. If you enter <strong>LINEBREAK_CHAR</strong> with no arguments,
  1208. sections of text will be separated by two blank lines when you invoke
  1209. <strong>LINEBREAK</strong>.
  1210. <p>
  1211. <strong>Mom</strong>'s default for <strong>LINEBREAK_CHAR</strong> is
  1212. <p>
  1213. <pre>
  1214. .LINEBREAK_CHAR * 3 -3p
  1215. </pre>
  1216. i.e. three asterisks, lowered 3 points from their normal vertical
  1217. position (for
  1218. <a href="docprocessing.html#PRINTSTYLE">PRINTSTYLE TYPESET</a>;
  1219. the vertical adjustment is -2 points for
  1220. <a href="docprocessing.html#PRINTSTYLE">PRINTSTYLE TYPEWRITE</a>).
  1221. <h3><u>Linebreak colour control macro</u></h3>
  1222. <p>
  1223. <a name="LINEBREAK_COLOR">
  1224. <nobr>Macro: <strong>LINEBREAK_COLOR</strong> &lt;color name&gt;</nobr>
  1225. </a>
  1226. <p>
  1227. To change the colour of the linebreak character(s), simply invoke
  1228. <strong>LINBREAK_COLOR</strong> with the name of a pre-defined (or
  1229. &quot;initialized&quot;) colour.
  1230. <br>
  1231. <hr>
  1232. <!====================================================================>
  1233. <a name="QUOTE_INTRO"><h2><u>Quotes (line for line)</u></h2></a>
  1234. <ul>
  1235. <li><a href="#QUOTE">Tag: QUOTE</a>
  1236. <li><a href="#QUOTE_CONTROL">Quote control macros</a>
  1237. </ul>
  1238. <p>
  1239. <a href="definitions.html#TERMS_QUOTE">Quotes</a>
  1240. are always set in
  1241. <a href="definitions.html#TERMS_NOFILL">nofill mode</a>,
  1242. flush left. This permits entering quotes on a line for line basis in
  1243. your text editor and have them come out the same way on output copy.
  1244. (See
  1245. <a href="#BLOCKQUOTE_INTRO">Blockquotes</a>
  1246. for how quotes, in the present sense, differ from longer
  1247. passages of cited text.)
  1248. <p>
  1249. Since <strong>mom</strong> originally came into being to serve
  1250. the needs of creative writers (i.e. novelists, short story
  1251. writers, etc. -- not to cast aspersions on the creativity of
  1252. mathematicians and programmers), she sets quotes in italics
  1253. <a href="docprocessing.html#PRINTSTYLE">(PRINTSTYLE TYPESET)</a>
  1254. or underlined
  1255. <a href="docprocessing.html#PRINTSTYLE">(PRINTSTYLE TYPEWRITE)</a>,
  1256. indented from the left margin. Obviously, she's thinking
  1257. &quot;quotes from poetry or song lyrics&quot;, but with the
  1258. <a href="#QUOTE_CONTROL">quote control macros</a>
  1259. you can change her defaults so <strong>QUOTE</strong> serves other
  1260. needs, e.g. entering verbatim snippets of programming code, command
  1261. line instructions, and so on. (See the
  1262. <a href="#QUOTE_TIP">tip</a>
  1263. below for suggestions about including programming code snippets in
  1264. documents.)
  1265. <p>
  1266. <a name="QUOTE_SPACING"></a>
  1267. Besides indenting quotes, <strong>mom</strong> further sets them
  1268. off from
  1269. <a href="definitions.html#TERMS_RUNNING">running text</a>
  1270. with a small amount of vertical whitespace top and bottom. In
  1271. <a href="docprocessing.html#PRINTSTYLE">PRINTSTYLE TYPEWRITE</a>,
  1272. this is always one full linespace. In
  1273. <a href="docprocessing.html#PRINTSTYLE">PRINTSTYLE TYPESET</a>,
  1274. it's 1/2 of the prevailing
  1275. <a href="definitions.html#TERMS_LEADING">leading</a>
  1276. if the quote fits fully on the page (i.e. with running text above
  1277. and below it), otherwise it's a full linespace either above or below
  1278. as is necessary to balance the page to the bottom margin. This
  1279. behaviour can be changed with the control macro
  1280. <a href="#ALWAYS_FULLSPACE_QUOTES">ALWAYS_FULLSPACE_QUOTES</a>.
  1281. <p>
  1282. <strong>NOTE:</strong> <strong>ALWAYS_FULLSPACE_QUOTES</strong>
  1283. applies to both
  1284. <a href="#QUOTE">QUOTE</a>
  1285. and
  1286. <a href="#BLOCKQUOTE">BLOCKQUOTE</a>,
  1287. as does the control macro
  1288. <a href="#QUOTE_INDENT">QUOTE_INDENT</a>.
  1289. <p>
  1290. <strong>Version 1.3: mom</strong>'s handling of the vertical
  1291. whitespace around quotes has changed slightly. In versions prior
  1292. to 1.3, it was not possible to alter the
  1293. <a href="definitions.html#TERMS_LEADING">leading</a>
  1294. of quotes and blockquotes (which was the same as the document
  1295. leading), ensuring that the vertical whitespace remained consistent,
  1296. as described above. In 1.3 and later, it is possible to change the
  1297. leading of quotes and blockquote via
  1298. the <strong>QUOTE_AUTOLEAD</strong> and
  1299. <strong>BLOCKQUOTE_AUTOLEAD</strong>macro. Now, if your quote
  1300. (or blockquote) leading differs from the document leading,
  1301. <strong>mom</strong> attempts to observe the same rules for vertical
  1302. whitespace outlined above; however, she will also insert a small,
  1303. flexible amount of extra whitespace around the quotes to make sure
  1304. the whitespace is equal, top and bottom. Since she does this on a
  1305. quote by quote basis, rather than by figuring out how much extra
  1306. whitespace is needed to adjust <em>all</em> quotes on a page,
  1307. the spacing around multiple quotes on the same page will differ
  1308. slightly, although each will be balanced between lines of normal
  1309. <a href="definitions.html#TERMS_RUNNING">running text</a>,
  1310. top and bottom. (The inability to scan an entire page and insert
  1311. equalized whitespace at marked places is a limitation of groff,
  1312. which, by and large, works in a linear, line by line fashion.)
  1313. If you don't provide <strong>mom</strong> with a
  1314. <strong>QUOTE_AUTOLEAD</strong>, quotes are leaded at the default
  1315. for normal running text, meaning that multiple quotes on the same
  1316. page are all spaced identically.
  1317. <p>
  1318. <a name="QUOTE_TIP"><strong>TIP:</strong></a>
  1319. If you want to include snippets of programming code in
  1320. <strong>mom</strong> documents, you may come acropper of the fact
  1321. that groff (and <strong>mom</strong>'s) escape character is the
  1322. backslash. In order for <strong>mom</strong> not to interpret
  1323. backslashes that occur in code snippets as escapes, you have to
  1324. tell <strong>mom</strong> that the backslash character is
  1325. (temporarily) no longer the escape character. The easiest way
  1326. to do this is to set the escape character to something else for
  1327. the duration of the code snippet. You accomplish this with
  1328. <strong>ESC_CHAR</strong>, like this:
  1329. <p>
  1330. <pre>
  1331. .ESC_CHAR c
  1332. </pre>
  1333. where &quot;c&quot;, above, is the alternate escape character
  1334. (which should be a character that does not appear in the code). To
  1335. set the escape character back to the backslash, simply invoke
  1336. <strong>.ESC_CHAR</strong> by itself (i.e. with no argument).
  1337. <p>
  1338. Because <strong>mom</strong>, by default, sets the text after
  1339. <strong>.QUOTE</strong> in italic (for <strong>PRINTSTYLE
  1340. TYPESET</strong>) or underlined (for <strong>PRINTSTYLE
  1341. TYPEWRITE</strong>), you'll want to change that behaviour as
  1342. well. Therefore, a recipe for setting verbatim code snippets using
  1343. <strong>QUOTE</strong> could be (assuming you want a fixed width
  1344. font like Courier):
  1345. <p>
  1346. <pre>
  1347. \# You only need the first two lines before the first invocation
  1348. \# of QUOTE. They stay in effect for all subsequent invocations.
  1349. \#
  1350. .QUOTE_FONT CR \" Set quote font to Courier roman
  1351. .UNDERLINE_QUOTES OFF \" Don't underline quotes in TYPEWRITE
  1352. .QUOTE
  1353. .ESC_CHAR ^ \" Change escape character to ^
  1354. &lt;code snippet&gt;
  1355. .ESC_CHAR \" Restore escape character to \
  1356. .QUOTE OFF
  1357. </pre>
  1358. <!---QUOTE--->
  1359. <hr width="66%" align="left">
  1360. <p>
  1361. <a name="QUOTE">
  1362. <nobr>Macro: <strong>QUOTE</strong> toggle</nobr>
  1363. </a>
  1364. <p>
  1365. <strong>QUOTE</strong> is a toggle macro. To begin a section of
  1366. quoted text, invoke it with no argument, then type in your quote.
  1367. When you're finished, invoke <strong>QUOTE</strong> with any
  1368. argument (e.g. OFF, END, X, Q...) to turn it off. Example:
  1369. <p>
  1370. <pre>
  1371. .QUOTE
  1372. Nymphomaniacal Jill
  1373. Used a dynamite stick for a thrill
  1374. They found her vagina
  1375. In North Carolina
  1376. And bits of her tits in Brazil.
  1377. .QUOTE END
  1378. </pre>
  1379. <a name="QUOTE_CONTROL"><h3><u>Quote control macros</u></h3></a>
  1380. <ol>
  1381. <li><a href="#QUOTE_GENERAL">Family/font/size/leading/colour/indent</a>
  1382. <li><a href="#ALWAYS_FULLSPACE_QUOTES">Spacing above and below (typeset only)</a>
  1383. <li><a href="#UNDERLINE_QUOTES">Underline quotes (typewrite only)</a>
  1384. <li><a href="#BREAK_QUOTE">Manually break a footnoted quote that crosses pages/columns</a>
  1385. </ol>
  1386. <p>
  1387. <a name="QUOTE_GENERAL"><h3><u>1. Family/font/size/colour/indent</u></h3></a>
  1388. <p>
  1389. See
  1390. <a href="#CONTROL_MACRO_ARGS">Arguments to the control macros</a>.
  1391. <p>
  1392. <pre>
  1393. .QUOTE_FAMILY default = prevailing document family; default is Times Roman
  1394. .QUOTE_FONT default = italic; underlined in TYPEWRITE
  1395. .QUOTE_SIZE default = +0 (i.e. same size as paragraph text)
  1396. .QUOTE_AUTOLEAD default = none; leading of quotes is the same as paragraphs
  1397. .QUOTE_COLOR default = black
  1398. <a name="QUOTE_INDENT">.QUOTE_INDENT default = paragraph indent x 3 (typeset); x 2 (typewrite)</a>
  1399. (note that this macro also sets the indents (left and right)
  1400. for blockquotes)
  1401. </pre>
  1402. <a name="ALWAYS_FULLSPACE_QUOTES"><h3><u>2. Spacing above and below -- ALWAYS_FULLSPACE_QUOTES (typeset only)</u></h3></a>
  1403. <p>
  1404. If you'd like <strong>mom</strong> always to put a full linespace above
  1405. and below quotes, invoke <strong>.ALWAYS_FULLSPACE_QUOTES</strong>
  1406. with no argument. If you wish to restore <strong>mom</strong>'s
  1407. default behaviour regarding the spacing of quotes (see
  1408. <a href="#QUOTE_SPACING">above</a>),
  1409. invoke the macro with any argument (<strong>OFF, QUIT, END,
  1410. X</strong>...)
  1411. <p>
  1412. <strong>NOTE:</strong> This macro also sets <strong>mom</strong>'s
  1413. spacing policy for
  1414. <a href="#BLOCKQUOTE_INTRO">blockquotes</a>.
  1415. <p>
  1416. <a name="UNDERLINE_QUOTES"><h3><u>3. Underlining -- UNDERLINE_QUOTES (typewrite only)</u></h3></a>
  1417. <p>
  1418. By default in
  1419. <a href="docprocessing.html#PRINTSTYLE">PRINTSTYLE TYPEWRITE</a>,
  1420. <strong>mom</strong> underlines quotes. If you'd rather she didn't,
  1421. invoke <strong>.UNDERLINE_QUOTES</strong> with any argument
  1422. (<strong>OFF, QUIT, END, X</strong>...) to disable the feature.
  1423. Invoke it without an argument to restore <strong>mom</strong>'s
  1424. default underlining of quotes.
  1425. <p>
  1426. If you not only wish that <strong>mom</strong> not underline
  1427. quotes, but also that she set them in italic, you must follow each
  1428. instance of <strong>QUOTE</strong> with the typesetting macro <a
  1429. href="typesetting.html#FONT">FT I</a>.
  1430. Furthermore, since <strong>mom</strong> underlines all instances
  1431. of italics by default in <strong>PRINTSTYLE TYPEWRITE</strong>,
  1432. you must also make sure that <strong>ITALIC_MEANS_ITALIC</strong>
  1433. is enabled (see
  1434. <a href="docprocessing.html#TYPEWRITE_CONTROL">PRINTSTYLE TYPEWRITE control macros</a>).
  1435. <p>
  1436. <a name="BREAK_QUOTE"><h3><u>4. Manually break a footnoted quote -- BREAK_QUOTE</u></h3></a>
  1437. <p>
  1438. <strong>NOTE:</strong> <em>As of version 1.1.9, the macro</em>
  1439. <strong>BREAK_QUOTE</strong> <em>has become obsolete (or, at least,
  1440. should have become obsolete.) It remains here for backward
  1441. compatibility with documents created prior to 1.1.9, and just in
  1442. case, despite my efforts to make it obsolete, you still encounter the
  1443. problem it's supposed to fix. Should you find yourself having to
  1444. use</em> <strong>BREAK_QUOTE</strong> <em>while running</em> <strong>mom</strong>
  1445. 1.1.9 <em>or higher, please notify me immediately.</em>
  1446. <p>
  1447. Exceptionally, a quote or blockquote containing a footnote may cross
  1448. a page or column. When this happens, the footnote marker may not be
  1449. correct for its position relative to other footnotes on the page, and
  1450. the footnote itself may appear on the wrong page or at the bottom of
  1451. the wrong column. When this happens, study your output to determine
  1452. the precise point at which the quote breaks (or at which you want
  1453. it to break), and add <code>.BREAK_QUOTE</code> on a line by itself
  1454. afterwards. No other intervention is required, and the footnote(s)
  1455. will be marked correctly and appear on the correct page.
  1456. <p>
  1457. <strong>BREAK_QUOTE</strong> may be used with both quotes and
  1458. blockquotes, and hence is aliased as <strong>BREAK_BLOCKQUOTE,
  1459. BREAK_CITATION</strong> and <strong>BREAK_CITE</strong>.
  1460. <p>
  1461. <hr>
  1462. <!====================================================================>
  1463. <a name="BLOCKQUOTE_INTRO"><h2><u>Blockquotes (cited passages)</u></h2></a>
  1464. <ul>
  1465. <li><a href="#BLOCKQUOTE">Tag: BLOCKQUOTE (aliases: CITE, CITATION)</a>
  1466. <li><a href="#BLOCKQUOTE_CONTROL">BLOCKQUOTE control macros</a>
  1467. </ul>
  1468. <p>
  1469. <strong>BLOCKQUOTES</strong> are used to cite passages from another
  1470. author's work. So that they stand out well from
  1471. <a href="definitions.html#TERMS_RUNNING">running text</a>,
  1472. <strong>mom</strong> indents them from both the left and right margins
  1473. and sets them in a different point size
  1474. <a href="docprocessing.html#PRINTSTYLE">(PRINTSTYLE TYPESET</a>
  1475. only).
  1476. <a href="definitions.html#TERMS_OUTPUTLINE">Output lines</a>
  1477. are
  1478. <a href="definitions.html#TERMS_FILLED">filled</a>,
  1479. and, by default,
  1480. <a href="definitions.html#TERMS_QUAD">quadded</a>
  1481. left.
  1482. <p>
  1483. Besides indenting blockquotes, <strong>mom</strong> further sets them
  1484. off from running text with a small amount of vertical whitespace top
  1485. and bottom. (See
  1486. <a href="#QUOTE_SPACING">above</a>
  1487. for a complete explanation of how this is managed, and how to control it.
  1488. Be sure to read the section <strong>Version 1.3</strong>.)
  1489. <p>
  1490. <!---BLOCKQUOTE--->
  1491. <hr width="66%" align="left">
  1492. <p>
  1493. <a name="BLOCKQUOTE">
  1494. <nobr>Macro: <strong>BLOCKQUOTE</strong> toggle</nobr>
  1495. <br>
  1496. Aliases: <strong>CITE, CITATION</strong>
  1497. </a>
  1498. <p>
  1499. <strong>BLOCKQUOTE</strong> is a toggle macro. To begin a
  1500. cited passage, invoke the tag with no argument, then type in your quote.
  1501. When you're finished, invoke <strong>BLOCKQUOTE</strong> with any
  1502. argument (e.g. OFF, END, X, Q...) to turn it off. Example:
  1503. <p>
  1504. <pre>
  1505. .BLOCKQUOTE
  1506. Redefining the role of the United States from enablers to keep
  1507. the peace to enablers to keep the peace from peacekeepers is
  1508. going to be an assignment.
  1509. .RIGHT
  1510. \(emGeorge W. Bush
  1511. .BLOCKQUOTE END
  1512. </pre>
  1513. If the cited passage runs to more than one paragraph, you MUST
  1514. introduce each paragraph -- <em>including the first!</em> --
  1515. with
  1516. <a href="#PP">PP</a>.
  1517. <p>
  1518. <strong>NOTE:</strong> The aliases <strong>CITE</strong>
  1519. and <strong>CITATION</strong> may be used in place of the
  1520. <strong>BLOCKQUOTE</strong> tag, as well as in any of the control
  1521. macros that begin with <strong>BLOCKQUOTE_</strong> or end with
  1522. <strong>_BLOCKQUOTE</strong>.
  1523. <a name="BLOCKQUOTE_CONTROL"><h3><u>Blockquote control macros</u></h3></a>
  1524. <ol>
  1525. <li><a href="#BLOCKQUOTE_GENERAL">Family/font/size/leading/colour/quad/indent</a>
  1526. <li><a href="#ALWAYS_FULLSPACE_QUOTES">Spacing above and below (typeset only)</a>
  1527. <li><a href="#BREAK_QUOTE">Manually break a footnoted blockquote that crosses pages/columns</a>
  1528. </ol>
  1529. <p>
  1530. <a name="BLOCKQUOTE_GENERAL"><h3><u>1. Family/font/size/colour/quad/indent</u></h3></a>
  1531. <p>
  1532. See
  1533. <a href="#CONTROL_MACRO_ARGS">Arguments to the control macros</a>.
  1534. <p>
  1535. <pre>
  1536. .BLOCKQUOTE_FAMILY default = prevailing document family; default is Times Roman
  1537. .BLOCKQUOTE_FONT default = roman
  1538. .BLOCKQUOTE_SIZE default = -1 (point)
  1539. .BLOCKQUOTE_AUTOLEAD default = none; leading of blockquotes is the same as paragraphs
  1540. .BLOCKQUOTE_COLOR default = black
  1541. .BLOCKQUOTE_QUAD default = left
  1542. .BLOCKQUOTE_INDENT default = paragraph indent x 3 (typeset); x 2 (typewrite)</a>
  1543. (note that this macro also sets the left indent for quotes)
  1544. </pre>
  1545. <a name="ALWAYS_FULLSPACE_QUOTES"><h3><u>2. Spacing above and below -- ALWAYS_FULLSPACE_QUOTES (typeset only)</u></h3></a>
  1546. <p>
  1547. If you'd like <strong>mom</strong> always to put a full linespace above
  1548. and below blockquotes, invoke <strong>.ALWAYS_FULLSPACE_QUOTES</strong>
  1549. with no argument. If you wish to restore <strong>mom</strong>'s
  1550. default behaviour regarding the spacing of blockquotes (see
  1551. <a href="#QUOTE_SPACING">above</a>),
  1552. invoke the macro with any argument (<strong>OFF, QUIT, END,
  1553. X</strong>...).
  1554. <p>
  1555. <strong>NOTE:</strong> This macro also sets <strong>mom</strong>'s
  1556. spacing policy for
  1557. <a href="#QUOTE_INTRO">quotes</a>.
  1558. <p>
  1559. <hr>
  1560. <!====================================================================>
  1561. <a name="LIST_INTRO"><h2><u>Nested lists</u></h2></a>
  1562. <ul>
  1563. <li><a href="#LIST">Tag: LIST</a>
  1564. <li><a href="#ITEM">Tag: ITEM</a>
  1565. <li><a href="#LIST_CONTROL">LIST control macros</a>
  1566. </ul>
  1567. <p>
  1568. Lists are points or items of interest or importance that are
  1569. separated from
  1570. <a href="definitions.html#TERMS_RUNNING">running text</a>
  1571. by enumerators. Some typical enumerators are
  1572. <a href="definitions.html#TERMS_EM">en-dashes</a>,
  1573. <a href="definitions.html#TERMS_BULLET">bullets</a>,
  1574. digits and letters.
  1575. <p>
  1576. Setting lists with <strong>mom</strong> is easy. First, you
  1577. initialize a list with the <strong>LIST</strong> macro. Then, for
  1578. every item in the list, you invoke the macro, <strong>ITEM</strong>,
  1579. followed by the text of the item. When a list is finished, you
  1580. exit the list with <strong>LIST OFF</strong> (or
  1581. <strong>QUIT</strong>, <strong>END</strong>, <strong>BACK</strong>,
  1582. etc.)
  1583. <p>
  1584. By default <strong>mom</strong> starts each list with the enumerator
  1585. flush with the left margin of running text that comes before it,
  1586. like this:
  1587. <p>
  1588. <pre>
  1589. My daily schedule needs organizing. I can't
  1590. seem to get everything done I want.
  1591. o an hour's worth of exercise
  1592. o time to prepare at least one healthy
  1593. meal per day
  1594. o reading time
  1595. o work on mom
  1596. o writing
  1597. - changes from publisher
  1598. - current novel
  1599. o a couple of hours at the piano
  1600. </pre>
  1601. In other words, <strong>mom</strong> does not, by default, indent
  1602. entire lists. Indenting a list is controlled by the macro,
  1603. <a href="#SHIFT_LIST">SHIFT_LIST</a>.
  1604. (This is a design decision; there are too many instances where a
  1605. default indent is not desirable.) Equally, <strong>mom</strong>
  1606. does not add any extra space above or below lists.
  1607. <p>
  1608. Lists can be nested (as in the example above). In other words, you
  1609. can set lists within lists, each with an enumerator (and possibly,
  1610. indent) of your choosing. In nested lists, each invocation of
  1611. <strong>LIST OFF</strong> (you may prefer to use <strong>LIST
  1612. BACK</strong>) takes you back to the previous depth (or
  1613. level) of list, with that list's enumerator and indent intact. The
  1614. final <strong>LIST OFF</strong> exits lists completely and returns
  1615. you to the left margin of running text.
  1616. <p>
  1617. Finally, lists can be used in documents created with either the
  1618. document processing macros or just the typesetting macros.
  1619. <p>
  1620. <!---LIST--->
  1621. <hr width="66%" align="left">
  1622. <p>
  1623. <a name="LIST">
  1624. <nobr>Macro: <strong>LIST</strong> [ BULLET | DASH | DIGIT | ALPHA | alpha | ROMAN&lt;n&gt; | roman&lt;n&gt; | USER &lt;string&gt;] [ &lt;separator&gt; | &lt;user-defined enumerator&gt; ] [ &lt;prefix&gt; ] [ &lt;off&gt; ]</a></nobr>
  1625. <p>
  1626. Invoked by itself (i.e. with no argument), <strong>LIST</strong>
  1627. initializes a list (with bullets as the default enumerator).
  1628. Afterwards, each block of input text preceded by
  1629. <a href="#ITEM">.ITEM</a>,
  1630. on a line by itself, is treated as a list item.
  1631. <p>
  1632. <strong>NOTE:</strong> Every time you invoke <strong>LIST</strong>
  1633. to start a list (as opposed to
  1634. <a href="#LIST_EXIT">exiting one</a>),
  1635. you must supply an enumerator (and optionally, a separator) for the
  1636. list, unless you want <strong>mom</strong>'s default enumerator,
  1637. which is a bullet. Within nested lists, <strong>mom</strong>
  1638. stores the enumerator, separator and indent for any list you return
  1639. <em>backwards</em> to (i.e. with <strong>LIST OFF</strong>), but
  1640. does not store any information for lists you move <em>forward</em>
  1641. to.
  1642. <br>
  1643. <h3><u>The first argument--enumerator style</u></h3>
  1644. <p>
  1645. The optional arguments <strong>BULLET</strong>,
  1646. <strong>DASH</strong>, <strong>DIGIT</strong> (for
  1647. Arabic numerals), <strong>ALPHA</strong> (for uppercase
  1648. letters), <strong>alpha</strong> (for lowercase letters),
  1649. <strong>ROMAN&lt;n&gt;</strong> (for uppercase roman numerals),
  1650. <strong>roman&lt;n&gt;</strong> (for lowercase roman numerals) tell
  1651. <strong>mom</strong> what kind of enumerator to use for a given
  1652. list.
  1653. <p>
  1654. The arguments, <strong>ROMAN&lt;n&gt;</strong> and
  1655. <strong>roman&lt;n&gt;</strong>, are special. You must append to
  1656. them a digit (arabic, e.g. "1" or "9" or "17") saying how many items
  1657. a particular roman-numeralled <strong>LIST</strong> is going to
  1658. have. <strong>Mom</strong> requires this information in order to
  1659. align roman numerals sensibly, and will abort--with a message--if
  1660. you don't provide it.
  1661. <p>
  1662. A roman-numeralled list containing, say, five items, would be set
  1663. up like this:
  1664. <p>
  1665. <pre>
  1666. .LIST roman5 producing i) Item 1.
  1667. .ITEM ii) Item 2.
  1668. Item 1. iii) Item 3.
  1669. .ITEM iv) Item 4.
  1670. Item 2. v) Item 5.
  1671. .ITEM
  1672. Item 3
  1673. .ITEM
  1674. Item 4
  1675. .ITEM
  1676. Item 5
  1677. </pre>
  1678. <p>
  1679. The argument, <strong>USER</strong>, lets you make up your own
  1680. enumerator, and must be followed by a second argument: what you'd
  1681. like the enumerator to look like. For example, if you want a list
  1682. enumerated with
  1683. <strong>=&gt;</strong>,
  1684. <p>
  1685. <pre>
  1686. .LIST USER =&gt;
  1687. .ITEM
  1688. A list item
  1689. </pre>
  1690. will produce
  1691. <p>
  1692. <pre>
  1693. =&gt; A list item
  1694. </pre>
  1695. <strong>Please note:</strong> if the argument to
  1696. <strong>USER</strong> contains spaces, you must enclose the argument
  1697. in double quotes.
  1698. <br>
  1699. <h3><u>The second argument--separator style</u></h3>
  1700. <p>
  1701. If you choose <strong>DIGIT</strong>, <strong>ALPHA</strong>,
  1702. <strong>alpha</strong>, <strong>ROMAN&lt;n&gt;</strong>, or
  1703. <strong>roman&lt;n&gt;</strong>, you may enter the optional
  1704. argument, <strong>separator</strong>, to say what kind of separator
  1705. you want after the enumerator. The separator can be anything you
  1706. like. The default for <strong>DIGIT</strong> is a period (dot),
  1707. like this:
  1708. <p>
  1709. <pre>
  1710. 1. A list item
  1711. </pre>
  1712. The default separator for <strong>ALPHA</strong>,
  1713. <strong>alpha</strong>, <strong>ROMAN&lt;n&gt;</strong> and
  1714. <strong>roman&lt;n&gt;</strong> is a right parenthesis, like this:
  1715. <p>
  1716. <pre>
  1717. a) An alpha-ed list item
  1718. b) A second alpha-ed list item
  1719. or
  1720. i) A roman-ed list item
  1721. ii) A second roman-ed item
  1722. </pre>
  1723. If you'd prefer, say, digits with right-parenthesis separators
  1724. instead of the default period, you'd do
  1725. <p>
  1726. <pre>
  1727. .LIST DIGIT )
  1728. .ITEM
  1729. A numberd list item
  1730. </pre>
  1731. which would produce
  1732. <p>
  1733. <pre>
  1734. 1) A numbered list item
  1735. </pre>
  1736. <strong>Please note: BULLET</strong>, <strong>DASH</strong> and
  1737. <strong>USER</strong> do not take a separator.
  1738. <br>
  1739. <h3><u>The third argument--prefix style</u></h3>
  1740. <p>
  1741. Additionally, you may give a prefix (i.e. a character that comes
  1742. <em>before</em> the enumerator) when your enumerator style for a
  1743. particular list is <strong>DIGIT</strong>, <strong>ALPHA</strong>,
  1744. <strong>alpha</strong>, <strong>ROMAN&lt;n&gt;</strong>
  1745. or <strong>roman&lt;n&gt;</strong>. In the arguments to
  1746. <strong>LIST</strong>, the prefix comes <em>after</em> the
  1747. separator, which may seem counter-intuitive, so please be careful.
  1748. <p>
  1749. A prefix can be anything you like. Most likely, you'll want some
  1750. kind of open-bracket, such as a left parenthesis. If, for example,
  1751. you want a <strong>DIGIT</strong> list with the numbers enclosed in
  1752. parentheses, you'd enter
  1753. <p>
  1754. <pre>
  1755. .LIST DIGIT ) (
  1756. .ITEM
  1757. The first item on the list.
  1758. .ITEM
  1759. The second item on the list.
  1760. </pre>
  1761. which would produce
  1762. <p>
  1763. <pre>
  1764. (1) The first item on the list.
  1765. (2) The second item on the list.
  1766. </pre>
  1767. <strong>Please note: BULLET</strong>, <strong>DASH</strong> and
  1768. <strong>USER</strong> do not take a prefix.
  1769. <br>
  1770. <a name="LIST_EXIT"></a>
  1771. <h3><u>Exiting lists--.LIST OFF/BACK or .QUIT_LISTS</u></h3>
  1772. <p>
  1773. Any single argument to <strong>LIST</strong> other
  1774. than <strong>BULLET</strong>, <strong>DASH</strong>,
  1775. <strong>DIGIT</strong>, <strong>ALPHA</strong>,
  1776. <strong>alpha</strong>, <strong>ROMAN&lt;n&gt;</strong>,
  1777. <strong>roman&lt;n&gt;</strong> or <strong>USER</strong> (e.g.
  1778. <strong>LIST</strong> <kbd>OFF</kbd> or <strong>LIST</strong>
  1779. <kbd>BACK</kbd>) takes you out of the current list.
  1780. <p>
  1781. If you are at the first list-level (or "list-depth"),
  1782. <strong>mom</strong> returns you to the left margin of running text.
  1783. Any indents that were in effect prior to setting the list are fully
  1784. restored.
  1785. <p>
  1786. If you are in a nested list, <strong>mom</strong> moves you
  1787. <em>back one list-level</em> (i.e. does not take you out of the
  1788. list structure) and restores the enumerator, separator and indent
  1789. appropriate to that level.
  1790. <p>
  1791. Each invocation of <strong>LIST</strong> should be be matched by
  1792. a corresponding <strong>LIST OFF</strong> in order to fully exit
  1793. lists. For example,
  1794. <p>
  1795. <pre>
  1796. Lorem ipsum dolor sit amet, consetetur sadipscing elitr,
  1797. sed diam nonumy eirmod tempor invidunt ut labore.
  1798. o List item in level 1
  1799. o List item in level 1
  1800. - List item in level 2
  1801. - List item in level 2
  1802. Lorem ipsum dolor sit amet, consetetur sadipscing elitr,
  1803. sed diam nonumy eirmod tempor invidunt ut labore.
  1804. </pre>
  1805. is created like this:
  1806. <p>
  1807. <pre>
  1808. Lorem ipsum dolor sit amet, consetetur sadipscing elitr,
  1809. sed diam nonumy eirmod tempor invidunt ut labore.
  1810. .LIST BULLET
  1811. .ITEM
  1812. List item in level 1
  1813. .ITEM
  1814. List item in level 1
  1815. .LIST DASH
  1816. .ITEM
  1817. List item in level 2
  1818. .ITEM
  1819. List item in level 2
  1820. .LIST OFF \" Turn level 2 list off
  1821. .LIST OFF \" Turn level 1 list off
  1822. Lorem ipsum dolor sit amet, consetetur sadipscing elitr,
  1823. sed diam nonumy eirmod tempor invidunt ut labore.
  1824. </pre>
  1825. Alternatively, you may use the single-purpose macro,
  1826. <strong>QUIT_LISTS</strong>, to get yourself out of a list
  1827. structure. In the example above, the two <kbd>.LIST OFF</kbd>
  1828. lines could be replaced with a single <kbd>.QUIT_LISTS</kbd>.
  1829. <p>
  1830. <hr width="33%" align="left">
  1831. <p>
  1832. <a name="ITEM">
  1833. Macro: <strong>ITEM</strong>
  1834. <p>
  1835. After you've initialized a list with
  1836. <a href="#LIST">LIST</a>,
  1837. precede each item you want in the list with <strong>ITEM</strong>.
  1838. <strong>Mom</strong> takes care of everything else with respect to
  1839. setting the item appropriate to the list you're in.
  1840. <p>
  1841. In document processing, it is legal to have list items that contain
  1842. multiple paragraphs. Simply issue a
  1843. <a href="#PP">PP</a>
  1844. request for each paragraph <em>following</em> the first item.
  1845. I.e., don't do this:
  1846. <p>
  1847. <pre>
  1848. .ITEM
  1849. .PP
  1850. Some text...
  1851. .PP
  1852. A second paragraph of text
  1853. </pre>
  1854. but rather
  1855. <p>
  1856. <pre>
  1857. .ITEM
  1858. Some text...
  1859. .PP
  1860. A second paragraph of text
  1861. </pre>
  1862. <hr width="33%" align="left">
  1863. <a name="LIST_CONTROL"><h3><u>List control macros</u></h3></a>
  1864. <ol>
  1865. <li><a href="#SHIFT_LIST">Indenting lists (SHIFT_LIST)</a>
  1866. <li><a href="#RESET_LIST">Resetting an initialized list's enumerator (RESET_LIST)</a>
  1867. <li><a href="#PAD_LIST_DIGITS">Padding digit enumerators (PAD_LIST_DIGITS)</a>
  1868. </ol>
  1869. <a name="SHIFT_LIST"><h3><u>1. Indenting lists -- SHIFT_LIST</u></h3></a>
  1870. <p>
  1871. If you want a list to be indented to the right of running text, or
  1872. indented to the right of a current list, use the macro
  1873. <strong>SHIFT_LIST</strong> immediately after
  1874. <a href="#LIST">LIST</a>.
  1875. <strong>SHIFT_LIST</strong> takes just one argument: the amount by
  1876. which you want the list shifted to the right. The argument requires
  1877. a
  1878. <a href="definitions.html#TERMS_UNITOFMEASURE">unit of measure</a>,
  1879. <p>
  1880. <strong>SHIFT_LIST</strong> applies <em>only</em> to the list you
  1881. just initialized with <strong>LIST</strong>. It does not carry
  1882. over from one invocation of <strong>LIST</strong> to the next.
  1883. However, the indent remains in effect when you <em>return</em> to a
  1884. list level in a nested list.
  1885. <p>
  1886. For example, if you want a 2-level list, with each list indented to
  1887. the right by 18
  1888. <a href="definitions.html#TERMS_PICASPOINTS">points</a>,
  1889. <p>
  1890. <pre>
  1891. Lorem ipsum dolor sit amet, consetetur sadipscing elitr,
  1892. sed diam nonumy eirmod tempor invidunt ut labore.
  1893. .LIST \" List 1
  1894. .SHIFT_LIST 18p \" Indent 18 points right of running text
  1895. .ITEM
  1896. List 1 item
  1897. .ITEM
  1898. List 1 item
  1899. .LIST DASH \" List 2
  1900. .SHIFT_LIST 18p \" Indent 18 points right of list 1
  1901. .ITEM
  1902. List 2 item
  1903. .ITEM
  1904. List 2 item
  1905. .LIST OFF \" Move back to list 1
  1906. .ITEM
  1907. List 1 item
  1908. .ITEM
  1909. List 1 item
  1910. .LIST OFF \" Exit lists
  1911. Lorem ipsum dolor sit amet, consetetur sadipscing elitr,
  1912. sed diam nonumy eirmod tempor invidunt ut labore.
  1913. </pre>
  1914. produces (approximately)
  1915. <p>
  1916. <pre>
  1917. Lorem ipsum dolor sit amet, consetetur sadipscing elitr,
  1918. sed diam nonumy eirmod tempor invidunt ut labore.
  1919. o List 1 item
  1920. o List 1 item
  1921. - List 2 item
  1922. - List 2 item
  1923. o List 1 item
  1924. o List 1 item
  1925. Lorem ipsum dolor sit amet, consetetur sadipscing elitr,
  1926. sed diam nonumy eirmod tempor invidunt ut labore.
  1927. </pre>
  1928. <a name="RESET_LIST"><h3><u>2. Resetting an initialized list's enumerator -- RESET_LIST</u></h3></a>
  1929. <p>
  1930. In nested lists, if your choice of list enumerator for a given
  1931. level of list is <strong>DIGIT</strong>, <strong>ALPHA</strong>,
  1932. <strong>alpha</strong>, <strong>ROMAN</strong> or
  1933. <strong>roman</strong>, you may sometimes want to reset the list's
  1934. enumerator when you return to that list. Consider the following:
  1935. <p>
  1936. <pre>
  1937. Things to do religiously each and every day:
  1938. 1. Take care of the dog
  1939. a) walk every day
  1940. b) brush once a week
  1941. - trim around the eyes every fourth brushing
  1942. - don't forget to check nails
  1943. 2. Feed the cat
  1944. a) soft food on Mon., Wed. and Fri.
  1945. b) dry food on Tues., Thurs. and Sat.
  1946. c) canned tuna on Sunday
  1947. </pre>
  1948. Normally, within a nested list, when you return to an
  1949. incrementally-enumerated list, the enumerator continues incrementing
  1950. from where it left off. That means, in the example above, the
  1951. normal state of affairs for the alpha'ed list under &quot;2. Feed
  1952. the cat&quot; would be c), d) and e). The solution, in such a case,
  1953. is simply to reset the enumerator --before <strong>ITEM</strong>!--
  1954. with the macro, <strong>RESET_LIST</strong>.
  1955. <p>
  1956. By default, with no argument, <strong>RESET_LIST</strong> resets the
  1957. enumerator to 1, A, a, I or i depending on the style of enumerator.
  1958. You may, if you wish, pass <strong>RESET_LISTS</strong> a numeric
  1959. argument representing the starting enumerator for the reset (if
  1960. different from "1"), although I can't at present think of a use for
  1961. this feature.
  1962. <p>
  1963. <a name="PAD_LIST_DIGITS"><h3><u>3. Padding digit enumerators (PAD_LIST_DIGITS)</a></u></h3></a>
  1964. <p>
  1965. <strong><u>Arabic digits</u></strong>
  1966. <p>
  1967. When your choice of enumerators is <strong>DIGIT</strong> AND the
  1968. number of items in the list exceeds nine (9), you have to make a
  1969. design decision: should <strong>mom</strong> leave room for the
  1970. extra numeral in two-numeral digits to the right or the left of
  1971. the single-numeral digits?
  1972. <p>
  1973. If you want the extra space to the right, invoke the macro,
  1974. <strong>.PAD_LIST_DIGITS</strong> (with no argument), after
  1975. <strong>LIST</strong> and before <strong>ITEM</strong>. This will
  1976. produce something like
  1977. <p>
  1978. <pre>
  1979. 8. List item
  1980. 9. List item
  1981. 10. List item
  1982. </pre>
  1983. If you want the extra space to the left, invoke
  1984. <strong>PAD_LIST_DIGITS</strong> with the single argument,
  1985. <strong>LEFT</strong>, which will produce
  1986. <p>
  1987. <pre>
  1988. 8. List item
  1989. 9. List item
  1990. 10. List item
  1991. </pre>
  1992. Of course, if the number of items in the list is less than ten
  1993. (10), there's no need for <strong>PAD_LIST_DIGITS</strong>.
  1994. <p>
  1995. <strong><u>Roman numerals</u></strong>
  1996. <p>
  1997. By default, <strong>mom</strong> sets roman numerals in lists flush
  1998. left. The <strong>&lt;n&gt;</strong> argument appended to
  1999. <strong>ROMAN&lt;n&gt;</strong> or <strong>roman&lt;n&gt;</strong>
  2000. allows her to calculate how much space to put after each numeral in
  2001. order to ensure that the text of items lines up properly.
  2002. <p>
  2003. If you'd like the roman numerals to line up flush right (i.e. be
  2004. padded "left"), simply invoke <strong>PAD_LIST_DIGITS</strong>
  2005. <kbd>LEFT</kbd> after <strong>LIST</strong> <kbd>ROMAN&lt;n&gt;</kbd>
  2006. or <strong>LIST</strong> <kbd>roman&lt;n&gt;</kbd> amd before
  2007. <strong>ITEM</strong>.
  2008. <p>
  2009. <hr>
  2010. <!---LINE NUMBERING--->
  2011. <a name="NUMBER_LINES_INTRO"><h2><u>Line numbering</u></h2></a>
  2012. <ul>
  2013. <li><a href="#NUMBER_LINES">Macro: NUMBER_LINES</a>
  2014. <li><a href="#NUMBER_LINES_CONTROL">Control macros</a> (for quotes and blockquotes)
  2015. </ul>
  2016. <p>
  2017. <strong>Mom</strong>'s line-numbering capabilities are not as flexible
  2018. as most of her other document processing macros. The reason is
  2019. that groff's underlying line-numbering
  2020. <a href="definitions.html#TERMS_PRIMITIVEX">primitive</a>,
  2021. <kbd>.nm</kbd>, is, well...primtive. It is not possible, for
  2022. example, to select a particular family or font for use exclusively
  2023. with line numbers. Nor is it possible to set the
  2024. <a href="definitions.html#TERMS_GUTTER">gutter</a>
  2025. using any
  2026. <a href="definitions.html#TERMS_UNITOFMEASURE">unit of measure</a>
  2027. other than the
  2028. <a href="definitions.html#TERMS_FIGURESPACE">figure space</a>.
  2029. <p>
  2030. That said, when you turn line-numbering on, <strong>mom</strong>,
  2031. by default
  2032. <br>
  2033. <a name="NUMBER_LINES_DEFAULTS"></a>
  2034. <ul>
  2035. <li>numbers every line of paragraph text; line-numbering is
  2036. suspended for all other document processing tags (like
  2037. docheaders, epigraphs, heads, subheads, etc.) and special
  2038. pages (covers, endotes, bibliographies, etc.); be aware,
  2039. though, that if you turn
  2040. <a href="definitions.html#TERMS_DOCHEADER">docheaders</a>
  2041. off (with
  2042. <a href="docprocessing.html#DOCHEADER">DOCHEADER</a> <strong>OFF</strong>)
  2043. and create your own docheader, <strong>mom</strong>
  2044. <em>will</em> line-number your custom docheader
  2045. <li>doesn't touch your line length; line numbers are hung
  2046. outside your current left margin (as set with
  2047. <a href="typesetting.html#L_MARGIN">L_MARGIN</a>,
  2048. <a href="typesetting.html#PAGE">PAGE</a>
  2049. or
  2050. <a href="docprocessing.html#DOC_LEFT_MARGIN">DOC_LEFT_MARGIN</a>),
  2051. regardless of any indents that may be active
  2052. <li>separates line numbers from running text by two
  2053. <a href="definitions.html#TERMS_FIGURESPACE">figure spaces</a>.
  2054. </ul>
  2055. <p>
  2056. Line numbering may be enabled and disabled for
  2057. <a href="#QUOTE">QUOTE</a>
  2058. and/or
  2059. <a href="#BLOCKQUOTE">BLOCKQUOTE</a>
  2060. in one of three styles. See
  2061. <a href="#NUMBER_LINES_CONTROL">Line numbering control macros for quotes and blockquotes</a>.
  2062. <p>
  2063. The first time you invoke
  2064. <a href="#NUMBER_LINES">NUMBER_LINES</a>
  2065. you must, at a minimum, tell it what line number you want the
  2066. <em>next</em>
  2067. <a href="definitions.html#TERMS_OUTPUTLINE">output line</a>
  2068. to have. Optional arguments allow you to state which lines should
  2069. be numbered (e.g. every five or every ten lines), and the gutter to
  2070. place between line numbers and
  2071. <a href="definitions.html#TERMS_RUNNING">running text</a>.
  2072. <p>
  2073. Subsequently, you can turn line-numbering off, either permanently,
  2074. or resume it later at a place of your choosing. When you
  2075. resume line-numbering, the line numbers pick up where you left off.
  2076. <p>
  2077. <!---NUMBER_LINES--->
  2078. <hr width="66%" align="left">
  2079. <p>
  2080. <nobr>
  2081. <a name="NUMBER_LINES">
  2082. <nobr>Macro: <strong>NUMBER_LINES</strong> &lt;start number&gt; [ &lt;which lines to number&gt; [ &lt;gutter&gt; ] ]</nobr>
  2083. <br>
  2084. <nobr>Macro: <strong>NUMBER_LINES</strong> &lt;anything&gt; | RESUME</nobr>
  2085. <br>
  2086. </a>
  2087. </nobr>
  2088. <p>
  2089. <strong>NUMBER_LINES</strong> does what it says: prints line
  2090. numbers, to the left of
  2091. <a href="definitions.html#TERMS_OUTPUTLINE">output lines</a>
  2092. of paragraph text. One of the chief reasons for wanting numbered
  2093. lines is in order to identify footnotes or endnotes by line number
  2094. instead of by a marker in the text. (See
  2095. <a href="#FOOTNOTE_LINENUMBERS">.FOOTNOTE_MARKER_STYLE LINE</a>
  2096. for instructions on line-numbered footnotes, and
  2097. <a href="#ENDNOTE_MARKER_STYLE">.ENDNOTE_MARKER_STYLE</a>
  2098. for instructions on line-numbered endnotes.)
  2099. <p>
  2100. Every time you invoke <strong>NUMBER_LINES</strong>, unless you are
  2101. using the arguments <strong>OFF</strong> (<strong>QUIT</strong>,
  2102. <strong>END</strong>, <strong>X</strong>, etc.) or
  2103. <strong>RESUME</strong> you must, at a minimum, pass it one
  2104. argument, namely the number (digit) you want the <em>next</em>
  2105. <a href="definitions.html#TERMS_OUTPUTLINE">output line</a>
  2106. to have. For example,
  2107. <pre>
  2108. .NUMBER_LINES 3
  2109. </pre>
  2110. will prepend the number, 3, to the next output line.
  2111. <p>
  2112. Normally, of course, you will number lines of text starting at 1.
  2113. All you have to do in that case is ensure that
  2114. <pre>
  2115. .NUMBER_LINES 1
  2116. </pre>
  2117. precedes your first line of input text, which will also be the
  2118. first line of output text.
  2119. <p>
  2120. You can alter <strong>mom</strong>'s default line numbering
  2121. behaviour (see
  2122. <a href="#NUMBER_LINES_DEFAULT">above</a>)
  2123. with the optional arguments <strong>&lt;which lines to
  2124. number&gt;</strong> and <strong>&lt;gutter&gt;</strong>.
  2125. <p>
  2126. <strong>&lt;which lines to number&gt;</strong> instructs
  2127. <strong>NUMBER_LINES</strong> to number only certain lines, e.g.
  2128. every two lines or every five lines. If you want, say, only every
  2129. five lines to have a prepended number, you'd do
  2130. <pre>
  2131. .NUMBER_LINES 1 5
  2132. </pre>
  2133. <strong>GOTCHA!</strong> The argument to <strong>&lt;which
  2134. lines to number&gt;</strong> only numbers those lines that are
  2135. multiples of the argument. Hence, in the above example, line
  2136. number "1" will <em>not</em> be numbered, since "1" is not a
  2137. multiple of "5".
  2138. <p>
  2139. If you wanted line number "1" to be numbered, you'd have to invoke
  2140. <kbd>.NUMBER_LINES 1 1</kbd> before the first output line, then
  2141. study your <em>output</em> copy and determine where best to insert
  2142. the following in your <em>input</em> copy:
  2143. <pre>
  2144. .NUMBER_LINES \n(ln 5
  2145. </pre>
  2146. (The escape, <kbd>\n(ln</kbd>, ensures that
  2147. <strong>NUMBER_LINES</strong> automatically supplies the correct
  2148. value for the first argument, <strong>&lt;start
  2149. number&gt;</strong>.)
  2150. <p>
  2151. Following this recipe, line number 1 will be numbered; subsequently,
  2152. only line numbers that are multiples of 5 will be numbered. A
  2153. little experimentation may be required to determine the best place
  2154. for it.
  2155. <p>
  2156. The optional argument, <strong>&lt;gutter&gt;</strong>, tells
  2157. <strong>mom</strong> how much space to put between the line numbers
  2158. and the running text.
  2159. <p>
  2160. <strong>Note</strong>: when giving a value for
  2161. <strong>&lt;gutter&gt;</strong>, you cannot skip the
  2162. <strong>&lt;which lines to number&gt;</strong> argument. Either
  2163. fill in the desired value, or use two double-quotes
  2164. (<strong>""</strong>) to have <strong>mom</strong> use the value
  2165. formerly in effect.
  2166. <p>
  2167. <strong>&lt;gutter&gt;</strong> does not require (or even accept) a
  2168. <a href="definitions.html#TERMS_UNITOFMEASURE">unit of measure</a>.
  2169. The argument you pass to it is the number of
  2170. <a href="definitions.html#TERMS_FIGURESPACE">figure spaces</a>
  2171. you want between line numbers and running text.
  2172. <strong>Mom</strong>'s default gutter is two figure spaces. If
  2173. you'd like a wider gutter, say, four figures spaces, you'd do
  2174. <pre>
  2175. .NUMBER_LINES 1 1 4
  2176. |
  2177. +-- Notice you *must* supply a value
  2178. for the 2nd argument in order to supply
  2179. a value for the 3rd.
  2180. </pre>
  2181. <p>
  2182. After you've set up line-numbering, <strong>NUMBER_LINES</strong>
  2183. can be used to control line numbering.
  2184. <br>
  2185. <h3><u>Line-numbering control</u></h3>
  2186. <p>
  2187. <strong>NUMBER_LINES OFF</strong> (or <strong>END, QUIT, X,</strong> etc.)
  2188. turns line-numbering off.
  2189. <p>
  2190. Sometimes, you merely want to suspend line-numbering. In that case,
  2191. turn line numbering off with <strong>NUMBER_LINES OFF</strong>.
  2192. Later, when you want it to resume, enter
  2193. <pre>
  2194. .NUMBER_LINES RESUME
  2195. </pre>
  2196. Line numbering will resume exactly where it left off. If this is
  2197. not what you want--say you want to reset the line number to "1"--simply
  2198. invoke <strong>NUMBER_LINES</strong> with whatever arguments
  2199. are needed for the desired result.
  2200. <p>
  2201. <strong>Extra Notes:</strong>
  2202. <br>
  2203. <ol>
  2204. <li>In document processing, you may invoke <strong>NUMBER_LINES</strong>
  2205. either before or after <strong>START</strong>.
  2206. <strong>Mom</strong> doesn't care.
  2207. <li>If you're collating documents with
  2208. <a href="rectoverso.html#COLLATE">COLLATE</a>,
  2209. you should re-invoke, at a minimum, <kbd>.NUMBER_LINES
  2210. 1</kbd> for each collated document, in order to ensure that
  2211. each begins with the number "1" prepended to the first line
  2212. (unless, of course, that is not what you want).
  2213. <li>Occasionally, you may want to change the current gutter
  2214. between line numbers and running text without knowing
  2215. what the next output line number should be. Since
  2216. <strong>NUMBER_LINES</strong> requires this number
  2217. as its first argument, in such instances, pass
  2218. <strong>NUMBER_LINES</strong> as its first argument the
  2219. escape <kbd>\n(ln</kbd>.
  2220. <p>
  2221. For example, if you were numbering every 5 lines with a
  2222. gutter of 2 (figure spaces) and you needed to change the
  2223. gutter to 4 (figures spaces),
  2224. <p>
  2225. <kbd>&nbsp;&nbsp;&nbsp;&nbsp;.NUMBER_LINES \n(ln 5 4</kbd>
  2226. <p>
  2227. would do the trick.
  2228. <li>If you're using margin notes in a document, be sure to set
  2229. the gutter for margin notes wide enough to allow room for
  2230. the line numbers.
  2231. <li><strong>Mom</strong> (groff, actually), only numbers lines
  2232. <em>to the left of text</em>. For aesthetic reason,
  2233. therefore, the use of line numbering when setting a document
  2234. in columns is discouraged. However, should you wish to
  2235. number lines when setting in columns, make sure the
  2236. <a href="definitions.html#TERMS_GUTTER">gutter(s)</a>
  2237. between columns is wide enough to leave room for the
  2238. numbers.
  2239. </ol>
  2240. <hr width="33%" align="left">
  2241. <a name="NUMBER_LINES_CONTROL"><h3><u>Line numbering control macros for QUOTE and BLOCKQUOTE</u></h3></a>
  2242. <ol>
  2243. <li><a href="#NUMBER_QUOTE_LINES">NUMBER_QUOTE_LINES</a>
  2244. <li><a href="#NUMBER_BLOCKQUOTE_LINES">NUMBER_BLOCKQUOTE_LINES</a>
  2245. <li><a href="#NUMBER_LINES_QUOTES">Setting up line numbering in quotes and blockquotes on a case by case basis</a>
  2246. </ol>
  2247. <a name="NUMBER_QUOTE_LINES"><h3><u>1. NUMBER_QUOTE_LINES</u></h3></a>
  2248. <p>
  2249. If you'd like <strong>mom</strong> to number lines of output text
  2250. in a
  2251. <a href="#QUOTE">QUOTE</a>
  2252. as part of the same order and sequence as paragraph text, simply
  2253. invoke <strong>NUMBER_QUOTE_LINES</strong> by itself.
  2254. <p>
  2255. There is a catch with numbering quotes, though. Owing to groff's
  2256. restriction of accepting only the figure space as the line number
  2257. gutter's unit of measure, it is not possible for line numbers
  2258. in quotes to hang outside a document's overall left margin and
  2259. be reliably flush with the line numbers of paragraph text.
  2260. Conseqently, line numbers in quotes hang to the left of the quote,
  2261. separated from the quote by the <strong>&lt;gutter&gt;</strong>
  2262. argument.
  2263. <p>
  2264. If you'd like to change the gutter for quotes line-numbered in
  2265. this way, invoke <strong>NUMBER_QUOTE_LINES</strong> with a digit
  2266. representing the number of
  2267. <a href="definitions.html#TERMS_FIGURESPACE">figure spaces</a>
  2268. you'd like between the line numbers and the quoted text, like this:
  2269. <pre>
  2270. .NUMBER_QUOTE_LINES 1
  2271. </pre>
  2272. With the above, line numbers in quotes (and only quotes) will have
  2273. a gutter of 1 figure space.
  2274. <p>
  2275. If you are using "line numbering style" for footnotes
  2276. (<a href="#FOOTNOTE_MARKER_STYLE">FOOTNOTE_MARKER_STYLE</a> <strong>LINE</strong>),
  2277. you may not wish to have quotes <em>visibly</em> line-numbered, but
  2278. still want to embed footnotes inside quotes. In order to do that,
  2279. <strong>mom</strong> allows you to say <strong>NUMBER_QUOTE_LINES
  2280. SILENT</strong>.
  2281. <p>
  2282. When you invoke <strong>NUMBER_QUOTE_LINES</strong>
  2283. <kbd>SILENT</kbd>, <strong>mom</strong> continues to increment line
  2284. numbers while quotes are being output, but they won't appear in the
  2285. output copy. (Compare this with <strong>mom</strong>'s default
  2286. behaviour of <em>suspending</em> incrementing of line numbers
  2287. during the output of quotes.) This allows you to embed
  2288. line-numbered footnotes inside quotes and have the line number
  2289. "label" in the footnote come out sensibly.
  2290. <p>
  2291. Once having turned <strong>NUMBER_QUOTE_LINES</strong> on, you
  2292. may disable it with <strong>NUMBER_QUOTE_LINES OFF</strong> (or
  2293. <strong>QUIT</strong>, <strong>END</strong>, <strong>X</strong>,
  2294. etc).
  2295. <p>
  2296. <a name="NUMBER_BLOCKQUOTE_LINES"><h3><u>2. NUMBER_BLOCKQUOTE_LINES</u></h3></a>
  2297. <p>
  2298. If you'd like <strong>mom</strong> to number lines of output text
  2299. in a
  2300. <a href="#QUOTE">BLOCKQUOTE</a>
  2301. as part of the same order and sequence as paragraph text, simply
  2302. invoke <strong>NUMBER_BLOCKQUOTE_LINES</strong> by itself.
  2303. <p>
  2304. There is a catch with numbering blockquotes, though. Owing to
  2305. groff's restriction of accepting only the figure space as the
  2306. line number gutter's unit of measure, it is not possible for line
  2307. numbers in blockquotes to hang outside a document's overall left
  2308. margin and be reliably flush with the line numbers of paragraph
  2309. text. Conseqently, line numbers in blockquotes hang to the
  2310. left of the blockquote, separated from the blockquote by the
  2311. <strong>&lt;gutter&gt;</strong> argument.
  2312. <p>
  2313. If you'd like to change the gutter for blockquotes line-numbered in
  2314. this way, invoke <strong>NUMBER_BLOCKQUOTE_LINES</strong> with a digit
  2315. representing the number of
  2316. <a href="definitions.html#TERMS_FIGURESPACE">figure spaces</a>
  2317. you'd like between the line numbers and the blockquoted text, like
  2318. this:
  2319. <pre>
  2320. .NUMBER_BLOCKQUOTE_LINES 1
  2321. </pre>
  2322. With the above, line numbers in blockquotes (and only blockquotes)
  2323. will have a gutter of 1 figure space.
  2324. <p>
  2325. If you are using "line numbering style" for footnotes
  2326. (<a href="#FOOTNOTE_MARKER_STYLE">FOOTNOTE_MARKER_STYLE</a> <strong>LINE</strong>),
  2327. you may not wish to have blockquotes <em>visibly</em> line-numbered,
  2328. but still want to embed footnotes inside blockquotes. In
  2329. order to do that, <strong>mom</strong> allows you to say
  2330. <strong>NUMBER_BLOCKQUOTE_LINES SILENT</strong>.
  2331. <p>
  2332. When you invoke <strong>NUMBER_BLOCKQUOTE_LINES</strong>
  2333. <kbd>SILENT</kbd>, <strong>mom</strong> continues to increment line
  2334. numbers while blockquotes are being output, but they won't appear in
  2335. the output copy. (Compare this with <strong>mom</strong>'s default
  2336. behaviour of <em>suspending</em> incrementing of line numbers during
  2337. the output of blockquotes.) This allows you to embed line-numbered
  2338. footnotes inside blockquotes and have the line number "label" in the
  2339. footnote come out sensibly.
  2340. <p>
  2341. Once having turned <strong>NUMBER_BLOCKQUOTE_LINES</strong> on, you
  2342. may disable it with <strong>NUMBER_BLOCKQUOTE_LINES OFF</strong> (or
  2343. <strong>QUIT</strong>, <strong>END</strong>, <strong>X</strong>,
  2344. etc).
  2345. <p>
  2346. <a name="NUMBER_LINES_QUOTES"><h3><u>3. Setting up line numbering in quotes and blockquotes on a case by case basis</u></h3></a>
  2347. <p>
  2348. Sometimes, you may want quotes or blockquotes to have a different
  2349. line numbering scheme from the one used in the rest of the
  2350. document. Or, you may want line numbering enabled only inside a
  2351. particular quote or blockquote. A common reason for this would be
  2352. if you were using the
  2353. <a href="#QUOTE">QUOTE</a>
  2354. macro to insert lines of programming code into a document. (See
  2355. <a href="#QUOTE_TIP">here</a>
  2356. for suggestions about including programming code snippets in
  2357. documents.)
  2358. <p>
  2359. To enable line numbering within quotes or blockquotes on a case by
  2360. case basis, simply invoke <strong>NUMBER_LINES</strong>, with the
  2361. arguments you need, immediately after entering <strong>QUOTE</strong>
  2362. or <strong>BLOCKQUOTE</strong>. (<strong>NUMBER_QUOTE_LINES</strong>
  2363. and/or <strong>NUMBER_BLOCKQUOTE_LINES</strong> should be turned
  2364. off if you're doing this.) The quote or blockquote will then be
  2365. line-numbered according to your specifications: the starting line
  2366. number of the quote or blockquote will be the one you give as a
  2367. first argument to <strong>NUMBER_LINES</strong>; which lines to
  2368. number will be the value you pass to <strong>&lt;which lines to
  2369. number&gt;</strong> (defaults to "1"); line numbers will hang
  2370. to the left of the quote or blockquote, separated from the quote or
  2371. blockquote by <strong>&lt;gutter&gt;</strong> (defaults to "2").
  2372. <p>
  2373. As soon as <strong>QUOTE</strong> or <strong>BLOCKQUOTE</strong> is
  2374. turned off, line numbering ceases, not only with respect to
  2375. subsequent paragraph text (if they are not being line-numbered),
  2376. but also for any subsequent invocation of <strong>QUOTE</strong> or
  2377. <strong>BLOCKQUOTE</strong>. In other words, you must re-enable
  2378. quote or blockquote line-numbering inside every instance of
  2379. <strong>QUOTE</strong> or <strong>BLOCKQUOTE</strong> when
  2380. line-numbering either of them on a case by case basis.
  2381. <p>
  2382. <hr>
  2383. <!====================================================================>
  2384. <a name="FOOTNOTE_INTRO"><h2><u>Footnotes</u></h2></a>
  2385. <ul>
  2386. <li><a href="#FOOTNOTE_BEHAVIOUR">Footnote behaviour</a>
  2387. <ul>
  2388. <li><a href="#FN_AND_PUNCT">Footnote markers and punctuation in the running text</a>
  2389. </ul>
  2390. <li><a href="#FOOTNOTE">Tag: FOOTNOTE</a>
  2391. <li><a href="#FOOTNOTE_CONTROL">FOOTNOTE control macros</a>
  2392. </ul>
  2393. <p>
  2394. For something so complex behind the scenes, footnotes are easy to use.
  2395. You just type, for example
  2396. <p>
  2397. <a name="FOOTNOTE_EXAMPLE"></a>
  2398. <pre>
  2399. ...the doctrines of Identity as urged by Schelling\c
  2400. .FOOTNOTE
  2401. &lt;footnote about who the hell is Schelling&gt;
  2402. .FOOTNOTE OFF
  2403. were generally the points of discussion presenting the most
  2404. of beauty to the imaginative Morella.
  2405. </pre>
  2406. and be done with it.
  2407. <p>
  2408. (Note the obligatory use of the <strong>\c</strong>
  2409. <a href="definitions.html#TERMS_INLINES">inline escape</a>.
  2410. It is required when your
  2411. <a href="#FOOTNOTE_MARKER_STYLE">FOOTNOTE_MARKER_STYLE</a>
  2412. is either <strong>STAR</strong> [star/dagger footnotes] or
  2413. <strong>NUMBER</strong> [superscript numbers]; it is NOT to be used
  2414. when the <strong>FOOTNOTE_MARKER_STYLE</strong> is
  2415. <strong>LINE</strong>, or when footnote markers have been disabled
  2416. with
  2417. <a href="#FOOTNOTE_MARKERS">.FOOTNOTE_MARKERS</a>
  2418. <strong>OFF</strong>.)
  2419. <p>
  2420. <strong>***Version 1.3 change***</strong>
  2421. <p>
  2422. As of version 1.3, the manner of entering the line
  2423. <em>after</em> <strong>.FOOTNOTE OFF</strong> has changed
  2424. to accommodate users' differing wishes with respect to
  2425. the order of punctuation and footnote markers. The
  2426. correct way to enter the line after <strong>.FOOTNOTE
  2427. OFF</strong>--<strong><em><u>ONLY</u></em></strong> if your
  2428. <a href="#FOOTNOTE_MARKER_STYLE">FOOTNOTE_MARKER_STYLE</a> is
  2429. <strong>STAR</strong> or <strong>NUMBER</strong>--is to input
  2430. it as if it's literally a continuation of the line before
  2431. <strong>.FOOTNOTE</strong>, and therefore begins with either a space
  2432. or a punctuation mark, as in the two following examples.
  2433. <p>
  2434. <pre>
  2435. Example 1 Example 2
  2436. --------- ---------
  2437. A line of text,\c A line of text\c
  2438. .FOOTNOTE .FOOTNOTE
  2439. A footnote line. A footnote line.
  2440. .FOOTNOTE OFF .FOOTNOTE OFF
  2441. broken up with a comma. , broken up with a comma.
  2442. (last line begins with (last line begins with
  2443. a literal space) the comma and a space)
  2444. </pre>
  2445. If your <strong>FOOTNOTE_MARKER_STYLE</strong> is line, none of
  2446. this is a concern.
  2447. <p>
  2448. <strong>***End of version 1.3 change***</strong>
  2449. <p>
  2450. After you invoke <strong>FOOTNOTE</strong>, <strong>mom</strong>
  2451. takes care of everything: putting footnote markers in the body of
  2452. the document, keeping track of how many footnotes are on the page,
  2453. identifying the footnotes themselves appropriately, balancing them
  2454. properly with the bottom margin, deferring footnotes that don't fit
  2455. on the page... Even if you're using
  2456. <a href="columns.html#COLUMNS">COLUMNS</a>,
  2457. <strong>mom</strong> knows what to do, and Does The Right Thing.
  2458. <p>
  2459. Footnotes can be sly little beasts, though. If you're writing a
  2460. document that's footnote-heavy, you might want to read the following.
  2461. <p>
  2462. <a name="FOOTNOTE_BEHAVIOUR"><h3><u>Footnote behaviour</u></h3></a>
  2463. <p>
  2464. By default, <strong>mom</strong> marks footnotes with alternating
  2465. stars (asterisks), daggers, and double-daggers. The first footnote
  2466. gets a star, the second a dagger, the third a double-dagger, the
  2467. fourth two stars, the fifth two daggers, etc. If you prefer
  2468. numbered footnotes, rest assured <strong>mom</strong> is happy to
  2469. oblige.
  2470. <p>
  2471. A small amount of vertical whitespace and a short horizontal rule
  2472. separate footnotes from the document body. The amount of whitespace
  2473. varies slightly from page to page depending on the number of lines
  2474. in the footnotes. <strong>Mom</strong> tries for a nice balance
  2475. between too little whitespace and too much, but when push comes to
  2476. shove, she'll usually opt for ample over cramped. The last lines of
  2477. footnotes are always flush with the document's bottom margin.
  2478. <a name="FOOTNOTE_RULES"></a>
  2479. <p>
  2480. If <strong>mom</strong> sees that a portion of a footnote cannot
  2481. be fit on its page, she carries that portion over to the next
  2482. page. If an entire footnote can't be fit on its page (i.e.
  2483. <strong>FOOTNOTE</strong> has been called too close to the bottom),
  2484. she defers the footnote to the next page, but sets it with the
  2485. appropriate marker from the previous page.
  2486. <p>
  2487. When footnotes occur within cited text, for example a
  2488. <a href="#QUOTE">QUOTE</a>
  2489. or a
  2490. <a href="#BLOCKQUOTE">BLOCKQUOTE</a>,
  2491. <strong>mom</strong> will usually opt for deferring the footnote
  2492. over to the next page if it allows her to complete the cited text
  2493. on one page.
  2494. <p>
  2495. In the unfortunate happenstance that a deferred footnote is the
  2496. only footnote on its page (i.e. it's marked in the document body with
  2497. a star) and the page it's deferred to has its own footnotes,
  2498. <strong>mom</strong> separates the deferred footnote from the page's
  2499. proper footnote(s) with a blank line. This avoids the confusion that
  2500. might result from readers seeing two footnote entries on the same page
  2501. identified by a single star (or the number 1 if you've requested
  2502. numbered footnotes that begin at 1 on every page). The blank line
  2503. makes it clear that the first footnote entry belongs to the previous
  2504. page.
  2505. <p>
  2506. In the circumstance where a deferred footnote is not the only one
  2507. on its page, and is consequently marked by something other than a
  2508. single star, there's no confusion and <strong>mom</strong> doesn't
  2509. bother with the blank line. (By convention, the first footnote on
  2510. a page is always marked with a single star, so if readers see, say,
  2511. a dagger or double-dagger marking the first footnote entry, they'll
  2512. know the entry belongs to the previous page).
  2513. <p>
  2514. Very exceptionally, two footnotes may have to be deferred (e.g. one
  2515. occurs on the second to last line of a page, and another on the
  2516. last line). In such a circumstance, <strong>mom</strong> does not
  2517. add a blank after the second deferred footnote. If you'd like a
  2518. blank line separating both deferred footnotes from any footnotes
  2519. proper to the page the deferred ones were moved to, add the space
  2520. manually by putting a
  2521. <a href="typesetting.html#SPACE">.SPACE</a>
  2522. command at the end of the footnote text, before
  2523. <strong>FOOTNOTE OFF</strong> (or <strong>FOOTNOTE X, QUIT,
  2524. EXIT, etc...</strong>).
  2525. <p>
  2526. Obviously, deferred footnotes aren't an issue if you request numbered
  2527. footnotes that increase incrementally throughout the whole document --
  2528. yet another convenience <strong>mom</strong> has thought of.
  2529. <p>
  2530. While <strong>mom</strong>'s handling of footnotes is
  2531. sophisticated, and tries to take nearly every imaginable situation
  2532. under which they might occur into account, some situations are
  2533. simply impossible from a typographic standpoint. For example, if
  2534. you have a
  2535. <a href="#HEAD">HEAD</a>
  2536. near the bottom of the page AND that page has some footnotes on it,
  2537. <strong>mom</strong> may simply not have room to set any text under
  2538. the head (normally, she insists on having room for at least one line
  2539. of text beneath a head). In such an instance, <strong>mom</strong>
  2540. will either set the head, with nothing under it but footnotes,
  2541. or transfer the head to the next page. Either way, you'll have a
  2542. gaping hole at the bottom of the page. It's a sort of typographic
  2543. Catch-22, and can only be resolved by you, the writer or formatter
  2544. of the document, adjusting the type on the offending page so as to
  2545. circumvent the problem.
  2546. <p>
  2547. <strong>NOTE:</strong> Exceptionally, you may encounter problems with footnotes inside
  2548. quotes and blockquotes that cross a page or column. See <a
  2549. href="#BREAK_QUOTE">BREAK_QUOTE</a>
  2550. for a solution.
  2551. <p>
  2552. <h3><u><a name="FN_AND_PUNCT">Footnote markers and punctuation in the running text</a></u></h3>
  2553. <p>
  2554. As of version 1.3, the manner of entering the line <em>after</em>
  2555. <strong>.FOOTNOTE OFF</strong> has changed. The correct way to
  2556. enter the line after <strong>.FOOTNOTE OFF</strong> now is to
  2557. input it as if it's literally a continuation of the line before
  2558. <strong>.FOOTNOTE</strong>, and therefore begins with either a space
  2559. or a punctuation mark, as in the two following examples.
  2560. <p>
  2561. <pre>
  2562. Example 1 Example 2
  2563. --------- ---------
  2564. A line of text,\c A line of text\c
  2565. .FOOTNOTE .FOOTNOTE
  2566. A footnote line. A footnote line.
  2567. .FOOTNOTE OFF .FOOTNOTE OFF
  2568. broken up with a comma. , broken up with a comma.
  2569. (last line begins with (last line begins with
  2570. a literal space) the comma and a space)
  2571. </pre>
  2572. Care must be taken, though, if the punctuation mark that begins the
  2573. line after <strong>FOOTNOTE OFF</strong> is a period (dot). You
  2574. <strong><em><u>must</u></em></strong> begin such lines with
  2575. <strong>\&.</strong>, like this:
  2576. <p>
  2577. <pre>
  2578. end of a sentence\c
  2579. .FOOTNOTE
  2580. A footnote line.
  2581. .FOOTNOTE OFF
  2582. \&. A new sentence...
  2583. </pre>
  2584. If you omit the <strong>\&.</strong>, the line will vanish!
  2585. <p>
  2586. <!---FOOTNOTE--->
  2587. <hr width="66%" align="left">
  2588. <p>
  2589. <a name="FOOTNOTE">
  2590. <nobr>Tag: <strong>FOOTNOTE</strong> &lt;toggle&gt; | INDENT LEFT | RIGHT | BOTH &lt;indent value&gt;</nobr>
  2591. <br>
  2592. <em>*See <a href="#FOOTNOTE_NOTE">HYPER-IMPORTANT NOTE</a>!!!</em>
  2593. <br>
  2594. &lt;indent value&gt; requires a
  2595. <a href="definitions.html#TERMS_UNITOFMEASURE">unit of measure</a></em>
  2596. </a>
  2597. <p>
  2598. <strong>FOOTNOTE</strong> is a toggle macro, therefore invoking it
  2599. on a line by itself allows you to enter a footnote in the body of a
  2600. document. Invoking it with any argument <em>other than INDENT</em>
  2601. (i.e. <strong>OFF, QUIT, END, X...</strong>) tells <strong>mom</strong>
  2602. you're finished.
  2603. <p>
  2604. Footnotes are the only element of
  2605. <a href="definitions.html#TERMS_RUNNING">running text</a>
  2606. that are not affected by the typesetting
  2607. <a href="typesetting.html#INDENTS">indent macros</a>.
  2608. In the unlikely event that you want a page's footnotes to line
  2609. up with a running indent, invoke <strong>FOOTNOTE</strong> with
  2610. the <strong>INDENT</strong> argument and pass it an indent
  2611. direction and indent value. <strong>L, R,</strong> and
  2612. <strong>B</strong> may be used in place of <strong>LEFT,
  2613. RIGHT,</strong> and <strong>BOTH</strong>.
  2614. <strong>FOOTNOTE</strong> must be invoked with <strong>INDENT</strong>
  2615. for every footnote you want indented; <strong>mom</strong> does
  2616. not save any footnote indent information from invocation to
  2617. invocation.
  2618. <p>
  2619. <strong>NOTE:</strong> If a footnote runs to more than one
  2620. paragraph(!), <strong>DO NOT</strong> begin the footnote with
  2621. the
  2622. <a href="#PP">PP</a>
  2623. tag. Use <strong>PP</strong> only to introduce subsequent paragraphs.
  2624. <p>
  2625. <a name="FOOTNOTE_NOTE"><strong>HYPER-IMPORTANT NOTE:</strong></a>
  2626. The final word on the
  2627. <a href="definitions.html#TERMS_INPUTLINE">input line</a>
  2628. that comes immediately before <strong>FOOTNOTE</strong> MUST terminate
  2629. with a
  2630. <a href="typesetting.html#JOIN">\c</a>
  2631. inline escape if your
  2632. <a href="#FOOTNOTE_MARKER_STYLE">FOOTNOTE_MARKER_STYLE</a>
  2633. is either <strong>STAR</strong> or <strong>NUMBER</strong>.
  2634. See the
  2635. <a href="#FOOTNOTE_EXAMPLE">footnote example</a>
  2636. above.
  2637. <p>
  2638. Additionally, the line <em>after</em> a <strong>FOOTNOTE
  2639. OFF</strong> should be entered as if there were no interruption in
  2640. the input text, i.e. the line should begin with a literal space or
  2641. punctuation mark. See
  2642. <a href="#FN_AND_PUNCT">above</a>.
  2643. <p>
  2644. Do NOT use the <strong>\c</strong> inline escape if your
  2645. <strong>FOOTNOTE_MARKER_STYLE</strong> is <strong>LINE</strong>, or
  2646. if you have disabled footnote markers with
  2647. <a href="#FOOTNOTE_MARKERS">.FOOTNOTE_MARKERS</a>
  2648. <strong>OFF</strong>. As well, the line after
  2649. <strong>FOOTNOTE&nbsp;OFF</strong> should be entered normally.
  2650. <p>
  2651. <a name="FOOTNOTE_CONTROL"><h3><u>Footnote control macros</u></h3></a>
  2652. <ol>
  2653. <li><a href="#FOOTNOTE_GENERAL">Family/font/size/colour/lead/quad</a>
  2654. <li><a href="#FOOTNOTE_MARKERS">Footnote markers</a> -- on or off
  2655. <li><a href="#FOOTNOTE_MARKER_STYLE">Footnote marker style</a> -- star+dagger, numbered or by line number
  2656. <ul>
  2657. <li><a href="#FOOTNOTE_LINENUMBER_BRACKETS">FOOTNOTE_LINENUMBER_BRACKETS</a>
  2658. <li><a href="#FOOTNOTE_LINENUMBER_SEPARATOR">FOOTNOTE_LINENUMBER_SEPARATOR</a>
  2659. <li><a href="#FOOTNOTES_RUN_ON">FOOTNOTES_RUN_ON</a>--line-numbered footnotes only
  2660. </ul>
  2661. <li><a href="#RESET_FOOTNOTE_NUMBER">Reset footnote number</a> -- set footnote marker number to 1
  2662. <li><a href="#FOOTNOTE_SPACE">Inter-footnote spacing</a>
  2663. <li><a href="#FOOTNOTE_RULE">Footnote rule</a> -- on or off
  2664. <li><a href="#FOOTNOTE_RULE_LENGTH">Footnote rule length</a> -- length of footnote separator rule
  2665. <li><a href="#FOOTNOTE_RULE_ADJ">Adjust vertical position of footnote separator rule</a>
  2666. </ol>
  2667. <p>
  2668. <a name="FOOTNOTE_GENERAL"><h3><u>1. Family/font/size/colour/lead/quad</u></h3></a>
  2669. <p>
  2670. See
  2671. <a href="#CONTROL_MACRO_ARGS">Arguments to the control macros</a>.
  2672. <p>
  2673. <pre>
  2674. .FOOTNOTE_FAMILY default = prevailing document family; default is Times Roman
  2675. .FOOTNOTE_FONT default = roman
  2676. .FOOTNOTE_SIZE default = -2 (points)
  2677. .FOOTNOTE_COLOR default = black
  2678. .FOOTNOTE_AUTOLEAD default = 2 points (typeset); single-spaced (typewrite)
  2679. .FOOTNOTE_QUAD default = same as paragraphs
  2680. </pre>
  2681. <a name="FOOTNOTE_MARKERS"><h3><u>2. Footnote markers -- FOOTNOTE_MARKERS</u></h3></a>
  2682. <p>
  2683. If you don't want footnote markers, in either the body of
  2684. the document or beside footnote entries themselves, toggle
  2685. them off with <strong>.FOOTNOTE_MARKERS OFF</strong> (or
  2686. <strong>END, QUIT, X</strong>...). This means, of course, that
  2687. you'll have to roll your own. If you want them back on, invoke
  2688. <strong>.FOOTNOTE_MARKERS</strong> with no argument. Footnote markers
  2689. are on by default.
  2690. <p>
  2691. If <strong>FOOTNOTE_MARKERS</strong> are disabled, do NOT use the
  2692. <strong>\c</strong> inline escape to terminate the line before
  2693. <strong>.FOOTNOTE</strong>.
  2694. <p>
  2695. <a name="FOOTNOTE_MARKER_STYLE"><h3><u>3. Footnote marker style -- FOOTNOTE_MARKER_STYLE</u></h3></a>
  2696. <p>
  2697. <strong>Mom</strong> gives you two choices of footnote marker style:
  2698. star+dagger (see
  2699. <a href="#FOOTNOTE_BEHAVIOUR">footnote behaviour</a>
  2700. above), or numbered.
  2701. <p>
  2702. <strong>.FOOTNOTE_MARKER_STYLE STAR</strong> gives you star+dagger
  2703. (the default). There is a limit of 10 footnotes per page with
  2704. this style.
  2705. <p>
  2706. <strong>.FOOTNOTE_MARKER_STYLE NUMBER</strong> gives you superscript
  2707. numbers, both in the document body and in the footnote entries
  2708. themselves. By default, footnote numbers increase incrementally
  2709. (prev. footnote number + 1) throughout the whole document. You can
  2710. ask <strong>mom</strong> to start each page's footnote numbers at 1
  2711. with <strong>.RESET_FOOTNOTE_NUMBER</strong>
  2712. (<a href="#RESET_FOOTNOTE_NUMBER">see below</a>.)
  2713. <a name="FOOTNOTE_LINENUMBERS"><p></a>
  2714. <p>
  2715. <strong>.FOOTNOTE_MARKER_STYLE LINE</strong> lets you have
  2716. footnotes which are identified by line number, rather than by a
  2717. marker in the text. (Note that
  2718. <a href="#NUMBER_LINES">NUMBER_LINES</a>
  2719. must be enabled in order to use this marker style.)
  2720. <p>
  2721. With <strong>FOOTNOTE_MARKER_STYLE LINE</strong>, <strong>mom</strong>
  2722. will identify footnotes either by single line numbers, or line
  2723. ranges. If what you want is a single line number, you need only
  2724. invoke <strong>.FOOTNOTE</strong>, <em>without terminating the text
  2725. line before it with</em> <strong>\c</strong>, at the appropriate
  2726. place in running text.
  2727. <p>
  2728. If you want a range of line numbers (e.g.&nbsp;[5-11]&nbsp;),
  2729. insert, directly into the first line of the range you want, the
  2730. <a href="definitions.html#TERMS_INLINES">inline escape</a>,
  2731. <strong>\*[FN-MARK]</strong>. For the terminating line number of
  2732. the range, you need only invoke <strong>.FOOTNOTE</strong>, (again,
  2733. without attaching <strong>\c</strong> to the text line before it).
  2734. <strong>Mom</strong> is smart enough to figure out that where
  2735. <strong>FOOTNOTE</strong> was invoked represents the terminating
  2736. line number. Range-numbered footnotes are always output on the page
  2737. where <strong>FOOTNOTE</strong> was invoked, not the page where
  2738. <strong>\*[FN-MARK]</strong> appears (subject, of course, to the
  2739. rules for footnotes that fall too close to the bottom of a page, as
  2740. outlined
  2741. <a href="#FOOTNOTE_RULES">here</a>).
  2742. <a name="FOOTNOTE_LINENUMBER_BRACKETS"></a>
  2743. <p>
  2744. <strong>Mom</strong>, by default, puts footnote line numbers inside
  2745. square brackets. The style of the brackets may be changed with
  2746. the macro, <strong>FOOTNOTE_LINENUMBER_BRACKETS</strong>, which
  2747. takes one of three possible arguments: <strong>PARENS</strong>
  2748. ("round" brackets), <strong>SQUARE</strong> (the default) or
  2749. <strong>BRACES</strong> (curly braces). If you prefer a
  2750. shortform, the arguments, <strong>(</strong>, <strong>[</strong> or
  2751. <strong>{</strong> may be used instead.
  2752. <a name="FOOTNOTE_LINENUMBER_SEPARATOR"></a>
  2753. <p>
  2754. If you don't want the numbers enclosed in brackets, you may tell
  2755. <strong>mom</strong> to use a "separator" instead. A common
  2756. separator would be the colon, but it can be anything you like. The
  2757. macro to do this is <strong>FOOTNOTE_LINENUMBER_SEPARATOR</strong>,
  2758. which takes, as its single argument, the separator you want. For
  2759. safety and consistency's sake, ALWAYS enclose the argument in
  2760. double-quotes.
  2761. <p>
  2762. The separator can be composed of any legal groff character, or any
  2763. combination of characters. <strong>A word of caution:</strong> when
  2764. using a separator, <strong>mom</strong> doesn't insert a space
  2765. after the separator. Hence, if you want the space (you probably
  2766. do), you must make the space part of the argument you pass to
  2767. <strong>FOOTNOTE_LINENUMBER_SEPARATOR</strong>. For example,
  2768. to get a colon separator with a space after it, you'd do
  2769. <p>
  2770. <pre>
  2771. .FOOTNOTE_LINENUMBER_SEPARATOR ": "
  2772. </pre>
  2773. <a name="FOOTNOTES_RUN_ON"><strong><u>RUN-ON FOOTNOTES</u></strong></a>
  2774. <p>
  2775. Finally, if your footnote marker style is <strong>LINE</strong>, you
  2776. may instruct <strong>mom</strong> to do "run-on style" footnotes.
  2777. Run-on footnotes do not treat footnotes as discrete entities, i.e.
  2778. on a line by themselves. Rather, each footnote is separated from
  2779. the footnote before it by a space, so that the footnotes on any
  2780. given page form a continuous block, like lines in a paragraph. The
  2781. macro to get
  2782. <strong>mom</strong> to run footnotes on is
  2783. <strong>.FOOTNOTES_RUN_ON</strong>. Invoked by itself, it turns
  2784. the feature on. Invoked with any other argument
  2785. (<strong>OFF</strong>, <strong>NO</strong>, etc.), it turns the
  2786. feature off. It is generally NOT a good idea to turn the feature
  2787. on and off during the course of a single document. If you do,
  2788. <strong>mom</strong> will issue a warning if there's going to be a
  2789. problem. However, it is always perfectly safe to enable/disable the
  2790. feature after
  2791. <a href="rectoverso.html#COLLATE">COLLATE</a>.
  2792. <p>
  2793. The usual reason for wanting run-on footnotes is that you're
  2794. using them to hold many, short references. (See
  2795. <a href="refer.html#TOP">here</a>
  2796. for instructions on using the <strong>groff</strong> program,
  2797. <strong>refer</strong>, to set up references.)
  2798. <p>
  2799. <a name="RESET_FOOTNOTE_NUMBER"><h3><u>4. Reset footnote number -- RESET_FOOTNOTE_NUMBER</u></h3></a>
  2800. <p>
  2801. <strong>.RESET_FOOTNOTE_NUMBER</strong>, by itself, resets
  2802. footnote numbering so that the next footnote you enter is
  2803. numbered 1.
  2804. <p>
  2805. <strong>.RESET_FOOTNOTE_NUMBER PAGE</strong> tells
  2806. <strong>mom</strong> to start every page's footnote numbering at 1.
  2807. <p>
  2808. <a name="FOOTNOTE_SPACE"><h3><u>5. Inter-footnote spacing -- FOOTNOTE_SPACE</u></h3></a>
  2809. <p>
  2810. If you'd like a little extra space between footnotes, you can have
  2811. <strong>mom</strong> put it in for you by invoking
  2812. <strong>.FOOTNOTE_SPACE</strong> with an argument representing the
  2813. amount of extra space you'd like. The argument to
  2814. <strong>FOOTNOTE_SPACE</strong> requires a
  2815. <a href="definitions.html#TERMS_UNITOFMEASURE">unit of measure</a>.
  2816. <p>
  2817. In the following example, footnotes will be separated from each
  2818. other by 3
  2819. <a href="definitions.html#TERMS_PICASPOINTS">points</a>.
  2820. <pre>
  2821. .FOOTNOTE_SPACE 3p
  2822. </pre>
  2823. <a name="FOOTNOTE_RULE"><h3><u>6. Footnote rule -- FOOTNOTE_RULE</u></h3></a>
  2824. <p>
  2825. If you don't want a footnote separator rule, toggle it off with
  2826. <strong>.FOOTNOTE_RULE OFF</strong> (or <strong>END,
  2827. QUIT, X</strong>...). Toggle it back on by invoking
  2828. <strong>.FOOTNOTE_RULE</strong> with no argument. The default is to
  2829. print the rule.
  2830. <p>
  2831. <a name="FOOTNOTE_RULE_LENGTH"><h3><u>7. Footnote rule length -- FOOTNOTE_RULE_LENGTH</u></h3></a>
  2832. <p>
  2833. If you want to change the length of the footnote separator rule,
  2834. invoke <strong>.FOOTNOTE_RULE_LENGTH</strong> with a length, like
  2835. this,
  2836. <pre>
  2837. .FOOTNOTE_RULE_LENGTH 1i
  2838. </pre>
  2839. which sets the length to 1 inch. Note that a
  2840. <a href="definitions.html#TERMS_UNITOFMEASURE">unit of measure</a>
  2841. is required. The default is 4
  2842. <a href="definitions.html#TERMS_PICASPOINTS">picas</a>
  2843. for both
  2844. <a href="docprocessing.html#PRINTSTYLE">PRINTSTYLES</a>.
  2845. <p>
  2846. <a name="FOOTNOTE_RULE_ADJ"><h3><u>8. Adjust vertical position of footnote separator rule -- FOOTNOTE_RULE_ADJ</u></h3></a>
  2847. <p>
  2848. The footnote separator rule is actually a baseline rule that falls
  2849. on the
  2850. <a href="definitions.html#TERMS_BASELINE">baseline</a>
  2851. of the first line of a page's footnotes. By default,
  2852. <strong>mom</strong> raises the rule 3
  2853. <a href="definitions.html#TERMS_PICASPOINTS">points</a>
  2854. from the baseline so that the separator and the footnotes don't
  2855. look jammed together. If you'd prefer a different vertical
  2856. adjustment, invoke <strong>.FOOTNOTE_RULE_ADJ</strong> with the
  2857. amount you'd like. For example
  2858. <p>
  2859. <pre>
  2860. .FOOTNOTE_RULE_ADJ 4.25p
  2861. </pre>
  2862. raises the rule by 4-1/4 points. Note that you can only raise
  2863. the rule, not lower it. A
  2864. <a href="definitions.html#TERMS_UNITOFMEASURE">unit of measure</a>
  2865. is required.
  2866. <p>
  2867. <strong>Tip:</strong> If your document
  2868. <a href="definitions.html#TERMS_LEADING">leading</a>
  2869. is 2
  2870. <a href="definitions.html#TERMS_PICASPOINTS">points</a>
  2871. or less (e.g your
  2872. <a href="definitions.html#TERMS_PS">point size</a>
  2873. is 10 and your linespacing is 10, 11, or 12, lowering
  2874. <strong>mom</strong>'s default footnote rule adjustment will
  2875. almost certainly give you nicer looking results than leaving
  2876. the adjustment at the default. Furthermore, you can invoke
  2877. <strong>FOOTNOTE_RULE_ADJ</strong> on any page in which footnotes
  2878. appear, or in any column, so that the placement of the footnote rule
  2879. can be changed on-the-fly, should you wish to do so.
  2880. <p>
  2881. <hr>
  2882. <!====================================================================>
  2883. <a name="ENDNOTE_INTRO"><h2><u>Endnotes</u></h2></a>
  2884. <ul>
  2885. <li><a href="#ENDNOTE_BEHAVIOUR">Endnote behaviour</a>
  2886. <ul>
  2887. <li><a href="#ENDNOTE_SPACING">A Note on Endnote Spacing</a>
  2888. <li><a href="#ENDNOTE_COLUMNS">Endnotes and columnar documents</a>
  2889. </ul>
  2890. <li><a href="#ENDNOTE">Tag: ENDNOTE</a>
  2891. <li><a href="#ENDNOTES">Macro: ENDNOTES</a> -- tell <strong>mom</strong> to output endnotes
  2892. <li><a href="#ENDNOTE_CONTROL">ENDNOTES control macros</a>
  2893. </ul>
  2894. <p>
  2895. Embedding endnotes into <strong>mom</strong> documents is accomplished
  2896. the same way as embedding
  2897. <a href="#FOOTNOTE_INTRO">footnotes</a>. The example below is
  2898. identical to the one shown in the
  2899. <a href="#FOOTNOTE_EXAMPLE">introduction to footnotes</a>,
  2900. except that <kbd>.FOOTNOTE</kbd> has been replaced with
  2901. <kbd>.ENDNOTE</kbd>.
  2902. <p>
  2903. <a name="ENDNOTE_EXAMPLE"></a>
  2904. <pre>
  2905. ...the doctrines of Identity as urged by Schelling\c
  2906. .ENDNOTE
  2907. &lt;endnote about who the hell is Schelling&gt;
  2908. .ENDNOTE OFF
  2909. were generally the points of discussion presenting the most
  2910. of beauty to the imaginative Morella.
  2911. </pre>
  2912. As with footnotes, note the obligatory use of the <strong>\c</strong>
  2913. <a href="definitions.html#TERMS_INLINES">inline escape</a>
  2914. when your
  2915. <a href="#ENDNOTE_MARKER_STYLE">ENDNOTE_MARKER_STYLE</a>
  2916. is <strong>NUMBER</strong> (which marks endnotes references in
  2917. <a href="definitions.html#TERMS_RUNNING">running text</a>
  2918. with superscript numbers). When the marker style is
  2919. <strong>LINE</strong>, you must <em>not</em> use the
  2920. <strong>\c</strong> escape.
  2921. <p>
  2922. <strong>***Version 1.3 change***</strong>
  2923. <p>
  2924. As of version 1.3, the manner of entering the line <em>after</em>
  2925. <strong>.ENDNOTE OFF</strong> has changed to accommodate users'
  2926. differing wishes with respect to the order of punctuation and
  2927. endnote markers. The correct way to enter the line after
  2928. <strong>.ENDNOTE OFF</strong>--but <strong><em><u>NOT</u></em></strong>
  2929. if your
  2930. <a href="#ENDNOTE_MARKER_STYLE">ENDNOTE_MARKER_STYLE</a>
  2931. is <strong>LINE</strong>--is to input it as if it's literally
  2932. a continuation of the line before <strong>.ENDNOTE</strong>, and
  2933. therefore begins with either a space or a punctuation mark, as in
  2934. the two following examples.
  2935. <p>
  2936. <a name="EN_PUNCT"></a>
  2937. <pre>
  2938. Example 1 Example 2
  2939. --------- ---------
  2940. A line of text,\c A line of text\c
  2941. .ENDNOTE .ENDNOTE
  2942. A footnote line. A footnote line.
  2943. .ENDNOTE OFF .ENDNOTE OFF
  2944. broken up with a comma. , broken up with a comma.
  2945. (last line begins with (last line begins with
  2946. a literal space) the comma and a space)
  2947. </pre>
  2948. <strong>***End version 1.3 change***</strong>
  2949. <p>
  2950. Endnotes differ from footnotes in two ways (other than the fact that
  2951. endnotes come at the end of a document whereas footnotes appear in the
  2952. body of the document):
  2953. <br>
  2954. <ol>
  2955. <li>When your <strong>ENDNOTE_MARKER_STYLE</strong> is
  2956. <strong>NUMBER</strong>, endnotes are always numbered
  2957. incrementally, starting at "1".
  2958. <li>Endnotes MUST be output explicitly; <strong>mom</strong> does
  2959. not output them for you. In
  2960. <a href="rectoverso.html#COLLATE">collated</a>
  2961. documents, this allows you to choose whether you
  2962. want the endnotes to appear at the end of each chapter or
  2963. article in a document, or grouped together at the very end
  2964. of the document.
  2965. </ol>
  2966. <p>
  2967. Within endnotes, you may use the document element tags
  2968. <a href="#PP">PP</a>,
  2969. <a href="#QUOTE">QUOTE</a>
  2970. and
  2971. <a href="#BLOCKQUOTE">BLOCKQUOTE</a>.
  2972. This provides the flexibility to create endnotes that run to several
  2973. paragraphs, as well as to embed cited text within endnotes.
  2974. <p>
  2975. Should you wish to change the appearance of quotes or blockquotes that
  2976. appear within endnotes, you may do so with the
  2977. <a href="#QUOTE_CONTROL">quote control macros</a>
  2978. or
  2979. <a href="#BLOCKQUOTE_CONTROL">blockquote control macros</a>.
  2980. HOWEVER... you must make the changes <em>within</em> each endnote, prior
  2981. to invoking <strong>QUOTE</strong> or <strong>BLOCKQUOTE</strong>, and
  2982. undo them prior to terminating the endnote (i.e. before <strong>ENDNOTE
  2983. OFF</strong>), otherwise the changes will affect subsequent quotes and
  2984. blockquotes that appear in the document body as well.
  2985. <p>
  2986. <a name="ENDNOTE_BEHAVIOUR"><h3><u>Endnote behaviour</u></h3></a>
  2987. <br>
  2988. When you output endnotes (with
  2989. <a href="#ENDNOTES">ENDNOTES</a>),
  2990. <strong>mom</strong> finishes processing the last page of your document,
  2991. then breaks to a new page for printing the endnotes. If the document
  2992. type is
  2993. <a href="docprocessing.html#DOCTYPE">CHAPTER</a>,
  2994. the centre part of the
  2995. <a href="definitions.html#TERMS_HEADER">header</a>
  2996. (or footer), which, by default, contains a chapter number or title, is
  2997. removed.
  2998. <p>
  2999. By default, <strong>mom</strong> starts the endnotes page with a
  3000. bold, centred, double-underscored head, &quot;ENDNOTES&quot;.
  3001. Underneath--flush left, bold, and underscored--she prints the document
  3002. title (or, in the case of chapters, the chapter number or title). She
  3003. then prints the endnotes. Each endnote is identified by its appropriate
  3004. number, in bold, right aligned to two placeholders. The text of the
  3005. endnotes themselves is indented to the right of the numbers.
  3006. <p>
  3007. If the endnotes are grouped together at the end of a collated document,
  3008. each section of the document that contains endnotes is identified by its
  3009. own unique title (or chapter number or title), bold, flush left, and
  3010. underscored.
  3011. <p>
  3012. Of course, all the defaults, as well as the overall style of the
  3013. endnotes page, can be changed with the
  3014. <a href="#ENDNOTE_CONTROL">endnote control macros</a>.
  3015. The attentive will notice that endnotes have an awful lot of control
  3016. macros. This is because endnotes are like a mini-document unto
  3017. themselves, and therefore need not be bound by the style parameters of
  3018. the body of the document.
  3019. <p>
  3020. <a name="ENDNOTE_SPACING">
  3021. <h3><u>A Note on Endnote Spacing</u></h3>
  3022. </a>
  3023. <br>
  3024. On the endnotes page(s), each new endnote is separated from the
  3025. previous endnote by a full line space. This can result in a bottom
  3026. margin that hangs, and is the one instance, other than the use of
  3027. <a href="#PP_SPACE">PARA_SPACE</a>,
  3028. where <strong>mom</strong> allows unequal bottom alignment of pages.
  3029. Should you wish to correct this, by adding or subtracting small amounts
  3030. of space between endnotes that appear together on an endnotes page, make
  3031. the adjustment (with
  3032. <a href="typesetting.html#ALD">ALD</a>,
  3033. <a href="typesetting.html#RLD">RLD</a>
  3034. or
  3035. <a href="typesetting.html#SPACE">SPACE</a>)
  3036. <em>at the end of each endnote</em> (i.e. just before invoking
  3037. <a href="#ENDNOTE">ENDNOTE OFF</a>)
  3038. rather than at the top.
  3039. <p>
  3040. <a name="ENDNOTE_COLUMNS">
  3041. <h3><u>Endnotes and columnar documents</u></h3>
  3042. </a>
  3043. <br>
  3044. Formerly (pre 1.1.6), there was no way to set a document in columns
  3045. (see
  3046. <a href="docprocessing.html#COLUMNS">COLUMNS</a>)
  3047. and then turn off column mode for endnotes. As of version 1.1.6,
  3048. you may now do so. See
  3049. <a href="#ENDNOTES_NO_COLUMNS">ENDNOTES_NO_COLUMNS</a>.
  3050. <p>
  3051. <hr>
  3052. <!---ENDNOTE--->
  3053. <p>
  3054. <a name="ENDNOTE">
  3055. <nobr>Macro: <strong>ENDNOTE</strong> &lt;toggle&gt;</nobr>
  3056. <br>
  3057. <em>*See <a href="#ENDNOTE_NOTE">HYPER-IMPORTANT NOTE</a>!!!</em>
  3058. </a>
  3059. <p>
  3060. <strong>ENDNOTE</strong> is a toggle macro, therefore invoking it
  3061. on a line by itself allows you to enter an endnote in the body of a
  3062. document. Invoking it with any other argument
  3063. (i.e. <strong>OFF, QUIT, END, X...</strong>) tells <strong>mom</strong>
  3064. that you've finished the endnote.
  3065. <p>
  3066. <strong>NOTE:</strong> If an endnote runs to more than one paragraph,
  3067. <strong>DO NOT</strong> begin the endnote with the
  3068. <a href="#PP">PP</a>
  3069. tag. Use <strong>PP</strong> only to introduce subsequent paragraphs.
  3070. <p>
  3071. <a name="ENDNOTE_NOTE"><strong>HYPER-IMPORTANT NOTE:</strong></a>
  3072. If your
  3073. <a href="#ENDNOTE_MARKER_STYLE">ENDNOTE_MARKER_STYLE</a>
  3074. is <strong>NUMBER</strong> (<strong>mom</strong>'s default), the
  3075. final word on the
  3076. <a href="definitions.html#TERMS_INPUTLINE">input line</a>
  3077. that comes immediately before <strong>ENDNOTE</strong> MUST terminate
  3078. with a
  3079. <a href="typesetting.html#JOIN">\c</a>
  3080. inline escape. See the
  3081. <a href="#ENDNOTE_EXAMPLE">endnote example</a>
  3082. above.
  3083. <p>
  3084. Additionally, the line <em>after</em>
  3085. <strong>.ENDNOTE&nbsp;OFF</strong> should be entered as if there
  3086. were no interruption in the input text, i.e. the line should begin
  3087. with a literal space or punctuation mark. See the two
  3088. <a href="#EN_PUNCT">examples</a>,
  3089. above.
  3090. <p>
  3091. If your <strong>ENDNOTE_MARKER_STYLE</strong> is
  3092. <strong>LINE</strong>, do NOT use the <strong>\c</strong> escape,
  3093. and enter the line after <strong>.ENDNOTE&nbsp;OFF</strong>
  3094. normally.
  3095. <p>
  3096. <!---ENDNOTES--->
  3097. <hr width="66%" align="left">
  3098. <p>
  3099. <a name="ENDNOTES">Tag: <strong>ENDNOTES</strong></a>
  3100. <p>
  3101. Unlike footnotes, which <strong>mom</strong> automatically outputs at the
  3102. bottom of pages, endnotes must be explicitly output by you, the user.
  3103. <strong>ENDNOTES</strong>, by itself (i.e. without any argument), is
  3104. the macro to do this.
  3105. <p>
  3106. Typically, you'll use <strong>ENDNOTES</strong> at the end of
  3107. a document. If it's a single (i.e. not collated) document,
  3108. <strong>mom</strong> will print the endnotes pertaining to it. If it's
  3109. a collated document, <strong>mom</strong> will print all the endnotes
  3110. contained within all sections of the document (typically chapters),
  3111. appropriately identified and numbered.
  3112. <p>
  3113. Should you wish to output the endnotes for each section of a collated
  3114. document at the ends of the sections (instead of at the very end of the
  3115. document), simply invoke <strong>ENDNOTES</strong> immediately prior to
  3116. <a href="rectoverso.html#COLLATE">COLLATE</a>.
  3117. <strong>Mom</strong> will print the endnotes, identified and numbered
  3118. appropriately, on a separate page prior to starting the next section of
  3119. the document. Each subsequent invocation of <strong>ENDNOTES</strong>
  3120. outputs only those endnotes that <strong>mom</strong> collected
  3121. after the previous invocation.
  3122. <p>
  3123. <hr width="66%" align="left">
  3124. <a name="ENDNOTE_CONTROL"><h3><u>Endnote control macros</u></h3></a>
  3125. <p>
  3126. <strong>VERY IMPORTANT NOTE!</strong>
  3127. <br>
  3128. Endnote control macros must always be invoked prior to the first
  3129. instance of
  3130. <a href="#ENDNOTE">ENDNOTE/ENDNOTE OFF</a>.
  3131. <p>
  3132. When you embed endnotes in the body of a document,
  3133. <strong>mom</strong> collects <em>and processes</em> them for later
  3134. outputting (when you invoke
  3135. <a href="#ENDNOTES">ENDNOTES</a>).
  3136. By the time you do invoke <strong>ENDNOTES</strong>, it's much too
  3137. late to change your mind about how you want them to look.
  3138. <p>
  3139. My advice? If you're planning to change the default appearance of
  3140. endnotes pages, set them up prior to
  3141. <a href="docprocessing.html#START">START</a>.
  3142. <p>
  3143. <ol>
  3144. <li><a href="#ENDNOTES_GENERAL"><strong>General endnotes-pages style control</strong></a>
  3145. <ul>
  3146. <li><a href="#ENDNOTE_STYLE">Base family/font/quad for endnotes-pages</a>
  3147. <li><a href="#ENDNOTE_PT_SIZE">Base point size for the endnotes-pages</a>
  3148. <li><a href="#ENDNOTE_LEAD">Leading of endnotes-pages</a>
  3149. <li><a href="#SINGLESPACE_ENDNOTES">Singlespace endnotes (for TYPEWRITE only)</a>
  3150. <li><a href="#ENDNOTE_PARA_INDENT">Size of paragraph first line indent in multi-paragraph endnotes</a>
  3151. <li><a href="#ENDNOTE_PARA_SPACE">Inserting space between paragraphs of multi-paragraph endnotes</a>
  3152. <li><a href="#ENDNOTES_NO_COLUMNS">Turning off column mode during endnotes output</a>
  3153. <li>Pagination of endnotes:
  3154. <ul>
  3155. <li><a href="#ENDNOTES_PAGENUM_STYLE">Endnotes-pages page numbering style</a>
  3156. <li><a href="#ENDNOTES_FIRST_PAGENUMBER">Setting the first page number of endnotes pages</a>
  3157. <li><a href="#ENDNOTES_NO_FIRST_PAGENUM">Omitting a page number on the first page of endnotes</a>
  3158. </ul>
  3159. <li><a href="#SUSPEND_PAGINATION">Suspending pagination of endnotes pages</a>
  3160. </ul>
  3161. <li><a href="#ENDNOTES_HEADER_CONTROL"><strong>Endnotes-page header/footer control</strong></a>
  3162. <ul>
  3163. <li><a href="#ENDNOTES_MODIFY_HDRFTR">Modifying what goes in the endnotes-pages header/footer</a>
  3164. <li><a href="#ENDNOTES_HDRFTR_CENTER">Enabling a header/footer centre when doctype is CHAPTER</a>
  3165. <li><a href="#ENDNOTES_ALLOWS_HEADERS">Allow headers on endnotes-pages</a>
  3166. </ul>
  3167. <li><a href="#ENDNOTES_MAIN_TITLE"><strong>Endnotes-page head (i.e. the title at the top) control</strong></a>
  3168. <ul>
  3169. <li><a href="#ENDNOTE_STRING">Creating/modifying the endnotes-page head</a>
  3170. <li><a href="#ENDNOTE_STRING_CONTROL">Endnotes-page head control</a>
  3171. <li><a href="#ENDNOTE_STRING_UNDERSCORE">Endnotes-page head underscoring</a>
  3172. <li><a href="#ENDNOTE_STRING_CAPS">Endnotes-page head capitalization</a>
  3173. </ul>
  3174. <li><a href="#ENDNOTES_DOC_TITLE"><strong>Endnote document-identification title</strong></a>
  3175. <ul>
  3176. <li><a href="#ENDNOTE_TITLE">Creating/modifying the endnote document-identification title</a>
  3177. <li><a href="#ENDNOTE_TITLE_CONTROL">Document-identification title control</a>
  3178. <li><a href="#ENDNOTE_TITLE_UNDERSCORE">Document-identification title underscoring</a>
  3179. </ul>
  3180. <li><a href="#ENDNOTES_NUMBERING"><strong>Endnotes-pages endnote numbering style</strong></a>
  3181. <ul>
  3182. <li><a href="#ENDNOTE_MARKER_STYLE">Endnote marker style</a>--by numbers in the text, or by line number
  3183. <ul>
  3184. <li><a href="#ENDNOTE_LINENUMBER_GAP">ENDNOTE_LINENUMBER_GAP</a>
  3185. <li><a href="#ENDNOTE_LINENUMBER_BRACKETS">ENDNOTE_LINENUMBER_BRACKETS</a>
  3186. <li><a href="#ENDNOTE_LINENUMBER_SEPARATOR">ENDNOTE_LINENUMBER_SEPARATOR</a>
  3187. </ul>
  3188. <li><a href="#ENDNOTE_NUMBER_CONTROL">Endnotes-pages endnote numbering style control</a>
  3189. <li><a href="#ENDNOTE_NUMBER_ALIGNMENT">Endnote numbering alignment</a>
  3190. <ul>
  3191. <li><a href="#ENDNOTE_NUMBERS_ALIGN_RIGHT">ENDNOTE_NUMBERS_ALIGN_RIGHT</a>
  3192. <li><a href="#ENDNOTE_NUMBERS_ALIGN_LEFT">ENDNOTE_NUMBERS_ALIGN_LEFT</a>
  3193. </ul>
  3194. </ul>
  3195. </ol>
  3196. <hr>
  3197. <a name="ENDNOTES_GENERAL"><h2><u>1. General endnotes page style control</u></h2>
  3198. <a name="ENDNOTE_STYLE"><h3><u>*Endnote family/font/quad</u></h3></a>
  3199. <p>
  3200. See
  3201. <a href="#CONTROL_MACRO_ARGS">Arguments to the control macros</a>.
  3202. <p>
  3203. <pre>
  3204. .ENDNOTE_FAMILY default = prevailing document family; default is Times Roman
  3205. .ENDNOTE_FONT default = roman
  3206. .ENDNOTE_QUAD* default = justified
  3207. *Note: ENDNOTE_QUAD must be set to either L or J
  3208. </pre>
  3209. <!---ENDNOTE_PT_SIZE--->
  3210. <a name="ENDNOTE_PT_SIZE"><h3><u>*Endnote point size</u></h3></a>
  3211. <p>
  3212. <nobr>Macro: <strong>ENDNOTE_PT_SIZE</strong> &lt;base type size of endnotes&gt;</nobr>
  3213. <p>
  3214. Unlike most other control macros that deal with size of document
  3215. elements, <strong>ENDNOTE_PT_SIZE</strong> takes as its argument an
  3216. absolute value, relative to nothing. Therefore, the argument represents
  3217. the size of endnote type in
  3218. <a href="definitions.html#TERMS_PICASPOINTS">points</a>,
  3219. unless you append an alternative
  3220. <a href="definitions.html#TERMS_UNITOFMEASURE">unit of measure</a>.
  3221. For example,
  3222. <p>
  3223. <pre>
  3224. .ENDNOTE_PT_SIZE 12
  3225. </pre>
  3226. sets the base point size of type on the endnotes page to 12
  3227. points, whereas
  3228. <p>
  3229. <pre>
  3230. .ENDNOTE_PT_SIZE .6i
  3231. </pre>
  3232. sets the base point size of type on the endnotes page to 1/6 of an
  3233. inch.
  3234. <p>
  3235. The type size set with <strong>ENDNOTE_PT_SIZE</strong> is the size of
  3236. type used for the text of the endnotes, and forms the basis from which
  3237. the point size of other endnote page elements is calculated.
  3238. <p>
  3239. The default for
  3240. <a href="docprocessing.html#PRINTSTYLE">PRINTSTYLE TYPESET</a>
  3241. is 12.5 points (the same default size used in the body of the document).
  3242. <p>
  3243. <!---ENDNOTE_LEAD--->
  3244. <a name="ENDNOTE_LEAD"><h3><u>*Endnote lead</u></h3></a>
  3245. <p>
  3246. <nobr>Macro: <strong>ENDNOTE_LEAD</strong> &lt;base leading of endnotes&gt; [ ADJUST ] </nobr>
  3247. <br>
  3248. <em>*Does not require a <a href="definitions.html#TERMS_UNITOFMEASURE">unit of measure</a>; points is assumed</em>
  3249. <p>
  3250. Unlike most other control macros that deal with leading of document
  3251. elements, <strong>ENDNOTE_LEAD</strong> takes as its argument an
  3252. absolute value, relative to nothing. Therefore, the argument represents
  3253. the
  3254. <a href="definitions.html#TERMS_LEADING">leading</a>
  3255. of endnotes in
  3256. <a href="definitions.html#TERMS_PICASPOINTS">points</a>
  3257. unless you append an alternative
  3258. <a href="definitions.html#TERMS_UNITOFMEASURE">unit of measure</a>.
  3259. For example,
  3260. <p>
  3261. <pre>
  3262. .ENDNOTE_LEAD 14
  3263. </pre>
  3264. sets the base leading of type on the endnotes page to 14
  3265. points, whereas
  3266. <p>
  3267. <pre>
  3268. .ENDNOTE_LEAD .5i
  3269. </pre>
  3270. sets the base leading of type on the endnotes page to 1/2 inch.
  3271. <p>
  3272. If you want the leading of endnotes adjusted to fill the page, pass
  3273. <strong>ENDNOTE_LEAD</strong> the optional argument
  3274. <strong>ADJUST</strong>. (See
  3275. <a href="docprocessing.html#DOC_LEAD_ADJUST">DOC_LEAD_ADJUST</a>
  3276. for an explanation of leading adjustment.)
  3277. <p>
  3278. The default for
  3279. <a href="docprocessing.html#PRINTSTYLE">PRINTSTYLE TYPESET</a>
  3280. is 14 points, adjusted.
  3281. <p>
  3282. <strong>NOTE:</strong> Even if you give <strong>mom</strong> a
  3283. <strong>DOC_LEAD_ADJUST OFF</strong> command, she will still, by
  3284. default, adjust endnote leading. You MUST enter
  3285. <strong>ENDNOTE_LEAD &lt;lead&gt;</strong> with no
  3286. <strong>ADJUST</strong> argument to disable this default behaviour.
  3287. <p>
  3288. <!---SINGLESPACE_ENDNOTES--->
  3289. <a name="SINGLESPACE_ENDNOTES"><h3><u>*Singlespace endnotes (TYPEWRITE only)</u></h3></a>
  3290. <p>
  3291. <nobr>Macro: <strong>SINGLESPACE_ENDNOTES</strong> &lt;toggle&gt;</nobr>
  3292. <p>
  3293. If your
  3294. <a href="docprocessing.html#PRINTSTYLE">PRINTSTYLE</a>
  3295. is <strong>TYPEWRITE</strong> and you use TYPEWRITE's default
  3296. double-spacing, endnotes are double-spaced. If your document is
  3297. single-spaced, endnotes are single-spaced.
  3298. <p>
  3299. If, for some reason, you'd prefer that endnotes be single-spaced
  3300. in an otherwise double-spaced document (including double-spaced
  3301. <a href="rectoverso.html#COLLATE">collated</a>
  3302. documents), invoke <strong>SINGLESPACE_ENDNOTES</strong> with
  3303. no argument. And if, god help you, you want to change endnote
  3304. single-spacing back to double-spacing for different spacing of
  3305. endnotes output at the ends of separate documents in a collated
  3306. document, invoke <strong>SINGLESPACE_ENDNOTES</strong> with any
  3307. argument (<strong>OFF, QUIT, Q, X</strong>...).
  3308. <p>
  3309. <!---ENDNOTE_PARA_INDENT--->
  3310. <a name="ENDNOTE_PARA_INDENT"><h3><u>*Endnote paragraph indenting</u></h3></a>
  3311. <p>
  3312. <nobr>Macro: <strong>ENDNOTE_PARA_INDENT</strong> &lt;amount to indent first line of paragraphs in endnotes&gt;</nobr>
  3313. <br>
  3314. <em>*Requires a <a href="definitions.html#TERMS_UNITOFMEASURE">unit of measure</a></em>
  3315. <p>
  3316. <strong>ENDNOTE_PARA_INDENT</strong> works exactly the same way as
  3317. <a href="#PARA_INDENT">PARA_INDENT</a>,
  3318. except that the indent given is the amount by which to indent the first
  3319. lines of endnote paragraphs, not document body paragraphs.
  3320. <p>
  3321. The default is 1.5
  3322. <a href="definitions.html#TERMS_EM">ems</a>
  3323. for
  3324. <a href="docprocessing.html#PRINTSTYLE">PRINTSTYLE TYPESET</a>;
  3325. 1/2 inch for
  3326. <a href="docprocessing.html#PRINTSTYLE">PRINTSTYLE TYPEWRITE</a>.
  3327. <p>
  3328. <strong>NOTE:</strong> The first line of the first paragraph of endnotes
  3329. (the one attached immediately to the identifying endnote number) is
  3330. never indented. Only subsequent paragraphs are affected by
  3331. <strong>ENDNOTE_PARA_INDENT</strong>.
  3332. <p>
  3333. <!---ENDNOTE_PARA_SPACE--->
  3334. <a name="ENDNOTE_PARA_SPACE"><h3><u>*Endnote paragraph spacing</u></h3></a>
  3335. <p>
  3336. <nobr>Macro: <strong>ENDNOTE_PARA_SPACE</strong> &lt;toggle&gt;</nobr>
  3337. <p>
  3338. <strong>ENDNOTE_PARA_SPACE</strong> works exactly the same way as
  3339. <a href="#PP_SPACE">PARA_SPACE</a>,
  3340. except that it inserts a blank line between endnote paragraphs, not
  3341. document body paragraphs.
  3342. <p>
  3343. The default is not to insert a blank line between paragraphs in
  3344. endnotes.
  3345. <p>
  3346. <strong>NOTE:</strong> Each endnote itself is always separated from any
  3347. previous endnote by a line space. <strong>ENDNOTE_PARA_SPACE</strong>
  3348. refers only to paragraphs that appear within each discrete endnote.
  3349. <p>
  3350. <!---ENDNOTES_NO_COLUMNS--->
  3351. <a name="ENDNOTES_NO_COLUMNS"><h3><u>*Turning off column mode during endnotes output</u></h3></a>
  3352. <p>
  3353. <nobr>Macro: <strong>ENDNOTES_NO_COLUMNS</strong> &lt;toggle&gt;</nobr>
  3354. <p>
  3355. By default, if your document is
  3356. <a href="columns.html#COLUMNS">set in columns</a>,
  3357. <strong>mom</strong> sets the endnotes in columns, too. However,
  3358. if your document is set in columns and you'd like the endnotes not
  3359. to be, just invoke <strong>ENDNOTES_NO_COLUMNS</strong> with no
  3360. argument. The endnotes pages will be set to the full page measure
  3361. of your document.
  3362. <p>
  3363. If you output endnotes at the end of each document in a
  3364. <a href="rectoverso.html#COLLATE">collated</a>
  3365. document set in columns, column mode will automatically
  3366. be reinstated for each document, even with
  3367. <strong>ENDNOTES_NO_COLUMNS</strong> turned on.
  3368. <p>
  3369. <!---ENDNOTES_PAGENUM_STYLE--->
  3370. <a name="ENDNOTES_PAGENUM_STYLE"><h3><u>*Endnotes-pages page numbering style</u></h3></a>
  3371. <p>
  3372. <nobr>Macro: <strong>ENDNOTES_PAGENUM_STYLE</strong> DIGIT | ROMAN | roman | ALPHA | alpha</nobr>
  3373. <p>
  3374. Use this macro to set the page numbering style of endnotes pages.
  3375. The arguments are identical to those for
  3376. <a href="headfootpage.html#PAGENUM_STYLE">PAGENUM_STYLE</a>.
  3377. The default is <strong>digit</strong>. You may want to change it
  3378. to, say, <strong>alpha</strong>, which you would do with
  3379. <p>
  3380. <pre>
  3381. .ENDNOTES_PAGENUM_STYLE alpha
  3382. </pre>
  3383. <!---ENDNOTES_FIRST_PAGENUMBER--->
  3384. <a name="ENDNOTES_FIRST_PAGENUMBER"><h3><u>*Setting the first page number of endnotes pages</u></h3></a>
  3385. <p>
  3386. <nobr>Macro: <strong>ENDNOTES_FIRST_PAGENUMBER</strong> &lt;page # that appears on page 1 of endnotes&gt;</nobr>
  3387. <p>
  3388. Use this macro with caution. If all endnotes for several
  3389. <a href="rectoverso.html#COLLATE">collated</a>
  3390. documents are to be output at once, i.e. not at the end of each
  3391. separate doc, <strong>ENDNOTES_FIRST_PAGENUMBER</strong> tells
  3392. <strong>mom</strong> what page number to put on the first page of
  3393. the endnotes.
  3394. <p>
  3395. If you set <strong>ENDNOTES_FIRST_PAGENUMBER</strong> in collated
  3396. documents where the endnotes are output after each separate doc,
  3397. you have to reset every separate document's first page number after
  3398. <a href="rectoverso.html#COLLATE">COLLATE</a>
  3399. and before
  3400. <a href="docprocessing.html#START">START</a>.
  3401. <p>
  3402. <!---ENDNOTES_NO_FIRST_PAGENUN--->
  3403. <a name="ENDNOTES_NO_FIRST_PAGENUM"><h3><u>*Omitting a page number on the first page of endnotes</u></h3></a>
  3404. <p>
  3405. <nobr>Macro: <strong>ENDNOTES_NO_FIRST_PAGENUM</strong> &lt;toggle&gt;</nobr>
  3406. <p>
  3407. This macro is for use only if <strong>FOOTERS</strong> are on. It
  3408. tells
  3409. <a href="#ENDNOTES">ENDNOTES</a>
  3410. not to print a page number on the first endnotes page.
  3411. <strong>Mom</strong>'s default is to print the page number.
  3412. <p>
  3413. <!---SUSPEND_PAGINATION--->
  3414. <a name="SUSPEND_PAGINATION"><h3><u>*Suspending pagination of endnotes pages</u></h3></a>
  3415. <p>
  3416. Macro: <strong>SUSPEND_PAGINATION</strong>
  3417. <br>
  3418. Macro: <strong>RESTORE_PAGINATION</strong>
  3419. <p>
  3420. <strong>SUSPEND_PAGINATION</strong> doesn't take an argument.
  3421. Invoked immediately prior to
  3422. <a href="#ENDNOTES">ENDNOTES</a>,
  3423. it turns off endnotes pages pagination. <strong>Mom</strong>
  3424. continues, however to increment page numbers silently.
  3425. <p>
  3426. To restore normal document pagination after endnotes, invoke
  3427. <strong>RESTORE_PAGINATION</strong> (again, with no argument)
  3428. immediately after <strong>ENDNOTES</strong>.
  3429. <a name="ENDNOTES_HEADER_CONTROL"><h2><u>2. Endnotes-page header/footer control</u></h2></a>
  3430. <p>
  3431. <a name="ENDNOTES_MODIFY_HDRFTR"></a>
  3432. If you wish to modify what appears in the header/footer that appears
  3433. on endnotes page(s), make the changes before you invoke
  3434. <a href="#ENDNOTES">ENDNOTES</a>,
  3435. not afterwards.
  3436. <p>
  3437. Except in the case of
  3438. <a href="docprocessing.html#DOCTYPE">DOCTYPE CHAPTER</a>,
  3439. <strong>mom</strong> prints the same header or footer used throughout
  3440. the document on the endnotes page(s). Chapters get treated differently
  3441. in that, by default, <strong>mom</strong> does not print the
  3442. header/footer centre string (normally the chapter number or chapter
  3443. title.) In most cases, this is what you want. However, should you
  3444. <em>not</em> want <strong>mom</strong> to remove the centre string from
  3445. the endnotes page(s) headers/footers, invoke
  3446. <a href="#ENDNOTES_HDRFTR_CENTER">ENDNOTES_HEADER_CENTER</a>
  3447. with no argument.
  3448. <p>
  3449. An important change you may want to make is to put the word
  3450. &quot;Endnotes&quot; in the header/footer centre position.
  3451. To do so, do
  3452. <p>
  3453. <pre>
  3454. .HEADER_CENTER "Endnotes"
  3455. or
  3456. .FOOTER_CENTER "Endnotes"
  3457. </pre>
  3458. prior to invoking <strong>.ENDNOTES</strong>. If your
  3459. <a href="docprocessing.html#DOCTYPE">DOCTYPE</a>
  3460. is <kbd>CHAPTER</kbd>, you must also invoke
  3461. <a href="#ENDNOTES_HDRFTR_CENTER">ENDNOTES_HEADER_CENTER</a>
  3462. for the <strong>HEADER_CENTER</strong> to appear.
  3463. <p>
  3464. <a name="ENDNOTES_HDRFTR_CENTER"><h3><u>*Endnotes page(s) header/footer centre string</u></h3></a>
  3465. <p>
  3466. <nobr>Macro: <strong>ENDNOTES_HEADER_CENTER</strong> toggle</nobr>
  3467. <p>
  3468. If your
  3469. <a href="docprocessing.html#DOCTYPE">DOCTYPE</a>
  3470. is <kbd>CHAPTER</kbd> and you want <strong>mom</strong> to include
  3471. a centre string in the headers/footers that appear on endnotes pages,
  3472. invoke <strong>ENDNOTES_HEADER_CENTER</strong> (or
  3473. <strong>ENDNOTES_FOOTER_CENTER</strong>) with no argument.
  3474. <strong>Mom</strong>'s default is NOT to print the centre string.
  3475. <p>
  3476. If, for some reason, having enabled the header/footer centre string
  3477. on endnotes pages, you wish to disable it, invoke the same macro
  3478. with any argument (<strong>OFF, QUIT, Q, X</strong>...).
  3479. <p>
  3480. <a name="ENDNOTES_ALLOWS_HEADERS"><h3><u>*Allow headers on endnotes-pages</u></h3></a>
  3481. <p>
  3482. <nobr>Macro: <strong>ENDNOTES_ALLOWS_HEADERS</strong> &lt;none&gt; | ALL</nobr>
  3483. <p>
  3484. By default, if <strong>HEADERS</strong> are on, <strong>mom</strong>
  3485. prints page headers on all endnotes pages except the first. If you
  3486. don't want her to print headers on endnotes pages, do
  3487. <p>
  3488. <pre>
  3489. .ENDNOTES_ALLOWS_HEADERS OFF
  3490. </pre>
  3491. If you want headers on every page <em>including the first</em>, do
  3492. <p>
  3493. <pre>
  3494. .ENDNOTES_ALLOWS_HEADERS ALL
  3495. </pre>
  3496. <strong>NOTE:</strong> If <strong>FOOTERS</strong> are on,
  3497. <strong>mom</strong> prints footers on every endnotes page. This is
  3498. a style convention. In <strong>mom</strong>, there is no such beast
  3499. as <strong>ENDNOTES_ALLOWS_FOOTERS OFF</strong>.
  3500. <p>
  3501. <a name="ENDNOTES_MAIN_TITLE"><h2><u>3. Endnotes-page first page head (title) control</u></h2>
  3502. <!---ENDNOTE_STRING--->
  3503. <a name="ENDNOTE_STRING"><h3><u>*Endnotes-page first page head (title) string</u></h3></a>
  3504. <p>
  3505. <nobr>Macro: <strong>ENDNOTE_STRING</strong> &quot;&lt;head to print at the top of endnotes&gt;&quot;</nobr>
  3506. <p>
  3507. By default, <strong>mom</strong> prints the word &quot;ENDNOTES&quot;
  3508. as a head at the top of the first page of endnotes. If you want her
  3509. to print something else, invoke <strong>ENDNOTE_STRING</strong> with
  3510. the endnotes-page head you want, surrounded by double-quotes. If
  3511. you don't want a head at the top of the first endnotes-page, invoke
  3512. <strong>ENDNOTE_STRING</strong> with a blank argument (either two
  3513. double-quotes side by side -- <kbd>&quot;&quot;</kbd> -- or no argument
  3514. at all).
  3515. <p>
  3516. <!---ENDNOTE_STRING_CONTROL--->
  3517. <a name="ENDNOTE_STRING_CONTROL"><h3><u>*Endnotes-page first page head (title) control</u></h3></a>
  3518. <p>
  3519. See
  3520. <a href="#CONTROL_MACRO_ARGS">Arguments to the control macros</a>.
  3521. <p>
  3522. <pre>
  3523. .ENDNOTE_STRING_FAMILY default = prevailing document family; default is Times Roman
  3524. .ENDNOTE_STRING_FONT default = bold
  3525. .ENDNOTE_STRING_SIZE* default = +1
  3526. .ENDNOTE_STRING_QUAD default = centred
  3527. *Relative to the size of the endnotes text (set with ENDNOTE_PT_SIZE)
  3528. </pre>
  3529. <!---ENDNOTE_STRING_UNDERSCORE--->
  3530. <a name="ENDNOTE_STRING_UNDERSCORE"><h3><u>*Endnotes-page head (title) underscoring</h3></u></a>
  3531. <p>
  3532. <nobr>Macro: <strong>ENDNOTE_STRING_UNDERSCORE</strong> toggle | 2</nobr>
  3533. <p>
  3534. Invoked by itself, <strong>ENDNOTE_STRING_UNDERSCORE</strong> will
  3535. underscore the endnotes-page head. Invoked with the argument 2
  3536. (i.e. the digit 2), <strong>ENDNOTE_STRING_UNDERSCORE</strong> will
  3537. double-underscore the head. Invoked with any other argument, the macro
  3538. disables underscoring of the head.
  3539. <p>
  3540. <strong>Mom</strong>'s default is to double-underscore the
  3541. head, therefore if you want no underscoring, you must insert
  3542. <kbd>.ENDNOTE_STRING_UNDERSCORE OFF</kbd> (or <kbd>QUIT, X, NO,
  3543. NONE,</kbd> etc.) into your document prior to outputting endnotes with
  3544. <a href="#ENDNOTES">ENDNOTES</a>.
  3545. <!---ENDNOTE_STRING_CAPS--->
  3546. <a name="ENDNOTE_STRING_CAPS"><h3><u>*Endnotes-page head (title) automatic capitalization</h3></u></a>
  3547. <p>
  3548. <nobr>Macro: <strong>ENDNOTE_STRING_CAPS</strong> toggle</nobr>
  3549. <p>
  3550. Invoked by itself, <strong>ENDNOTE_STRING_CAPS</strong> will
  3551. automatically capitalize the endnotes-page head. Invoked with any
  3552. other argument, the macro disables automatic capitalization of the
  3553. head.
  3554. <p>
  3555. If you're generating a table of contents, you may want the
  3556. endnotes-pages head string in caps, but the toc entry in caps/lower
  3557. case. If the argument to
  3558. <a href="#ENDNOTE_STRING">ENDNOTE_STRING</a>
  3559. is in caps/lower case and <strong>ENDNOTE_STRING_CAPS</strong> is
  3560. on, this is exactly what will happen.
  3561. <p>
  3562. <strong>Mom</strong>'s default is to capitalize the endnotes-pages
  3563. head string.
  3564. <p>
  3565. <!---ENDNOTE_TITLE--->
  3566. <a name="ENDNOTES_DOC_TITLE"><h2><u>4. Endnote document-identification title</u></h2>
  3567. <a name="ENDNOTE_TITLE"><h3><u>*Endnote document-identification title string</u></h3></a>
  3568. <p>
  3569. <nobr>Macro: <strong>ENDNOTE_TITLE</strong> &quot;&lt;title to identify a document in endnotes&gt;&quot;</nobr>
  3570. <p>
  3571. By default, <strong>mom</strong> identifies the document(s) to which
  3572. endnotes belong by the document title(s) given to the
  3573. <a href="docprocessing.html#TITLE">TITLE</a>
  3574. macro. If you'd want her to identify the document(s) another way,
  3575. just invoke <strong>ENDNOTE_TITLE</strong> with the identifying
  3576. title you want, surrounded by double-quotes.
  3577. <p>
  3578. If you don't want any identifying title, invoke
  3579. <strong>ENDNOTE_TITLE</strong> with a blank argument (either two
  3580. double-quotes side by side -- <kbd>&quot;&quot;</kbd> -- or no
  3581. argument at all). This is particularly useful if you have a single
  3582. (i.e. non-collated) document and find having the document's title
  3583. included in the endnotes redundant.
  3584. <p>
  3585. <!---ENDNOTE_TITLE_CONTROL--->
  3586. <a name="ENDNOTE_TITLE_CONTROL"><h3><u>*Endnote document-identification title control</u></h3></a>
  3587. <p>
  3588. See
  3589. <a href="#CONTROL_MACRO_ARGS">Arguments to the control macros</a>.
  3590. <p>
  3591. <pre>
  3592. .ENDNOTE_TITLE_FAMILY default = prevailing document family; default is Times Roman
  3593. .ENDNOTE_TITLE_FONT default = bold
  3594. .ENDNOTE_TITLE_SIZE* default = 0
  3595. .ENDNOTE_TITLE_QUAD default = left
  3596. *Relative to the size of the endnotes text (set with ENDNOTE_PT_SIZE)
  3597. </pre>
  3598. <!---ENDNOTE_TITLE_UNDERSCORE--->
  3599. <a name="ENDNOTE_TITLE_UNDERSCORE"><h3><u>*Endnote document-identification title underscoring</h3></u></a>
  3600. <p>
  3601. <nobr>Macro: <strong>ENDNOTE_TITLE_UNDERSCORE</strong> toggle</nobr>
  3602. <p>
  3603. Invoked by itself, <strong>ENDNOTE_TITLE_UNDERSCORE</strong> will
  3604. underscore the endnote document-identification title(s). Invoked with any
  3605. other argument, the macro disables underscoring of the title(s).
  3606. <p>
  3607. <strong>Mom</strong>'s default is to underscore the document-identification title, therefore if you want no underscoring, you must
  3608. insert <kbd>.ENDNOTE_TITLE_UNDERSCORE OFF</kbd> (or <kbd>QUIT, X, NO,
  3609. NONE,</kbd> etc.) into your document prior to outputting endnotes with
  3610. <a href="#ENDNOTES">ENDNOTES</a>.
  3611. <p>
  3612. <!---ENDNOTE_NUMBERING--->
  3613. <a name="ENDNOTES_NUMBERING"><h2><u>5. Endnotes-pages endnote numbering style</u></h2>
  3614. <a name="ENDNOTE_MARKER_STYLE"><h3><u>*Endnote marker style</u></h3></a>
  3615. <p>
  3616. The macro to control how endnotes are referenced is
  3617. <strong>ENDNOTE_MARKER_STYLE</strong>.
  3618. <p>
  3619. By default, <strong>mom</strong> places superscript numbers in
  3620. <a href="definitions.html#RUNNING">running text</a>
  3621. to identify endnotes. However, if you have
  3622. <a href="#NUMBER_LINES">line-numbering</a>
  3623. turned on, you may instruct <strong>mom</strong> not to put
  3624. superscript numbers in the running text, but rather to reference
  3625. endnotes by line number. The command to do this is
  3626. <p>
  3627. <pre>
  3628. .ENDNOTE_MARKER_STYLE LINE
  3629. </pre>
  3630. With <strong>ENDNOTE_MARKER_STYLE LINE</strong>, <strong>mom</strong>
  3631. will identify endnotes either by single line numbers, or line
  3632. ranges. If what you want is a single line number, you need only
  3633. invoke <strong>.ENDNOTE</strong>, <em>without terminating the text
  3634. line before it with</em> <strong>\c</strong>, at the appropriate
  3635. place in running text. (Should you wish to revert to
  3636. <strong>mom</strong>'s default behaviour of placing a superscript
  3637. number in the text to identify an endnote, you can invoke
  3638. <strong>ENDNOTE_MARKER_STYLE</strong> with the argument,
  3639. <strong>NUMBER</strong>. It is not advisable to switch marker
  3640. styles within a single document, for aesthetic reasons, but there
  3641. is nothing to prevent you from doing so.)
  3642. <p>
  3643. If you want a range of line numbers (e.g.&nbsp;[5-11]&nbsp;),
  3644. insert, directly into the first line of the range you want, the
  3645. <a href="definitions.html#TERMS_INLINES">inline escape</a>,
  3646. <strong>\*[EN-MARK]</strong>. For the terminating line number of
  3647. the range, you need only invoke <strong>.ENDNOTE</strong>, (again,
  3648. without attaching <strong>\c</strong> to the text line before it).
  3649. <strong>Mom</strong> is smart enough to figure out that where
  3650. <strong>ENDNOTE</strong> was invoked represents the terminating
  3651. line number.
  3652. <a name="ENDNOTE_LINENUMBER_GAP"></a>
  3653. <p>
  3654. Given the impossibility of knowing, in advance, the "string length"
  3655. of all the line numbers or ranges of line numbers that will be used
  3656. in endnotes (the string length of 12 is two; the string length
  3657. of 12-15 is 5), <strong>mom</strong> cannot "hang" line numbers
  3658. and guarantee that they, and the endnote text, will align in a
  3659. visually pleasing manner. Consequently, <strong>mom</strong> sets
  3660. the entirety of line-numbered endnotes completely flush left,
  3661. <strong>including the line numbers themselves</strong>. The line
  3662. numbers (by default, enclosed in square brackets) are separated from
  3663. the beginning of each endnote by a gap, so that a line-numbered
  3664. endnote looks approximately like this:
  3665. <p>
  3666. <pre>
  3667. [1-2] Notwithstanding, Frye later asserts that Christianity
  3668. is "a ghost with the chains of a foul historical record of
  3669. cruelty clanking behind it."
  3670. </pre>
  3671. The default gap for <strong>PRINTSTYLE TYPESET</strong> and
  3672. <strong>PRINSTYLE TYPEWRITE</strong> is 1.5
  3673. <a href="definitions.html#TERMS_EM">ems</a>.
  3674. You can change the size of the gap with the macro,
  3675. <strong>ENDNOTE_LINENUMBER_GAP</strong>, which takes, as its single
  3676. argument, the size of the gap. The argument requires a
  3677. <a href="definitions.html#TERMS_UNITOFMEASURE">unit of measure</a>,
  3678. so, for example, to change the gap to 2
  3679. <a href="definitions.html#TERMS_PICASPOINTS">picas</a>,
  3680. you'd do
  3681. <p>
  3682. <pre>
  3683. .ENDNOTE_LINENUMBER_GAP 2P
  3684. </pre>
  3685. <a name="ENDNOTE_LINENUMBER_BRACKETS"></a>
  3686. By default, <strong>mom</strong> puts endnote line numbers inside
  3687. square brackets. The style of the brackets may be changed with
  3688. the macro, <strong>ENDNOTE_LINENUMBER_BRACKETS</strong>, which
  3689. takes one of three possible arguments: <strong>PARENS</strong>
  3690. ("round" brackets), <strong>SQUARE</strong> (the default) or
  3691. <strong>BRACES</strong> (curly braces). If you prefer a
  3692. shortform, the arguments, <strong>(</strong>, <strong>[</strong> or
  3693. <strong>{</strong> may be used instead.
  3694. <a name="ENDNOTE_LINENUMBER_SEPARATOR"></a>
  3695. <p>
  3696. If you don't want the numbers enclosed in brackets, you may tell
  3697. <strong>mom</strong> to use a "separator" instead. A common
  3698. separator would be the colon, but it can be anything you like. The
  3699. macro to do this is <strong>ENDNOTE_LINENUMBER_SEPARATOR</strong>,
  3700. which takes, as its single argument, the separator you want.
  3701. (If the argument contains spaces, don't forget to enclose the
  3702. argument in double-quotes.) The separator can be composed of
  3703. any legal groff character, or any combination of characters.
  3704. For example, to get a colon separator after the line number in
  3705. line-numbered endnotes, you'd do
  3706. <p>
  3707. <pre>
  3708. .ENDNOTE_LINENUMBER_SEPARATOR :
  3709. </pre>
  3710. <a name="ENDNOTE_NUMBER_CONTROL"><h3><u>*Endnote numbering style control</u></h3></a>
  3711. <p>
  3712. See
  3713. <a href="#CONTROL_MACRO_ARGS">Arguments to the control macros</a>.
  3714. <p>
  3715. Please note that the control macros for endnote numbering affect only
  3716. the numbers that appear on the endnotes pages themselves, not the
  3717. endnote numbers that appear in the body of the document(s).
  3718. <p>
  3719. <pre>
  3720. .ENDNOTE_NUMBER_FAMILY default = prevailing document family; default is Times Roman
  3721. .ENDNOTE_NUMBER_FONT default = bold
  3722. .ENDNOTE_NUMBER_SIZE* default = 0
  3723. *Relative to the size of the endnotes text (set with ENDNOTE_PT_SIZE)
  3724. </pre>
  3725. <a name="ENDNOTE_NUMBER_ALIGNMENT"><h3><u>*Endnote numbering alignment</u></h3></a>
  3726. <p>
  3727. By default, <strong>mom</strong> hangs the numbers on endnotes pages,
  3728. aligned right to two placeholders, producing this:
  3729. <p>
  3730. <a name="ENDNOTE_NUMBERING_ALIGNMENT_EXAMPLE"></a>
  3731. <pre>
  3732. 9. Lorem ipsum dolor sit amet, consetetur sadipscing elitr,
  3733. sed diam nonumy eirmod tempor invidunt ut labore et
  3734. dolore magna aliquyam erat, sed diam voluptua.
  3735. 10. Lorem ipsum dolor sit amet, consetetur sadipscing elitr,
  3736. sed diam nonumy eirmod tempor invidunt ut labore et
  3737. dolore magna aliquyam erat, sed diam voluptua.
  3738. </pre>
  3739. The macros to alter this behaviour are
  3740. <br>
  3741. <ul>
  3742. <li><a href="#ENDNOTE_NUMBERS_ALIGN_RIGHT"><strong>ENDNOTE_NUMBERS_ALIGN_RIGHT</strong></a>
  3743. <li><a href="#ENDNOTE_NUMBERS_ALIGN_LEFT"><strong>ENDNOTE_NUMBERS_ALIGN_LEFT</strong></a>
  3744. </ul>
  3745. <br>
  3746. <hr width="66%" align="left">
  3747. <!---ENDNOTE_NUMBERS_ALIGN_RIGHT--->
  3748. <p>
  3749. <a name="ENDNOTE_NUMBERS_ALIGN_RIGHT">
  3750. <nobr>Macro: <strong>ENDNOTE_NUMBERS_ALIGN_RIGHT</strong> &lt;number of placeholders&gt;</nobr>
  3751. </a>
  3752. <p>
  3753. <strong>ENDNOTE_NUMBERS_ALIGN_RIGHT</strong> takes one (non-optional)
  3754. argument: the number of placeholders to reserve for right alignment of
  3755. endnote numbers.
  3756. <p>
  3757. For example, if you have fewer than ten endnotes, you might want to do
  3758. <p>
  3759. <pre>
  3760. .ENDNOTE_NUMBERS_ALIGN_RIGHT 1
  3761. </pre>
  3762. which would ensure that the endnote numbers hang, but are all flush
  3763. with the page's left margin. If, god help you, you have over a hundred
  3764. endnotes, you'd want to do
  3765. <p>
  3766. <pre>
  3767. .ENDNOTE_NUMBERS_ALIGN_RIGHT 3
  3768. </pre>
  3769. to ensure that the numbers hang and are properly right-aligned.
  3770. <p>
  3771. <hr width="66%" align="left">
  3772. <!---ENDNOTE_NUMBERS_ALIGN_LEFT--->
  3773. <p>
  3774. <a name="ENDNOTE_NUMBERS_ALIGN_LEFT">
  3775. Macro: <strong>ENDNOTE_NUMBERS_ALIGN_LEFT</strong>
  3776. </a>
  3777. <p>
  3778. If you don't want the endnote numbers to hang and right-align, invoke
  3779. <strong>ENDNOTE_NUMBERS_ALIGN_LEFT</strong>, which doesn't require any
  3780. argument. This disables hanging and right-alignment of endnote numbers,
  3781. so that the example
  3782. <a href="#ENDNOTE_NUMBERING_ALIGNMENT_EXAMPLE">above</a>
  3783. comes out like this:
  3784. <p>
  3785. <pre>
  3786. 9. Lorem ipsum dolor sit amet, consetetur sadipscing elitr,
  3787. sed diam nonumy eirmod tempor invidunt ut labore et
  3788. dolore magna aliquyam erat, sed diam voluptua.
  3789. 10. Lorem ipsum dolor sit amet, consetetur sadipscing elitr,
  3790. sed diam nonumy eirmod tempor invidunt ut labore et
  3791. dolore magna aliquyam erat, sed diam voluptua.
  3792. </pre>
  3793. <hr>
  3794. <!====================================================================>
  3795. <a name="MARGIN_NOTES_INTRO"><h2><u>Margin notes</u></h2></a>
  3796. <ul>
  3797. <li><a href="#MARGIN_NOTES_BEHAVIOUR">Margin notes behaviour
  3798. <ul>
  3799. <li><a href="#MARGIN_NOTES_VERTICAL">Adjusting the vertical position of margin notes</a>
  3800. </ul>
  3801. <li><a href="#MN_INIT">Macro: MN_INIT</a> -- initialize margin notes
  3802. <li><a href="#MN">Tag: MN</a>
  3803. </ul>
  3804. <p>
  3805. Margin notes are short annotations that appear in either the left
  3806. or right margin of a document. Sometimes they comment on the text.
  3807. Sometimes they assist in following the "flow" of a document by
  3808. summarizing the subject of a portion of text. Sometimes they're
  3809. comments to yourself in a draft copy.
  3810. <p>
  3811. The margin notes macros and routines in om.tmac
  3812. (<strong>mom</strong>) are "mommified" versions of the margin notes
  3813. macros and routines written by Werner Lemberg and patched by Gaius
  3814. Mulley.
  3815. <p>
  3816. <a name="MARGIN_NOTES_BEHAVIOUR"<h3><u>Margin notes behaviour</u></h3>
  3817. <p>
  3818. First things first: before you enter your first margin note, you
  3819. must "initialize" margin notes with
  3820. <a href="#MN_INIT">MN_INIT</a>.
  3821. <strong>MN_INIT</strong> sets up the style parameters for margin
  3822. notes, including things like
  3823. <a href="definitions.html#TERMS_FONT">font</a>,
  3824. <a href="definitions.html#TERMS_FAMILY">family</a>
  3825. and
  3826. <a href="definitions.html#TERMS_LEADING">leading</a>.
  3827. <p>
  3828. After initializing margin notes, you create margin notes with the
  3829. <a href="#MN">MN</a>
  3830. macro. Based on the argument you pass <strong>MN</strong>, your
  3831. margin note will go in either the left or the right margin.
  3832. <p>
  3833. Margin notes are tricky from a typographic standpoint with respect
  3834. to vertical placement. Since the leading of margin notes may
  3835. differ from that of
  3836. <a href="definitions.html#TERMS_RUNNING">running text</a>,
  3837. it's impossible for <strong>mom</strong> to guess whether to align
  3838. the first lines of margin notes with a document
  3839. <a href="definitions.html#TERMS_BASELINE">baseline</a>,
  3840. whether to align the last lines of margin notes with a document
  3841. baseline, or whether to center them, vertically, so that neither
  3842. first nor last line aligns with anything!
  3843. <p>
  3844. Given this difficulty, <strong>mom</strong> always aligns the first
  3845. line of any margin note with a document baseline. If you want a
  3846. different behaviour, you must adjust the position(s) of margin
  3847. notes yourself, on a note by note basis. (See
  3848. <a href="#MARGIN_NOTES_VERTICAL">Adjusting the vertical position of margin notes</a>.)
  3849. <p>
  3850. Generally speaking, <strong>mom</strong> tries to place margin
  3851. notes at the point where you invoke the tag,
  3852. <a href="#MN">MN</a>.
  3853. However, in the event that a margin note runs deep, she may not
  3854. be able to place a subsequent margin note exactly where you want.
  3855. In such an instance, <strong>mom</strong> will "shift" the margin
  3856. note down on the page, placing it one (margin note)
  3857. linespace beneath the previous margin note (plus whatever vertical
  3858. space is required to get the first line to line up with a baseline
  3859. of running text). A warning will be issued, letting you know this
  3860. has happened, and where.
  3861. <p>
  3862. Sometimes, if a margin note has to be shifted down, there simply
  3863. isn't enough room to start the margin note on the page on which
  3864. <strong>MN</strong> is invoked. In that case, <strong>mom</strong>
  3865. ignores the margin note entirely and issues a warning, letting you
  3866. know what she's done, and where.
  3867. <p>
  3868. In the event that a margin note, sucessfully begun on a page,
  3869. runs past your bottom margin (or the last line before footnotes
  3870. begin), the margin note will "flow" onto the next page. If it is a
  3871. "left" margin note, it will continue in the left margin. If it is a
  3872. "right" margin note, it will continue in the right margin.
  3873. <p>
  3874. If your document is being set in two columns, <strong>mom</strong>
  3875. will sensibly and automatically set all margin notes pertaining
  3876. to the left column in the left margin, and all margin notes
  3877. pertaining to the right column in the right margin, regardless of
  3878. the "direction" argument you give the <strong>MN</strong> tag. If
  3879. you try to use <strong>MN</strong> in documents of more than two
  3880. columns, <strong>mom</strong> will ignore all margin notes, and
  3881. issue warning for each.
  3882. <p>
  3883. <h3><u><a name="MARGIN_NOTES_VERTICAL">Adjusting the vertical position of margin notes</a></u></h3>
  3884. <p>
  3885. When the
  3886. <a href="definitions.html#TERM_LEADING">leading</a>
  3887. of margin notes differs from the leading used throughout a document,
  3888. you may want to adjust the vertical position of individual margin
  3889. notes. This is most often going to be the case with margin notes
  3890. that end near the bottom of the page, where you want the last line of
  3891. the margin note to line up with the last line of text on the page.
  3892. <p>
  3893. Adjustments to the vertical position of margin notes must be done
  3894. inside the margin note (i.e. after <strong>MN</strong>), at the
  3895. top, before entering text. The commands to use are
  3896. \!<a href="typesetting.html#ALD">.ALD</a>
  3897. (to lower the margin note), and
  3898. \!<a href="typesetting.html#RLD">.RLD</a>
  3899. (to raise it). The <strong>\!</strong> <em>must</em> precede the
  3900. macros, or they won't have any effect.
  3901. <p>
  3902. <hr width="66%" align="left">
  3903. <!---MN_INIT--->
  3904. <p>
  3905. <a name="MN_INIT">
  3906. <nobr>Macro: <strong>MN_INIT</strong>&nbsp;[ ragged | symmetric ] &lt; left-width right-width gutter family+font point-size lead colour hyphenation-flags &gt;</nobr>
  3907. </a>
  3908. <p>
  3909. Before you enter your first margin note, you must initialize
  3910. all the parameters associated with margin notes with
  3911. <strong>MN_INIT</strong>. If you forget to do so,
  3912. <strong>mom</strong> will issue a warning and abort.
  3913. <p>
  3914. The argument list is quite long; an
  3915. explanation of each argument follows. Any argument whose value you
  3916. want to be the default must be entered as "" (i.e. two
  3917. double-quotes with no space between them). Defaults for each
  3918. argument are given in the explanation below.
  3919. <p>
  3920. <strong>[ ragged | symmetric ]</strong>
  3921. <br>
  3922. If the first argument is "ragged", both left and right margin notes
  3923. will be flush left. If the first argument is "symmetric", left
  3924. margin notes will be set flush <em>right</em>, and right margin
  3925. notes will be set flush <em>left</em>. The effect is something
  3926. like this:
  3927. <p>
  3928. <pre>
  3929. A left This is a meaningless batch A right
  3930. margin note of text whose sole purpose is margin note
  3931. with just to demonstrate how the sym- with just
  3932. a few words metric argument to MN sets left a few words
  3933. in it. and right margin notes. in it.
  3934. </pre>
  3935. If the argument is omitted,
  3936. or given as "", both left and right margin notes will be set
  3937. justified. (Justified is usually not a good idea, since the narrow
  3938. measure of margin notes makes pleasing justification a near
  3939. impossibility.)
  3940. <p>
  3941. <strong>left-width</strong>
  3942. <br>
  3943. The width of left margin notes. A
  3944. <a href="definitions.html#TERMS_UNITOFMEASURE">unit of measure</a>
  3945. must be appended directly onto the argument. The default is to set
  3946. left margin notes right out to the edge of the page, which is
  3947. almost certainly not what you want, so you should give a value for
  3948. this argument if using left margin notes.
  3949. <p>
  3950. <strong>right-width</strong>
  3951. <br>
  3952. The width of right margin notes. A
  3953. <a href="definitions.html#TERMS_UNITOFMEASURE">unit of measure</a>
  3954. must be appended directly onto the argument. The default is to set
  3955. right margin notes right out to the edge of the page, which is
  3956. almost certainly not what you want, so you should give a value for
  3957. this argument if using right margin notes.
  3958. <p>
  3959. <strong>gutter</strong>
  3960. <br>
  3961. The
  3962. <a href="definitions.html#TERMS_GUTTER">gutter</a>
  3963. between margin notes and
  3964. <a href="definitions.html#TERMS_RUNNING">running text</a>.
  3965. A
  3966. <a href="definitions.html#TERMS_UNITOFMEASURE">unit of measure</a>
  3967. must be appended directly onto the argument. The gutter applies to
  3968. both left and right margin notes. The default is 1
  3969. <a href="definitions.html#TERMS_EM">em</a>.
  3970. <p>
  3971. <strong>font</strong>
  3972. <br>
  3973. The family+font for margin notes. Yes, that's right: the family
  3974. PLUS font combo. For example, if you want Times Roman Medium,
  3975. the argument must be TR. If you want Palatino Medium Italic, the
  3976. argument must be PI. The default is the same family+font combo used
  3977. for a document's paragraph text.
  3978. <p>
  3979. <strong>lead</strong>
  3980. <br>
  3981. The
  3982. <a href="definitions.html#TERMS_LEADING">leading</a>
  3983. of margin notes. <strong>lead</strong> uses
  3984. <a href="definitions.html#TERMS_PICASPOINTS">points</a>
  3985. as its unit of measure, so don't tack a unit of measure onto the
  3986. end of the argument. The default lead is the same leading as
  3987. is used for paragraph text (i.e. the document's base leading).
  3988. For convenience and clarity, you may also give the word,
  3989. <strong>DOC</strong>, to this argument, which indicates that the
  3990. leading should be the same as the document's base leading.
  3991. <p>
  3992. <strong>colour</strong>
  3993. <br>
  3994. The colour of margin notes. The colour must be pre-initialized
  3995. with
  3996. <a href="color.html#NEWCOLOR">NEWCOLOR</a>
  3997. or
  3998. <a href="color.html#XCOLOR">XCOLOR</a>.
  3999. The default is black.
  4000. <p>
  4001. <strong>hyphenation-flags</strong>
  4002. <br>
  4003. A number telling <strong>groff</strong> how you want margin notes
  4004. hyphenated.
  4005. <p>
  4006. <pre>
  4007. 1 = hyphenate without restrictions
  4008. 2 = do not hyphenate the last word on the page
  4009. 4 = do not hyphenate the last two characters of a word
  4010. 8 = do not hyphenate the first two characters of a word
  4011. </pre>
  4012. The values can be added together, so, for example, if you want
  4013. neither the first two nor the last two characters of words
  4014. hyphenated, the hyphenation-flag would be 12. The default value is
  4015. 14 (i.e. 2+4+8).
  4016. <p>
  4017. <hr width="66%" align="left">
  4018. <!---MN_INIT--->
  4019. <p>
  4020. <a name="MN">
  4021. <nobr>Macro: <strong>MN</strong>&nbsp;LEFT|RIGHT | &lt;anything&gt;</nobr>
  4022. </a>
  4023. <p>
  4024. Once you've initialized margin notes with
  4025. <a href="#MN_INIT">MN_INIT</a>,
  4026. you can enter margin notes any time you like with
  4027. <strong>MN</strong>. An argument of <strong>LEFT</strong> will set
  4028. a left margin note. An argument of <strong>RIGHT</strong> will set
  4029. a right margin note.
  4030. <p>
  4031. Any argument, such as <strong>OFF</strong> (or
  4032. <strong>QUIT</strong>, <strong>END</strong>, <strong>X</strong>,
  4033. etc) exits the current margin note.
  4034. <p>
  4035. <hr>
  4036. <!====================================================================>
  4037. <a name="BLANK_PAGE_TITLE"><h2><u>Inserting a blank page into the document</u></h2></a>
  4038. <p>
  4039. <a name="BLANK_PAGE">
  4040. <nobr>Macro: <strong>BLANKPAGE</strong> &lt;# of blank pages to insert&gt;</nobr>
  4041. </a>
  4042. <p>
  4043. This one does exactly what you'd expect -- inserts a blank page into
  4044. the document. <strong>Mom</strong> silently increments the page
  4045. number of every blank page and keeps track of
  4046. <a href="rectoverso.html#RECTO_VERSO">recto/verso</a>
  4047. stuff, but otherwise, does nothing. It's up to you, the user, to
  4048. figure out what to do with this feature. However, it's worth
  4049. noting that without it, inserting completely blank pages, to use
  4050. a vernacular Québécois phrase, &quot;c'est pas évident&quot;
  4051. (somewhere between &quot;isn't easy&quot;, &quot;isn't
  4052. obvious&quot; and &quot;isn't fun&quot;).
  4053. <p>
  4054. The argument to <strong>BLANK_PAGE</strong> is the number of blank
  4055. pages to insert. The argument is not optional, hence even if you
  4056. only want one blank page, you have to tell <strong>mom</strong>:
  4057. <p>
  4058. <pre>
  4059. .BLANKPAGE 1
  4060. </pre>
  4061. <a name="FINIS_INTRO"><h2><u>Terminate document processing</u></h2></a>
  4062. <ul>
  4063. <li><a href="#FINIS">Tag: FINIS</a>
  4064. <li><a href="#FINIS_STRING">Changing the FINIS string</a>
  4065. </ul>
  4066. <p>
  4067. The use of <strong>FINIS</strong> is optional. If you invoke it
  4068. (at the end of a document before
  4069. <a href="#TOC">TOC</a>
  4070. or
  4071. <a href="#ENDNOTES">ENDNOTES</a>),
  4072. <strong>mom</strong>
  4073. deposits the word END, centred after a blank line, beneath the last
  4074. line of the document. END is enclosed between
  4075. <a href="definitions.html#TERMS_EM">em-dashes</a>.
  4076. <p>
  4077. <strong>Please note</strong> that in versions of
  4078. <strong>mom</strong> prior to 1.1.9, <strong>FINIS</strong> used to
  4079. turn off
  4080. <a href="definitions.html#TERMS_FOOTER">footers</a>
  4081. (if they were on) and page numbering (if page numbers were at the
  4082. bottom of the page). Damned if I can recall why I thought anyone
  4083. would want this behaviour, but it has been removed.
  4084. <p>
  4085. If you're writing in a language other than English, you can
  4086. change what <strong>mom</strong> prints for END with
  4087. the control macro <strong>FINIS_STRING</strong>.
  4088. <p>
  4089. <hr>
  4090. <!====================================================================>
  4091. <a name="TOC_INTRO"><h2><u>Table of contents</u></h2></a>
  4092. <ul>
  4093. <li><a href="#TOC_BEHAVIOUR">TOC behaviour</a>
  4094. <li><a href="#TOC">Macro: TOC</a> -- tell <strong>mom</strong> to output a table of contents
  4095. <li><a href="#TOC_CONTROL">TOC control macros</a>
  4096. </ul>
  4097. <p>
  4098. Want a table of contents for your document? Easy. Just enter
  4099. <p>
  4100. <pre>
  4101. .TOC
  4102. </pre>
  4103. as the very last macro of your document file. <strong>Mom</strong>
  4104. will have picked up all document titles (in
  4105. <a href="docprocessing.html#COLLATE">collated</a>
  4106. documents), all heads, subheads, and paragraph heads, as well as any
  4107. endnotes pages that have been output, and assigned them the
  4108. appropriate page number (and page numbering style). Talk about a
  4109. no-brainer!
  4110. That said, tables of contents (tocs) have even more control macros
  4111. than endnotes. As always, the reason for so many control macros is
  4112. so that if you want to change just about any aspect of the toc's
  4113. typographic appearance, you can. <strong>Mom</strong> is all about
  4114. simplicity AND flexibility.
  4115. <p>
  4116. <a name="TOC_BEHAVIOUR"><h3><u>TOC behaviour</u></h3></a>
  4117. <p>
  4118. When you output a toc (with
  4119. <a href="#TOC">TOC</a>),
  4120. <strong>mom</strong> finishes processing the last page of your document,
  4121. then breaks to a new page for printing the toc.
  4122. <p>
  4123. <strong>Mom</strong> follows standard typesetting conventions for
  4124. tables of contents. To this end, if
  4125. <a href="headfootpage.html#HEADERS">HEADERS</a>
  4126. are on for the document, the first page of the toc has no page
  4127. header, but does have a first page (roman numeral) number, always
  4128. &quot;1&quot;, in the bottom margin. If
  4129. <a href="headfootpage.html#FOOTERS">FOOTERS</a>
  4130. are on for the document, the first page has neither a footer, nor a
  4131. page number in the top margin. (If you absolutely must have a page
  4132. footer on the first page of the toc, simply invoke
  4133. <a href="headfootpage.html#FOOTER_ON_FIRST_PAGE">FOOTER_ON_FIRST_PAGE</a>
  4134. immediately before <strong>TOC</strong>.) Subsequent toc pages have
  4135. both page headers or footers and a page number.
  4136. <p>
  4137. Entries in the toc are hierarchically indented, as you would
  4138. expect. By default, each type of entry (e.g. a head or a subhead)
  4139. is set in a different font as well. If any of heads, subheads or
  4140. paragraph heads are numbered in the body of the document, they are
  4141. also numbered in the toc. Head numbering in the toc is NOT
  4142. concatenated as it is in the body of the document, which would be
  4143. visually redundant in a toc.
  4144. <p>
  4145. Tocs are never set in columns, regardless of whether the rest of
  4146. the document is. Lastly, if
  4147. <a href="rectoverso.html#RECTO_VERSO">recto/verso</a>
  4148. printing is enabled, the toc respects it. This sometimes leads to
  4149. tocs that begin with the wrong margins, but the margins can be
  4150. corrected either by outputting a
  4151. <a href="#BLANK_PAGE">BLANKPAGE</a>
  4152. or by using the toc control macro
  4153. <a href="#TOC_RV_SWITCH">TOC_RV_SWITCH</a>.
  4154. <p>
  4155. The overall toc
  4156. <a href="definitions.html#TERMS_FAMILY">family</a>,
  4157. <a href="definitions.html#TERMS_PS">point size</a>
  4158. and
  4159. <a href="definitions.html#TERMS_LEADING">lead</a>
  4160. can be altered with the toc
  4161. <a href="definitions.html#TERMS_CONTROLMACRO">control macros</a>,
  4162. as can the family,
  4163. <a href="definitions.html#TERMS_FONT">font</a>,
  4164. point size and indent of each type of toc entry (i.e. title, head,
  4165. subhead, paragraph head). Furthermore, the page numbering style
  4166. can be changed, as can the amount of visual space reserved for toc
  4167. entry page numbers.
  4168. <p>
  4169. <!---TOC--->
  4170. <hr width="66%" align="left">
  4171. <p>
  4172. <a name="TOC">Macro: <strong>TOC</strong></a>
  4173. <p>
  4174. If you want a toc, just put <strong>TOC</strong> as the last macro
  4175. in a document. <strong>Mom</strong> takes care of the rest.
  4176. <p>
  4177. <hr width="66%" align="left">
  4178. <a name="TOC_CONTROL"><h3><u>TOC control macros</u></h3></a>
  4179. <p>
  4180. Toc entries are not actually processed when <strong>mom</strong>
  4181. collects them, so you can put any toc control macros anywhere you
  4182. like in your document. Some may prefer to place them at the top of
  4183. the file. Others may prefer to place them just before outputting
  4184. the toc. The choice is yours.
  4185. <br>
  4186. <ol>
  4187. <li><a href="#TOC_GENERAL"><strong>General toc page style control</strong></a>
  4188. <ul>
  4189. <li><a href="#TOC_FAMILY">Base family for toc pages</a>
  4190. <li><a href="#TOC_PT_SIZE">Base point size for toc pages</a>
  4191. <li><a href="#TOC_LEAD">Leading of toc pages</a>
  4192. </ul>
  4193. <li><a href="#TOC_PAGENUMBERING"><strong>Toc page numbering</strong></a>
  4194. <ul>
  4195. <li><a href="#PAGINATE_TOC">Turn toc pagination on or off</a>
  4196. <li><a href="#TOC_PAGENUM_STYLE">Toc page numbering style</a>
  4197. </ul>
  4198. <li><a href="#TOC_HEADER"><strong>Changing the toc header (title), string and style</strong></a>
  4199. <ul>
  4200. <li><a href="#TOC_HEADER_STRING">Changing the string (title)</a>
  4201. <li><a href="#TOC_HEADER_STYLE">Changing the string (title) style</a>
  4202. </ul>
  4203. <li><a href="#TOC_STYLE"><strong>Changing the style for toc entries</strong></a>
  4204. <ul>
  4205. <li><a href="#TOC_INDENT">The toc _INDENT control macros</a>
  4206. <li><a href="#TOC_TITLE">Changing the style for toc title entries</a>
  4207. <li><a href="#TOC_HEAD">Changing the style for toc head entries</a>
  4208. <li><a href="#TOC_SUBHEAD">Changing the style for toc subhead entries</a>
  4209. <li><a href="#TOC_PARAHEAD">Changing the style for toc paragraph head entries</a>
  4210. <li><a href="#TOC_PN">Changing the style for toc page number listings</a>
  4211. </ul>
  4212. <li><a href="#TOC_ADDITIONAL"><strong>Additional toc control macros</strong></a>
  4213. <ul>
  4214. <li><a href="#TOC_TITLE_ENTRY">Change the wording of a toc title entry</a>
  4215. <li><a href="#TOC_APPENDS_AUTHOR">Append author(s) to toc title entries</a>
  4216. <li><a href="#TOC_RV_SWITCH">TOC_RV_SWITCH</a>
  4217. <li><a href="#TOC_PADDING">TOC_PADDING</a>
  4218. </ul>
  4219. </ol>
  4220. <hr>
  4221. <a name="TOC_GENERAL"><h2><u>1. General toc page style control</u></h2>
  4222. <a name="TOC_FAMILY"><h3><u>*Toc family</u></h3></a>
  4223. <p>
  4224. See
  4225. <a href="#CONTROL_MACRO_ARGS">Arguments to the control macros</a>.
  4226. <p>
  4227. Set the family of toc pages with <strong>TOC_FAMILY</strong>, which
  4228. establishes the default family for every element of a toc page,
  4229. including the toc title (&quot;Contents&quot;) and the page number
  4230. in the top or bottom margin. The default is the prevailing document
  4231. family.
  4232. <p>
  4233. All elements on a toc page also have their own _FAMILY
  4234. control macros, which override the default set by
  4235. <strong>TOC_FAMILY</strong>.
  4236. <p>
  4237. <!---TOC_PT_SIZE--->
  4238. <a name="TOC_PT_SIZE"><h3><u>*Toc point size</u></h3></a>
  4239. <p>
  4240. <nobr>Macro: <strong>TOC_PT_SIZE</strong> &lt;base type size of the toc&gt;</nobr>
  4241. <p>
  4242. Unlike most other control macros that deal with size of document
  4243. elements, <strong>TOC_PT_SIZE</strong> takes as its argument an
  4244. absolute value, relative to nothing. Therefore, the argument
  4245. represents the size of toc type in
  4246. <a href="definitions.html#TERMS_PICASPOINTS">points</a>,
  4247. unless you append an alternative
  4248. <a href="definitions.html#TERMS_UNITOFMEASURE">unit of measure</a>.
  4249. For example,
  4250. <p>
  4251. <pre>
  4252. .TOC_PT_SIZE 12
  4253. </pre>
  4254. sets the base point size of type for the toc to 12 points, whereas
  4255. <p>
  4256. <pre>
  4257. .TOC_PT_SIZE .6i
  4258. </pre>
  4259. sets the base point size of type for the toc to 1/6 of an inch.
  4260. <p>
  4261. The type size set with <strong>TOC_PT_SIZE</strong> forms the basis
  4262. from which the point size of other toc page elements are calculated.
  4263. <p>
  4264. The default for
  4265. <a href="docprocessing.html#PRINTSTYLE">PRINTSTYLE TYPESET</a>
  4266. is 12.5 points (the same default size used in the body of the
  4267. document).
  4268. <p>
  4269. <!---TOC_LEAD--->
  4270. <a name="TOC_LEAD"><h3><u>*Toc lead</u></h3></a>
  4271. <p>
  4272. <nobr>Macro: <strong>TOC_LEAD</strong> &lt;leading of the toc&gt; [ ADJUST ]</nobr>
  4273. <br>
  4274. <em>*Does not require a <a href="definitions.html#TERMS_UNITOFMEASURE">unit of measure</a>; points is assumed</em>
  4275. <p>
  4276. Unlike most other control macros that deal with leading of document
  4277. elements, <strong>TOC_LEAD</strong> takes as its argument an
  4278. absolute value, relative to nothing. Therefore, the argument
  4279. represents the
  4280. <a href="definitions.html#TERMS_LEADING">leading</a>
  4281. of tocs in
  4282. <a href="definitions.html#TERMS_PICASPOINTS">points</a>
  4283. unless you append an alternative
  4284. <a href="definitions.html#TERMS_UNITOFMEASURE">unit of measure</a>.
  4285. For example,
  4286. <p>
  4287. <pre>
  4288. .TOC_LEAD 14
  4289. </pre>
  4290. sets the base leading of type on the endnotes page to 14
  4291. points, whereas
  4292. <p>
  4293. <pre>
  4294. .TOC_LEAD .5i
  4295. </pre>
  4296. sets the base leading of type on the endnotes page to 1/2 inch.
  4297. <p>
  4298. If you want the leading of toc pages adjusted to fill the
  4299. page, pass <strong>TOC_LEAD</strong> the optional argument
  4300. <strong>ADJUST</strong>. (See
  4301. <a href="docprocessing.html#DOC_LEAD_ADJUST">DOC_LEAD_ADJUST</a>
  4302. for an explanation of leading adjustment.)
  4303. <p>
  4304. The default for
  4305. <a href="docprocessing.html#PRINTSTYLE">PRINTSTYLE TYPESET</a>
  4306. is the prevailing document lead (16 by default), adjusted.
  4307. <p>
  4308. <strong>NOTE:</strong> Even if you give <strong>mom</strong> a
  4309. <strong>DOC_LEAD_ADJUST OFF</strong> command, she will still, by
  4310. default, adjust toc leading. You MUST enter
  4311. <strong>TOC_LEAD &lt;lead&gt;</strong> with no
  4312. <strong>ADJUST</strong> argument to disable this default behaviour.
  4313. <p>
  4314. <strong>ADDITIONAL NOTE:</strong> Tocs are always double-spaced in
  4315. <strong>PRINTSTYLE TYPEWRITE</strong>, regardless of whether the
  4316. body of the document is single-spaced.
  4317. <a name="TOC_PAGENUMBERING"><h2><u>2. Toc page numbering</u></h2></a>
  4318. <p>
  4319. The page numbering of toc pages is controlled by the same macros
  4320. that control
  4321. <a href="headfootpage.html#PAGINATION">document page numbering</a>,
  4322. except
  4323. <a href="headfootpage.html#PAGENUM">PAGENUM</a>
  4324. (tocs always start on page 1). The defaults are the same as the
  4325. rest of the document.
  4326. <p>
  4327. If you wish to change some aspect of toc pagination, use the
  4328. document pagination control macros immediately prior to
  4329. <strong>.TOC</strong>.
  4330. <p>
  4331. A special macro,
  4332. <a href="#TOC_PAGENUM_STYLE">TOC_PAGENUM_STYLE</a>
  4333. controls the style of toc pages page numbers.
  4334. <p>
  4335. <hr width="33%" align="left">
  4336. <!---PAGINATE_TOC--->
  4337. <p>
  4338. <a name="PAGINATE_TOC">
  4339. <nobr>Macro: <strong>PAGINATE_TOC</strong> &lt;toggle&gt;</nobr>
  4340. </a>
  4341. <p>
  4342. By default, <strong>mom</strong> paginates the toc. If you'd like
  4343. her not to, do
  4344. <p>
  4345. <pre>
  4346. .PAGINATE_TOC OFF
  4347. </pre>
  4348. <strong>NOTE:</strong> Simply invoking <strong>PAGINATION
  4349. OFF</strong> or <strong>PAGINATE OFF</strong> disables toc
  4350. pagination <em>for the first toc page only.</em> You MUST use
  4351. <strong>.PAGINATE_TOC OFF</strong> to disable toc pagination, even
  4352. if pagination is turned off elsewhere in your document.
  4353. <p>
  4354. <hr width="33%" align="left">
  4355. <p>
  4356. <!---TOC_PAGENUM_STYLE--->
  4357. <a name="TOC_PAGENUM_STYLE">
  4358. <nobr>Macro: <strong>TOC_PAGENUM_STYLE</strong> &lt;DIGIT | ROMAN | roman | ALPHA | alpha&gt;</nobr>
  4359. </a>
  4360. <p>
  4361. By default, <strong>mom</strong> uses roman numerals to number
  4362. toc pages. Use <strong>TOC_PAGENUM_STYLE</strong> if you'd prefer
  4363. something else. For example, to have standard digits instead of
  4364. roman numerals, do the following:
  4365. <p>
  4366. <pre>
  4367. .TOC_PAGENUM_STYLE DIGIT
  4368. </pre>
  4369. <hr width="33%" align="left">
  4370. <a name="TOC_HEADER"><h2><u>3. Changing the toc header (title) string and style</u></h2></a>
  4371. <p>
  4372. The toc header string is the title that appears at to top of the
  4373. toc. By default, it's &quot;Contents&quot;. If you'd like
  4374. something else, say, &quot;Table of Contents&quot;, do
  4375. <p>
  4376. <a name="TOC_HEADER_STRING"></a>
  4377. <pre>
  4378. .TOC_HEADER_STRING "Table of Contents"
  4379. </pre>
  4380. <a name="TOC_HEADER_STYLE"></a>
  4381. The style of the toc header (title) is managed by the usual control
  4382. macros (see
  4383. <a href="#CONTROL_MACRO_ARGS">arguments to the control macros</a>).
  4384. <p>
  4385. <pre>
  4386. .TOC_HEADER_FAMILY default = prevailing doc family (Times Roman in TYPEWRITE)
  4387. .TOC_HEADER_FONT default = bold
  4388. .TOC_HEADER_SIZE default = +4
  4389. .TOC_HEADER_QUAD default = left
  4390. </pre>
  4391. <a name="TOC_STYLE"><h2><u>4. Changing the style for toc entries</u></h2></a>
  4392. <p>
  4393. &quot;Toc entries&quot; refers to titles, heads, subheads and
  4394. paragraph heads as they appear in the toc. Their style is managed
  4395. by the usual
  4396. <a href="definitions.html#TERMS_CONTROLMACRO">control macros</a>,
  4397. starting with TOC_
  4398. <p>
  4399. <a name="TOC_INDENT"><h3><u>The toc _INDENT control macros</u></h3></a>
  4400. <p>
  4401. The toc control macros that end in _INDENT all take a single
  4402. argument that requires a
  4403. <a href="definitions.html#TERMS_UNITOFMEASURE">unit of measure</a>.
  4404. The argument is the distance to indent the entry, always measured
  4405. from the left margin. For example,
  4406. <p>
  4407. <pre>
  4408. .TOC_HEAD_INDENT 2P
  4409. </pre>
  4410. indents head entries 2
  4411. <a href="definitions.html#TERMS_PICASPOINTS">picas</a>
  4412. from the left margin.
  4413. <p>
  4414. <a name="TOC_TITLE"><h3><u>*Changing the style for toc title entries</u></h3></a>
  4415. <p>
  4416. (See
  4417. <a href="#CONTROL_MACRO_ARGS">arguments to the control macros</a>).
  4418. <p>
  4419. Toc title entries are the titles of documents that have been
  4420. <a href="rectoverso.html#COLLATE">collated</a>
  4421. together.
  4422. <p>
  4423. <pre>
  4424. .TOC_TITLE_FAMILY default = prevailing doc family (Times Roman in TYPEWRITE)
  4425. .TOC_TITLE_FONT default = bold italic
  4426. .TOC_TITLE_SIZE default = +0
  4427. .TOC_TITLE_INDENT default = 0 for TYPESET and TYPEWRITE
  4428. </pre>
  4429. <a name="TOC_HEAD"><h3><u>*Changing the style for toc head entries</u></h3></a>
  4430. <p>
  4431. (See
  4432. <a href="#CONTROL_MACRO_ARGS">arguments to the control macros</a>).
  4433. <p>
  4434. Toc head entries are main heads that appear in the body of a
  4435. document.
  4436. <p>
  4437. <pre>
  4438. .TOC_HEAD_FAMILY default = prevailing doc family (Times Roman in TYPEWRITE)
  4439. .TOC_HEAD_FONT default = bold
  4440. .TOC_HEAD_SIZE default = +.5
  4441. .TOC_HEAD_INDENT default = 18p for TYPESET; 2m for TYPEWRITE
  4442. </pre>
  4443. <a name="TOC_SUBHEAD"><h3><u>*Changing the style for toc subhead entries</u></h3></a>
  4444. <p>
  4445. (See
  4446. <a href="#CONTROL_MACRO_ARGS">arguments to the control macros</a>).
  4447. <p>
  4448. Toc subhead entries are subheads that appear in the body of a
  4449. document.
  4450. <p>
  4451. <pre>
  4452. .TOC_SUBHEAD_FAMILY default = prevailing doc family (Times Roman in TYPEWRITE)
  4453. .TOC_SUBHEAD_FONT default = roman
  4454. .TOC_SUBHEAD_SIZE default = +0
  4455. .TOC_SUBHEAD_INDENT default = 30p for TYPESET; 4m for TYPEWRITE
  4456. </pre>
  4457. <a name="TOC_PARAHEAD"><h3><u>*Changing the style for toc paragraph head entries</u></h3></a>
  4458. <p>
  4459. (See
  4460. <a href="#CONTROL_MACRO_ARGS">arguments to the control macros</a>).
  4461. <p>
  4462. Toc paragraph head entries are paragraph heads that appear in the
  4463. body of a document.
  4464. <p>
  4465. <pre>
  4466. .TOC_PARAHEAD_FAMILY default = prevailing doc family (Times Roman in TYPEWRITE)
  4467. .TOC_PARAHEAD_FONT default = italic
  4468. .TOC_PARAHEAD_SIZE default = +0
  4469. .TOC_PARAHEAD_INDENT default = 42p for TYPESET; 6m for TYPEWRITE
  4470. </pre>
  4471. <a name="TOC_PN"><h3><u>*Changing the style for toc paragraph page number listings</u></h3></a>
  4472. <p>
  4473. (See
  4474. <a href="#CONTROL_MACRO_ARGS">arguments to the control macros</a>).
  4475. <p>
  4476. Toc paragraph head entries are paragraph heads that appear in the
  4477. body of a document.
  4478. <p>
  4479. <pre>
  4480. .TOC_PN_FAMILY default = prevailing doc family (Times Roman in TYPEWRITE)
  4481. .TOC_PN_FONT default = roman
  4482. .TOC_PN_SIZE default = +0
  4483. </pre>
  4484. <a name="TOC_ADDITIONAL"><h2><u>5. Additional toc macros</u></h2></a>
  4485. <p>
  4486. The following macros allow you to switch page margins should
  4487. they be incorrect for recto/verso printing, to establish how
  4488. many placeholders to leave for page listings, and to have
  4489. <strong>mom</strong> append author(s) to toc title entries.
  4490. <p>
  4491. <hr width="33%" align="left">
  4492. <!---TOC_RV_SWITCH--->
  4493. <p>
  4494. <a name="TOC_RV_SWITCH">
  4495. Macro: <strong>TOC_RV_SWITCH</strong>
  4496. </a>
  4497. <p>
  4498. <strong>TOC_RV_SWITCH</strong> doesn't take an argument. It simply
  4499. instructs <strong>mom</strong> to switch the left and right margins
  4500. of
  4501. <a href="rectoverso.html#RECTO_VERSO">recto/verso</a>
  4502. documents should the toc happen to begin on an even page when you
  4503. want an odd, or vice versa.
  4504. <p>
  4505. The same result can be accomplished by outputting a
  4506. <a href="#BLANK_PAGE">BLANKPAGE</a>.
  4507. <p>
  4508. <hr width="33%" align="left">
  4509. <!---TOC_TITLE_ENTRY--->
  4510. <p>
  4511. <a name="TOC_TITLE_ENTRY">
  4512. <nobr>Macro: <strong>TOC_TITLE_ENTRY</strong> &lt;&quot;alternate wording for a title entry in the toc&quot;&gt;</nobr>
  4513. </a>
  4514. <p>
  4515. In
  4516. <a href="rectoverso.html#COLLATE">collated</a>
  4517. documents, the title of each separate document appears in the table
  4518. of contents. It may sometimes happen that you don't want the title
  4519. as it appears in the toc to be the same as what appears in
  4520. the
  4521. <a href="definitions.html#TERMS_DOCHEADER">docheader</a>.
  4522. You might, for example, want to shorten it. Or, in the case of
  4523. chapters where the docheader contains both a chapter number and a
  4524. chapter title, like this
  4525. <p>
  4526. <pre>
  4527. Chapter 6
  4528. Burning Bush -- Maybe God Was Right
  4529. </pre>
  4530. you might want only the chapter title, not the chapter number, to
  4531. show up in the toc. (By default, <strong>TOC</strong> generates
  4532. both.)
  4533. <p>
  4534. If you want to change the wording of a title entry in the toc,
  4535. simply invoke <strong>TOC_TITLE_ENTRY</strong> with the desired
  4536. wording, enclosed in double-quotes. Using the example, above,
  4537. <p>
  4538. <pre>
  4539. .CHAPTER 6
  4540. .CHAPTER_TITLE "Burning Bush -- Maybe God Was Right"
  4541. .TOC_TITLE_ENTRY "Burning Bush"
  4542. .DOCTYPE CHAPTER
  4543. </pre>
  4544. would identify chapter 6 in the toc simply as &quot;Burning
  4545. Bush&quot;.
  4546. <p>
  4547. <hr width="33%" align="left">
  4548. <!---TOC_APPENDS_AUTHOR--->
  4549. <p>
  4550. <a name="TOC_APPENDS_AUTHOR">
  4551. <nobr>Macro: <strong>TOC_APPENDS_AUTHOR</strong> &lt;none&gt; | &lt;&quot;name(s) of authors&quot;&gt;</nobr>
  4552. </a>
  4553. <p>
  4554. In certain kinds of collated documents, different authors are
  4555. responsible for the articles or stories contained within them. In
  4556. such documents, you may wish to have the author or authors
  4557. appended to the toc's title entry for each story or article.
  4558. <p>
  4559. If you invoke <strong>TOC_APPENDS_AUTHOR</strong> with no argument,
  4560. <strong>mom</strong> appends the first argument you passed to
  4561. <a href="docprocessing.html#AUTHOR">AUTHOR</a>
  4562. to toc title entries, separated by a front-slash.
  4563. <p>
  4564. If you invoke <strong>TOC_APPENDS_AUTHOR</strong> with an argument
  4565. (surrounded by double-quotes), <strong>mom</strong> will append it
  4566. to the toc title entries instead. This is useful if you have
  4567. multiple authors you wish to identify by last name only. For
  4568. example, if three authors--Joe Blough, Jane Doe, and John
  4569. Deere--are responsible for a single article
  4570. <p>
  4571. <pre>
  4572. .TOC_APPENDS_AUTHOR "Blough et al."
  4573. </pre>
  4574. would be a good way to identify them in the toc.
  4575. <p>
  4576. <hr width="33%" align="left">
  4577. <!---TOC_PADDING--->
  4578. <p>
  4579. <a name="TOC_PADDING">
  4580. <nobr>Macro: <strong>TOC_PADDING</strong> &lt;# of placeholders to allow for page number listings&gt;</nobr>
  4581. </a>
  4582. <p>
  4583. By default, <strong>mom</strong> allows room for 3 digits in the
  4584. page number listings of tocs. If you'd like some other number of
  4585. placeholders, say 2, do
  4586. <p>
  4587. <pre>
  4588. .TOC_PADDING 2
  4589. </pre>
  4590. <!---FINIS--->
  4591. <hr width="66%" align="left">
  4592. <p>
  4593. <a name="FINIS">
  4594. Macro: <strong>FINIS</strong>
  4595. </a>
  4596. <p>
  4597. The use of <strong>FINIS</strong> is optional, but if you use
  4598. it, it should be the last macro you invoke in a document (before
  4599. <a href="#ENDNOTES">ENDNOTES</a>
  4600. or
  4601. <a href="#TOC">TOC</a>).
  4602. See
  4603. <a href="#FINIS_INTRO">above</a>
  4604. for a description of how <strong>FINIS</strong> behaves.
  4605. <p>
  4606. <strong>NOTE:</strong> If you don't use <strong>FINIS</strong>,
  4607. and you don't want
  4608. <a href="definitions.html#TERMS_FOOTER">footers</a>
  4609. (if they're on) or a page number at the bottom of the last page of
  4610. a document, you have to turn them off manually, as the last two
  4611. lines of your document file, like this:
  4612. <p>
  4613. <pre>
  4614. .FOOTERS OFF
  4615. .PAGINATE OFF
  4616. </pre>
  4617. <a name="FINIS_STRING"><h3><u>Changing the FINIS string</u></h3></a>
  4618. <p>
  4619. By default, <strong>FINIS</strong> prints the word
  4620. END between
  4621. <a href="definitions.html#TERMS_EM">em-dashes</a>.
  4622. If you'd like <strong>mom</strong> to print something else
  4623. between the dashes, use the <strong>FINIS_STRING</strong> macro
  4624. (anywhere in the document prior to <strong>FINIS</strong>).
  4625. <p>
  4626. For example, if your document's in French, you'd do
  4627. <p>
  4628. <pre>
  4629. .FINIS_STRING "FIN"
  4630. </pre>
  4631. Double-quotes must enclose the macro's argument.
  4632. <p>
  4633. <strong>NOTE:</strong> If you pass <strong>FINIS_STRING</strong>
  4634. a blank string, i.e.
  4635. <p>
  4636. <pre>
  4637. .FINIS_STRING ""
  4638. </pre>
  4639. <strong>mom</strong> will still print the em-dashes if you
  4640. invoke <strong>FINIS</strong>. This, in effect, produces a
  4641. short, centred horizontal rule that terminates the document.
  4642. (In
  4643. <a href="docprocessing.html.#PRINTSTYLE">PRINTSTYLE TYPEWRITE</a>,
  4644. it's a short, dashed line composed of four hyphens.)
  4645. <a name="FINIS_COLOR"><h3><u>Changing the FINIS colour</u></h3></a>
  4646. <p>
  4647. Invoking <strong>FINIS_COLOR</strong> with a pre-defined (or
  4648. &quot;initalized&quot;) color changes the colour of both the FINIS
  4649. string and the em-dashes that surround it. If you use the
  4650. <a href="definitions.html#TERMS_INLINE">inline escape</a>,
  4651. <a href="color.html#COLOR_INLINE">\*[&lt;colorname&gt;]</a>,
  4652. in the argument passed to <strong>FINIS</strong>, only the text
  4653. will be in the new colour; the em-dashes will be in the default
  4654. document colour (usually black).
  4655. <p>
  4656. <hr>
  4657. <a href="headfootpage.html#TOP">Next</a>&nbsp;&nbsp;
  4658. <a href="docprocessing.html#TOP">Prev</a>&nbsp;&nbsp;
  4659. <a href="#TOP">Top</a>&nbsp;&nbsp;
  4660. <a href="toc.html">Back to Table of Contents</a>
  4661. </body>
  4662. </html>