1 <!DOCTYPE HTML PUBLIC
"-//W3C//DTD HTML 3.2 Final//EN">
4 <meta http-equiv=
"content-type" content=
"text/html;charset=iso-8859-1">
5 <title>Mom -- Document Processing, Writing Letters
</title>
7 <body bgcolor=
"#dfdfdf">
9 <!====================================================================
>
11 <a href=
"macrolist.html#TOP">Next
</a>
12 <a href=
"refer.html#TOP">Prev
</a>
13 <a href=
"toc.html">Back to Table of Contents
</a>
18 <h1 align=
"center"><u>WRITING LETTERS WITH MOM
</u></h1>
21 <a name=
"LETTERS_INTRO">
22 <h2><u>Introduction
</u></h2>
25 <strong>Mom
</strong>'s simple but effective letter-writing
26 macros are a subset of the
27 <a href=
"docprocessing.html#DOCPROCESSING">document processing macros
</a>,
28 designed to ease the creation of correspondence.
30 Because the letter macros are a subset of the document
31 processing macros, you can use
32 <a href=
"definitions.html#TERMS_CONTROLMACRO">control macros
</a>
33 to design correspondence to your own specifications. However,
34 <strong>mom
</strong> makes no pretence of providing complete design
35 flexibility in the matter of letters, which are, after all, simple
36 communicative documents whose only real style requirements are that
37 they be neat and professional-looking.
39 <a name=
"TUTORIAL"><h2><u>Tutorial on writing letters
</u></h2></a>
41 <strong>Mom
</strong> letters begin, like all
42 <strong>mom
</strong>-processed documents, with a
43 <a href=
"docprocessing.html#REFERENCE_MACROS">reference macro
</a>
45 <a href=
"docprocessing.html#AUTHOR">AUTHOR
</a>),
47 <a href=
"docprocessing.html#DOCTYPE">DOCTYPE
</a>
48 (
<strong>LETTER
</strong>, obviously), the essential
49 <a href=
"docprocessing.html#PRINTSTYLE">PRINTSTYLE
</a>
51 <a href=
"docprocessing.html#START">START
</a>,
55 .AUTHOR
"Yannick P. Guique"
61 <strong>PRINTSTYLE
</strong>, above, could also be
62 <strong>TYPEWRITE
</strong>.
<strong>Mom
</strong> has no objection
63 to creating letters that look like they were typed on an Underwood
64 by a shapely secretary with
1940s gams.
66 After the
<strong>START
</strong> macro, you enter headers pertinent to
67 your letter: the date, the addressee (in business correspondence,
68 typically both name and address), the addresser (that's you; in
69 business correspondence, typically both name and address), and a
70 greeting (in full, e.g.
"Dear Mr. Smith,
" or
"Dear
73 The macros for entering the headers are simple (they're not even
74 <a href=
"definitions.html#TERMS_TOGGLE">toggles
</a>):
83 You may enter them in any order you like, except for
84 <strong>GREETING
</strong>, which must come last.
85 <strong>Mom
</strong> ignores any headers you omit and spaces the
86 letter's opening according to what you do include. See
87 <a href=
"#LETTERS_DEFAULTS">Default for letters
</a>
88 to find out how
<strong>mom
</strong> formats the headers.
90 (In pre
1.1.7-a releases of
<strong>mom
</strong>, the order
91 of entry was fixed at the above. This has been changed, although
92 if you do follow the above order,
<strong>mom
</strong> will
93 continue to behave exactly as she did in pre
1.1.7-a.)
95 Once you've filled in what you need to get a letter started, simply
96 type the letter, introducing each and every paragraph, including
98 <a href=
"docelement.html#PP">PP
</a>
101 At the end of the letter, should you wish an indented closing
102 (
"Yours truly,
" "Sincerely,
" "Hugs and
103 kisses
"), invoke the macro
<strong>CLOSING
</strong> on a
104 line by itself and follow it with the text of the closing.
105 <strong>N.B.
</strong> Don't put your name here;
<strong>mom
</strong>
106 supplies it automatically from
<strong>AUTHOR
</strong> with
107 enough space to leave room for your signature.
110 Assuming our tutorial letter is for business correspondence,
111 here's what the complete letter looks like.
114 .AUTHOR
"Yannick P. Guique"
128 St-Sauveur-en-dehors-de-la-mappe, Québec
132 It has come to my attention that you have been lobbying the
133 US government to prohibit the use of open source software by
134 endeavouring to outlaw so-called
"warranty free
"
137 I feel it is my duty to inform you that the success of your
138 operating system with its embedded web browser relies heavily
139 on open source programs and protocols, most notably TCP/IP.
141 Therefore, in the interests of your corporation's fiscal health,
142 I strongly advise that you withdraw support for any US
143 legislation that would cripple or render illegal open source
149 This produces a letter with headers that follow the North American
150 standard for business correspondence. If you'd prefer another
151 style of correspondence, for example, British, you'd set up the
152 same letter like this:
155 .AUTHOR
"Yannick P. Guique"
163 St-Sauveur-en-dehors-de-la-mappe, Québec
176 Notice the use of
<strong>.RIGHT
</strong> after
177 <strong>.FROM
</strong> and
<strong>.DATE
</strong> in this example,
178 used to change the default quad for these macros.
182 <a name=
"LETTERS_DEFAULTS">
183 <h2><u>Defaults for letters
</u></h2>
186 In letters, if the order of header macros is
195 <strong>mom
</strong> sets
198 <li>the date flush right, page right, at the top of page one,
199 with a gap of two linespaces underneath
200 <li>the addressee in a block flush left, page left, with a gap of
201 one linespace underneath
202 <li>the addresser in a block flush left, page left, with a gap of
203 one linespace underneath
204 <li>the greeting flush left, with a gap of one linespace
208 which is the standard for North American business correspondence.
210 If you switch the order of
<strong>.DATE
</strong>,
211 <strong>.TO
</strong> and/or
<strong>.FROM
</strong>,
212 <strong>mom
</strong> sets all the headers flush left, with a gap of
213 one linespace underneath each. (The default left quad of any header
214 can be changed by invoking the
<strong>.RIGHT
</strong> macro, on
215 a line by itself, immediately before inputting the text of the
218 Following the headers,
<strong>mom
</strong> sets
221 <li>the body of the letter justified
222 <li>in multi-page letters:
224 <li>a footer indicating there's a next page (of the form
<code>.../#
</code>)
225 <li>the page number at the top of every page after page one
227 <li>the closing/signature line flush left, indented halfway across the page
230 Other important style defaults are listed below, and may be changed
232 <a href=
"typesetting.html#MACROS_TYPESETTING">typesetting macros
</a>
233 or the document processing
234 <a href=
"definitions.html#TERMS_CONTROLMACRO">control macros
</a>
236 <a href=
"docprocessing.html#START">START
</a>. Assume that any
237 style parameter not listed below is the same as for
238 <a href=
"docprocessing.html#TYPESET_DEFAULTS">PRINTSTYLE TYPESET
</a>
240 <a href=
"docprocessing.html#TYPEWRITE_DEFAULTS">PRINTSTYLE TYPEWRITE
</a>.
243 PARAMETER PRINTSTYLE TYPESET PRINTSTYLE TYPEWRITE
244 --------- ------------------ --------------------
246 Paper size
8.5 x
11 inches
8.5 x
11 inches
247 Left/right margins
1.25 inches
1.25 inches
248 Header margin
3.5 picas
3.5 picas
250 Header gap
3 picas
3 picas
252 Family Times Roman Courier
255 Line space
13.5 12 (i.e. singlespaced)
256 Paragraph indent
3 ems
3 picas
257 Spaced paragraphs yes no
259 Footer margin
3 picas
3 picas
260 Footer gap
3 picas
3 picas
261 Page numbers top, centred top, centred
263 *Footers contain a
"next page
" number of the form .../#
267 <a name=
"LETTERS_MACROS">
268 <h2><u>The letter macros
</u></h2>
271 All letter macros must come after
272 <a href=
"docprocessing.html#START">START
</a>,
273 except
<strong>NO_SUITE
</strong>.
276 <li><a href=
"#DATE">DATE
</a>
277 <li><a href=
"#TO">TO
</a>
278 <li><a href=
"#FROM">FROM
</a>
279 <li><a href=
"#GREETING">GREETING
</a>
280 <li><a href=
"#CLOSING">CLOSING
</a>
281 <li><a href=
"#NO_SUITE">NO_SUITE
</a> --
"next page
" number off
287 <hr width=
"66%" align=
"left">
290 Macro:
<strong>DATE
</strong>
293 Invoke
<strong>DATE
</strong> on a line by itself, with the date
294 underneath, like this:
301 If you wish to change the default quad direction for the date,
302 enter
<kbd>.LEFT
</kbd> or
<kbd>.RIGHT
</kbd>, on a line by itself,
303 immediately after
<kbd>.DATE
</kbd>.
305 If you wish to insert additional space between the date and any
306 letter header that comes after it, do so after inputting the date,
307 not at the top of the next header macro, like this:
312 .SPACE \
" Or, more simply, .SP
315 If you wish to remove the default space,
318 .SPACE -1v \" Or, more simply, .SP -
1v
326 <hr width=
"66%" align=
"left">
329 Macro:
<strong>TO
</strong>
332 Invoke
<strong>TO
</strong> on a line by itself, with the name
333 and address of the addressee underneath, like this:
342 If you wish to change the default quad direction for the address,
343 enter
<kbd>.LEFT
</kbd> or
<kbd>.RIGHT
</kbd>, on a line by itself,
344 immediately after
<kbd>.TO
</kbd>.
346 If you wish to insert additional space between the address and
347 any letter header that comes after it, do so after inputting the
348 address, not at the top of the next header macro, like this:
355 .SPACE \
" Or, more simply, .SP
358 If you wish to remove the default space,
361 .SPACE -1v \" Or, more simply, .SP -
1v
369 <hr width=
"66%" align=
"left">
372 Macro:
<strong>FROM
</strong>
375 Invoke
<strong>FROM
</strong> on a line by itself, with the name
376 and address of the addresser underneath, like this:
382 Ste-Vieille-Andouille, Québec
385 If you wish to change the default quad direction for the address,
386 enter
<kbd>.LEFT
</kbd> or
<kbd>.RIGHT
</kbd>, on a line by itself,
387 immediately after
<kbd>.FROM
</kbd>.
389 If you wish to insert additional space between the address and
390 any letter header that comes after it, do so after inputting the
391 address, not at the top of the next header macro, like this:
397 Ste-Vieille-Andouille, Québec
398 .SPACE \
" Or, more simply, .SP
401 If you wish to remove the default space,
404 .SPACE -1v \" Or, more simply, .SP -
1v
412 <hr width=
"66%" align=
"left">
414 <a name=
"GREETING"></a>
415 Macro:
<strong>GREETING
</strong>
418 Invoke
<strong>GREETING
</strong> on a line by itself, with the
419 full salutation you want for the letter, like this:
428 <hr width=
"66%" align=
"left">
430 <a name=
"CLOSING"></a>
431 Macro:
<strong>CLOSING
</strong>
434 Invoke
<strong>CLOSING
</strong> on a line by itself after the
435 body of the letter, with the closing you'd like (e.g.
"Yours
436 truly,
"), like this:
445 <hr width=
"66%" align=
"left">
447 <a name=
"NO_SUITE"></a>
448 Macro:
<strong>NO_SUITE
</strong>
451 If you don't want
<strong>mom
</strong> to print a
"next
452 page
" number at the bottom of multi-page letters, invoke
453 <code>.NO_SUITE
</code>, on a line by itself, prior to
454 <a href=
"docprocessing.html#START">START
</a>.
458 <a href=
"macrolist.html#TOP">Next
</a>
459 <a href=
"refer.html#TOP">Prev
</a>
460 <a href=
"#TOP">Top
</a>
461 <a href=
"toc.html">Back to Table of Contents
</a>