| 1 |
<?xml version="1.0" encoding="utf-8"?> |
| 2 |
<!-- |
| 3 |
This file is part of groff, the GNU roff type-setting system. |
| 4 |
|
| 5 |
Copyright (C) 2004-2024 Free Software Foundation, Inc. |
| 6 |
Written by Peter Schaffter ([email protected]). |
| 7 |
|
| 8 |
Permission is granted to copy, distribute and/or modify this document |
| 9 |
under the terms of the GNU Free Documentation License, Version 1.3 or |
| 10 |
any later version published by the Free Software Foundation; with no |
| 11 |
Invariant Sections, with no Front-Cover Texts, and with no Back-Cover |
| 12 |
Texts. |
| 13 |
|
| 14 |
A copy of the Free Documentation License is included as a file called |
| 15 |
FDL in the main directory of the groff source package. |
| 16 |
--> |
| 17 |
|
| 18 |
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd"> |
| 19 |
<html xmlns="http://www.w3.org/1999/xhtml"> |
| 20 |
|
| 21 |
<head> |
| 22 |
<meta http-equiv="content-type" content="text/html;charset=utf-8"/> |
| 23 |
<title>Mom -- Writing letters</title> |
| 24 |
<link rel="stylesheet" type="text/css" href="stylesheet.css" /> |
| 25 |
</head> |
| 26 |
|
| 27 |
<body style="background-color: #f5faff;"> |
| 28 |
|
| 29 |
<!-- ==================================================================== --> |
| 30 |
|
| 31 |
<div id="top" class="page"> |
| 32 |
|
| 33 |
<!-- Navigation links --> |
| 34 |
<table style="width: 100%;"> |
| 35 |
<tr> |
| 36 |
<td><a href="toc.html">Back to Table of Contents</a></td> |
| 37 |
<td style="text-align: right;"><a href="macrolist.html#top">Next: Quick reference guide</a></td> |
| 38 |
</tr> |
| 39 |
</table> |
| 40 |
|
| 41 |
<h1 class="docs">Writing letters</h1> |
| 42 |
|
| 43 |
<div style="width: 33%; margin: auto;"> |
| 44 |
<ul class="no-enumerator"> |
| 45 |
<li><a href="#letters-intro">Introduction</a></li> |
| 46 |
<li><a href="#letters-tutorial">Tutorial</a></li> |
| 47 |
<li><a href="#letters-defaults">Mom’s default letter style</a></li> |
| 48 |
<li><a href="#index-letters-macros">The letter macros</a></li> |
| 49 |
</ul> |
| 50 |
</div> |
| 51 |
|
| 52 |
<div class="rule-medium"><hr/></div> |
| 53 |
|
| 54 |
<h2 id="letters-intro" class="docs">Introduction</h2> |
| 55 |
|
| 56 |
<p> |
| 57 |
Mom’s simple but effective letter-writing macros are a subset |
| 58 |
of the |
| 59 |
<a href="docprocessing.html#docprocessing">document processing macros</a>, |
| 60 |
designed to ease the creation of correspondence. |
| 61 |
</p> |
| 62 |
|
| 63 |
<p> |
| 64 |
Because the letter macros are a subset of the document processing |
| 65 |
macros, you can use |
| 66 |
<a href="definitions.html#controlmacro">control macros</a> |
| 67 |
to design correspondence to your own specifications. However, |
| 68 |
mom makes no pretence of providing complete design flexibility in |
| 69 |
the matter of letters, which are, after all, simple communicative |
| 70 |
documents whose only real style requirements are that they be neat |
| 71 |
and professional-looking. |
| 72 |
</p> |
| 73 |
|
| 74 |
<div class="examples-container" style="margin-top: 1.5em; margin-bottom: 1.5em;"> |
| 75 |
<h3 id="letters-tutorial" class="docs">Tutorial – writing letters</h3> |
| 76 |
|
| 77 |
<p> |
| 78 |
Mom letters begin, like all mom-processed documents, with |
| 79 |
<a href="docprocessing.html#reference-macros">reference macros</a> |
| 80 |
(in this case, |
| 81 |
<a href="docprocessing.html#author">AUTHOR</a>), |
| 82 |
a |
| 83 |
<a href="docprocessing.html#doctype">DOCTYPE</a> |
| 84 |
(LETTER, obviously), the essential |
| 85 |
<a href="docprocessing.html#printstyle">PRINTSTYLE</a> |
| 86 |
macro, and |
| 87 |
<a href="docprocessing.html#start">START</a>, |
| 88 |
like this: |
| 89 |
<br/> |
| 90 |
<span class="pre-in-pp"> |
| 91 |
.AUTHOR "Yannick P. Guique" |
| 92 |
.DOCTYPE LETTER |
| 93 |
.PRINTSTYLE TYPESET |
| 94 |
.START |
| 95 |
</span> |
| 96 |
PRINTSTYLE, above, could also be <kbd>TYPEWRITE</kbd>. Mom has no |
| 97 |
objection to creating letters that look like they were typed on an |
| 98 |
Underwood by a shapely secretary with 1940s gams. |
| 99 |
</p> |
| 100 |
|
| 101 |
<p> |
| 102 |
Please note that if you choose <kbd>PRINTSTYLE TYPEWRITE</kbd>, |
| 103 |
there’s no need to give the <kbd>SINGLESPACE</kbd> option, as |
| 104 |
this is the unalterable default for letters. |
| 105 |
</p> |
| 106 |
|
| 107 |
<p> |
| 108 |
After the START macro, you enter headers pertinent to your letter: |
| 109 |
the date, the addressee (in business correspondence, typically both |
| 110 |
name and address), the addresser (that’s you; in business |
| 111 |
correspondence, typically both name and address), and a greeting |
| 112 |
(in full, e.g. “Dear Mr. Smith,” or “Dear |
| 113 |
Mr. Smith:”). |
| 114 |
</p> |
| 115 |
|
| 116 |
<p> |
| 117 |
The macros for entering the headers are simple (they’re not even |
| 118 |
<a href="definitions.html#toggle">toggles</a>): |
| 119 |
<br/> |
| 120 |
<span class="pre-in-pp"> |
| 121 |
.DATE |
| 122 |
.TO |
| 123 |
.CC |
| 124 |
.FROM |
| 125 |
.GREETING |
| 126 |
</span> |
| 127 |
You may enter them in any order you like, except for GREETING, which |
| 128 |
must come last. Mom ignores any headers you omit and spaces the |
| 129 |
letter’s opening according to what you do include. See |
| 130 |
<a href="#letters-defaults">Default for letters</a> |
| 131 |
to find out how mom formats the headers. |
| 132 |
</p> |
| 133 |
|
| 134 |
<p> |
| 135 |
Once you’ve filled in what you need to get a letter started, |
| 136 |
simply type the letter, introducing each and every paragraph, |
| 137 |
including the first, with the |
| 138 |
<a href="docelement.html#pp">PP</a> |
| 139 |
macro. |
| 140 |
</p> |
| 141 |
|
| 142 |
<p> |
| 143 |
Letters are concluded with the |
| 144 |
<a href="#closing">CLOSING</a> |
| 145 |
macro. If you want a complimentary closing (“Yours |
| 146 |
truly,” “Sincerely,” “Hugs and |
| 147 |
kisses”), invoke CLOSING on a line by itself and follow |
| 148 |
it with the text of the closing. <b>N.B.</b> Don’t |
| 149 |
add your name; mom supplies it automatically (from |
| 150 |
<a href="docprocessing.html#author">AUTHOR</a>), |
| 151 |
leaving room above it for your signature. If you'd prefer not to have a |
| 152 |
complimentary closing, place <kbd>\&</kbd> immediately underneath |
| 153 |
<kbd>.CLOSING</kbd>. Mom then just adds your name (from AUTHOR), |
| 154 |
again leaving room for your signature. |
| 155 |
</p> |
| 156 |
|
| 157 |
<p> |
| 158 |
Assuming our tutorial letter is for business correspondence, |
| 159 |
here’s what the complete letter looks like. |
| 160 |
<br/> |
| 161 |
<span class="pre-in-pp"> |
| 162 |
.AUTHOR "Yannick P. Guique" |
| 163 |
.DOCTYPE LETTER |
| 164 |
.PRINTSTYLE TYPESET |
| 165 |
.START |
| 166 |
.DATE |
| 167 |
August 25, 2010 |
| 168 |
.TO |
| 169 |
GUILLAUME BARRIÈRES |
| 170 |
Minidoux Corporation |
| 171 |
5000 Pannes Drive |
| 172 |
Redmond, Virginia |
| 173 |
.CC |
| 174 |
John Doe |
| 175 |
Jane Deere |
| 176 |
Joe Blough |
| 177 |
.FROM |
| 178 |
Y.P. GUIQUE |
| 179 |
022 Umask Road |
| 180 |
St-Sauveur-en-dehors-de-la-mappe, Québec |
| 181 |
.GREETING |
| 182 |
Dear Mr. Barrières, |
| 183 |
.PP |
| 184 |
It has come to my attention that you have once again been |
| 185 |
lobbying the US government to prohibit the use of open source |
| 186 |
software by endeavouring to outlaw so-called "warranty |
| 187 |
free" applications. |
| 188 |
.PP |
| 189 |
I feel it is my duty to inform you that the success of your |
| 190 |
operating system relies heavily on open source programs and |
| 191 |
protocols, notably TCP/IP. |
| 192 |
.PP |
| 193 |
Therefore, in the interests of your corporation’s fiscal health, |
| 194 |
I strongly advise that you withdraw support for any US |
| 195 |
legislation that would cripple or render illegal open source |
| 196 |
development. |
| 197 |
.CLOSING |
| 198 |
Sincerely, |
| 199 |
</span> |
| 200 |
This produces a letter with headers that follow the North American |
| 201 |
standard for business correspondence. If you’d prefer another style |
| 202 |
of correspondence, for example, British, you’d set up the same |
| 203 |
letter like this: |
| 204 |
<br/> |
| 205 |
<span class="pre-in-pp"> |
| 206 |
.AUTHOR "Yannick P. Guique" |
| 207 |
.DOCTYPE LETTER |
| 208 |
.PRINTSTYLE TYPESET |
| 209 |
.START |
| 210 |
.FROM |
| 211 |
.RIGHT |
| 212 |
Y.P. GUIQUE |
| 213 |
022 Umask Road |
| 214 |
St-Sauveur-en-dehors-de-la-mappe, Québec |
| 215 |
.TO |
| 216 |
GUILLAUME BARRIÈRES |
| 217 |
Minidoux Corporation |
| 218 |
5000 Pannes Drive |
| 219 |
Redmond, Virginia |
| 220 |
.CC |
| 221 |
John Doe |
| 222 |
Jane Deere |
| 223 |
Joe Blough |
| 224 |
.DATE |
| 225 |
.RIGHT |
| 226 |
August 25, 2010 |
| 227 |
.GREETING |
| 228 |
Dear Mr. Barrières, |
| 229 |
</span> |
| 230 |
Notice the use of <kbd>.RIGHT</kbd> after <kbd>.FROM</kbd> and |
| 231 |
<kbd>.DATE</kbd> in this example, used to change the default quad |
| 232 |
for these macros. |
| 233 |
</p> |
| 234 |
</div> |
| 235 |
|
| 236 |
<h2 id="letters-defaults" class="docs">Default letter style</h2> |
| 237 |
|
| 238 |
<p> |
| 239 |
In letters, if the order of header macros is |
| 240 |
</p> |
| 241 |
<ol style="margin-top: -.5em;"> |
| 242 |
<li><kbd>.DATE</kbd></li> |
| 243 |
<li><kbd>.TO</kbd> (the addressee)</li> |
| 244 |
<li><kbd>.FROM</kbd> (the addresser)</li> |
| 245 |
<li><kbd>.GREETING</kbd> (“Dear Whoever,” “To Whom It May Concern,” etc.)</li> |
| 246 |
</ol> |
| 247 |
<p style="margin-top: -.5em;"> |
| 248 |
Mom sets |
| 249 |
</p> |
| 250 |
<ul style="margin-top: -.5em;"> |
| 251 |
<li>the date flush right, page right, at the top of page one, |
| 252 |
with a gap of two linespaces underneath |
| 253 |
</li> |
| 254 |
<li>the addressee (<kbd>.TO</kbd>) in a block flush left, page |
| 255 |
left, with a gap of one linespace underneath |
| 256 |
</li> |
| 257 |
<li>the addresser (<kbd>.FROM</kbd>) in a block flush left, page |
| 258 |
left, with a gap of one linespace underneath |
| 259 |
</li> |
| 260 |
<li>the greeting flush left, with a gap of one linespace |
| 261 |
underneath |
| 262 |
</li> |
| 263 |
</ul> |
| 264 |
<p style="margin-top: -.5em;"> |
| 265 |
which is the standard for North American business correspondence. |
| 266 |
The <kbd>.CC</kbd> macro, followed by a list of carbon copy |
| 267 |
recipients, may go anywhere before <kbd>.GREETING</kbd> |
| 268 |
</p> |
| 269 |
|
| 270 |
<p> |
| 271 |
If you switch the order of <kbd>.DATE</kbd>, <kbd>.TO</kbd> and/or |
| 272 |
<kbd>.FROM</kbd>, mom sets all the headers |
| 273 |
flush left, with a gap of one linespace underneath each. (The |
| 274 |
default left quad of any header can be changed by invoking the |
| 275 |
<kbd>.RIGHT</kbd> macro, on a line by itself, immediately before |
| 276 |
inputting the text of the header.) |
| 277 |
</p> |
| 278 |
|
| 279 |
<p> |
| 280 |
Following the headers, mom sets |
| 281 |
</p> |
| 282 |
<ul style="margin-top: -.5em;"> |
| 283 |
<li>the body of the letter justified</li> |
| 284 |
<li>in multi-page letters: |
| 285 |
<ul style="margin-left: -.5em;"> |
| 286 |
<li>a footer indicating there’s a next page (of the form <kbd>.../#</kbd>)</li> |
| 287 |
<li>the page number at the top of every page after page one</li> |
| 288 |
</ul></li> |
| 289 |
<li>the closing/signature lines flush left, indented halfway across the page</li> |
| 290 |
</ul> |
| 291 |
|
| 292 |
<p> |
| 293 |
Other important style defaults are listed below, and may be changed |
| 294 |
via the |
| 295 |
<a href="typesetting.html#top">typesetting macros</a> |
| 296 |
or the document processing |
| 297 |
<a href="definitions.html#controlmacro">control macros</a> |
| 298 |
prior to |
| 299 |
<a href="docprocessing.html#start">START</a>. |
| 300 |
Assume that any style parameter not listed below is the same as for |
| 301 |
any document processed with |
| 302 |
<a href="docprocessing.html#typeset-defaults">PRINTSTYLE <kbd>TYPESET</kbd></a> |
| 303 |
or |
| 304 |
<a href="docprocessing.html#typewrite-defaults">PRINTSTYLE <kbd>TYPEWRITE</kbd></a>. |
| 305 |
</p> |
| 306 |
|
| 307 |
<div class="defaults-container" style="padding-bottom: 8px;"> |
| 308 |
<span class="pre defaults"> |
| 309 |
PARAMETER PRINTSTYLE TYPESET PRINTSTYLE TYPEWRITE |
| 310 |
|
| 311 |
Paper size 8.5 x 11 inches 8.5 x 11 inches |
| 312 |
Left/right margins 1.125 inches 1.125 inches |
| 313 |
Header margin 3.5 picas 3.5 picas |
| 314 |
(for page numbers) |
| 315 |
Header gap 3 picas 3 picas |
| 316 |
(for page numbers) |
| 317 |
Family Times Roman Courier |
| 318 |
Font roman roman |
| 319 |
Point size 12 12 |
| 320 |
Line space 13.5 12 (i.e. singlespaced) |
| 321 |
Paragraph indent 3 ems 3 picas |
| 322 |
Spaced paragraphs yes no |
| 323 |
Footers* yes yes |
| 324 |
Footer margin 3 picas 3 picas |
| 325 |
Footer gap 3 picas 3 picas |
| 326 |
Page numbers top, centred top, centred |
| 327 |
|
| 328 |
*Footers contain a "next page" number of the form .../# |
| 329 |
</span> |
| 330 |
</div> |
| 331 |
|
| 332 |
<div class="rule-medium"><hr/></div> |
| 333 |
|
| 334 |
|
| 335 |
<div class="macro-list-container"> |
| 336 |
<h3 id="index-letters-macros" class="macro-list">The letter macros</h3> |
| 337 |
<p style="margin-left: 9px; margin-top: -1.5em;"> |
| 338 |
All letter macros must come after |
| 339 |
<a href="docprocessing.html#start">START</a>, |
| 340 |
except NO_SUITE, which must come after |
| 341 |
<a href="docprocessin.html#start">PRINTSTYLE</a> |
| 342 |
and before |
| 343 |
<a href="docprocessing.html#start">START</a>. |
| 344 |
</p> |
| 345 |
|
| 346 |
<ul class="macro-list" style="margin-top: -.75em;"> |
| 347 |
<li><a href="#date">DATE</a></li> |
| 348 |
<li><a href="#to">TO</a></li> |
| 349 |
<li><a href="#cc">CC</a></li> |
| 350 |
<li><a href="#from">FROM</a></li> |
| 351 |
<li><a href="#greeting">GREETING</a></li> |
| 352 |
<li><a href="#closing">CLOSING</a> |
| 353 |
<ul style="margin-left: -.5em;"> |
| 354 |
<li><a href="#closing-indent">CLOSING_INDENT</a></li> |
| 355 |
<li><a href="#signature-indent">SIGNATURE_INDENT</a></li> |
| 356 |
</ul></li> |
| 357 |
<li><a href="#no-suite">NO_SUITE</a> – turn the “next page” footer off</li> |
| 358 |
</ul> |
| 359 |
</div> |
| 360 |
|
| 361 |
<!-- -DATE- --> |
| 362 |
|
| 363 |
<div id="date" class="box-macro-args"> |
| 364 |
Macro: <b>DATE</b> |
| 365 |
</div> |
| 366 |
|
| 367 |
<p> |
| 368 |
Invoke <kbd>.DATE</kbd> on a line by itself, with the date |
| 369 |
underneath, like this: |
| 370 |
<br/> |
| 371 |
<span class="pre-in-pp"> |
| 372 |
.DATE |
| 373 |
October 31, 2024 |
| 374 |
</span> |
| 375 |
You may also enter the date symbolically using groff’s |
| 376 |
<b>.pso</b> request and the system <b>date</b> command, like |
| 377 |
this: |
| 378 |
<br/> |
| 379 |
<span class="pre-in-pp"> |
| 380 |
.DATE |
| 381 |
.pso date "+%B %-e, %Y%n" |
| 382 |
</span> |
| 383 |
Consult the date(1) manpage for details of date formatting. Note |
| 384 |
that you must pass <b>pdfmom</b> or <b>groff</b> the <b>-U</b> flag |
| 385 |
when you use the <b>.pso</b> request. |
| 386 |
</p> |
| 387 |
|
| 388 |
<p> |
| 389 |
If you wish to change the default quad direction for the date, |
| 390 |
enter <kbd>.LEFT</kbd> or <kbd>.RIGHT</kbd>, on a line by itself, |
| 391 |
immediately after <kbd>.DATE</kbd>. |
| 392 |
</p> |
| 393 |
|
| 394 |
<p> |
| 395 |
If you want additional space between the date and any letter header |
| 396 |
that comes after it, do so after inputting the date, not at the top |
| 397 |
of the next header macro, like this: |
| 398 |
<br/> |
| 399 |
<span class="pre-in-pp"> |
| 400 |
.DATE |
| 401 |
October 31, 2012 |
| 402 |
.SPACE \"Or, more simply, .SP |
| 403 |
</span> |
| 404 |
If you wish to remove the default space, |
| 405 |
<br/> |
| 406 |
<span class="pre-in-pp"> |
| 407 |
.SPACE -1v \"Or, more simply, .SP -1v |
| 408 |
</span> |
| 409 |
will do the trick. |
| 410 |
</p> |
| 411 |
|
| 412 |
<!-- -TO- --> |
| 413 |
|
| 414 |
<div id="to" class="box-macro-args"> |
| 415 |
Macro: <b>TO</b> |
| 416 |
</div> |
| 417 |
|
| 418 |
<p> |
| 419 |
Invoke <kbd>.TO</kbd> on a line by itself, with the name and address |
| 420 |
of the addressee underneath, like this: |
| 421 |
<br/> |
| 422 |
<span class="pre-in-pp"> |
| 423 |
.TO |
| 424 |
JOHN SMITH |
| 425 |
10 Roberts Crescent |
| 426 |
Bramladesh, Ont. |
| 427 |
</span> |
| 428 |
If you wish to change the default quad direction for the address, |
| 429 |
enter <kbd>.LEFT</kbd> or <kbd>.RIGHT</kbd>, on a line by itself, |
| 430 |
immediately after <kbd>.TO</kbd>. |
| 431 |
</p> |
| 432 |
|
| 433 |
<p> |
| 434 |
If you want additional space between the address and any letter |
| 435 |
header that comes after it, do so after inputting the address, not |
| 436 |
at the top of the next header macro, like this: |
| 437 |
<br/> |
| 438 |
<span class="pre-in-pp"> |
| 439 |
.TO |
| 440 |
JOHN SMITH |
| 441 |
10 Roberts Crescent |
| 442 |
Bramladesh, Ont. |
| 443 |
.SPACE \"Or, more simply, .SP |
| 444 |
</span> |
| 445 |
If you wish to remove the default space, |
| 446 |
<br/> |
| 447 |
<span class="pre-in-pp"> |
| 448 |
.SPACE -1v \"Or, more simply, .SP -1v |
| 449 |
</span> |
| 450 |
will do the trick. |
| 451 |
</p> |
| 452 |
|
| 453 |
<!-- -CC- --> |
| 454 |
|
| 455 |
<div id="cc" class="box-macro-args"> |
| 456 |
Macro: <b>CC</b> |
| 457 |
</div> |
| 458 |
|
| 459 |
<p> |
| 460 |
The <kbd>.CC</kbd> macro, invoked on a line by itself and followed |
| 461 |
by the names of carbon copy recipients, one to a line, creates a CC |
| 462 |
list that is set at the bottom of letters, underneath the signature |
| 463 |
line. If the list runs deep, mom shifts it to the next page. |
| 464 |
</p> |
| 465 |
|
| 466 |
<p> |
| 467 |
Mom’s default is to introduce the list of CC recipients with |
| 468 |
<kbd>CC:</kbd>. The default can be changed with the CC_STRING |
| 469 |
macro, e.g. |
| 470 |
<br/> |
| 471 |
<span class="pre-in-pp"> |
| 472 |
.CC_STRING "Copies to:" |
| 473 |
</span> |
| 474 |
|
| 475 |
</p> |
| 476 |
<p> |
| 477 |
When setting up letter headers, the CC macro may go anywhere before |
| 478 |
<a href="#greeting">GREETING</a>. |
| 479 |
</p> |
| 480 |
|
| 481 |
<!-- -FROM- --> |
| 482 |
|
| 483 |
<div id="from" class="box-macro-args"> |
| 484 |
Macro: <b>FROM</b> |
| 485 |
</div> |
| 486 |
|
| 487 |
<p> |
| 488 |
Invoke <kbd>.FROM</kbd> on a line by itself, with the name and |
| 489 |
address of the addresser underneath, like this: |
| 490 |
<br/> |
| 491 |
<span class="pre-in-pp"> |
| 492 |
.FROM |
| 493 |
JOE BLOW |
| 494 |
15 Brunette Road |
| 495 |
Ste-Vieille-Andouille, Québec |
| 496 |
</span> |
| 497 |
If you wish to change the default quad direction for the address, |
| 498 |
enter <kbd>.LEFT</kbd> or <kbd>.RIGHT</kbd>, on a line by itself, |
| 499 |
immediately after <kbd>.FROM</kbd>. |
| 500 |
</p> |
| 501 |
|
| 502 |
<p> |
| 503 |
If you want additional space between the address and any letter |
| 504 |
header that comes after it, do so after inputting the address, not |
| 505 |
at the top of the next header macro, like this: |
| 506 |
<br/> |
| 507 |
<span class="pre-in-pp"> |
| 508 |
.FROM |
| 509 |
JOE BLOW |
| 510 |
15 Brunette Road |
| 511 |
Ste-Vieille-Andouille, Québec |
| 512 |
.SPACE \"Or, more simply, .SP |
| 513 |
</span> |
| 514 |
If you wish to remove the default space, |
| 515 |
<br/> |
| 516 |
<span class="pre-in-pp"> |
| 517 |
.SPACE -1v \"Or, more simply, .SP -1v |
| 518 |
</span> |
| 519 |
will do the trick. |
| 520 |
</p> |
| 521 |
|
| 522 |
<!-- -GREETING- --> |
| 523 |
|
| 524 |
<div id="greeting" class="box-macro-args"> |
| 525 |
Macro: <b>GREETING</b> |
| 526 |
</div> |
| 527 |
|
| 528 |
<p> |
| 529 |
Invoke <kbd>.GREETING</kbd> on a line by itself, with the full |
| 530 |
salutation you want for the letter underneath, like this: |
| 531 |
<br/> |
| 532 |
<span class="pre-in-pp"> |
| 533 |
.GREETING |
| 534 |
Dear Mr. Smith, |
| 535 |
</span> |
| 536 |
</p> |
| 537 |
|
| 538 |
<!-- -CLOSING- --> |
| 539 |
|
| 540 |
<div id="closing" class="box-macro-args"> |
| 541 |
Macro: <b>CLOSING</b> |
| 542 |
</div> |
| 543 |
|
| 544 |
<p> |
| 545 |
Mom-formatted letters must end with <kbd>.CLOSING</kbd>. Follow |
| 546 |
it on the next line with your preferred complimentary closing |
| 547 |
(e.g. “Yours truly,”), like this: |
| 548 |
<br/> |
| 549 |
<span class="pre-in-pp"> |
| 550 |
.CLOSING |
| 551 |
Yours truly, |
| 552 |
</span> |
| 553 |
If you’d rather not have a complimentary closing, follow |
| 554 |
<kbd>.CLOSING</kbd> with <kbd>\&</kbd> on a line by itself. Mom |
| 555 |
will still automatically supply the signature line, whose position |
| 556 |
you may want to adjust with |
| 557 |
<a href="signature-space">SIGNATURE_SPACE</a>. |
| 558 |
</p> |
| 559 |
|
| 560 |
<div class="box-tip" style="background-color: #E3D2B1;"> |
| 561 |
<p class="tip"> |
| 562 |
<span class="tip" style="display: inline-block; padding-bottom: .5em; color: #000056;">CLOSING control macros and defaults</span> |
| 563 |
<br/> |
| 564 |
Two macros control the behaviour of <kbd>.CLOSING</kbd>: |
| 565 |
</p> |
| 566 |
<ul style="margin-top: -1.25em;"> |
| 567 |
<li>CLOSING_INDENT</li> |
| 568 |
<li>SIGNATURE_SPACE</li> |
| 569 |
</ul> |
| 570 |
|
| 571 |
<p id="closing-indent" style="margin-top: -.25em;"> |
| 572 |
The first, CLOSING_INDENT, indicates the distance from the left |
| 573 |
margin you’d like to have your closing indented. It takes a |
| 574 |
single |
| 575 |
<a href="definitions.html#numericargument">numeric argument</a> |
| 576 |
and must have a |
| 577 |
<a href="definitions.html#unitofmeasure">unit of measure</a> |
| 578 |
appended to it, unless you want an indent of 0 (zero). Mom’s |
| 579 |
default is one half the width of the letter’s line length |
| 580 |
(i.e. halfway across the page). If you wanted, instead, an indent of |
| 581 |
6 |
| 582 |
<a href="definitions.html#picaspoints">picas</a>, |
| 583 |
you’d do it like this: |
| 584 |
<br/> |
| 585 |
<span class="pre-in-pp"> |
| 586 |
.CLOSING_INDENT 6P |
| 587 |
</span> |
| 588 |
Or, if you wanted to have no indent at all: |
| 589 |
<br/> |
| 590 |
<span class="pre-in-pp"> |
| 591 |
.CLOSING_INDENT 0 |
| 592 |
</span> |
| 593 |
</p> |
| 594 |
|
| 595 |
<p id="signature-space" style="margin-top: -1.25em;"> |
| 596 |
The second, SIGNATURE_SPACE, controls how much room to leave for the |
| 597 |
signature. It takes a single |
| 598 |
<a href="definitions.html#numericargument">numeric argument</a> |
| 599 |
and must have a |
| 600 |
<a href="definitions.html#unitofmeasure">unit of measure</a> |
| 601 |
appended to it. Mom’s default is 3 line spaces, but if you |
| 602 |
wanted to change that to, say, 2 line spaces, you’d do: |
| 603 |
<br/> |
| 604 |
<span class="pre-in-pp"> |
| 605 |
.SIGNATURE_SPACE 2v |
| 606 |
</span> |
| 607 |
</p> |
| 608 |
</div> |
| 609 |
|
| 610 |
<!-- -NO_SUITE- --> |
| 611 |
|
| 612 |
<div id="no-suite" class="box-macro-args" style="margin-top: 2em;"> |
| 613 |
Macro: <b>NO_SUITE</b> |
| 614 |
</div> |
| 615 |
|
| 616 |
<p> |
| 617 |
If you don’t want mom to print a “next page” |
| 618 |
number at the bottom of multi-page letters, invoke |
| 619 |
<kbd>.NO_SUITE</kbd>, on a line by itself, prior to |
| 620 |
<a href="docprocessing.html#start">START</a>. |
| 621 |
</p> |
| 622 |
|
| 623 |
<div class="rule-long"><hr/></div> |
| 624 |
|
| 625 |
<!-- Navigation links --> |
| 626 |
<table style="width: 100%; margin-top: 12px;"> |
| 627 |
<tr> |
| 628 |
<td style="width: 33%;"><a href="toc.html">Back to Table of Contents</a></td> |
| 629 |
<td style="width: 33%; text-align: center;"><a href="#top">Top</a></td> |
| 630 |
<td style="width: 33%; text-align: right;"><a href="macrolist.html">Next: Quick reference guide</a></td> |
| 631 |
</tr> |
| 632 |
</table> |
| 633 |
|
| 634 |
</div> |
| 635 |
|
| 636 |
<div class="bottom-spacer"><br/></div> |
| 637 |
|
| 638 |
</body> |
| 639 |
</html> |