Minor doc fix.
[s-roff.git] / contrib / mom / momdoc / docprocessing.html
blob64be7ea56e51a05a50aa3ecc4df93079ed5f3a6d
1 <html>
2 <head>
3 <meta http-equiv="content-type" content="text/html;charset=iso-8859-1">
4 <title>Mom -- Document Processing, Introduction and Setup</title>
5 </head>
6 <body bgcolor="#dfdfdf">
8 <!====================================================================>
10 <a href="docelement.html#TOP">Next</a>&nbsp;&nbsp;
11 <a href="inlines.html#TOP">Prev</a>&nbsp;&nbsp;
12 <a href="toc.html">Back to Table of Contents</a>
14 <a name="TOP"></a>
15 <a name="DOCPROCESSING">
16 <h1 align="center"><u>DOCUMENT PROCESSING WITH MOM</u>
17 </h1>
18 </a>
20 <a href="#INTRO_MACROS_DOCPROCESSING">Introduction to document processing</a>
21 <br>
22 <a href="#DEFAULTS">Some document defaults</a>
23 <p>
24 <a href="#LEADING_NOTE">* IMPORTANT NOTE on leading/spacing and bottom margins *</a>
25 <p>
26 <ul>
27 <li><strong>DOCUMENT SETUP</strong>
28 <br>
29 <a href="#DOCPROCESSING_TUT">Tutorial -- Setting up a mom document</a>
30 <br>
31 <ul>
32 <li><a href="#REFERENCE_MACROS"><strong>The Reference Macros</strong></a>
33 <ul>
34 <li><a href="#TITLE">TITLE</a>
35 <li><a href="#SUBTITLE">SUBTITLE</a>
36 <li><a href="#AUTHOR">AUTHOR</a>
37 <li><a href="#CHAPTER">CHAPTER</a>
38 <li><a href="#DRAFT">DRAFT</a>
39 <li><a href="#REVISION">REVISION</a>
40 </ul>
41 <li><a href="#DOCSTYLE_MACROS"><strong>The Docstyle Macros</strong></a>
42 <ul>
43 <li><a href="#DOCTYPE">DOCTYPE</a>
44 <li><a href="#PRINTSTYLE">PRINTSTYLE</a>
45 <li><a href="#COPYSTYLE">COPYSTYLE</a>
46 </ul>
48 <li><a href="#STYLE_BEFORE_START"><strong>Changing type/style parameters prior to START</strong></a>
49 <ul>
50 <li><a href="#TYPE_BEFORE_START">Using typesetting macros prior to START</a>
51 <li><a href="#DOC_LEAD_ADJUST">Adjusting document leading to fill pages -- DOC_LEAD_ADJUST</a>
52 <li><a href="#DOCHEADER">Managing the document header</a>
53 <ul>
54 <li><a href="#DOCHEADER">DOCHEADER -- turning docheaders off</a>
55 <li><a href="#DOCHEADER_CONTROL">Docheader control</a>
56 </ul>
57 </ul>
59 <li><a href="#COLUMNS_INTRO"><strong>Setting documents in columns</strong></a>
60 <ul>
61 <li><a href="#COLUMNS">COLUMNS</a>
62 <li><a href="#COL_NEXT">COL_NEXT</a>
63 <li><a href="#COL_BREAK">COL_BREAK</a>
65 </ul>
67 <li><a href="#START_MACRO"><strong>START</strong> -- the macro to initiate document processing</a>
68 <ul>
69 <li><a href="#START">START</a>
70 </ul>
72 <li><a href="#DOC_PARAM_MACROS"><strong>Changing document-wide typesetting parameters after START</strong></a>
73 <ul>
74 <li><a href="#DOC_LEFT_MARGIN">DOC_LEFT_MARGIN</a>
75 <li><a href="#DOC_RIGHT_MARGIN">DOC_RIGHT_MARGIN</a>
76 <li><a href="#DOC_LINE_LENGTH">DOC_LINE_LENGTH</a>
77 <li><a href="#DOC_FAMILY">DOC_FAMILY</a>
78 <li><a href="#DOC_PT_SIZE">DOC_PT_SIZE</a>
79 <li><a href="#DOC_LEAD">DOC_LEAD</a>
80 <li><a href="#DOC_LEAD_ADJUST">DOC_LEAD_ADJUST</a>
81 <li><a href="#DOC_QUAD">DOC_QUAD</a>
82 </ul>
83 <br>
84 <li><strong>THE DOCUMENT ELEMENT MACROS (TAGS)</strong>
85 <ul>
86 <li><a href="docelement.html#DOCELEMENT_INTRO">Introduction to the document element tags</a>
87 <ul>
88 <li><a href="docelement.html#DOCELEMENT_CONTROL">Document element (tag) control macros</a>
89 </ul>
90 <li><a href="docelement.html#EPIGRAPH_INTRO"><strong>Epigraphs</strong></a>
91 <ul>
92 <li><a href="docelement.html#EPIGRAPH">EPIGRAPH</a>
93 <li><a href="docelement.html#EPIGRAPH_CONTROL">Epigrah control</a>
94 </ul>
95 <li><a href="docelement.html#PP_INTRO"><strong>Paragraphs</strong></a>
96 <ul>
97 <li><a href="docelement.html#PP">PP</a>
98 <li><a href="docelement.html#PP_CONTROL">Paragraph control</a>
99 </ul>
100 <li><a href="docelement.html#HEAD_INTRO"><strong>Main heads</strong></a>
101 <ul>
102 <li><a href="docelement.html#HEAD">HEAD</a>
103 <li><a href="docelement.html#HEAD_CONTROL">Head control</a>
104 </ul>
105 <li><a href="docelement.html#SUBHEAD_INTRO"><strong>Subheads</strong></a>
106 <ul>
107 <li><a href="docelement.html#SUBHEAD">SUBHEAD</a>
108 <li><a href="docelement.html#SUBHEAD_CONTROL">Subhead control</a>
109 </ul>
110 <li><a href="docelement.html#PARAHEAD_INTRO"><strong>Paragraph heads</strong></a>
111 <ul>
112 <li><a href="docelement.html#PARAHEAD">PARAHEAD</a>
113 <li><a href="docelement.html#PARAHEAD_CONTROL">Parahead control</a>
114 </ul>
115 <li><a href="docelement.html#LINEBREAK_INTRO"><strong>Linebreaks (author linebreaks)</strong></a>
116 <ul>
117 <li><a href="docelement.html#LINEBREAK">LINEBREAK</a>
118 <li><a href="docelement.html#LINEBREAK_CONTROL">Linebreak control</a>
119 </ul>
120 <li><a href="docelement.html#QUOTE_INTRO"><strong>Quotes (line for line poetic quotes)</strong></a>
121 <ul>
122 <li><a href="docelement.html#QUOTE">QUOTE</a>
123 <li><a href="docelement.html#QUOTE_CONTROL">Quote control</a>
124 </ul>
125 <li><a href="docelement.html#BLOCKQUOTE_INTRO"><strong>Blockquotes (cited material)</strong></a>
126 <ul>
127 <li><a href="docelement.html#BLOCKQUOTE">BLOCKQUOTE</a>
128 <li><a href="docelement.html#BLOCKQUOTE_CONTROL">Blockquote control</a>
129 </ul>
130 <li><a href="docelement.html#FOOTNOTE_INTRO"><strong>Footnotes</strong></a>
131 <ul>
132 <li><a href="docelement.html#FOOTNOTE">FOOTNOTE</a>
133 <li><a href="docelement.html#FOOTNOTE_CONTROL">Footnote control</a>
134 </ul>
135 <li><a href="docelement.html#FINIS_INTRO"><strong>Document termination</strong></a>
136 <ul>
137 <li><a href="docelement.html#FINIS">FINIS</a>
138 <li><a href="docelement.html#FINIS_CONTROL">Finis control</a>
139 </ul>
140 </ul>
142 <li><a href="headfootpage.html#HEADFOOTPAGE"><strong>HEADERS and FOOTERS</strong></a>
143 <br>
144 <ul>
145 <li><a href="headfootpage.html#HEADFOOTPAGE_INTRO">Introduction to headers/footers</a>
146 <li><a href="headfootpage.html#HEADFOOT_MANAGEMENT">Managing headers/footers</a>
147 <ul>
148 <li><a href="headfootpage.html#HEADERS">HEADERS</a> -- on or off
149 <li><a href="headfootpage.html#FOOTERS">FOOTERS</a> -- on or off
150 <li><a href="headfootpage.html#FOOTER_ON_FIRST_PAGE">FOOTER_ON_FIRST_PAGE</a>
151 </ul>
152 <li><a href="headfootpage.html#HEADFOOT_CONTROL">Header/footer control</a>
153 <ul>
154 <li><a href="headfootpage.html#HDRFTR_STRINGS">Header/footer strings</a>
155 <li><a href="headfootpage.html#HDRFTR_STYLE">Header/footer style</a> -- global and part-by-part
156 <li><a href="headfootpage.html#HDRFTR_VERTICAL">Header/footer placement and spacing</a>
157 <li><a href="headfootpage.html#HDRFTR_SEPARATOR">The header/footer separator rule</a>
158 </ul>
159 </ul>
160 <li><a href="headfootpage.html#PAGINATION"><strong>PAGINATION</strong></a>
161 <br>
162 <ul>
163 <li><a href="headfootpage.html#PAGINATE">PAGINATE</a> -- on or off
164 <li><a href="headfootpage.html#PAGENUMBER">PAGENUMBER</a> -- user supplied page number
165 <li><a href="headfootpage.html#PAGENUM_STYLE">PAGENUM_STYLE</a> -- digits, roman numerals, etc.
166 <li><a href="headfootpage.html#DRAFT_WITH_PAGENUMBER">DRAFT_WITH_PAGENUMBER</a> -- attach draft/revision information to page numbers
167 <li><a href="headfootpage.html#PAGINATE_CONTROL">Pagination control</a>
168 </ul>
169 <br>
170 <li><a href="rectoverso.html#RECTOVERSO"><strong>RECTO_VERSO PRINTING and COLLATING</strong></a>
171 <br>
172 <ul>
173 <li><a href="rectoverso.html#RECTOVERSO_INTRO">Introduction to recto/verso</a>
174 <ul>
175 <li><a href="rectoverso.html#RECTO_VERSO">RECTO_VERSO</a>
176 <li><a href="rectoverso.html#SWITCH_HDRFTR">SWITCH_HEADERS</a> (also FOOTERS)
177 </ul>
178 <li><a href="rectoverso.html#COLLATE_INTRO">Introduction to collating</a>
179 <ul>
180 <li><a href="rectoverso.html#COLLATE">COLLATE</a>
181 </ul>
182 </ul>
184 <li><a href="cover.html#COVER"><strong>CREATING A COVER PAGE</strong></a>
185 <br>
186 <li><a href="letters.html#LETTERS"><strong>WRITING LETTERS</strong></a>
187 <ul>
188 <li><a href="letters.html#LETTERS_INTRO">Introduction to writing letters</a>
189 <li><a href="letters.html#TUTORIAL">Tutorial on writing letters</a>
190 <li><a href="letters.html#LETTERS_DEFAULTS">Default style for letters</a>
191 <li><a href="letters.html#LETTERS_MACROS">The letter macros</a>
195 </ul>
196 </ul>
197 </ul>
198 <br>
199 <hr>
201 <h2><a name="INTRO_MACROS_DOCPROCESSING"><u>Introduction to document processing</u></a></h2>
203 As explained in
204 <a href="intro.html#INTRO_DOCPROCESSING">Document processing with mom</a>,
205 document processing uses markup tags to identify document elements
206 like heads, paragraphs, and so on. The tags are, of course, macros,
207 but with sensible, readable names that make them easy to grasp and
208 easy to remember. (And don't forget: if you don't like the
209 &quot;official&quot; name of a tag -- too long, cumbersome
210 to type in, not &quot;intuitive&quot; enough -- you can change it
211 with the
212 <a href="goodies.html#ALIAS">ALIAS</a>
213 macro.)
215 In addition to the tags themselves, <strong>mom</strong> has an
216 extensive array of macros that control how they look and behave.
218 Setting up a <strong>mom</strong> doc is a simple, four-part procedure.
219 You begin by entering information about the document itself (title,
220 subtitle, author, etc.). Next, you tell <strong>mom</strong> what
221 kind of document you're creating (e.g. chapter, letter, abstract,
222 etc...) and what kind of output you want (typeset, typewrittten,
223 draft-style, etc). Thirdly, you make as many or as few changes to
224 <strong>mom</strong>'s default behaviour as you wish. Lastly, you
225 invoke the
226 <a href="#START">START</a>
227 macro. Voilà! You're ready to write.
228 <br>
229 <hr>
232 <h2><a name="DEFAULTS"><u>Some document defaults</u></a></h2>
234 As is to be expected, <strong>mom</strong> has defaults for everything.
235 If you want to know a particular default, read about it in the
236 description of the pertinent tag.
238 I fear the following may not be adequately covered in the
239 documentation. Just in case, here they are.
241 <ul>
242 <li>the paper size is 8.5x11 inches
243 <li>the left and right margins are 1-inch
244 <li>the top and bottom margins for document text are plus/minus
245 visually 1-inch
246 <li>pages are numbered; the number appears centered, at the
247 bottom, surrounded by hyphens ( e.g. -6- )
248 <li>the first page of a document begins with a
249 <a href="definitions.html#TERMS_DOCHEADER">document header</a>
250 <li>subsequent pages have
251 <a href="definitions.html#TERMS_HEADER">page headers</a>
252 with a rule underneath
253 </ul>
255 Another way to check up on document processing defaults is to have
256 a look at the macro file (om.tmac). Each macro is preceded by a
257 description that (generally) says what its default is (if it has
258 one).
259 <br>
260 <hr>
262 <a name="LEADING_NOTE">
263 <h2><u>IMPORTANT NOTE on leading/spacing and bottom margins</u></h2>
264 </a>
266 <strong>Mom</strong> takes evenly-aligned bottom margins in
267 <a href="definitions.html#TERMS_RUNNING">running text</a>
268 very seriously. Only under a very few (exceptional) circumstances
269 will she allow a bottom margin to &quot;hang&quot; (i.e. to fall
270 short).
272 In order to ensure even bottom margins, <strong>mom</strong>
273 uses the &quot;base&quot; document
274 <a href="definitions.html#TERMS_LEADING">leading</a>
275 in effect <em>at the start of each page</em> (i.e. the leading used
276 in paragraphs) to calculate the spacing of every document element.
277 Prior to invoking
278 <a href="#START">START</a>,
279 this is done with the
280 <a href="typesetting.html#MACROS_TYPESETTING">typesetting macro</a>
281 <a href="typesetting.html#LEADING">LS</a>,
282 afterwards with the document
283 <a href="definitions.html#TERMS_CONTROLMACRO">control macro</a>
284 <a href="#DOC_LEAD">DOC_LEAD</a>.
286 Because <strong>mom</strong> relies so heavily on the base document
287 leading, any change to the leading or spacing on a page will almost
288 certainly have undesirable consequences on that page's bottom margin
289 unless the change is fully compensated for elsewhere on the page.
291 In other words, if you add a few points of space somewhere on a page,
292 you must subtract the same number of points somewhere else on that
293 same page, and vice versa.
295 If it's a question of adding or subtracting full line spaces between
296 or within document elements, you can do so by using the &quot;v&quot;
297 <a href="definitions.html#TERMS_UNITOFMEASURE">unit of measure</a>
298 with whatever spacing macro you choose --
299 <a href="typesetting.html#ALD">ALD</a>,
300 <a href="typesetting.html#RLD">RLD</a>,
301 <a href="typesetting.html#SPACE">SPACE</a>
302 -- and <strong>mom</strong> won't object. &quot;v&quot; means
303 &quot;the current leading&quot;, so she isn't confused by it. And
304 since &quot;v&quot; accepts decimal fractions, you can add/subtract
305 half linespaces and quarter linespaces with &quot;v&quot; as well,
306 <em>provided you compensate for the fractional linespace somewhere
307 else on the page</em>.
308 <br>
309 <hr>
311 <a name="SETUP"><h2><u>Document setup</u></h2></a>
313 <a name="DOCPROCESSING_TUT">
314 <h3><u>Tutorial -- Setting up a mom document</u></h3>
315 </a>
317 There are four &quot;parts&quot; to setting up a <strong>mom</strong>
318 doc (three, actually, with one optional). Before we proceed, though,
319 be reassured that something as simple as
321 <pre>
322 .TITLE "By the Shores of Lake Attica"
323 .AUTHOR "Rosemary Winspeare"
324 .PRINTSTYLE TYPESET
325 .START
326 </pre>
328 produces a beautifully typeset 8.5x11 document, with a
329 <a href="definitions.html#TERMS_DOCHEADER">docheader</a>
330 at the top of page 1,
331 <a href="definitions.html#TERMS_HEADER">page headers</a>
332 with the title and author on subsequent
333 pages, and page numbers at the bottom of each page. In the course
334 of the document, heads, subheads, citations, quotes, epigraphs,
335 and so on, all come out looking neat, trim, and professional.
337 For the purposes of this tutorial, we're going to set up a short
338 story -- <em>My Pulitzer Winner</em> by Joe Blow. Thankfully,
339 we don't have to look at story itself, just the setup.
340 Joe wants the document
342 <ul>
343 <li>to be draft 7, revision 39;
344 <li>to use the &quot;default&quot; style of document formatting:
345 <li>to print as draft-style output (instead of &quot;final&quot; copy output);
346 <li>to be typeset, in Helvetica, 12 on 14,
347 <a href="definitions.html#TERMS_RAG">rag-right</a>;
348 <li>to have <a href="definitions.html#TERMS_FOOTER">footers</a>
349 instead of
350 <a href="definitions.html#TERMS_HEADER">headers</a>;
351 <li>to use a single asterisk for
352 <a href="definitions.html#TERMS_LINEBREAK">author linebreaks</a>.
353 </ul>
355 Joe Blow has no taste in typography. His draft won't look pretty,
356 but this is, after all, a tutorial; we're after examples, not beauty.
357 <h3><u>Step 1</u></h3>
359 The first step in setting up any document is giving <strong>mom</strong>
360 some reference information. The reference macros are:
362 <ul>
363 <li>TITLE
364 <li>SUBTITLE
365 <li>AUTHOR
366 <li>CHAPTER -- the chapter number
367 <li>DRAFT -- the draft number
368 <li>REVISION -- the revision number
369 </ul>
371 You can use as many or as few as you wish, although at a minimum,
372 you'll probably fill in <strong>TITLE</strong> (unless the document's
373 a letter) and <strong>AUTHOR</strong>. Order doesn't matter.
374 You can separate the
375 <a href="definitions.html#TERMS_ARGUMENTS">arguments</a>
376 from the macros by any number of spaces. The following are
377 what you'd need to start Joe Blow's story.
379 <pre>
380 .TITLE "My Pulitzer Winner"
381 .AUTHOR "Joe Blow"
382 .DRAFT 7
383 .REVISION 39
384 </pre>
386 <h3><u>Step 2</u></h3>
388 Once you've given <strong>mom</strong> the reference information she
389 needs, you tell her how you want your document formatted. What kind
390 of document is it? Should it be typeset or typewritten? Is this
391 a &quot;final&quot; copy (for the world to see) or just a draft?
392 <strong>Mom</strong> calls the macros that answer these questions
393 &quot;the docstyle macros.&quot; They are:
395 <ul>
396 <li>DOCTYPE -- the type of document (default, chapter, user-defined, letter)
397 <li>PRINTSTYLE -- typeset or typewritten
398 <li>COPYSTYLE -- draft or final copy
399 </ul>
401 <strong>Mom</strong> has defaults for <strong>DOCTYPE</strong>
402 and <strong>COPYSTYLE</strong>; if they're what you want, you
403 don't need to include them here. However, <strong>PRINTSTYLE</strong>
404 has no default and MUST be present in every formatted document.
405 If you omit it, <strong>mom</strong> won't process the document AND
406 she'll complain (both to stderr and as a single printed sheet with
407 a warning). Moms -- they can be so annoying sometimes. &lt;sigh&gt;
409 Adding to what we already have, the next bit of setup for Joe
410 Blow's story looks like this:
412 <pre>
413 .TITLE "My Pulitzer Winner"
414 .AUTHOR "Joe Blow"
415 .DRAFT 7
416 .REVISION 39
418 .DOCTYPE DEFAULT \"Superfluous; mom uses DOCTYPE DEFAULT by default
419 .PRINTSTYLE TYPESET
420 .COPYSTYLE DRAFT
421 </pre>
423 Notice the use of the
424 <a href="definitions.html#TERMS_COMMENTLINES">comment line</a>
425 ( \# ), a handy way to keep groups of macros visually separated
426 for easy reading in a text editor.
428 <h3><u>Step 3</u></h3>
430 This step -- completely optional -- is where you, the user, take
431 charge. <strong>Mom</strong> has defaults for <em>everything</em>,
432 but who's ever satisfied with defaults? Use any of the <a
433 href="typesetting.html#MACROS_TYPESETTING">typesetting macros</a>
434 here to change <strong>mom</strong>'s document defaults (paper
435 size, margins, family, point size, line space, rag, etc), or
436 any of the document processing macros that set/change/control
437 the appearance of document elements. Think of this as the
438 &quot;style-sheet &quot; section of a document.
440 Joe Blow wants his story printed in Helvetica, 12 on 14, rag
441 right, with
442 <a href="definitions.html#TERMS_FOOTER">page footers</a>
443 instead of
444 <a href="definitions.html#TERMS_HEADER">page headers</a>
445 and a single asterisk for the
446 <a href="definitions.html#TERMS_LINEBREAK">linebreak</a>
447 character. None of these requirements conforms
448 to <strong>mom</strong>'s defaults for the chosen
449 <strong>PRINTSTYLE</strong> (TYPESET), so we change them here.
450 The setup for Joe Blow's story now looks like this:
452 <pre>
453 .TITLE "My Pulitzer Winner"
454 .AUTHOR "Joe Blow"
455 .DRAFT 7
456 .REVISION 39
458 .DOCTYPE DEFAULT
459 .PRINTSTYLE TYPESET
460 .COPYSTYLE DRAFT
462 .FAMILY H
463 .PT_SIZE 12
464 .LS 14
465 .QUAD LEFT \"ie. rag right
466 .FOOTERS
467 .LINEBREAK_CHAR *
468 </pre>
470 <h3><u>Step 4</u></h3>
471 The final step in setting up a document is telling <strong>mom</strong>
472 to start document processing. It's a no-brainer, just the single macro
473 <strong>START</strong>. Other than <strong>PRINTSTYLE</strong>, it's
474 the only macro required for document processing (although
475 I can't guarantee you'll like the results of using just the two).
477 Here's the complete setup for <em>My Pulitzer Winner</em>:
479 <pre>
480 .TITLE "My Pulitzer Winner"
481 .AUTHOR "Joe Blow"
482 .DRAFT 7
483 .REVISION 39
485 .DOCTYPE DEFAULT
486 .PRINTSTYLE TYPESET
487 .COPYSTYLE DRAFT
489 .FAMILY H
490 .PT_SIZE 12
491 .LS 14
492 .QUAD LEFT \"ie. rag right
493 .FOOTERS
494 .LINEBREAK_CHAR *
496 .START
497 </pre>
499 As pointed out earlier, Joe Blow is no typographer. Given that all he
500 needs is a printed draft of his work, a simpler setup would have been:
502 <pre>
503 .TITLE "My Pulitzer Winner"
504 .AUTHOR "Joe Blow"
505 .DRAFT 7
506 .REVISION 39
508 .PRINTSTYLE TYPEWRITE
509 .COPYSTYLE DRAFT
511 .START
512 </pre>
514 <kbd>.PRINTSTYLE TYPEWRITE</kbd>, above, means that Joe's work
515 will come out &quot;typewritten, double-spaced&quot;, making the
516 blue-pencilling he (or someone else) is sure to do much
517 easier (which is why many publishers and agents still insist on
518 typewritten, double-spaced copy).
520 When J. Blow stops re-writing and decides to print off a final,
521 typeset copy of his work for the world to see, he need only
522 make two changes to the (simplified) setup:
524 <pre>
525 .TITLE "My Pulitzer Winner"
526 .AUTHOR "Joe Blow"
527 .DRAFT 7
528 .REVISION 39
530 .PRINTSTYLE TYPESET \"first change
531 .COPYSTYLE FINAL \"second change
533 .START
534 </pre>
536 In the above, <kbd>.DRAFT 7, .REVISION 39,</kbd> and <kbd>.COPYSTYLE
537 FINAL</kbd> are actually superfluous. The draft and revision numbers
538 aren't used when <strong>COPYSTYLE</strong> is <strong>FINAL</strong>,
539 and <strong>COPYSTYLE FINAL</strong> is <strong>mom</strong>'s
540 default unless you tell her otherwise. BUT... to judge from the
541 number of drafts already, J. Blow may very well decide his
542 &quot;final&quot; version still isn't up to snuff. Hence, he might
543 as well leave in the superfluous macros. That way, when draft 7,
544 rev. 62 becomes draft 8, rev. 1, he'll be ready to tackle his Pulitzer
545 winner again.
546 <br>
547 <hr>
549 <!========================================================================>
551 <a name="REFERENCE_MACROS">
552 <h2><u>The Reference Macros</u></h2>
553 </a>
555 The reference macros give <strong>mom</strong> the information
556 she needs to generate
557 <a href="definitions.html#TERMS_DOCHEADER">docheaders</a>
559 <a href="definitions.html#TERMS_HEADER">page headers</a>. They
560 must go at the top of any file that uses <strong>mom</strong>'s
561 document processing macros.
563 <a name="INDEX_REFERENCE">
564 <h3><u>Reference macros list</u></h3>
565 </a>
567 <ul>
568 <li><a href="#TITLE">TITLE</a>
569 <li><a href="#SUBTITLE">SUBTITLE</a>
570 <li><a href="#AUTHOR">AUTHOR</a>
571 <li><a href="#CHAPTER">CHAPTER</a>
572 <li><a href="#DRAFT">DRAFT</a>
573 <li><a href="#REVISION">REVISION</a>
574 </ul>
576 <!---TITLE--->
578 <hr width="66%" align="left">
580 <a name="TITLE"></a>
581 Macro: <strong>TITLE</strong> <var>&quot;&lt;title&gt;&quot;</var>
582 <br>
583 <em>*Argument must be enclosed in double-quotes</em>
586 The title string can be caps or caps/lower-case; it's up to you.
588 <a href="#PRINTSTYLE">PRINTSTYLE TYPESET</a>,
589 the title will appear in the
590 <a href="definitions.html#TERMS_DOCHEADER">docheader</a>
591 exactly as you typed it. However, <strong>mom</strong> converts
592 the title to all caps in
593 <a href="definitions.html#TERMS_HEADER">page headers</a>
594 unless you turn that feature off (see
595 <a href="headfootpage.html#_CAPS">HEADER_&lt;POSITION&gt;_CAPS</a>). In
596 <a href="#PRINTSTYLE">PRINTSTYLE TYPEWRITE</a>,
597 the title always gets converted to caps.
599 <strong>NOTE:</strong> If your
600 <a href="#DOCTYPE">DOCTYPE</a>
601 is <strong>CHAPTER</strong>, <strong>TITLE</strong> should be the
602 title of the opus, not &quot;CHAPTER whatever&quot;.
603 <br>
605 <!---SUBTITLE--->
607 <hr width="66%" align="left">
609 <a name="SUBTITLE"></a>
610 Macro: <strong>SUBTITLE</strong> <var>&quot;&lt;subtitle&gt;&quot;</var>
611 <br>
612 <em>*Argument must be enclosed in double-quotes</em>
615 The subtitle string can be caps or caps/lower-case. Since a
616 document's subtitle appears only in the
617 <a href="definitions.html#TERMS_DOCHEADER">docheader</a>,
618 and the title is most likely in caps, I recommend caps/lower case.
619 <br>
621 <!---AUTHOR--->
623 <hr width="66%" align="left">
625 <a name="AUTHOR"></a>
626 Macro: <strong>AUTHOR</strong> <var>&quot;&lt;author string&gt;&quot; [ &quot;&lt;author2 string&gt;&quot; &quot;&lt;author3 string&gt;&quot; ... ]</var>
627 <br>
628 <em>*Multiple arguments must be enclosed in double-quotes</em>
631 Each author string can hold as many names as you like, e.g.
633 <pre>
634 .AUTHOR "Joe Blow"
636 .AUTHOR "Joe Blow, Jane Doe" "John Hancock"
637 </pre>
639 <strong>Mom</strong> prints each string that's enclosed in
640 double-quotes on a separate line in the
641 <a href="definitions.html#TERMS_DOCHEADER">docheader</a>,
642 however only the first string appears in
643 <a href="definitions.html#TERMS_HEADER">page headers</a>.
644 If you want <strong>mom</strong> to put something else in the author
645 part of page headers (say, just the last names of a document's two
646 authors), redefine the appropriate part of the header (see
647 <a href="headfootpage.html#HEADER_CONTROL">header/footer control</a>).
649 The strings can be caps or caps/lower-case. I recommend caps/lower
650 case.
651 <br>
653 <!---CHAPTER--->
655 <hr width="66%" align="left">
657 <a name="CHAPTER"></a>
658 Macro: <strong>CHAPTER</strong> <var>&lt;chapter number&gt;</var>
661 The chapter number can be in any form you like -- a digit, a roman
662 numeral, a word. If you choose
663 <a href="#DOCTYPE">DOCTYPE CHAPTER</a>,
664 <strong>mom</strong> prints whatever argument you pass
665 <strong>CHAPTER</strong> beside the word &quot;Chapter&quot; as a
666 single line
667 <a href="definitions.html#TERMS_DOCHEADER">docheader</a>.
668 She also puts the same thing in the middle of
669 <a href="definitions.html#TERMS_HEADER">page headers</a>.
671 If you're not using <strong>DOCTYPE CHAPTER</strong>, the macro serves
672 no purpose and <strong>mom</strong> ignores it.
673 <a name="CHAPTER_STRING"></a>
675 If you're not writing in English, you can ask <strong>mom</strong>
676 to use the word for chapter in your own language by telling
677 her what it is with the <strong>CHAPTER_STRING</strong> macro,
678 like this:
680 <pre>
681 .CHAPTER_STRING "Chapître"
682 </pre>
684 You can also use <strong>CHAPTER_STRING</strong> if you want
685 &quot;CHAPTER&quot; instead of &quot;Chapter&quot; in the doc- and
686 page-headers. (See also the
687 <a href="#CHAPTER_NOTE">Special Note on CHAPTER</a>.)
688 <br>
690 <!---DRAFT--->
692 <hr width="66%" align="left">
694 <a name="DRAFT"></a>
695 Macro: <strong>DRAFT</strong> <var>&lt;draft #&gt;</var>
698 <strong>DRAFT</strong> only gets used with
699 <a href="#COPYSTYLE">COPYSTYLE DRAFT</a>.
700 If the <strong>COPYSTYLE</strong> is <strong>FINAL</strong> (the
701 default), <strong>mom</strong> ignores <strong>DRAFT</strong>.
702 <strong>DRAFT</strong> only accepts a
703 <a href="definitions.html#TERMS_NUMERICARGUMENT">numeric argument</a>.
705 <strong>Mom</strong> prints the draft number beside the word
706 &quot;Draft&quot; in the middle part of
707 <a href="definitions.html#TERMS_HEADER">page headers</a>.
708 If you're not writing in English, you can ask <strong>mom</strong>
709 to use the word for draft in your own language by telling
710 her what it is with the <strong>DRAFT_STRING</strong> macro,
711 like this:
713 <pre>
714 .DRAFT_STRING "Ébauche"
715 </pre>
717 <!---REVISION--->
719 <hr width="66%" align="left">
721 <a name="REVISION"></a>
722 Macro: <strong>REVISION</strong> <var>&lt;revision #&gt;</var>
725 <strong>REVISION</strong> only gets used with
726 <a href="#COPYSTYLE">COPYSTYLE DRAFT</a>.
727 If the <strong>COPYSTYLE</strong> is <strong>FINAL</strong>
728 (the default), <strong>mom</strong> ignores the
729 <strong>REVISION</strong> macro. <strong>REVISION</strong> only
730 accepts a
731 <a href="definitions.html#TERMS_NUMERICARGUMENT">numeric argument</a>.
733 <strong>Mom</strong> prints the revision number beside the shortform
734 &quot;Rev.&quot; in the middle part of
735 <a href="definitions.html#TERMS_HEADER">page headers</a>.
736 If you're not writing in English, you can ask <strong>mom</strong>
737 to use the word for revision, or a shortform therof in your own language
738 by telling her what it is with the <strong>REVISION_STRING</strong>
739 macro, like this:
741 <pre>
742 .REVISION_STRING "Rév."
743 </pre>
744 <hr>
746 <!========================================================================>
748 <a name="DOCSTYLE_MACROS">
749 <h2><u>The Docstyle Macros</u></h2>
750 </a>
752 The docstyle macros tell <strong>mom</strong> what type of document you're
753 writing, whether you want the output typeset or
754 &quot;typewritten&quot;, and whether you want a draft copy (with
755 draft and revision information in the headers) or a final copy.
757 <a name="INDEX_DOCSTYLE">
758 <h3><u>Docstyle macros list</u></h3>
759 </a>
761 <ul>
762 <li><a href="#DOCTYPE">DOCTYPE</a>
763 <li><a href="#PRINTSTYLE">PRINTSTYLE</a>
764 <ul>
765 <li><a href="#TYPESET_DEFAULTS">Defaults for PRINTSTYLE TYPESET</a>
766 <li><a href="#TYPEWRITE_DEFAULTS">Defaults for PRINTSTYLE TYPEWRITE</a>
767 <ul>
768 <li><a href="#TYPEWRITE_CONTROL">TYPEWRITE control macros</a>
769 </ul>
770 </ul>
771 <li><a href="#COPYSTYLE">COPYSTYLE</a>
772 </ul>
774 <!---DOCTYPE--->
776 <hr width="66%" align="left">
778 <a name="DOCTYPE"></a>
779 Macro: <strong>DOCTYPE</strong> <var>DEFAULT | CHAPTER | NAMED &quot;&lt;name&gt;&quot; | LETTER</var>
781 The arguments <strong>DEFAULT, CHAPTER</strong> and
782 <strong>NAMED</strong> tell <strong>mom</strong> what to put
783 in the
784 <a href="definitions.html#TERMS_DOCHEADER">docheader</a>
786 <a href="definitions.html#TERMS_HEADER">page headers</a>.
787 <strong>LETTER</strong> tells her that you want to write a
788 lettter.
790 <strong>Mom</strong>'s default <strong>DOCTYPE</strong> is
791 <strong>DEFAULT</strong>. If that's what you want, you don't
792 have to give a <strong>DOCTYPE</strong> command.
794 <strong>DEFAULT</strong> prints a
795 <a href="definitions.html#TERMS_DOCHEADER">docheader</a>
796 containing the title, subtitle and author information given to the
797 <a href="#REFERENCE_MACROS">reference macros</a>,
798 and page headers with the author and title.
799 (See
800 <a href="headfootpage.html#HEADER_STYLE">Default specs for headers</a>
801 for how <strong>mom</strong>'s outputs each part of the page header.)
803 <strong>CHAPTER</strong> prints &quot;Chapter #&quot; in place of a
804 <a href="definitions.html#TERMS_DOCHEADER">docheader</a>
805 (# is what you gave to
806 <a href="#CHAPTER">CHAPTER</a>).
807 Page headers contain the author, the title of the book (which
808 you gave with
809 <a href="#TITLE">TITLE</a>),
810 and &quot;Chapter #&quot;. (See
811 <a href="headfootpage.html#HEADER_STYLE">Default Specs for Headers</a>
812 for <strong>mom</strong>'s default type parameters for each part of
813 the page header.)
815 <em>*See the
816 <a href="#CHAPTER_NOTE">Special Note on CHAPTER</a>
817 below for how you can make CHAPTER print something
818 other than &quot;Chapter #&quot; as its docheader.</em>
820 <strong>NAMED</strong> takes an additional argument: a name
821 for this particular kind of document (e.g. outline, synopsis,
822 abstract, memorandum), enclosed in double-quotes.
823 <strong>NAMED</strong> is identical to <strong>DEFAULT</strong>
824 except that <strong>mom</strong> prints the argument to
825 <strong>NAMED</strong> beneath the
826 <a href="definitions.html#TERMS_DOCHEADER">docheader</a>,
827 as well as in page headers.
828 (See
829 <a href="headfootpage.html#HEADER_STYLE">Default specs for headers</a>
830 for how <strong>mom</strong>'s outputs each part of the page header.)
832 <strong>LETTER</strong> tells mom you're writing a letter. See
833 the section
834 <a href="letters.html#INTRO">Writing Letters</a>
835 for instructions on using <strong>mom</strong> to format letters.
837 <a name="CHAPTER_NOTE"><h3><u>Special Note on CHAPTER</u></h3></a>
838 In novels, new chapters are generally (but not always)
839 introduced by &quot;Chapter #&quot;. Other types of documents
840 (reports and so on) often require specific titles for chapters.
841 If your document is of this latter type, use <strong>DOCTYPE
842 CHAPTER</strong> in the following way:
844 <ol>
845 <li>Omit the
846 <a href="#REFERENCE_MACROS">reference macro</a>
847 <a href="#CHAPTER">CHAPTER</a>
848 <li>Invoke
849 <a href="#CHAPTER_STRING"><code>.CHAPTER_STRING</code></a>
850 with the title you'd like the chapter to have (enclosed
851 in double-quotes, of course).
852 <li>Optionally, if you'd like the chapter title to appear
853 in the the center part of
854 <a href="definitions.html#TERMS_HEADER">page headers</a>
855 (its default location), invoke
856 <a href="headfootpage.html#HDRFTR_CENTER"><code>.HEADER_CENTER</code></a>
857 with the same title you gave to <strong>CHAPTER_STRING</strong>.
859 </ol>
860 <br>
862 <!---PRINTSTYLE--->
864 <hr width="66%" align="left">
866 <a name="PRINTSTYLE"></a>
867 Macro: <strong>PRINTSTYLE</strong> <var>TYPESET | TYPEWRITE [ SINGLESPACE ]</var>
868 <br>
869 <em>*Required for document processing.</em>
872 <strong>PRINTSTYLE</strong> tells <strong>mom</strong> whether to typeset
873 a document, or to print it out &quot;typewritten, doubled-spaced&quot;.
875 <strong>THIS MACRO MAY NOT BE OMITTED.</strong> In order for
876 document processing to take place, <strong>mom</strong> requires
877 a <strong>PRINTSTYLE</strong>. If you don't give one,
878 <strong>mom</strong> will warn you on stderr and print a single
879 page with a nasty message.
881 <strong>TYPESET</strong>, as the argument implies, typesets documents
882 (by default in Times Roman; see
883 <a href="#TYPESET_DEFAULTS">TYPESET defaults</a>).
884 You have full access to all the
885 <a href="typesetting.html#MACROS_TYPESETTING">typesetting macros</a>
886 as well as the
887 <a href="definitions.html#STYLE_CONTROL">style control macros</a>
888 of document processing.
890 With <strong>TYPEWRITE</strong>, <strong>mom</strong> does her best
891 to reproduce the look and feel of typewritten, double-spaced copy (see
892 <a href="#TYPEWRITE_DEFAULTS">TYPEWRITE defaults</a>).
893 <a href="docelement.html#DOCELEMENT_CONTROL">Control macros</a>
895 <a href="typesetting.html#INTRO_MACROS_TYPESETTING">typesetting macros</a>
896 that alter family, font, point size, and
897 <a href="definitions.html#TERMS_LEADING">leading</a>
898 are (mostly) ignored. An important exception is
899 <a href="headfootpage.html#HDRFTR_GLOBAL_SIZE">HEADER_SIZE</a>
900 (and, by extension, <strong>FOOTER_SIZE</strong>), which allows
901 you to reduce the point size of headers/footers should they become
902 too crowded. Most of <strong>mom</strong>'s inlines affecting the
903 appearance of type are also ignored (<strong>\*S</strong> is an
904 exception; there may be a few others).
906 In short, <strong>TYPEWRITE</strong> never produces effects other than
907 those available on a typewriter. Don't be fooled by how brainless
908 this sounds; <strong>mom</strong> is remarkably sophisticated when
909 it comes to conveying the typographic sense of a document within the
910 confines of <strong>TYPEWRITE</strong>.
912 The primary uses of <strong>TYPEWRITE</strong> are: outputting hard
913 copy drafts of your work (for editing), and producing documents
914 for submission to publishers and agents who (wisely) insist on
915 typewritten, double-spaced copy. To get a nicely typeset version of
916 work that's in the submission phase of its life (say, to show fellow
917 writers for critiquing), simply change <strong>TYPEWRITE</strong>
918 to <strong>TYPESET</strong> and print out a copy.
920 If, for some reason, you would prefer the output of
921 <strong>TYPEWRITE</strong> single-spaced, pass <strong>PRINTSTYLE
922 TYPEWRITE</strong> the optional argument, <strong>SINGLESPACE</strong>.
924 If you absolutely must have a leading other than typewriter double-
925 or singlespaced, the only way to get it is with the
926 <a href="#DOC_LEAD">DOC_LEAD</a>
927 macro, and then ONLY if <strong>DOC_LEAD</strong> is set
928 <strong>before</strong> you invoke the <strong>START</strong>
929 macro.
931 <a name="TYPESET_DEFAULTS"><h3><u>TYPESET defaults</u></h3></a>
932 <pre>
933 Family = Times Roman
934 Point size = 12.5
935 Paragraph leading = 16 points, adjusted
936 Fill mode = justified
937 Hyphenation = enabled
938 max. lines = 2
939 margin = 36 points
940 interword adjustment = 1 point
941 Kerning = enabled
942 Ligatures = enabled
943 Smartquotes = enabled
944 Word space = groff default
945 Sentence space = 0
946 </pre>
948 <a name="TYPEWRITE_DEFAULTS"><h3><u>TYPEWRITE defaults</u></h3></a>
949 <pre>
950 Family = Courier
951 Italics = underlined
952 Point size = 12
953 Paragraph leading = 24 points, adjusted; 12 points for SINGLESPACE
954 Fill mode = left
955 Hyphenation = disabled
956 Kerning = disabled
957 Ligatures = disabled
958 Smartquotes = disabled
959 Word space = groff default
960 Sentence space = groff default
961 Columns = ignored
962 </pre>
964 <a name="TYPEWRITE_CONTROL"><h3><u>PRINTSTYLE TYPEWRITE control macros</u></h3></a>
966 In <strong>PRINTSTYLE TYPEWRITE</strong>, <strong>mom</strong>,
967 by default, underlines anything that looks like italics. This
968 includes the
969 <a href="typesetting.html#SLANT_INLINE">\*[SLANT]</a>
970 <a href="definitions.html#TERMS_INLINES">inline escape</a>
971 for pseudo-italics.
973 If you'd prefer that <strong>mom</strong> were
974 less bloody-minded about pretending to be a typewriter (i.e.
975 you'd like italics and pseudo-italics to come out as italics),
976 use the control macros <strong>.ITALIC_MEANS_ITALIC</strong> and
977 <strong>.SLANT_MEANS_SLANT</strong>. Neither requires an
978 argument.
980 Although it's unlikely, should you wish to reverse the sense of
981 these macros in the midst of a document,
982 <strong>.UNDERLINE_ITALIC</strong> and
983 <strong>.UNDERLINE_SLANT</strong> restore underlining of
984 italics and pseudo-italics.
986 Additionally, by default, <strong>mom</strong> underlines
987 <a href="definitions.html#TERMS_QUOTES">quotes</a>
988 (but not
989 <a href="definitions.html#TERMS_BLOCKQUOTES">blockquotes</a>)
990 in <strong>PRINTSTYLE TYPEWRITE</strong>.
991 If you don't like this behaviour, turn it off with
993 <pre>
994 .UNDERLINE_QUOTES OFF
995 </pre>
997 To turn underlining of quotes back on, use
998 <strong>UNDERLINE_QUOTES</strong> without an argument.
1000 While most of the
1001 <a href="docelement.html#DOCELEMENT_CONTROL">control macros</a>
1002 have no effect on <strong>PRINTSTYLE TYPEWRITE</strong>, there
1003 is an important exception:
1004 <a href="headfootpage.html#HDRFTR_GLOBAL_SIZE">HEADER_SIZE</a>
1005 (and by extension, <strong>FOOTER_SIZE</strong>). This is
1006 particularly useful for reducing the point size of
1007 headers/footers should they become crowded (quite likely to
1008 happen if the title of your document is long and your
1009 <a href="#COPYSTYLE">COPYSTYLE</a>
1010 is <strong>DRAFT</strong>).
1011 <br>
1013 <!---COPYSTYLE--->
1015 <hr width="66%" align="left">
1017 <a name="COPYSTYLE"></a>
1018 Macro: <strong>COPYSTYLE</strong> <var>DRAFT | FINAL</var>
1021 <strong>Mom</strong>'s default <strong>COPYSTYLE</strong> is
1022 <strong>FINAL</strong>, so you don't have to use this macro unless
1023 you want to.
1025 <strong>COPYSTYLE DRAFT</strong> exhibits the following behaviour:
1026 <br>
1027 <ol>
1028 <li>documents start on page 1, whether or not you
1029 request a different starting page number with
1030 <a href="headfootpage.html#PAGENUMBER">PAGENUMBER</a>
1031 <li>page numbers are set in lower case roman numerals
1032 <li>the draft number supplied by
1033 <a href="#DRAFT">DRAFT</a>
1034 and a revision number, if supplied with
1035 <a href="#REVISION">REVISION</a>
1036 (see
1037 <a href="#REFERENCE_MACROS">reference macros</a>),
1038 appear in the center part of
1039 <a href="definitions.html#TERMS_HEADER">page headers</a>
1040 (or footers, depending on which you'ves selected) along with
1041 any other information that normally appears there.
1042 </ol>
1044 <strong>IMPORTANT:</strong> If you define your own center part for page
1045 headers with
1046 <a href="headfootpage.html#HDRFTR_CENTER">HEADER_CENTER</strong>,
1047 no draft and/or revision number will appear there. If you want draft
1048 and revision information in this circumstance, use
1049 <a href="headfootpage.html#DRAFT_WITH_PAGENUMBER">DRAFT_WITH_PAGENUMBER</a>.
1051 <strong>COPYSTYLE FINAL</strong> differs from <strong>DRAFT</strong> in that:
1052 <br>
1053 <ol>
1054 <li>it respects the starting page number you give the document
1055 <li>page numbers are set in normal (arabic) digits
1056 <li>no draft or revision number appears in the page headers
1057 </ol>
1059 <strong>NOTE:</strong> The center part of page headers can get crowded,
1060 especially with
1061 <a href="docprocessing.html#DOCTYPE">DOCTYPE CHAPTER</a>
1063 <a href="docprocessing.html#DOCTYPE">DOCTYPE NAMED</a>,
1064 when the <strong>COPYSTYLE</strong> is <strong>DRAFT</strong>.
1065 Three mechanisms are available to overcome this problem. One is to
1066 reduce the overall size of headers (with
1067 <a href="headfootpage.html#HDRFTR_GLOBAL_SIZE">HEADER_SIZE</a>).
1068 Another, which only works with
1069 <a href="docprocessing.html#PRINTSTYLE">PRINTSTYLE TYPESET</a>,
1070 is to reduce the size of the header's centre part only (with
1071 <a href="headfootpage.html#_SIZE">HEADER_CENTER_SIZE</a>).
1072 And finally, you can elect to have the draft/revsion information
1073 attached to page numbers instead of having it appear in the center
1074 of page headers (see
1075 <a href="headfootpage.html#DRAFT_WITH_PAGENUMBER">DRAFT_WITH_PAGENUMBER</a>).
1076 <br>
1077 <hr>
1079 <!========================================================================>
1081 <a name="STYLE_BEFORE_START"><h2><u>Changing type/style parameters prior to START</u></h2></a>
1083 In the third (optional) part of setting up a document (see
1084 <a href="#DOCPROCESSING_TUT">Tutorial -- setting up a mom document</a>),
1085 you can use the
1086 <a href="typsetting.html">typesetting macros</a>
1087 to change <strong>mom</strong>'s document-wide defaults for margins,
1088 line length, family, base point size,
1089 <a href="definitions.html#TERMS_LEADING">leading</a>,
1090 and justification style.
1092 Two additional style concerns have to be addressed here (i.e. in
1093 macros before
1094 <a href="#START">START</a>):
1095 changes to the
1096 <a href="definitions.html#TERMS_DOCHEADER">docheader</a>,
1097 and whether you want you want the document's nominal leading
1098 adjusted to fill pages fully to the bottom margin.
1100 <ul>
1101 <li><a href="#TYPE_BEFORE_START">Using typesetting macros prior to START</a>
1103 <li><a href="#DOC_LEAD_ADJUST">DOC_LEAD_ADJUST</a>
1104 -- adjusting linespacing for equal, accurate bottom margins
1105 <li><a href="#DOCHEADER">DOCHEADER</a>
1106 -- turning the docheader off
1107 <ul>
1108 <li><a href="#DOCHEADER_CONTROL">Docheader control</a>
1109 </ul>
1110 </ul>
1112 <hr width="66%" align="left">
1113 <a name="TYPE_BEFORE_START"><h2><u>Using typesetting macros prior to START</u></h2></a>
1115 When used before the
1116 <a href="#START">START</a>
1117 macro, the following
1118 <a href="typesetting.html#MACROS_TYPESETTING">typesetting macros</a>
1119 have these meanings:
1121 <pre>
1122 L_MARGIN Left margin of pages, including headers/footers
1123 R_MARGIN Right margin of pages, including headers/footers
1124 T_MARGIN The point at which running text (i.e. not
1125 headers/footers or page numbers) starts on each page
1126 B_MARGIN The point at which running text (i.e. not
1127 headers/footers or page numbers) ends on each page
1129 (PAGE If you use PAGE, its first four arguments have the
1130 same meaning as L_ R_ T_ and B_MARGIN above.)
1132 LL The line length for everything on the page;
1133 equivalent to setting the right margin with R_MARGIN
1134 FAMILY The family of all type in the document
1135 PT_SIZE The point size of type in paragraphs; mom uses this
1136 calculate automatic point size changes (eg. for heads,
1137 footnotes, quotes, headers, etc)
1138 *LS or AUTOLEAD The leading used in paragraphs; all leading and spacing
1139 of running text is calculated from this
1140 QUAD Affects paragraphs only
1142 ------
1143 *See <a href="#DOC_LEAD_ADJUST">DOC_LEAD_ADJUST</a>
1144 </pre>
1146 Other macros that deal with type style, or refinements thereof
1147 (<strong>KERN, LIGATURES, HY, WS, SS,</strong> etc.), behave normally.
1148 It is not recommended that you set up tabs or indents prior to
1149 <strong>START</strong>.
1151 If you want to change any of the basic parameters above
1152 <em>after</em> <strong>START</strong> and have them affect a
1153 document globally (as if you'd entered them <em>before</em>
1154 <strong>START</strong>), you must use the macros listed in
1155 <a href="#DOC_PARAM_MACROS">Changing document-wide style parameters after START</a>.
1156 <br>
1158 <!---DOC_LEAD_ADJUST--->
1160 <hr width="66%" align="left">
1161 <a name="DOC_LEAD_ADJUST"><h3><u>Adjusting document leading to fill pages</u></h3></a>
1162 <br>
1163 Macro: <strong>DOC_LEAD_ADJUST</strong> <var>toggle</var>
1164 <br>
1165 <em>*Must come after LS or AUTOLEAD and before START</em>
1168 <strong>DOC_LEAD_ADJUST</strong> is a special macro to adjust
1169 document
1170 <a href="definitions.html#TERMS_LEADING">leading</a>
1171 so that bottom margins fall precisely where you expect.
1173 If you invoke <strong>DOC_LEAD_ADJUST</strong>, <strong>mom</strong>
1174 takes the number of lines that fit on the page at your requested
1175 leading, then incrementally adds
1176 <a href="definitions.html#TERMS_UNITS">machine units</a>
1177 to the leading until the maximum number of lines at the new leading
1178 matches the bottom margin. In most instances, the difference
1179 between the requested lead and the adjusted lead is
1180 unnoticeable.
1182 <strong>Mom</strong> uses <strong>DOC_LEAD_ADJUST</strong> with
1183 her default document settings, but if you invoke
1184 <a href="typesetting.html#LS">LS</a>
1186 <a href="typesetting.html#AUTOLEAD">AUTOLEAD</a>
1187 prior to
1188 <a href="#START">START</a>,
1189 you have to do
1191 <pre>
1192 .DOC_LEAD_ADJUST
1193 </pre>
1194 in order to enable it.
1196 If you don't like the idea of <strong>mom</strong> playing around
1197 with the leading by default, you can turn adjusting off with
1199 <pre>
1200 .DOC_LEAD_ADJUST OFF
1201 </pre>
1203 In this scenario, the maximum number of lines that fit on a page at
1204 the current document leading determine where <strong>mom</strong> ends
1205 a page. The effect will be that last lines usually fall (slightly)
1206 short of your expected bottom margin.
1208 <strong>NOTE:</strong> <strong>DOC_LEAD_ADJUST</strong>, if
1209 used, must be invoked after
1210 <a href="typesetting.html#LS">LS</a>
1212 <a href="typesetting.html#AUTOLEAD">AUTOLEAD</a>
1213 and before
1214 <a href="#START">START</a>
1215 <br>
1217 <!---DOCHEADER--->
1219 <hr width="66%" align="left">
1220 <a name="DOCHEADER"><h3><u>Managing the docheader</u></h3></a>
1221 <br>
1222 Macro: <strong>DOCHEADER</strong> <var>&lt;toggle&gt; [ distance to advance from top of page ]</var>
1223 <br>
1224 <em>*Must come before START; distance requires a <a href="#TERMS_UNITOFMEASURE">unit of measure</a></em>
1227 By default, <strong>mom</strong> prints a
1228 <a href="definitions.html#TERMS_DOCHEADER">docheader</a>
1229 on the first page of any document (see
1230 <a href="#DOCHEADER_DESC">below</a>
1231 for a description of the docheader). If you don't want a docheader,
1232 turn it off with
1234 <pre>
1235 .DOCHEADER OFF
1236 </pre>
1238 <strong>DOCHEADER</strong> is a toggle macro, so the argument doesn't
1239 have to be <strong>OFF</strong>; it can be anything you like.
1241 If you turn the docheader off, <strong>mom</strong>, by default, starts
1242 your document in the same place she would if the docheader were there.
1243 If you'd like her to start at a different vertical position, give
1244 her the distance you'd like as a second argument.
1246 <pre>
1247 .DOCHEADER OFF 1.5i
1248 </pre>
1250 This starts the document 1.5 inches from the top of the page.
1251 The distance you give is measured from the top edge of the paper
1252 to the
1253 <a href="definitions.html#TERMS_BASELINE">baseline</a>
1254 of the first line of type.
1256 <strong>TIP:</strong> Since no document processing happens until
1257 you invoke
1258 <a href="#START">START</a>
1259 -- including anything to do with docheaders -- you can typeset
1260 your own docheader prior to <strong>START</strong> (if you don't
1261 like the way <strong>mom</strong> does things) and use
1262 <strong>DOCHEADER OFF</strong> with its optional distance argument
1263 to ensure that the body of your document starts where you want.
1264 You can even insert a PostScript file (with <strong>.PSPIC</strong>;
1265 see the <strong>grops</strong> man page for usage).
1267 <a name="DOCHEADER_CONTROL"><h3><u>How to change the look of docheaders: docheader control macros</u></h3></a>
1270 With
1271 <a href="#PRINTSTYLE">PRINTSTYLE TYPEWRITE</a>,
1272 the look of docheaders is carved in stone.
1274 <a href="#PRINTSTYLE">PRINTSTYLE TYPESET</a>,
1275 however, you can make a lot of changes. Macros that alter docheaders
1276 MUST come before
1277 <a href="#START">START</a>.
1278 <a name="DOCHEADER_DESC"></a>
1280 A typeset docheader has the following characteristics. Note that
1281 title, subtitle, author, and document type are what you supply
1282 with the
1283 <a href="#REFERENCE_MACROS">reference macros</a>.
1284 Any you leave out will not appear; <strong>mom</strong> will
1285 compensate:
1287 <pre>
1288 TITLE bold, 3.5 points larger than running text (not necessarily caps)
1289 Subtitle medium, same size as running text
1290 by medium italic, same size as running text
1291 Author(s) medium italic, same size as running text
1293 (Document type) bold italic, underscored, 3 points larger than running text
1294 </pre>
1297 <a href="definitions.html#TERMS_FAMILY">family</a>
1298 is the prevailing family of the whole document.
1300 <h3><u>The docheader macros to:</u></h3>
1301 <ol>
1302 <li><a href="#CHANGE_START">Change the starting position</a>
1303 <li><a href="#ADJUST_LEADING">Adjust the leading</a>
1304 <li><a href="#CHANGE_FAMILY">Change the family of docheader elements</a>
1305 <li><a href="#CHANGE_FONT">Change the font of docheader elements</a>
1306 <li><a href="#CHANGE_SIZE">Adjust the size of docheader elements</a>
1307 <li><a href="#CHANGE_ATTRIBUTE">Change the attribution string (&quot;by&quot;)</a>
1308 </ol>
1310 <a name="CHANGE_START"><h3><u>1. Change the starting position</u></h3></a>
1311 By default, a docheader starts on the same
1312 <a href="definitions.html#TERMS_BASELINE">baseline</a>
1314 <a href="definitions.html#TERMS_RUNNING">running text</a>.
1315 If you'd like it to start somewhere else, use the macro
1316 <kbd>.DOCHEADER_ADVANCE</kbd> and give it the distance you want
1317 (measured from the top edge of the paper to the first baseline
1318 of the docheader), like this:
1320 <pre>
1321 .DOCHEADER_ADVANCE 4P
1322 </pre>
1325 <a href="definitions.html#TERMS_UNITOFMEASURE">unit of measure</a>
1326 is required.
1328 <strong>NOTE:</strong> If
1329 <a href="headfootpage.html#HEADERS">HEADERS</a>
1330 are <strong>OFF</strong>, <strong>mom</strong>'s normal top
1331 margin for
1332 <a href="definitions.html#TERMS_RUNNING">running text</a>
1333 (7.5
1334 <a href="definitions.html#TERMS_PICASPOINTS">picas</a>)
1335 changes to 6 picas (visually approx. 1 inch). Since the
1336 first baseline of the docheader falls on the same baseline
1337 as the first line of running text (on pages after page 1),
1338 you might find the docheaders a bit high when headers are off.
1340 <a href="#CHANGE_START">DOCHEADER_ADVANCE</a>
1341 to place them where you want.
1344 <a name="ADJUST_LEADING"><h3><u>2. Adjust the leading</u></h3></a>
1346 <a href="definitions.html#TERMS_LEADING">leading</a> of
1347 docheaders is the same as running text. If you'd like a
1348 different leading, say, 2 points more than the lead of running
1349 text, use:
1351 <pre>
1352 .DOCHEADER_LEAD +2p
1353 </pre>
1355 Since the leading of docheaders is calculated from the lead of running
1356 text, a + or - sign is required before the argument (how much to add
1357 or subtract from the lead of running text). The
1358 <a href="definitions.html#TERMS_UNITOFMEASURE">unit of measure</a>
1359 is also required.
1361 <a name="CHANGE_FAMILY"><h3><u>3. Change the family of docheader elements</u></h3></a>
1362 The following macros let you change the
1363 <a href="definitions.html#TERMS_FAMILY">family</a>
1364 of each docheader element separately:
1366 <ul>
1367 <li><strong>TITLE_FAMILY</strong> <var>&lt;family&gt;</var>
1368 <li><strong>SUBTITLE_FAMILY</strong> <var>&lt;family&gt;</var>
1369 <li><strong>AUTHOR_FAMILY</strong> <var>&lt;family&gt;</var>
1370 <li><strong>DOCTYPE_FAMILY</strong> <var>&lt;family&gt;</var> (if
1371 <a href="#DOCTYPE">DOCTYPE</a> is NAMED)
1372 </ul>
1374 Simply pass the appropriate macro the family you want.
1376 <a name="CHANGE_FONT"><h3><u>4. Change the font of docheader elements</u></h3></a>
1377 The following macros let you change the
1378 <a href="definitions.html#TERMS_FONT">font</a>
1379 of each docheader element separately:
1381 <ul>
1382 <li><strong>TITLE_FONT</strong> <var>R | B | I | BI</var>
1383 <li><strong>SUBTITLE_FONT</strong> <var>R | B | I | BI</var>
1384 <li><strong>AUTHOR_FONT</strong> <var>R | B | I | BI</var>
1385 <li><strong>DOCTYPE_FONT</strong> <var>R | B | I | BI</var> (if
1386 <a href="#DOCTYPE">DOCTYPE</a> is NAMED)
1387 </ul>
1389 Simply pass the appropriate macro the font you want. <strong>R,
1390 B, I</strong> and <strong>BI</strong> have the same meaning as
1391 they do for
1392 <a href="typesetting.html#FONT">FT</a>.
1395 <a name="CHANGE_SIZE"><h3><u>5. Adjust the size of docheader elements</u></h3></a>
1396 The following macros let you adjust the point size of each docheader
1397 element separately.
1399 <strong>Mom</strong> calculates the point size
1400 of docheader elements from the point size of paragraphs, so you
1401 must prepend a + or - sign to the argument. Points is
1402 assumed as the
1403 <a href="definitions.html#TERMS_UNITOFMEASURE">unit of measure</a>,
1404 so there's no need to append a unit to the argument. Fractional point
1405 sizes are allowed.
1407 <ul>
1408 <li><strong>TITLE_SIZE</strong> <var>&lt;+/-points&gt;</var>
1409 <br>
1410 default = +3.5 (+4 if docheader title is &quot;Chapter #&quot;)
1411 <li><strong>SUBTITLE_SIZE</strong> <var>&lt;+/-points&gt;</var>
1412 <br>
1413 default = +0
1414 <li><strong>AUTHOR_SIZE</strong> <var>&lt;+/-points&gt;</var>
1415 <br>
1416 default = +0
1417 <li><strong>DOCTYPE_SIZE</strong> <var>&lt;+/-points&gt;</var> (if
1418 <a href="#DOCTYPE">DOCTYPE</a> is NAMED)
1419 <br>
1420 default = +3
1421 </ul>
1423 Simply pass the appropriate macro the size adjustment you want.
1425 <a name="CHANGE_ATTRIBUTE"><h3><u>6. Change the attribution string (&quot;by&quot;)</u></h3></a>
1426 If you're not writing in English, you can change what
1427 <strong>mom</strong> prints where &quot;by&quot; appears in
1428 docheaders. For example,
1430 <pre>
1431 .ATTRIBUTE_STRING "par"
1432 </pre>
1434 changes &quot;by&quot; to &quot;par&quot;. If you
1435 don't want an attribution string at all, simply pass
1436 <strong>ATTRIBUTE_STRING</strong> an empty argument, like this:
1438 <pre>
1439 .ATTRIBUTE_STRING ""
1440 </pre>
1442 <strong>Mom</strong> will deposit a blank line where the
1443 attribution string normally appears.
1445 <strong>NOTE:</strong> The type specs for the attribution line
1446 in docheaders are the same as for the author line. Although
1447 it's highly unlikely you'll want the attribution line in a
1448 different family, font, or point size, you can do so by using
1449 <a href="definitions.html#TERMS_INLINES">inline escapes</a>
1450 in the argument to <strong>ATTRIBUTE_STRING</strong>. For
1451 example,
1453 <pre>
1454 .ATTRIBUTE_STRING "\f[HBI]\*S[-2p] by \*S[+2p]\*[PREV]"
1455 </pre>
1457 would set &quot;by&quot; in Helvetica bold italic, 2 points
1458 smaller than normal.
1459 <br>
1460 <hr>
1462 <!---COLUMNS_INTRO--->
1464 <a name="COLUMNS_INTRO"><h2><u>Setting documents in columns</u></h2></a>
1467 Setting documents in columns is easy with <strong>mom</strong>. (Of
1468 course she'd say that, but it's true!) All you have to do is is
1469 say how many columns you want and how much space you want
1470 between them (the
1471 <a href="definitions.html#TERMS_GUTTER">gutters</a>).
1472 That's it. <strong>Mom</strong> takes care of everything else, from
1473 soup to nuts.
1475 <strong>SOME WORDS OF ADVICE:</strong>
1477 If you want your type to achieve a pleasing
1478 <a href="definitions.html#TERMS_JUST">justification</a>
1480 <a href="definitions.html#TERMS_RAG">rag</a>
1481 in columns, reduce the point size of type (and probably the
1482 <a href="definitions.html#TERMS_LEADING">leading</a>
1483 as well). <strong>Mom</strong>'s default document point
1484 size is 12.5, which works well across her default 39
1485 <a href="definitions.html#TERMS_PICASPOINTS">pica</a>
1486 full page line length, but with even just two columns on a page,
1487 the default point size is awkward to work with.
1489 Furthermore, you'll absolutely need to reduce the indents for
1490 <a href="docelement.html#EPIGRAPH_CONTROL">epigraphs</a>,
1491 <a href="docelement.html#QUOTE_GENERAL">quotes</a>,
1493 <a href="docelement.html#BLOCKQUOTE_GENERAL">blockquotes</a>
1494 (and probably the
1495 <a href="docelement.html#PARA_INDENT">paragraph first-line indent</a>
1496 as well).
1497 <br>
1499 <!---COLUMNS--->
1501 <hr width="66%" align="left">
1502 <a name="COLUMNS"><h3><u>COLUMNS</u></h3></a>
1503 <br>
1504 Macro: <strong>COLUMNS</strong> <var>&lt;number of columns&gt; &lt;width of gutters&gt;</var>
1505 <br>
1506 <em>*Should be the last macro before START
1507 <br>
1508 The second argument requires a <a href="#TERMS_UNITOFMEASURE">unit of measure</a></em>
1511 <strong>COLUMNS</strong> takes two arguments: the number of
1512 columns you want on document pages, and the width of the
1513 <a href="definitions.html#TERMS_GUTTER">gutter</a>
1514 between them. For example, to set up a page with two columns
1515 separated by an 18 point gutter, you'd do
1517 <pre>
1518 .COLUMNS 2 18p
1519 </pre>
1521 Nothing to it, really. However, as noted above,
1522 <strong>COLUMNS</strong> should always be the last document
1523 setup macro prior to
1524 <a href="#START">START</a>.
1526 <strong>NOTE:</strong> <strong>Mom</strong> ignores columns completely
1527 when the
1528 <a href="#PRINTSTYLE">PRINTSTYLE</a>
1529 is <strong>TYPEWRITE</strong>. The notion of typewriter-style
1530 output in columns is just too ghastly for her to bear.
1532 <h3><u>Breaking columns manually</u></h3>
1534 <strong>Mom</strong> takes care of breaking columns when they reach
1535 the bottom margin of a page. However, there may be times you want to
1536 break the columns yourself. There are two macros for breaking columns
1537 manually: <strong>COL_NEXT</strong> and <strong>COL_BREAK</strong>.
1539 <a name="COL_NEXT"></a>
1541 <kbd>.COL_NEXT</kbd> breaks the line just before it,
1542 <a href="definitions.html#TERMS_QUAD">quads</a>
1543 it left (assuming the type is justified or quad left), and moves over
1544 to the top of the next column. If the column happens to be the last
1545 (rightmost) one on the page, <strong>mom</strong> starts a new page
1546 at the &quot;column 1&quot; position. This is the macro to use when
1547 you want to start a new column after the end of a paragraph.
1549 <a name="COL_BREAK"></a>
1551 <kbd>.COL_BREAK</kbd> is almost the same, except that
1552 instead of breaking and quadding the line preceding it,
1553 she breaks and spreads it (see
1554 <a href="typesetting.html#SPREAD">SPREAD</a>).
1555 Use this macro whenever you need to start a new column in the middle
1556 of a paragraph.
1558 If you need <strong>COL_BREAK</strong> in the middle of a blockquote
1559 or (god help us) an epigraph, you must do the following in order for
1560 <strong>COL_BREAK</strong> to work:
1562 <pre>
1563 .SPREAD
1564 \!.COL_BREAK
1565 </pre>
1566 <hr>
1568 <!========================================================================>
1570 <a name="START_MACRO">
1571 <h2><u>Initiate document processing</u></h2>
1572 </a>
1574 In order to use <strong>mom</strong>'s document element macros
1575 (tags), you have to tell her you want them. The macro to do this
1576 is <strong>START</strong>.
1578 <strong>START</strong> collects the information you gave
1579 <strong>mom</strong> in the setup section at the top of your file (see
1580 <a href="#DOCPROCESSING_TUT">Tutorial -- setting up a mom document</a>),
1581 merges it with her defaults, sets up headers and page numbering,
1582 and prepares <strong>mom</strong> to process your document using
1583 the document element tags. No document processing takes place until
1584 you invoke <strong>START</strong>.
1585 <br>
1587 <!---START--->
1589 <hr width="66%" align="left">
1591 <a name="START"></a>
1592 Macro: <strong>START</strong>
1593 H C P R A A T E U<br>
1594 <em>*Required for document processing.</em>
1597 <strong>START</strong> takes no arguments. It simply instructs
1598 <strong>mom</strong> to begin document processing. If you don't
1599 want document processing (i.e. you only want the
1600 <a href="typesetting.html#MACROS_TYPESETTING">typesetting macros</a>),
1601 don't use <strong>START</strong>.
1603 At a barest minimum before <strong>START</strong>, you must enter a
1604 <a href="#PRINTSTYLE">PRINTSTYLE</a>
1605 command.
1606 <br>
1607 <hr>
1609 <!========================================================================>
1611 <a name="DOC_PARAM_MACROS">
1612 <h2><u>Changing document-wide style parameters after START</u></h2>
1613 </a>
1615 In the normal course of things, you change the basic type
1616 parameters of a document <em>before</em>
1617 <a href="#START">START</a>,
1618 using
1619 <a href="typesetting.html#MACROS_TYPESETTING">typesetting macros</a>
1620 (<strong>L_MARGIN, FAMILY, PT_SIZE, LS,</strong> etc). After
1621 <strong>START</strong>, you must use the following macros to make
1622 global changes to the basic type parameters of a document.
1623 <br>
1625 <a name="INDEX_DOC_PARAM">
1626 <h3><u>Macro list</u></h3>
1627 </a>
1628 <ul>
1629 <li><a href="#DOC_LEFT_MARGIN">DOC_LEFT_MARGIN</a>
1630 <li><a href="#DOC_RIGHT_MARGIN">DOC_RIGHT_MARGIN</a>
1631 <li><a href="#DOC_LINE_LENGTH">DOC_LINE_LENGTH</a>
1632 <li><a href="#DOC_FAMILY">DOC_FAMILY</a>
1633 <li><a href="#DOC_PT_SIZE">DOC_PT_SIZE</a>
1634 <li><a href="#DOC_LEAD">DOC_LEAD</a>
1635 <li><a href="#DOC_LEAD_ADJUST">DOC_LEAD_ADJUST</a>
1636 <li><a href="#DOC_QUAD">DOC_QUAD</a>
1637 </ul>
1639 <hr width="66%" align="left">
1641 <a name="DOC_LEFT_MARGIN">
1642 Macro: <strong>DOC_LEFT_MARGIN</strong> <var>&lt;left margin&gt;</var>
1643 </a>
1644 <br>
1645 <em>*Requires a <a href="definitions.html#TERMS_UNITOFMEASURE">unit of measure</a></em>
1647 <ul>
1648 <li>the argument is the same as for
1649 <a href="typesetting.html#L_MARGIN">L_MARGIN</a>
1650 <li>changes all left margins to the new value
1651 <li>the line length remains the same (i.e. the right margin
1652 shifts when you change the left margin)
1653 </ul>
1655 <br>
1657 <hr width="66%" align="left">
1659 <a name="DOC_RIGHT_MARGIN">
1660 Macro: <strong>DOC_RIGHT_MARGIN</strong> <var>&lt;right margin&gt;</var>
1661 </a>
1662 <br>
1663 <em>*Requires a <a href="definitions.html#TERMS_UNITOFMEASURE">unit of measure</a></em>
1665 <ul>
1666 <li>the argument is the same as for
1667 <a href="typesetting.html#R_MARGIN">R_MARGIN</a>
1668 <li>changes all right margins to the new value
1669 <li>all mom commands that include a right indent calculate
1670 the indent from the new value
1671 </ul>
1672 <br>
1674 <hr width="66%" align="left">
1676 <a name="DOC_LINE_LENGTH">
1677 Macro: <strong>DOC_LINE_LENGTH</strong> <var>&lt;length&gt;</var>
1678 </a>
1679 <br>
1680 <em>*Requires a <a href="definitions.html#TERMS_UNITOFMEASURE">unit of measure</a></em>
1682 <ul>
1683 <li>the argument is the same as for
1684 <a href="typesetting.html#LL">LL</a>
1685 <li>equivalent to changing the right margin with DOC_RIGHT_MARGIN
1686 </ul>
1687 <br>
1689 <hr width="66%" align="left">
1691 <a name="DOC_FAMILY">
1692 Macro: <strong>DOC_FAMILY</strong> <var>&lt;family&gt;</var>
1693 </a>
1695 <ul>
1696 <li>the argument is the same as for
1697 <a href="typesetting.html#FAMILY">FAMILY</a>
1698 <li>globally changes the type family
1699 <li>if you wish the
1700 <a href="definitions.html#TERMS_HEADER">header</a>
1701 and/or page number families to remain at their old values,
1702 you must reset them with
1703 <a href="headfootpage.html#HEADER_FAMILY">HEADER_FAMILY</a>
1705 <a href="headfootpage.html#PAGENUM_FAMILY">PAGENUM_FAMILY</a>
1706 </ul>
1707 <br>
1709 <hr width="66%" align="left">
1711 <a name="DOC_PT_SIZE">
1712 Macro: <strong>DOC_PT_SIZE</strong> <var>&lt;point size&gt;</var>
1713 </a>
1714 <br>
1715 <em>*Does not require a <a href="definitions.html#TERMS_UNITOFMEASURE">unit of measure</a>; points is assumed</em>
1717 <ul>
1718 <li>the argument is the same as for
1719 <a href="typesetting.html#PS">PT_SIZE</a>,
1720 and refers to the point size of type in paragraphs
1721 <li>all automatic point size changes (heads, quotes,
1722 footnotes, headers, etc.) are affected by the new size;
1723 anything you do not want affected must be reset to
1724 its former value (see the Control Macros section of
1725 the pertinent document element for instructions on
1726 how to do this)
1727 </ul>
1728 <br>
1730 <hr width="66%" align="left">
1732 <a name="DOC_LEAD">
1733 Macro: <strong>DOC_LEAD</strong> <var>&lt;points&gt; [ ADJUST ]</var>
1734 </a>
1735 <br>
1736 <em>*Does not require a <a href="definitions.html#TERMS_UNITOFMEASURE">unit of measure</a>; points is assumed</em>
1738 <ul>
1739 <li>the argument is the same as for
1740 <a href="typesetting.html#LS">LS</a>,
1741 and refers to the
1742 <a href="definitions.html#TERMS_LEAD">leading</a>
1743 of paragraphs
1744 <li>because paragraphs will have a new leading, the leading and
1745 spacing of most running text is influenced by the new value
1746 <li>epigraphs and footnotes remain unaffected;
1747 if you wish to change their leading, use
1748 <a href="docelement.html#EPIGRAPH_AUTOLEAD">EPIGRAPH_AUTOLEAD</a>
1750 <a href="docelement.html#FOOTNOTE_AUTOLEAD">FOOTNOTE_AUTOLEAD</a>.
1751 <li>the optional argument <strong>ADJUST</strong> performs
1752 leading adjustment as explained in
1753 <a href="#DOC_LEAD_ADJUST">DOC_LEAD_ADJUST</a>
1754 </ul>
1756 <strong>IMPORTANT:</strong> Do not use <strong>DOC_LEAD</strong>
1757 in the middle of a page! It should always and only be invoked
1758 immediately prior to a new page, like this:
1760 <pre>
1761 .DOC_LEAD &lt;new value&gt;
1762 .NEWPAGE
1763 </pre>
1765 <hr width="66%" align="left">
1767 <a name="DOC_QUAD">
1768 Macro: <strong>DOC_QUAD</strong> <var>L | R | C | J</var>
1769 </a>
1771 <ul>
1772 <li>the arguments are the same as for
1773 <a href="typesetting.html#QUAD">QUAD</a>
1774 <li>affects paragraphs, epigraphs and footnotes; does not
1775 affect blockquotes
1776 </ul>
1779 <hr>
1780 <a href="docelement.html#TOP">Next</a>&nbsp;&nbsp;
1781 <a href="inlines.html#TOP">Prev</a>&nbsp;&nbsp;
1782 <a href="#TOP">Top</a>&nbsp;&nbsp;
1783 <a href="toc.html">Back to Table of Contents</a>
1784 </body>
1785 </html>