summaryrefslogtreecommitdiff
path: root/contrib/mom/momdoc/docelement.html
blob: 2413ead43b5e603449b0680ac7038b4debbcbcaa (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
251
252
253
254
255
256
257
258
259
260
261
262
263
264
265
266
267
268
269
270
271
272
273
274
275
276
277
278
279
280
281
282
283
284
285
286
287
288
289
290
291
292
293
294
295
296
297
298
299
300
301
302
303
304
305
306
307
308
309
310
311
312
313
314
315
316
317
318
319
320
321
322
323
324
325
326
327
328
329
330
331
332
333
334
335
336
337
338
339
340
341
342
343
344
345
346
347
348
349
350
351
352
353
354
355
356
357
358
359
360
361
362
363
364
365
366
367
368
369
370
371
372
373
374
375
376
377
378
379
380
381
382
383
384
385
386
387
388
389
390
391
392
393
394
395
396
397
398
399
400
401
402
403
404
405
406
407
408
409
410
411
412
413
414
415
416
417
418
419
420
421
422
423
424
425
426
427
428
429
430
431
432
433
434
435
436
437
438
439
440
441
442
443
444
445
446
447
448
449
450
451
452
453
454
455
456
457
458
459
460
461
462
463
464
465
466
467
468
469
470
471
472
473
474
475
476
477
478
479
480
481
482
483
484
485
486
487
488
489
490
491
492
493
494
495
496
497
498
499
500
501
502
503
504
505
506
507
508
509
510
511
512
513
514
515
516
517
518
519
520
521
522
523
524
525
526
527
528
529
530
531
532
533
534
535
536
537
538
539
540
541
542
543
544
545
546
547
548
549
550
551
552
553
554
555
556
557
558
559
560
561
562
563
564
565
566
567
568
569
570
571
572
573
574
575
576
577
578
579
580
581
582
583
584
585
586
587
588
589
590
591
592
593
594
595
596
597
598
599
600
601
602
603
604
605
606
607
608
609
610
611
612
613
614
615
616
617
618
619
620
621
622
623
624
625
626
627
628
629
630
631
632
633
634
635
636
637
638
639
640
641
642
643
644
645
646
647
648
649
650
651
652
653
654
655
656
657
658
659
660
661
662
663
664
665
666
667
668
669
670
671
672
673
674
675
676
677
678
679
680
681
682
683
684
685
686
687
688
689
690
691
692
693
694
695
696
697
698
699
700
701
702
703
704
705
706
707
708
709
710
711
712
713
714
715
716
717
718
719
720
721
722
723
724
725
726
727
728
729
730
731
732
733
734
735
736
737
738
739
740
741
742
743
744
745
746
747
748
749
750
751
752
753
754
755
756
757
758
759
760
761
762
763
764
765
766
767
768
769
770
771
772
773
774
775
776
777
778
779
780
781
782
783
784
785
786
787
788
789
790
791
792
793
794
795
796
797
798
799
800
801
802
803
804
805
806
807
808
809
810
811
812
813
814
815
816
817
818
819
820
821
822
823
824
825
826
827
828
829
830
831
832
833
834
835
836
837
838
839
840
841
842
843
844
845
846
847
848
849
850
851
852
853
854
855
856
857
858
859
860
861
862
863
864
865
866
867
868
869
870
871
872
873
874
875
876
877
878
879
880
881
882
883
884
885
886
887
888
889
890
891
892
893
894
895
896
897
898
899
900
901
902
903
904
905
906
907
908
909
910
911
912
913
914
915
916
917
918
919
920
921
922
923
924
925
926
927
928
929
930
931
932
933
934
935
936
937
938
939
940
941
942
943
944
945
946
947
948
949
950
951
952
953
954
955
956
957
958
959
960
961
962
963
964
965
966
967
968
969
970
971
972
973
974
975
976
977
978
979
980
981
982
983
984
985
986
987
988
989
990
991
992
993
994
995
996
997
998
999
1000
1001
1002
1003
1004
1005
1006
1007
1008
1009
1010
1011
1012
1013
1014
1015
1016
1017
1018
1019
1020
1021
1022
1023
1024
1025
1026
1027
1028
1029
1030
1031
1032
1033
1034
1035
1036
1037
1038
1039
1040
1041
1042
1043
1044
1045
1046
1047
1048
1049
1050
1051
1052
1053
1054
1055
1056
1057
1058
1059
1060
1061
1062
1063
1064
1065
1066
1067
1068
1069
1070
1071
1072
1073
1074
1075
1076
1077
1078
1079
1080
1081
1082
1083
1084
1085
1086
1087
1088
1089
1090
1091
1092
1093
1094
1095
1096
1097
1098
1099
1100
1101
1102
1103
1104
1105
1106
1107
1108
1109
1110
1111
1112
1113
1114
1115
1116
1117
1118
1119
1120
1121
1122
1123
1124
1125
1126
1127
1128
1129
1130
1131
1132
1133
1134
1135
1136
1137
1138
1139
1140
1141
1142
1143
1144
1145
1146
1147
1148
1149
1150
1151
1152
1153
1154
1155
1156
1157
1158
1159
1160
1161
1162
1163
1164
1165
1166
1167
1168
1169
1170
1171
1172
1173
1174
1175
1176
1177
1178
1179
1180
1181
1182
1183
1184
1185
1186
1187
1188
1189
1190
1191
1192
1193
1194
1195
1196
1197
1198
1199
1200
1201
1202
1203
1204
1205
1206
1207
1208
1209
1210
1211
1212
1213
1214
1215
1216
1217
1218
1219
1220
1221
1222
1223
1224
1225
1226
1227
1228
1229
1230
1231
1232
1233
1234
1235
1236
1237
1238
1239
1240
1241
1242
1243
1244
1245
1246
1247
1248
1249
1250
1251
1252
1253
1254
1255
1256
1257
1258
1259
1260
1261
1262
1263
1264
1265
1266
1267
1268
1269
1270
1271
1272
1273
1274
1275
1276
1277
1278
1279
1280
1281
1282
1283
1284
1285
1286
1287
1288
1289
1290
1291
1292
1293
1294
1295
1296
1297
1298
1299
1300
1301
1302
1303
1304
1305
1306
1307
1308
1309
1310
1311
1312
1313
1314
1315
1316
1317
1318
1319
1320
1321
1322
1323
1324
1325
1326
1327
1328
1329
1330
1331
1332
1333
1334
1335
1336
1337
1338
1339
1340
1341
1342
1343
1344
1345
1346
1347
1348
1349
1350
1351
1352
1353
1354
1355
1356
1357
1358
1359
1360
1361
1362
1363
1364
1365
1366
1367
1368
1369
1370
1371
1372
1373
1374
1375
1376
1377
1378
1379
1380
1381
1382
1383
1384
1385
1386
1387
1388
1389
1390
1391
1392
1393
1394
1395
1396
1397
1398
1399
1400
1401
1402
1403
1404
1405
1406
1407
1408
1409
1410
1411
1412
1413
1414
1415
1416
1417
1418
1419
1420
1421
1422
1423
1424
1425
1426
1427
1428
1429
1430
1431
1432
1433
1434
1435
1436
1437
1438
1439
1440
1441
1442
1443
1444
1445
1446
1447
1448
1449
1450
1451
1452
1453
1454
1455
1456
1457
1458
1459
1460
1461
1462
1463
1464
1465
1466
1467
1468
1469
1470
1471
1472
1473
1474
1475
1476
1477
1478
1479
1480
1481
1482
1483
1484
1485
1486
1487
1488
1489
1490
1491
1492
1493
1494
1495
1496
1497
1498
1499
1500
1501
1502
1503
1504
1505
1506
1507
1508
1509
1510
1511
1512
1513
1514
1515
1516
1517
1518
1519
1520
1521
1522
1523
1524
1525
1526
1527
1528
1529
1530
1531
1532
1533
1534
1535
1536
1537
1538
1539
1540
1541
1542
1543
1544
1545
1546
1547
1548
1549
1550
1551
1552
1553
1554
1555
1556
1557
1558
1559
1560
1561
1562
1563
1564
1565
1566
1567
1568
1569
1570
1571
1572
1573
1574
1575
1576
1577
1578
1579
1580
1581
1582
1583
1584
1585
1586
1587
1588
1589
1590
1591
1592
1593
1594
1595
1596
1597
1598
1599
1600
1601
1602
1603
1604
1605
1606
1607
1608
1609
1610
1611
1612
1613
1614
1615
1616
1617
1618
1619
1620
1621
1622
1623
1624
1625
1626
1627
1628
1629
1630
1631
1632
1633
1634
1635
1636
1637
1638
1639
1640
1641
1642
1643
1644
1645
1646
1647
1648
1649
1650
1651
1652
1653
1654
1655
1656
1657
1658
1659
1660
1661
1662
1663
1664
1665
1666
1667
1668
1669
1670
1671
1672
1673
1674
1675
1676
1677
1678
1679
1680
1681
1682
1683
1684
1685
1686
1687
1688
1689
1690
1691
1692
1693
1694
1695
1696
1697
1698
1699
1700
1701
1702
1703
1704
1705
1706
1707
1708
1709
1710
1711
1712
1713
1714
1715
1716
1717
1718
1719
1720
1721
1722
1723
1724
1725
1726
1727
1728
1729
1730
1731
1732
1733
1734
1735
1736
1737
1738
1739
1740
1741
1742
1743
1744
1745
1746
1747
1748
1749
1750
1751
1752
1753
1754
1755
1756
1757
1758
1759
1760
1761
1762
1763
1764
1765
1766
1767
1768
1769
1770
1771
1772
1773
1774
1775
1776
1777
1778
1779
1780
1781
1782
1783
1784
1785
1786
1787
1788
1789
1790
1791
1792
1793
1794
1795
1796
1797
1798
1799
1800
1801
1802
1803
1804
1805
1806
1807
1808
1809
1810
1811
1812
1813
1814
1815
1816
1817
1818
1819
1820
1821
1822
1823
1824
1825
1826
1827
1828
1829
1830
1831
1832
1833
1834
1835
1836
1837
1838
1839
1840
1841
1842
1843
1844
1845
1846
1847
1848
1849
1850
1851
1852
1853
1854
1855
1856
1857
1858
1859
1860
1861
1862
1863
1864
1865
1866
1867
1868
1869
1870
1871
1872
1873
1874
1875
1876
1877
1878
1879
1880
1881
1882
1883
1884
1885
1886
1887
1888
1889
1890
1891
1892
1893
1894
1895
1896
1897
1898
1899
1900
1901
1902
1903
1904
1905
1906
1907
1908
1909
1910
1911
1912
1913
1914
1915
1916
1917
1918
1919
1920
1921
1922
1923
1924
1925
1926
1927
1928
1929
1930
1931
1932
1933
1934
1935
1936
1937
1938
1939
1940
1941
1942
1943
1944
1945
1946
1947
1948
1949
1950
1951
1952
1953
1954
1955
1956
1957
1958
1959
1960
1961
1962
1963
1964
1965
1966
1967
1968
1969
1970
1971
1972
1973
1974
1975
1976
1977
1978
1979
1980
1981
1982
1983
1984
1985
1986
1987
1988
1989
1990
1991
1992
1993
1994
1995
1996
1997
1998
1999
2000
2001
2002
2003
2004
2005
2006
2007
2008
2009
2010
2011
2012
2013
2014
2015
2016
2017
2018
2019
2020
2021
2022
2023
2024
2025
2026
2027
2028
2029
2030
2031
2032
2033
2034
2035
2036
2037
2038
2039
2040
2041
2042
2043
2044
2045
2046
2047
2048
2049
2050
2051
2052
2053
2054
2055
2056
2057
2058
2059
2060
2061
2062
2063
2064
2065
2066
2067
2068
2069
2070
2071
2072
2073
2074
2075
2076
2077
2078
2079
2080
2081
2082
2083
2084
2085
2086
2087
2088
2089
2090
2091
2092
2093
2094
2095
2096
2097
2098
2099
2100
2101
2102
2103
2104
2105
2106
2107
2108
2109
2110
2111
2112
2113
2114
2115
2116
2117
2118
2119
2120
2121
2122
2123
2124
2125
2126
2127
2128
2129
2130
2131
2132
2133
2134
2135
2136
2137
2138
2139
2140
2141
2142
2143
2144
2145
2146
2147
2148
2149
2150
2151
2152
2153
2154
2155
2156
2157
2158
2159
2160
2161
2162
2163
2164
2165
2166
2167
2168
2169
2170
2171
2172
2173
2174
2175
2176
2177
2178
2179
2180
2181
2182
2183
2184
2185
2186
2187
2188
2189
2190
2191
2192
2193
2194
2195
2196
2197
2198
2199
2200
2201
2202
2203
2204
2205
2206
2207
2208
2209
2210
2211
2212
2213
2214
2215
2216
2217
2218
2219
2220
2221
2222
2223
2224
2225
2226
2227
2228
2229
2230
2231
2232
2233
2234
2235
2236
2237
2238
2239
2240
2241
2242
2243
2244
2245
2246
2247
2248
2249
2250
2251
2252
2253
2254
2255
2256
2257
2258
2259
2260
2261
2262
2263
2264
2265
2266
2267
2268
2269
2270
2271
2272
2273
2274
2275
2276
2277
2278
2279
2280
2281
2282
2283
2284
2285
2286
2287
2288
2289
2290
2291
2292
2293
2294
2295
2296
2297
2298
2299
2300
2301
2302
2303
2304
2305
2306
2307
2308
2309
2310
2311
2312
2313
2314
2315
2316
2317
2318
2319
2320
2321
2322
2323
2324
2325
2326
2327
2328
2329
2330
2331
2332
2333
2334
2335
2336
2337
2338
2339
2340
2341
2342
2343
2344
2345
2346
2347
2348
2349
2350
2351
2352
2353
2354
2355
2356
2357
2358
2359
2360
2361
2362
2363
2364
2365
2366
2367
2368
2369
2370
2371
2372
2373
2374
2375
2376
2377
2378
2379
2380
2381
2382
2383
2384
2385
2386
2387
2388
2389
2390
2391
2392
2393
2394
2395
2396
2397
2398
2399
2400
2401
2402
2403
2404
2405
2406
2407
2408
2409
2410
2411
2412
2413
2414
2415
2416
2417
2418
2419
2420
2421
2422
2423
2424
2425
2426
2427
2428
2429
2430
2431
2432
2433
2434
2435
2436
2437
2438
2439
2440
2441
2442
2443
2444
2445
2446
2447
2448
2449
2450
2451
2452
2453
2454
2455
2456
2457
2458
2459
2460
2461
2462
2463
2464
2465
2466
2467
2468
2469
2470
2471
2472
2473
2474
2475
2476
2477
2478
2479
2480
2481
2482
2483
2484
2485
2486
2487
2488
2489
2490
2491
2492
2493
2494
2495
2496
2497
2498
2499
2500
2501
2502
2503
2504
2505
2506
2507
2508
2509
2510
2511
2512
2513
2514
2515
2516
2517
2518
2519
2520
2521
2522
2523
2524
2525
2526
2527
2528
2529
2530
2531
2532
2533
2534
2535
2536
2537
2538
2539
2540
2541
2542
2543
2544
2545
2546
2547
2548
2549
2550
2551
2552
2553
2554
2555
2556
2557
2558
2559
2560
2561
2562
2563
2564
2565
2566
2567
2568
2569
2570
2571
2572
2573
2574
2575
2576
2577
2578
2579
2580
2581
2582
2583
2584
2585
2586
2587
2588
2589
2590
2591
2592
2593
2594
2595
2596
2597
2598
2599
2600
2601
2602
2603
2604
2605
2606
2607
2608
2609
2610
2611
2612
2613
2614
2615
2616
2617
2618
2619
2620
2621
2622
2623
2624
2625
2626
2627
2628
2629
2630
2631
2632
2633
2634
2635
2636
2637
2638
2639
2640
2641
2642
2643
2644
2645
2646
2647
2648
2649
2650
2651
2652
2653
2654
2655
2656
2657
2658
2659
2660
2661
2662
2663
2664
2665
2666
2667
2668
2669
2670
2671
2672
2673
2674
2675
2676
2677
2678
2679
2680
2681
2682
2683
2684
2685
2686
2687
2688
2689
2690
2691
2692
2693
2694
2695
2696
2697
2698
2699
2700
2701
2702
2703
2704
2705
2706
2707
2708
2709
2710
2711
2712
2713
2714
2715
2716
2717
2718
2719
2720
2721
2722
2723
2724
2725
2726
2727
2728
2729
2730
2731
2732
2733
2734
2735
2736
2737
2738
2739
2740
2741
2742
2743
2744
2745
2746
2747
2748
2749
2750
2751
2752
2753
2754
2755
2756
2757
2758
2759
2760
2761
2762
2763
2764
2765
2766
2767
2768
2769
2770
2771
2772
2773
2774
2775
2776
2777
2778
2779
2780
2781
2782
2783
2784
2785
2786
2787
2788
2789
2790
2791
2792
2793
2794
2795
2796
2797
2798
2799
2800
2801
2802
2803
2804
2805
2806
2807
2808
2809
2810
2811
2812
2813
2814
2815
2816
2817
2818
2819
2820
2821
2822
2823
2824
2825
2826
2827
2828
2829
2830
2831
2832
2833
2834
2835
2836
2837
2838
2839
2840
2841
2842
2843
2844
2845
2846
2847
2848
2849
2850
2851
2852
2853
2854
2855
2856
2857
2858
2859
2860
2861
2862
2863
2864
2865
2866
2867
2868
2869
2870
2871
2872
2873
2874
2875
2876
2877
2878
2879
2880
2881
2882
2883
2884
2885
2886
2887
2888
2889
2890
2891
2892
2893
2894
2895
2896
2897
2898
2899
2900
2901
2902
2903
2904
2905
2906
2907
2908
2909
2910
2911
2912
2913
2914
2915
2916
2917
2918
2919
2920
2921
2922
2923
2924
2925
2926
2927
2928
2929
2930
2931
2932
2933
2934
2935
2936
2937
2938
2939
2940
2941
2942
2943
2944
2945
2946
2947
2948
2949
2950
2951
2952
2953
2954
2955
2956
2957
2958
2959
2960
2961
2962
2963
2964
2965
2966
2967
2968
2969
2970
2971
2972
2973
2974
2975
2976
2977
2978
2979
2980
2981
2982
2983
2984
2985
2986
2987
2988
2989
2990
2991
2992
2993
2994
2995
2996
2997
2998
2999
3000
3001
3002
3003
3004
3005
3006
3007
3008
3009
3010
3011
3012
3013
3014
3015
3016
3017
3018
3019
3020
3021
3022
3023
3024
3025
3026
3027
3028
3029
3030
3031
3032
3033
3034
3035
3036
3037
3038
3039
3040
3041
3042
3043
3044
3045
3046
3047
3048
3049
3050
3051
3052
3053
3054
3055
3056
3057
3058
3059
3060
3061
3062
3063
3064
3065
3066
3067
3068
3069
3070
3071
3072
3073
3074
3075
3076
3077
3078
3079
3080
3081
3082
3083
3084
3085
3086
3087
3088
3089
3090
3091
3092
3093
3094
3095
3096
3097
3098
3099
3100
3101
3102
3103
3104
3105
3106
3107
3108
3109
3110
3111
3112
3113
3114
3115
3116
3117
3118
3119
3120
3121
3122
3123
3124
3125
3126
3127
3128
3129
3130
3131
3132
3133
3134
3135
3136
3137
3138
3139
3140
3141
3142
3143
3144
3145
3146
3147
3148
3149
3150
3151
3152
3153
3154
3155
3156
3157
3158
3159
3160
3161
3162
3163
3164
3165
3166
3167
3168
3169
3170
3171
3172
3173
3174
3175
3176
3177
3178
3179
3180
3181
3182
3183
3184
3185
3186
3187
3188
3189
3190
3191
3192
3193
3194
3195
3196
3197
3198
3199
3200
3201
3202
3203
3204
3205
3206
3207
3208
3209
3210
3211
3212
3213
3214
3215
3216
3217
3218
3219
3220
3221
3222
3223
3224
3225
3226
3227
3228
3229
3230
3231
3232
3233
3234
3235
3236
3237
3238
3239
3240
3241
3242
3243
3244
3245
3246
3247
3248
3249
3250
3251
3252
3253
3254
3255
3256
3257
3258
3259
3260
3261
3262
3263
3264
3265
3266
3267
3268
3269
3270
3271
3272
3273
3274
3275
3276
3277
3278
3279
3280
3281
3282
3283
3284
3285
3286
3287
3288
3289
3290
3291
3292
3293
3294
3295
3296
3297
3298
3299
3300
3301
3302
3303
3304
3305
3306
3307
3308
3309
3310
3311
3312
3313
3314
3315
3316
3317
3318
3319
3320
3321
3322
3323
3324
3325
3326
3327
3328
3329
3330
3331
3332
3333
3334
3335
3336
3337
3338
3339
3340
3341
3342
3343
3344
3345
3346
3347
3348
3349
3350
3351
3352
3353
3354
3355
3356
3357
3358
3359
3360
3361
3362
3363
3364
3365
3366
3367
3368
3369
3370
3371
3372
3373
3374
3375
3376
3377
3378
3379
3380
3381
3382
3383
3384
3385
3386
3387
3388
3389
3390
3391
3392
3393
3394
3395
3396
3397
3398
3399
3400
3401
3402
3403
3404
3405
3406
3407
3408
3409
3410
3411
3412
3413
3414
3415
3416
3417
3418
3419
3420
3421
3422
3423
3424
3425
3426
3427
3428
3429
3430
3431
3432
3433
3434
3435
3436
3437
3438
3439
3440
3441
3442
3443
3444
3445
3446
3447
3448
3449
3450
3451
3452
3453
3454
3455
3456
3457
3458
3459
3460
3461
3462
3463
3464
3465
3466
3467
3468
3469
3470
3471
3472
3473
3474
3475
3476
3477
3478
3479
3480
3481
3482
3483
3484
3485
3486
3487
3488
3489
3490
3491
3492
3493
3494
3495
3496
3497
3498
3499
3500
3501
3502
3503
3504
3505
3506
3507
3508
3509
3510
3511
3512
3513
3514
3515
3516
3517
3518
3519
3520
3521
3522
3523
3524
3525
3526
3527
3528
3529
<html>
<head>
<meta http-equiv="content-type" content="text/html;charset=iso-8859-1">
<title>Mom -- Document Processing, element tags</title>
</head>
<body bgcolor="#dfdfdf">

<!====================================================================>

<a href="headfootpage.html#TOP">Next</a>&nbsp;&nbsp;
<a href="docprocessing.html#TOP">Prev</a>&nbsp;&nbsp;
<a href="toc.html">Back to Table of Contents</a>

<a name="TOP"></a>
<a name="DOCELEMENT">
	<h2 align="center"><u>THE DOCUMENT ELEMENT TAGS</u></h2>
</a>

<ul>
	<li><a href="#DOCELEMENT_INTRO">Introduction to the document element tags</a>
	<ul>
		<li><a href="#DOCELEMENT_CONTROL">Control macros -- changing defaults for document element tags</a>
		<li><a href="#CONTROL_MACRO_ARGS">Arguments to the control macros</a>
	</ul>
	<li><a href="#INDEX_DOCELEMENT">Index of document element tags</a>
</ul>

<a name="DOCELEMENT_INTRO">
	<h2><u>Introduction to the document element tags</u></h2>
</a>

Once you've completed the setup for a document (see
<a href="docprocessing.html#DOCPROCESSING_TUT">Setting up a mom document</a>),
formatting it is a snap.  Simply invoke the appropriate tag for
each document element as you need it.  The tags are macros that
tell <strong>mom</strong>, &quot;This is a paragraph, this
is a subhead, this is a footnote,&quot; and so on.
<p>
The list of tags is actually quite small -- ideal for the users
<strong>mom</strong> brought herself into being for (see
<a href="intro.html#INTRO_INTRO">Who mom is meant for</a>).
However, the list of macros that control the appearance of the
tags upon output is extensive.  Generally, for each tag,
there are
<a href="definitions.html#TERMS_CONTROLMACRO">control macros</a>
for the tag's family, font and point size.  Where appropriate, there
are macros to control leading, indents, quad and special features
as well.
<p>
<strong>Mom</strong> has tasteful defaults for all the tags, hence you
only use the control macros when you want to change the way
she does things.  This is usually done prior to
<a href="docprocessing.html#START">START</a>,
but can, in fact, be done at any time in the course of a document.
Any change to a tag's style affects all subsequent invocations of
the tag.

<a name="DOCELEMENT_CONTROL"><h3><u>Control macros -- changing defaults</u></h3></a>

<p>
The control macros for document processing tags let you
&quot;design&quot; the look of all the parts of your documents --
should you wish.  At a bare minimum, all tags have macros to
change <strong>mom</strong>'s defaults for family, font
and point size.  Where appropriate, there are macros to control 
leading, indents and quad as well.
<p>
In addition, many tags have special macros to control features that
are pertinent to those tags alone.  Have a look at the section dealing
with any particular tag to find out what macros control the tag,
and what <strong>mom</strong>'s defaults for the tag are.
<p>
The control macros may be used at any time during the course of
a document (i.e. before or after
<a href="docprocessing.html#START">START</a>).  The changes you
make alter all subsequent invocations of the affected tag until
you make another change, either by passing new arguments to the
tag's control macro, or toggling a particular feature of the tag on
or off.
<p>
And don't forget: the
<a href="typesetting.html#MACROS_TYPESETTING">typesetting macros</a>
can be used at any time, including inside
<a href="definitions.html#TERMS_TOGGLE">toggle</a>
tags (affecting only that particular invocation of the tag).
Equally,
<a href="definitions.html#TERMS_INLINES">inline escapes</a>
can be used in tags that take
<a href="definitions.html#TERMS_STRINGARGUMENT">string arguments.</a>
<p>
<strong>IMPORTANT NOTE:</strong> The family, font, point size and
leading control macros have no effect in
<a href="docprocessing.html#PRINTSTYLE">PRINTSTYLE TYPEWRITE</a>,
which sets EVERYTHING in Courier roman, 12/24 (i.e. 12-point type on
a linespace of 24 points).
<p>
Please also note that the defaults listed
with the control macros apply only to
<a href="docprocessing.html#PRINTSTYLE">PRINTSTYLE TYPESET</a>
unless a default for <strong>TYPEWRITE</strong> is also given.
<p>
<strong>A WORD OF ADVICE:</strong> Get familiar with
<strong>mom</strong> at her default settings before exploring the
control macros.  Put her through her paces.  She how she behaves.
Get to know what she feels like and how she looks, both in your text
editor and on the printed page.  Then, if you don't like something,
use this documentation to find the precise macro you need to change it.
There are tons of control macros.  Reading up on them and trying to
remember them all might lead you to think that <strong>mom</strong>
is complex and unwieldy, which is not only untrue, but would offend
her mightily.

<a name="CONTROL_MACRO_ARGS"><h3><u>Arguments to the control macros</u></h3></a>

<h3>Family and font</h3>
The arguments to the control macros that end in
<strong>_FAMILY</strong> or <strong>_FONT</strong> are the same
as for
<a href="typesetting.html#FAMILY">FAMILY</a>
and
<a href="typesetting.html#FONT">FT</a>.

<h3>Point size</h3>
Control macros that end in <strong>_SIZE</strong> always take
the form <kbd>+digit</kbd> or <kbd>-digit</kbd> where digit is
the number of
<a href="definitions.html#TERMS_PICASPOINTS">points</a>
larger (+) or smaller (-) than the point size of paragraphs
you want the document element to be.  For example, to change
subheads to 1-1/2 points larger than the type in paragraphs, do
<p>
<pre>
	.SUBHEAD_SIZE +1.5
</pre>

There's no need for a
<a href="definitions.html#TERMS_UNITOFMEASURE">unit of measure</a>
with the <strong>_SIZE</strong> control macros; points is assumed.

<h3>Lead/linespacing</h3>
Control macros that end in <strong>_AUTOLEAD</strong> take the
same argument as
<a href="typesetting.html#AUTOLEAD">AUTOLEAD</a>,
viz. a digit that represents the number of points to add to the
tag's point size to arrive at its
<a href="definitions.html#TERMS_LEADING">lead</a>.
For example, to set footnotes
<a href="definitions.html#TERMS_SOLID">solid</a>, do
<p>
<pre>
	.FOOTNOTE_AUTOLEAD 0
</pre>

To set footnotes with a 1-point lead (i.e. with the line spacing
one point greater than the footnote's point size), do
<p>
<pre>
	.FOOTNOTE_AUTOLEAD 1
</pre>

<a name="CONTROL_INDENTS"><h3>Indents</h3></a>
Except for <strong>PARA_INDENT</strong>, the argument to the control
macros that end
in <strong>_INDENT</strong> is always a single digit (whole numbers
only; no decimal fractions) with no
<a href="definitions.html#TERMS_UNITOFMEASURE">unit of measure</a>
appended to it.  The digit represents by how much you want the
size of the paragraph first-line indent multiplied to achieve the
correct indent for a particular tag.

<h3>Quad/justification style</h3>
Control macros that end in <strong>_QUAD</strong> take the same
arguments as
<a href="typesetting.html#QUAD">QUAD</a>.


<a name="INDEX_DOCELEMENT"><h3><u>Document element tags list</u></h3></a>
<ul>
	<li><a href="#EPIGRAPH_INTRO">Epigraphs</a>
	<ul>
		<li><a href="#EPIGRAPH">EPIGRAPH</a>
		<li><a href="#EPIGRAPH_CONTROL">Epigrah control</a>
	</ul>
	<li><a href="#PP_INTRO">Paragraphs</a>
	<ul>
		<li><a href="#PP">PP</a>
		<li><a href="#PP_CONTROL">Paragraph control</a>
	</ul>
	<li><a href="#HEAD_INTRO">Main heads</a>
	<ul>
		<li><a href="#HEAD">HEAD</a>
		<li><a href="#HEAD_CONTROL">Head control</a>
	</ul>
	<li><a href="#SUBHEAD_INTRO">Subheads</a>
	<ul>
		<li><a href="#SUBHEAD">SUBHEAD</a>
		<li><a href="#SUBHEAD_CONTROL">Subhead control</a>
	</ul>
	<li><a href="#PARAHEAD_INTRO">Paragraph heads</a>
	<ul>
		<li><a href="#PARAHEAD">PARAHEAD</a>
		<li><a href="#PARAHEAD_CONTROL">Parahead control</a>
	</ul>
	<li><a href="#LINEBREAK_INTRO">Linebreaks (author linebreaks)</a>
	<ul>
		<li><a href="#LINEBREAK">LINEBREAK</a>
		<li><a href="#LINEBREAK_CHAR">Linebreak character</a>
	</ul>
	<li><a href="#QUOTE_INTRO">Quotes (line for line)</a>
	<ul>
		<li><a href="#QUOTE">QUOTE</a>
		<li><a href="#QUOTE_CONTROL">Quote control</a>
	</ul>
	<li><a href="#BLOCKQUOTE_INTRO">Blockquotes (cited material)</a>
	<ul>
		<li><a href="#BLOCKQUOTE">BLOCKQUOTE</a>
		<li><a href="#BLOCKQUOTE_CONTROL">Blockquote control</a>
	</ul>
	<li><a href="#LIST_INTRO">Nested lists</a>
	<ul>
		<li><a href="#LIST">LIST</a>
		<ul>
			<li><a href="#ITEM">ITEM</a>
		</ul>
		<li><a href="#LIST_CONTROL">List control</a>
	</ul>
	<li><a href="#FOOTNOTE_INTRO">Footnotes</a>
	<ul>
		<li><a href="#FOOTNOTE">FOOTNOTE</a>
		<li><a href="#FOOTNOTE_CONTROL">Footnote control</a>
	</ul>
	<li><a href="#FINIS_INTRO">Document termination</a>
	<ul>
		<li><a href="#FINIS">FINIS</a>
		<li><a href="#FINIS_STRING">Finis control</a> -- changing the FINIS string
	</ul>
	<li><a href="#ENDNOTE_INTRO">Endnotes</a>
	<ul>
		<li><a href="#ENDNOTE">ENDNOTE</a>
		<li><a href="#ENDNOTE_CONTROL">Endnote control</a>
	</ul>
	<li><a href="#TOC_INTRO">Table of contents</a>
	<ul>
		<li><a href="#TOC">TOC</a>
		<li><a href="#TOC_CONTROL">Table of contents control</a>
	</ul>
	<li><a href="#BLANK_PAGE_TITLE">Blank page</a>
</ul>
<hr>


<!====================================================================>

<a name="EPIGRAPH_INTRO"><h2><u>Epigraphs</u></h2></a>
<ul>
	<li><a href="#EPIGRAPH">Tag: EPIGRAPH</a>
	<li><a href="#EPIGRAPH_CONTROL">Epigraph control macros</a>
</ul>
<p>
<a href="definitions.html#TERMS_EPIGRAPH">Epigraphs</a>
color, flavour, or comment on the document they precede.  Typically,
they are centered at the top of a document's first page (underneath the
title) and set in a smaller point size than that of paragraph text.
<p>
By default, <strong>mom</strong> sets epigraphs centered and
<a href="definitions.html#TERMS_NOFILL">unfilled</a>;
this lets you input them on a line for line basis.  This behaviour
can be changed to accomodate
<a href="definitions.html#TERMS_FILLED">filled</a>
epigraph &quot;blocks.&quot;
<br>

<!---EPIGRAPH--->

<hr width="66%" align="left">
<p>
<a name="EPIGRAPH">
	Macro: <strong>EPIGRAPH</strong> <var>&lt;toggle&gt; | [ BLOCK ]</var></a>
</a>

<p>
<strong>EPIGRAPH</strong> is a toggle, used like this:
<p>
<pre>
	.EPIGRAPH
	&lt;text of epigraph&gt;
	.EPIGRAPH OFF
</pre>

<strong>OFF</strong>, above, could be anything -- say, Q or X --
since any argument other than <strong>BLOCK</strong> turns it off.
<p>
If given the argument <strong>BLOCK</strong>, <strong>EPIGRAPH</strong>
sets epigraphs
<a href="definitions.html#TERMS_FILLED">filled</a>,
justified or quadded in the same direction as paragraphs, indented
equally from both the left and right margins.
<p>
If a block-style epigraph runs to more than one paragraph (unlikely,
but conceivable), you <strong>MUST</strong> introduce every paragraph
-- <u>INCLUDING THE FIRST!!!</u> -- with the
<a href="#PP">PP</a>
tag.
<p>
<strong>NOTE:</strong> <strong>EPIGRAPH</strong> should only be
used at the top of a document (i.e. just after
<a href="docprocessing.html#START">START</a>)
or after
<a href="#HEAD_INTRO">heads</a>.  The latter is not especially
recommended, but it does work.  In all other places where you
want quotes or cited text, use
<a href="#QUOTE">QUOTE</a>
or
<a href="#BLOCKQUOTE">BLOCKQUOTE</a>.

<a name="EPIGRAPH_CONTROL"><h3><u>Epigraph control macros</u></h3></a>
<p>
See
<a href="#CONTROL_MACRO_ARGS">Arguments to the control macros</a>.
<p>
<pre>
.EPIGRAPH_FAMILY    default = prevailing document family; default is Times Roman
.EPIGRAPH_FONT      default = roman
.EPIGRAPH_SIZE      default = -1.5 (points)
.EPIGRAPH_AUTOLEAD  default = 2 points

(The next two apply to &quot;block&quot; style epigraphs only)

.EPIGRAPH_QUAD      default = same as paragraphs
.EPIGRAPH_INDENT*   default = para indent x 3 (for typeset), x 2 (for typewrite)

*Indent here refers to the indent from both the left and right margins
 that centres the block style epigraph on the page.
</pre>
<hr>

<!====================================================================>

<a name="PP_INTRO"><h2><u>Paragraphs</u></h2></a>
<ul>
	<li><a href="#PP">Tag: PP</a>
	<li><a href="#PP_CONTROL">Paragraph control macros</a>
</ul>
<p>
The paragraph macro is the one you use most often.  Consequently,
it's one of most powerful, yet simplest to use -- just the letters
<strong>PP</strong>.  No arguments, nothing.  Just <kbd>.PP</kbd>
on a line by itself any time, in any document element, tells
<strong>mom</strong> you want to start a new paragraph.  The spacing
and indent appropriate to where you are in your document are taken
care of automatically.
<p>
By default, <strong>mom</strong> does not indent the first paragraph
of a document, nor paragraphs that fall immediately after
<a href="#HEAD_INTRO">heads</a>
or
<a href="#SUBHEAD_INTRO">subheads</a>.
The first paragraphs of blockquotes and block-style epigraphs are
also not indented.  This behaviour can be changed with the control
macro
<a href="#PARA_INDENT_FIRST">INDENT_FIRST_PARAS</a>.
<p>
In contrast to some other macro packages, <strong>mom</strong> does not
deposit a blank line between paragraphs.  If you want her to do so, use
the control macro <strong>PARA_SPACE</strong>.  (I don't recommend
using this macro with
<a href="typesetting.html#PRINTSTYLE">PRINTSTYLE TYPEWRITE</a>.)
<p>
Note that <strong>mom</strong> does not provide &quot;orphan
control&quot; for paragraphs (i.e. even if only one line of a paragraph
fits at the bottom of a page, she will set it on that page).  The
reason for this is that writers of fiction often have single-line
paragraphs (e.g. in dialogue).  Groff's simplistic orphan control
will break these one-liners -- if they fall at the bottom of the page
-- to a new page, which is not what you want.
<p>
<strong>TIP:</strong> The last thing you want while you're writing
and editing drafts of a document (particulary stories and chapters)
is a text file cluttered up with <strong>PP</strong>'s.  The visual
interruption in the flow of text is a serious obstacle to creativity
and critiquing.
<p>
I use the tab key on my keyboard to indent paragraphs when I'm writing,
producing a text file that looks pretty much like what you see on
a printed page.  When it comes time to format and print the file,
I run it through a sed script that (amongst other things) converts
the character generated by the tab key (<kbd>^I</kbd>) into <code>.PP</code>
(plus a new line), and pipe the output to groff for processing and
printing.
<p>
Another solution is to insert a blank line between paragraphs.
The blank lines can then be sedded out at print time as above, or,
more conveniently, you can use the <code>.blm</code>
<a href="definitions.html#TERMS_PRIMITIVES">primitive</a>
(blank line macro) to instruct groff (and <strong>mom</strong>)
that blank lines should be interpreted as <strong>PP</strong>'s.
<p>
<pre>
	.blm PP
</pre>
tells groff that all blank lines are really the macro <strong>PP</strong>.
<br>

<!---PP--->

<hr width="66%" align="left">
<p>
<a name="PP">
	Macro: <strong>PP</strong>
</a>

<p>
<strong>PP</strong> (on a line by itself, of course) tells mom to
start a new paragraph.  See
<a href="#PP_INTRO">above</a>
for more details.  In addition to regular text paragraphs, you can
use <strong>PP</strong> in
<a href="#EPIGRAPH_INTRO">epigraphs</a>,
<a href="#BLOCKQUOTE_INTRO">blockquotes</a>
and
<a href="#FOOTNOTE_INTRO">footnotes</a>.

<a name="PP_CONTROL"><h3><u>Paragraph control macros</u></h3></a>
<p>
The <strong>PP</strong> being so important, and representing, as
it were, the basis of everything that goes on in a document, its
control is managed in a manner somewhat different from other document
element tags.
<p>
<ol>
	<li><a href="#PP_FAMILY">Family control</a>
	<li><a href="#PP_FONT">Font control</a>
	<li><a href="#PP_LEADING">Leading/linespacing control</a>
	<li><a href="#PP_JUST_QUAD">Justification/quad control</a>
	<li><a href="#PARA_INDENT">First-line indent control</a>
	<li><a href="#PARA_INDENT_FIRST">Intitial paragraphs indent control</a>
	<li><a href="#PP_SPACE">Paragraph spacing control</a>
</ol>

<a name="PP_FAMILY"><h3><u>1. Family</u></h3></a>
The paragraph
<a href="definitions.html#TERMS_FAMILY">family</a>
is set with
<a href="typesetting.html#FAMILY">FAMILY</a>
prior to
<a href="docprocessing.html#START">START</a>,
or
<a href="docprocessing.html#DOC_FAMILY">DOC_FAMILY</a>
afterwards.  Please note that both globally affect the family of
every element in the document.
<p>
If you wish to change the family for regular
text paragraphs only, invoke <strong>FAMILY</strong> immediately
after <strong>PP</strong> in EVERY paragraph whose family you wish
to differ from the prevailing document family.
<p>
<strong>Mom</strong>'s default paragraph (and document) family
is Times Roman.

<a name="PP_FONT"><h3><u>2. Font -- PP_FONT</u></h3></a>
To change the
<a href="definitions.html#TERMS_FONT">font</a>
used in regular text paragraphs, use <code>.PP_FONT</code>,
which takes the same argument as
<a href="typesetting.html#FONT">FT</a>.
<strong>PP_FONT</strong> may be used before or after
<a href="docprocessing.html#START">START</a>.
Only regular text paragraphs are affected; paragraphs in
<a href="#EPIGRAPH_INTRO">epigraphs</a>,
<a href="#BLOCKQUOTE_INTRO">blockquotes</a>
and
<a href="#FOOTNOTE_INTRO">footnotes</a>
remain at their default setting (medium roman) unless you change them
with the appropriate control macros.
<p>
<strong>Mom</strong>'s default paragraph font is medium roman.

<a name="PP_LEADING"><h3><u>3. Leading</u></h3></a>
The paragraph
<a href="definitions.html#TERMS_LEADING">leading</a>
is set with
<a href="typesetting.html#LEADING">LS</a>
prior to
<a href="docprocessing.html#START">START</a>,
or
<a href="docprocessing.html#DOC_LEAD">DOC_LEAD</a>
afterwards.  Please note that either method globally affects the
leading and spacing of every document element (except
<a href="definitions.html#TERMS_HEADER">headers</a>
and
<a href="definitions.html#TERMS_FOOTER">footers</a>).
<p>
If you wish to change the leading of regular text paragraphs only,
invoke <strong>LS</strong> immediately after <strong>PP</strong> in
EVERY paragraph whose leading you wish to change.
<p>
<strong>HYPER-IMPORTANT NOTE:</strong> It is extremely unwise to change
paragraph leading with <strong>LS</strong>, as it will, in all cases,
screw up <strong>mom</strong>'s ability to balance the bottom margin
of pages.  Should you absolutely need to change paragraph leading
with <strong>LS</strong>, and subsequently want <strong>mom</strong>
to get back on the right leading track, use the
<a href="docprocessing.html#SHIM">SHIM</a>
macro.
<p>
<strong>Mom</strong>'s default paragraph leading (document leading)
is 16 points, adjusted to fill the page.

<a name="PP_JUST_QUAD"><h3><u>4. Justification/quad</u></h3></a>
The justification/quad-direction of regular text paragraphs (i.e.
<a href="definitions.html#TERMS_JUST">justified</a>,
or
<a href="definitions.html#TERMS_FILLED">filled</a>
and
<a href="definitions.html#TERMS_QUAD">quadded</a>
left/right/center) is set with
<a href="typesetting.html#JUSTIFY">JUSTIFY</a>
or
<a href="typesetting.html#QUAD">QUAD</a>
prior to
<a href="docprocessing.html#START">START</a>,
and with
<a href="docprocessing.html#DOC_QUAD">DOC_QUAD</a>
afterwards.
<p>
Please note that either method of setting the paragraph
justification/quad-direction also affects
<a href="#EPIGRAPH_INTRO">epigraphs</a>
and
<a href="#FOOTNOTE_INTRO">footnotes</a>,
but not
<a href="#BLOCKQUOTE_INTRO">blockquotes</a>
(whose default is QUAD LEFT unless you change it with
<a href="#BLOCKQUOTE">BLOCKQUOTE_QUAD</a>).
The justification/quad-direction of epigraphs and footnotes may
be changed with their own control macros.
<p>
If you wish to change the justification/quad-direction of
individual paragraphs, use <strong>JUSTIFY</strong> or
<strong>QUAD</strong> immediately after <strong>PP</strong>.
Only the paragraph in question gets justified or quadded
differently;  subsequent paragraphs remain unaffected.
<p>
<strong>Mom</strong>'s default justification/quad-direction for
paragraphs is justified for
<a href="docprocessing.html#PRINTSTYLE">PRINTSTYLE_TYPESET</a>
and quad left for
<a href="docprocessing.html#PRINTSTYLE">PRINTSTYLE_TYPEWRITE</a>.

<a name="PARA_INDENT"><h3><u>5. First-line indent -- PARA_INDENT</u></h3></a>
The first-line indent of paragraphs is controlled by
<strong>PARA_INDENT</strong>, which takes one argument: the size
of the indent.  <strong>PARA_INDENT</strong> may be used before
or after
<a href="docprocessing.html#START">START</a>.
A
<a href="definitions.html#TERMS_UNITOFMEASURE">unit of measure</a>
is required; fractional sizes are allowed.  Thus, to set the paragraph
indent to 4-1/2
<a href="definitions.html#TERMS_EM">ems</a>, do
<p>
<pre>
	.PARA_INDENT 4.5m
</pre>

In addition to establishing the basic first line-indent of
paragraphs, <strong>PARA_INDENT</strong> also affects
<a href="#EPIGRAPH_INTRO">epigraphs</a>,
<a href="#QUOTE_INTRO">quotes</a>
and
<a href="#BLOCKQUOTE_INTRO">blockquotes</a>,
whose overal indenting from the left and (where applicable) right
margins is relative to <strong>PARA_INDENT</strong>.  Furthermore, the
first-line indent of paragraphs within these document elements (as well
as footnotes) is also relative to <strong>PARA_INDENT</strong> (always
1/2 of <strong>PARA_INDENT)</strong>), hence they are also affected.
<p>
<strong>Mom</strong>'s default <strong>PARA_INDENT</strong> is 2
ems for
<a href="docprocessing.html#PRINTSTYLE">PRINTSTYLE_TYPESET</a>
and 3 picas (1/2 inch) for
<a href="docprocessing.html#PRINTSTYLE">PRINTSTYLE_TYPEWRITE</a>.

<a name="PARA_INDENT_FIRST"><h3><u>6. Indenting initial paragraphs -- INDENT_FIRST_PARAS</u></h3></a>
By default, <strong>mom</strong> does not indent the first paragraph
of a document, nor the first paragraph after a head or
subhead, nor the first paragraphs of 
<a href="#EPIGRAPH_INTRO">epigraphs</a>,
<a href="#BLOCKQUOTE_INTRO">blockquotes</a>
or
<a href="#FOOTNOTE_INTRO">footnotes</a>
that run to more than one paragraph.
<a name="INDENT_FIRST_PARAS"></a>
<p>
If you wish to have first paragraphs indented, invoke the macro
<strong>.INDENT_FIRST_PARAS</strong> with no argument, either
before or after
<a href="docprocessing.html#START">START</a>.
<strong>INDENT_FIRST_PARAS</strong> is a toggle macro, therefore
passing it any argument (<strong>OFF, QUIT, Q, X</strong>...) cancels
its effect, meaning that first paragraphs will once again NOT be
indented.

<a name="PP_SPACE"><h3><u>7. Spacing paragraphs -- PARA_SPACE</u></h3></a>
By default, <strong>mom</strong> does not insert a blank line
between paragraphs.  If you would like her to do so, invoke the
macro <code>.PARA_SPACE</code> with no argument, either
before or after
<a href="docprocessing.html#START">START</a>.
<strong>PARA_SPACE</strong> is a toggle macro, therefore passing
it any argument (<strong>OFF, QUIT, Q, X</strong>...) cancels its
effect, meaning that paragraphs will once again NOT be separated by
a blank line.
<br>
<hr>

<!====================================================================>

<a name="HEAD_INTRO"><h2><u>Main heads</u></h2></a>
<ul>
	<li><a href="#HEAD">Tag: HEAD</a>
	<li><a href="#HEAD_CONTROL">Head control macros</a>
</ul>
<p>
Main heads -- or, in this documentation, just &quot;heads&quot;
-- should be used any place you want titles to introduce major
sections of a document.  If you wish, <strong>mom</strong> can number
your heads for you.  Head numbers can also be included
hierarchically in numbered
<a href="#SUBHEAD_INTRO">subheads</a>
and
<a href="#PARAHEAD_INTRO">paraheads</a>.
<p>
By default, heads are centered on the page, underlined,
all in caps.  A double linespace precedes each head.  In <a
href="docprocessing.html#PRINTSTYLE">PRINTSTYLE TYPESET</a>, heads
are bold, slightly larger than paragraph text.
<p>
If these defaults don't suit you, you can change them with the
head control macros.
<br>

<!---HEAD--->

<hr width="66%" align="left">
<p>
<a name="HEAD">
	Macro: <strong>HEAD</strong> <var>&quot;&lt;text of head&gt;&quot; [ &quot;&lt;2nd line&gt;&quot; [ &quot;&lt;3rd line&gt;&quot; ... ] ]</var>
</a>

<p>
The argument to <strong>HEAD</strong> is the text of the head,
surrounded by double-quotes.  If you need additional lines for a
head, simply surround each line with double-quotes.
<p>
<strong>NOTE:</strong> If a head falls near the bottom of an output page
and <strong>mom</strong> is unable to fit the head <em>plus at least
one line of text underneath it</em>, she will set the head at the
top of the next page.
<p>
<strong>ADDITIONAL NOTE:</strong> If an
<a href="definitions.html#TERMS_INPUTLINE">input line</a>
in a head (i.e. one of the lines surrounded by double-quotes) has
to be broken by <strong>mom</strong> in order to fit the current
line-length (say, a narrow column measure), the head underline
(underscore) will not behave.  You'll recognise the problem as soon
as you preview your document.  If you encounter a head that
misbehaves with respect to underlining, the solution is to
supply each line <em>as you want it</em> as a separate argument
(surrounded by double-quotes) to the <strong>HEAD</strong> macro.
<p>
For example, if <strong>mom</strong> breaks
<pre>
	.HEAD "This is a very, very, very long head"
</pre>
into
<pre>
	This is a very, very, very
	        long head        
</pre>

you'll see the misbehaving underscore and should change the
argument to <strong>HEAD</strong> to
<pre>
	.HEAD "This is a very, very very" "long head"
</pre>

<a name="HEAD_CONTROL"><h3><u>Head control macros</u></h3></a>
<p>
There are, in addition to the usual family/font/size/quad control
macros, a number of macros to manage head numbering, spacing,
underlining, and so on.  Check them out if you're unhappy with
<strong>mom</strong>'s defaults.
<p>
<ol>
	<li><a href="#HEAD_GENERAL">Family/font/size/quad</a>
	<li><a href="#HEAD_CAPS">Caps</a>
	<li><a href="#HEAD_SPACE">Pre-head space</a>
	<li><a href="#HEAD_UNDERLINE">Underlining</a>
	<li><a href="#NUMBER_HEADS">Numbering</a>
	<li><a href="#RESET_HEAD_NUMBER">Reset head numbering</a>
	<li><a href="#HEAD_INLINES">Vertical inline escapes inside heads</a>
</ol>
<p>
<a name="HEAD_GENERAL"><h3><u>1. Family/font/size/quad</u></h3></a>
<p>
See
<a href="#CONTROL_MACRO_ARGS">Arguments to the control macros</a>.
<p>
<pre>
.HEAD_FAMILY default = prevailing document family; default is Times Roman
.HEAD_FONT   default = bold
.HEAD_SIZE   default = +1 (point)
.HEAD_QUAD   default = CENTER
</pre>

<a name="HEAD_CAPS"><h3><u>2. Capitalizing heads -- HEAD_CAPS</u></h3></a>
By default, <strong>mom</strong> sets heads in caps, regardless
of the
<a href="definitions.html#TERMS_STRINGARGUMENT">string(s)</a>
you give to
<a href="#HEAD">HEAD</a>.
To change this behaviour, do
<p>
<pre>
	.HEAD_CAPS OFF
</pre>

<strong>HEAD_CAPS</strong> is a toggle macro, therefore you can use
any argument you like instead of <strong>OFF</strong> (<strong>END,
QUIT, Q, X</strong>...).  To turn <strong>HEAD_CAPS</strong> back on,
simply invoke it without an argument.

<a name="HEAD_SPACE"><h3><u>3. Space before heads -- HEAD_SPACE</u></h3></a>
By default, <strong>mom</strong> deposits 2 blank lines prior to every
head.  If you'd prefer just a single blank line, do
<p>
<pre>
	.HEAD_SPACE OFF
</pre>

<strong>HEAD_SPACE</strong> is a toggle macro, therefore you can use
any argument you like instead of <strong>OFF</strong> (<strong>END,
QUIT, Q, X</strong>...).  To restore the space before heads to 2
blank lines, invoke <strong>HEAD_SPACE</strong> without an argument.

<a name="HEAD_UNDERLINE"><h3><u>4. Underlining heads -- HEAD_UNDERLINE</u></h3></a>
By default, <strong>mom</strong> underlines heads.  To change this
behaviour, do
<p>
<pre>
	.HEAD_UNDERLINE OFF
</pre>

<strong>HEAD_UNDERLINE</strong> is a toggle macro, therefore you can
use any argument you like instead of <strong>OFF</strong> (<strong>END,
QUIT, Q, X</strong>...).  To restore underlining of heads, invoke
<strong>HEAD_UNDERLINE</strong> without an argument.

<a name="NUMBER_HEADS"><h3><u>5. Number heads -- NUMBER_HEADS</u></h3></a>
If you'd like your heads numbered, simply invoke
<strong>NUMBER_HEADS</strong> with no argument.  <strong>Mom</strong>
will number all subsequent heads automatically (in ascending order,
naturally).
<p>
If, in addition to numbering heads, you also request that
<a href="#SUBHEAD_INTRO">subheads</a>
and/or
<a href="#PARAHEAD_INTRO">paraheads</a>
be numbered, the head number will be included in their numbers
(each number separated by a period [dot]).
<p>
Should you wish to stop head numbering, invoke
<strong>NUMBER_HEADS</strong> with any argument (<strong>OFF, QUIT,
END, X</strong>...).  Head numbering will cease, and the head number
will not be included in the numbering of subheads and/or paraheads.

<a name="RESET_HEAD_NUMBER"><h3><u>6. Reset head numbering -- RESET_HEAD_NUMBER</u></h3></a>
Should you wish to reset the head number to &quot;1&quot;, invoke
<strong>RESET_HEAD_NUMBER</strong> with no argument.  If, for some
reason, you want <strong>mom</strong> to use a head number that is not
the next in ascending order (i.e. the last head number + 1), invoke
<strong>RESET_HEAD_NUMBER</strong> with the number you want, e.g.
<p>
<pre>
	.RESET_HEAD_NUMBER 6
</pre>

Your next head will be numbered &quot;6&quot; and subsequent heads will
be numbered in ascending order from &quot;6&quot;.

<a name="HEAD_INLINES"><h3><u>7. Vertical inline escapes inside heads</u></h3></a>
If you need to adjust the
<a href="definitions.html#TERMS_BASELINE">baseline</a>
position of a head (e.g. the head falls at the top of a column and
you want its
<a href="definitions.html#TERMS_ASCENDER">ascenders</a>
to line up with the ascenders of
<a href="definitions.html#TERMS_RUNNING">running text</a>
in other columns), you can embed a vertical motion
<a href="definitions.html#TERMS_INLINES">inline escape</a>
(either
<a href="inlines.html#INLINE_VERTICAL_MOM">mom's</a>
or
<a href="inlines.html#INLINE_VERTICAL_GROFF">groff's</a>
in the string(s) you pass to <strong>HEAD</strong>
<p>
For example,
<p>
<pre>
	.HEAD "\[ALD3]Text of head"
        or
    .HEAD "\[DOWN 3p]Text of head"
</pre>

will lower the baseline of the head by three points.  Note that
there's no need to reverse the sense of the inline escape.
<p>
In the case of heads that run to more than one line, you must embed
the escape in the string for each line, like this:
<p>
<pre>
	.HEAD "\[ALD3]First line" "\[ALD3]Next line" 
        or
    .HEAD "\[DOWN 3p]First line" "\[DOWN 3p]Next line" 
</pre>
<hr>

<!====================================================================>

<a name="SUBHEAD_INTRO"><h2><u>Subheads</u></h2></a>
<ul>
	<li><a href="#SUBHEAD">Tag: SUBHEAD</a>
	<li><a href="#SUBHEAD_CONTROL">Subhead control macros</a>
</ul>
<p>
Subheads should be used any place you want titles to introduce
sections of a document below heads.  If you wish, <strong>mom</strong>
can number subheads for you.  Subhead numbers can also be included
hierarchically in numbered
<a href="#PARAHEAD_INTRO">paraheads</a>.
<p>
By default, subheads are flush left.  In
<a href="docprocessing.html#PRINTSTYLE">PRINTSTYLE TYPESET</a>,
they are set bold, slightly larger than paragraph text.  In
<a href="docprocessing.html#PRINTSTYLE">PRINTSTYLE TYPEWRITE</a>,
they are underlined.  A single linespace precedes them in both
printstyles, and a tiny space adjustment raises them slightly
above text that comes afterwards for greater clarity in
document structuring.
<p>
If these defaults don't suit you, you can change them with the
subhead control macros.
<br>

<!---SUBHEAD--->

<hr width="66%" align="left">
<p>
<a name="SUBHEAD">
	Macro: <strong>SUBHEAD</strong> <var>&quot;&lt;text of subhead&gt;&quot; [ &quot;&lt;2nd line&gt;&quot; [ &quot;&lt;3rd line&gt;&quot; ... ] ]</var>
</a>
<p>
The argument to <strong>SUBHEAD</strong> is the text of the subhead,
surrounded by double-quotes.  If you need additional lines for a
subhead, simply surround each line with double-quotes.
<p>
<strong>NOTE:</strong> If a subhead falls near the bottom of an output
page and <strong>mom</strong> is unable to fit the head <em>plus at
least one line of text underneath it</em>, she will set the subhead
at the top of the next page.

<a name="SUBHEAD_CONTROL"><h3><u>Subhead control macros</u></h3></a>
<p>
In addition to the usual family/font/size/quad control
macros, there are macros to manage subhead numbering.
<p>
<ol>
	<li><a href="#SUBHEAD_GENERAL">Family/font/size/quad</a>
	<li><a href="#NUMBER_SUBHEADS">Numbering</a>
	<li><a href="#RESET_SUBHEAD_NUMBER">Reset subhead numbering</a>
	<li><a href="#SUBHEAD_INLINES">Vertical inline escapes inside subheads</a>
</ol>
<p>
<a name="SUBHEAD_GENERAL"><h3><u>1. Family/font/size/quad</u></h3></a>
<p>
See
<a href="#CONTROL_MACRO_ARGS">Arguments to the control macros</a>.
<p>
<pre>
.SUBHEAD_FAMILY default = prevailing document family; default is Times Roman
.SUBHEAD_FONT   default = bold
.SUBHEAD_SIZE   default = +.5 (point)
.SUBHEAD_QUAD   default = LEFT
</pre>

<a name="NUMBER_SUBHEADS"><h3><u>2. Number subheads -- NUMBER_SUBHEADS</u></h3></a>
If you'd like your subheads numbered, simply invoke
<strong>.NUMBER_SUBHEADS</strong> with no argument.
<strong>Mom</strong> will number all subsequent subheads automatically
(in ascending order, naturally).
<p>
If, in addition to numbering subheads, you also request that
<a href="#HEAD_INTRO">heads</a>
be numbered, the head number will be included in the subhead number
(separated by a period [dot]).
<p>
Should you wish to stop subhead numbering, invoke
<strong>NUMBER_SUBHEADS</strong> with any argument (<strong>OFF, QUIT,
END, X</strong>...).  Subhead numbering will cease, and the subhead
number will not be included in the numbering of paraheads.

<a name="RESET_SUBHEAD_NUMBER"><h3><u>3. Reset head numbering -- RESET_SUBHEAD_NUMBER</u></h3></a>
Should you wish to reset the subhead number to &quot;1&quot;, invoke
<strong>RESET_SUBHEAD_NUMBER</strong> with no argument.  If, for some
reason, you want <strong>mom</strong> to use a subhead number that is not
the next in ascending order (i.e. the last subhead number + 1), invoke
<strong>RESET_SUBHEAD_NUMBER</strong> with the number you want, e.g.
<p>
<pre>
	.RESET_SUBHEAD_NUMBER 4
</pre>

Your next subhead will be numbered &quot;4&quot; and subsequent
subheads will be numbered in ascending order from &quot;4&quot;.

<a name="SUBHEAD_INLINES"><h3><u>Vertical inline escapes inside subheads</u></h3></a>
See
<a href="#HEAD_INLINES">Vertical inline escapes inside heads</a>.
The information there applies equally to subheads.


<br>
<hr>

<!====================================================================>

<a name="PARAHEAD_INTRO"><h2><u>Paragraph heads</u></h2></a>
<ul>
	<li><a href="#PARAHEAD">Tag: PARAHEAD</a>
	<li><a href="#PARAHEAD_CONTROL">Parahead control macros</a>
</ul>
<p>
Paragraph heads (paraheads) should be used any place you want titles
to introduce paragraphs below heads or subheads.  If you wish,
<strong>mom</strong> can number paraheads for you.
<p>
By default, paraheads are joined to the body of a paragraph,
slightly indented (provided the paragraph is not a
&quot;first&quot; paragraph as defined in
<a href="#PARA_INDENT_FIRST">Indenting initial paragraphs</a>).
In
<a href="docprocessing.html#PRINTSTYLE">PRINTSTYLE TYPESET</a>,
they are set bold italic, slightly larger than paragraph text.  In
<a href="docprocessing.html#PRINTSTYLE">PRINTSTYLE TYPEWRITE</a>,
they are underlined.
<p>
If these defaults don't suit you, you can change them with the
parahead control macros.
<br>

<!---PARAHEAD--->

<hr width="66%" align="left">
<p>
<a name="PARAHEAD">
	Macro: <strong>PARAHEAD</strong> <var>&quot;&lt;text of parahead&gt;&quot;</var>
</a>
<p>
<strong>PARAHEAD</strong> must come AFTER
<a href="#PP">PP</a>
or it will not work!
<p>
The argument is the text of the parahead, surrounded by double-quotes.
Because paraheads are joined to the body of a paragraph, they accept
only one argument (see
<a href="#HEAD">HEAD</a>
and
<a href="#SUBHEAD">SUBHEAD</a>).

<a name="PARAHEAD_CONTROL"><h3><u>Parahead control macros</u></h3></a>
<p>
In addition to the family/font/size/indent control macros, there are
macros to manage parahead numbering.
<p>
<ol>
	<li><a href="#PARAHEAD_GENERAL">Family/font/size</a>
	<li><a href="#PARAHEAD_INDENT">Indent</a>
	<li><a href="#NUMBER_PARAHEADS">Numbering</a>
	<li><a href="#RESET_PARAHEAD_NUMBER">Reset parahead numbering</a>
</ol>
<p>
<a name="PARAHEAD_GENERAL"><h3><u>1. Family/font/size</u></h3></a>
<p>
See
<a href="#CONTROL_MACRO_ARGS">Arguments to the control macros</a>.
<p>
<pre>
.PARAHEAD_FAMILY default = prevailing document family; default is Times Roman
.PARAHEAD_FONT   default = bold italic
.PARAHEAD_SIZE   default = +.5 (point)
</pre>

<a name="PARAHEAD_INDENT"><h3><u>2. Indent</u></h3></a>
Unlike other control macros that end in
<a href="#CONTROL_INDENTS"><strong>_INDENT</strong></a>,
the argument to the macro that controls indenting of paragraph heads
(<strong>PARAHEAD_INDENT</strong>) is NOT relative to the first-line
indent of normal paragraphs.  In other words, it takes an absolute
value, and requires a
<a href="definitions.html#TERMS_UNITOFMEASURE">unit of measure</a>.
For example, to set the paragraph head indent to 2-1/2 picas, you
do:
<p>
<pre>
	.PARAHEAD_INDENT 2.5P
</pre>
<strong>Mom</strong>'s default indent for paragraph heads is 1/2
the first-line indent of normal paragraphs (both printstyles).
However, as stated above, if you choose to change the indent, you
must give an absolute value (unless you're a groff expert and want
to manipulate the number register <code>\n[#PP_INDENT]u</code>
arithmetically as the argument to <strong>PARAHEAD_INDENT</strong>
for an indent that's relative to <strong>PP_INDENT</strong>.)
<p>
<strong>NOTE:</strong> Paragraph heads in &quot;first
paragraphs&quot;, as defined in
<a href="#PARA_INDENT_FIRST">Indenting initial paragraphs</a>,
are not indented unless you turn
<a href="#INDENT_FIRST_PARAS">INDENT_FIRST_PARAS</a>
on.

<a name="NUMBER_PARAHEADS"><h3><u>3. Number paraheads -- NUMBER_PARAHEADS</u></h3></a>
If you'd like your paraheads numbered, simply invoke
<strong>.NUMBER_PARAHEADS</strong> with no argument.
<strong>Mom</strong> will number all subsequent paraheads automatically
(in ascending order, naturally).
<p>
If, in addition to numbering paraheads, you also request that
<a href="#HEAD_INTRO">heads</a>
and
<a href="#SUBHEAD_INTRO">subheads</a>
be numbered, the head and/or subhead number will be included in the
parahead number (separated by a period [dot]).
<p>
Should you wish to stop parahead numbering, invoke
<strong>NUMBER_PARAHEADS</strong> with any argument (<strong>OFF,
QUIT, END, X</strong>...).  Parahead numbering will cease.

<a name="RESET_PARAHEAD_NUMBER"><h3><u>4. Reset head numbering -- RESET_PARAHEAD_NUMBER</u></h3></a>
Should you wish to reset the parahead number to &quot;1&quot;, invoke
<strong>RESET_PARAHEAD_NUMBER</strong> with no argument.  If, for some
reason, you want <strong>mom</strong> to use a parahead number that is not
the next in ascending order (i.e. the last parahead number + 1), invoke
<strong>RESET_PARAHEAD_NUMBER</strong> with the number you want, e.g.
<p>
<pre>
	.RESET_PARAHEAD_NUMBER 7
</pre>

Your next parahead will be numbered &quot;7&quot; and subsequent
paraheads will be numbered in ascending order from &quot;7&quot;.
<br>
<hr>

<!====================================================================>

<a name="LINEBREAK_INTRO"><h2><u>Author linebreaks</u></h2></a>
<ul>
	<li><a href="#LINEBREAK">Tag: LINEBREAK</a>
	<li><a href="#LINEBREAK_CHAR">Linebreak character control macro</a>
</ul>
<p>
By default, <strong>mom</strong> marks
<a href="definitions.html#TERMS_LINEBREAK">author linebreaks</a>
with three centered asterisks.  You can change this behaviour
with the linebreak character
<a href="definitions.html#TERMS_CONTROLMACRO">control macro</a>.
<br>

<!---LINEBREAK--->

<hr width="66%" align="left">
<p>
<a name="LINEBREAK">
	Macro: <strong>LINEBREAK</strong>
</a>

<p>
<strong>LINEBREAK</strong> takes no arguments.  Simply invoke it
(on a line by itself, of course) whenever you want to insert an
author linebreak.  The appearance of the linebreak is controlled
by the
<a href="#LINEBREAK_CHAR">LINEBREAK_CHAR</a>
macro.

<h3><u>Linebreak character control macro</u></h3>
<p>
<a name="LINEBREAK_CHAR">
	Macro: <strong>LINEBREAK_CHAR</strong> <var>[ &lt;character&gt; ] [ &lt;iterations&gt; [ &lt;vertical adjustment&gt; ] ]</var>
</a>
<br>
<em>*The third optional argument requires a
<a href="definitions.html#TERMS_UNITOFMEASURE">unit of measure</a></em>.

<p>
<strong>LINEBREAK_CHAR</strong> determines what <strong>mom</strong>
prints when <strong>LINEBREAK</strong> is invoked.  It takes 3
optional arguments: the character you want deposited at the line
break, the number of times you want the character repeated, and a
vertical adjustment factor.
<p>
The first argument is any legal groff character (e.g. <kbd>*</kbd>
[an asterisk], <kbd>\(dg</kbd> [a dagger], <kbd>\f(ZD\N'141\fP</kbd>
[an arbitrary character from Zapf Dingbats], <kbd>\l'4P'</kbd>
[a 4-pica long rule]).  <strong>Mom</strong> sets the character
centered on the current line length.
<p>
The second argument is the number of times to repeat the character.
<p>
The third argument is a +|- value by which to raise (+) or lower (-)
the character in order to make it appear visually centered between
sections of text.  This lets you make vertical adjustments
to characters that don't sit on the
<a href="definitions.html#TERMS_BASELINE">baseline</a>
(such as asterisks).  The argument must be preceded by a plus or
minus sign, and must include a unit of measure.
<p>
If you enter <strong>LINEBREAK_CHAR</strong> with no arguments,
sections of text will be separated by two blank lines when you invoke
<strong>LINEBREAK</strong>.
<p>
<strong>Mom</strong>'s default for <strong>LINEBREAK_CHAR</strong> is
<p>
<pre>
	.LINEBREAK_CHAR * 3 -3p
</pre>

i.e. three asterisks, lowered 3 points from their normal vertical
position (for
<a href="docprocessing.html#PRINTSTYLE">PRINTSTYLE TYPESET</a>;
the vertical adjustment is -2 points for
<a href="docprocessing.html#PRINTSTYLE">PRINTSTYLE TYPEWRITE</a>).
<br>
<hr>

<!====================================================================>

<a name="QUOTE_INTRO"><h2><u>Quotes (line for line)</u></h2></a>
<ul>
	<li><a href="#QUOTE">Tag: QUOTE</a>
	<li><a href="#QUOTE_CONTROL">Quote control macros</a>
</ul>
<p>
<a href="definitions.html#TERMS_QUOTE">Quotes</a>
are always set in
<a href="definitions.html#TERMS_NOFILL">nofill mode</a>,
flush left.  This permits entering quotes on a line for line basis in
your text editor and have them come out the same way on output copy.
(See
<a href="#BLOCKQUOTE_INTRO">Blockquotes</a>
for how quotes, in the present sense, differ from longer
passages of cited text.)
<p>
Since <strong>mom</strong> originally came into being to serve
the needs of creative writers (i.e. novelists, short story
writers, etc. -- not to cast aspersions on the creativity of
mathematicians and programmers), she sets quotes in italics
<a href="docprocessing.html#PRINTSTYLE">(PRINTSTYLE TYPESET)</a>
or underlined
<a href="docprocessing.html#PRINTSTYLE">(PRINTSTYLE TYPEWRITE)</a>,
indented from the left margin.  Obviously, she's thinking
&quot;quotes from poetry or song lyrics&quot;, but with the
<a href="#QUOTE_CONTROL">quote control macros</a>
you can change her defaults so <strong>QUOTE</strong> serves other
needs, e.g. entering verbatim snippets of programming code, command
line instructions, and so on.  (See the
<a href="#QUOTE_TIP">tip</a>
below for suggestions about including programming code snippets in
documents.)
<p>
<a name="QUOTE_SPACING"></a>
Besides indenting quotes, <strong>mom</strong> further sets them
off from
<a href="definitions.html#TERMS_RUNNING">running text</a>
with a small amount of vertical whitespace top and bottom.  In
<a href="docprocessing.html#PRINTSTYLE">PRINTSTYLE TYPEWRITE</a>,
this is always one full linespace.  In
<a href="docprocessing.html#PRINTSTYLE">PRINTSTYLE TYPESET</a>,
it's 1/2 of the prevailing
<a href="definitions.html#TERMS_LEADING">leading</a>
if the quote fits fully on the page (i.e. with running text above
and below it), otherwise it's a full linespace either above or below
as is necessary to balance the page to the bottom margin.  This
behaviour can be changed with the control macro
<a href="#ALWAYS_FULLSPACE_QUOTES">ALWAYS_FULLSPACE_QUOTES</a>.
<p>
<strong>NOTE:</strong> <strong>ALWAYS_FULLSPACE_QUOTES</strong>
applies to both
<a href="#QUOTE">QUOTE</a>
and
<a href="#BLOCKQUOTE">BLOCKQUOTE</a>,
as does the control macro
<a href="#QUOTE_INDENT">QUOTE_INDENT</a>.
<p>
<a name="QUOTE_TIP"><strong>TIP:</strong></a>
If you want to include snippets of programming code in
<strong>mom</strong> documents, you may come acropper of the fact
that groff (and <strong>mom</strong>'s) escape character is the
backslash.  In order for <strong>mom</strong> not to interpret
backslashes that occur in code snippets as escapes, you have to
tell <strong>mom</strong> that the backslash character is
(temporarily) no longer the escape character.  The easiest way
to do this is to set the escape character to something else for
the duration of the code snippet.  You accomplish this with
<strong>ESC_CHAR</strong>, like this:
<p>
<pre>
	.ESC_CHAR c
</pre>

where &quot;c&quot;, above, is the alternate escape character
(which should be a character that does not appear in the code).  To
set the escape character back to the backslash, simply invoke
<strong>.ESC_CHAR</strong> by itself (i.e. with no argument).
<p>
Because <strong>mom</strong>, by default, sets the text after
<strong>.QUOTE</strong> in italic (for <strong>PRINTSTYLE
TYPESET</strong>) or underlined (for <strong>PRINTSTYLE
TYPEWRITE</strong>), you'll want to change that behaviour as
well.  Therefore, a recipe for setting verbatim code snippets using
<strong>QUOTE</strong> could be (assuming you want a fixed width
font like Courier):
<p>
<pre>
	\# You only need the first two lines before the first invocation
	\# of QUOTE.  They stay in effect for all subsequent invocations.
	\#
	.QUOTE_FONT       CR    \" Set quote font to Courier roman
	.UNDERLINE_QUOTES OFF   \" Don't underline quotes in TYPEWRITE
	.QUOTE
	.ESC_CHAR ^             \" Change escape character to ^
	&lt;code snippet&gt;
	.ESC_CHAR               \" Restore escape character to \
	.QUOTE OFF

</pre>

<!---QUOTE--->

<hr width="66%" align="left">
<p>
<a name="QUOTE">
	Macro: <strong>QUOTE</strong> <var>toggle</var>
</a>

<p>
<strong>QUOTE</strong> is a toggle macro.  To begin a section of
quoted text, invoke it with no argument, then type in your quote.
When you're finished, invoke <strong>QUOTE</strong> with any
argument (e.g. OFF, END, X, Q...) to turn it off.  Example:
<p>
<pre>
	.QUOTE
	Nymphomaniacal Jill
	Used a dynamite stick for a thrill
	They found her vagina
	In North Carolina
	And bits of her tits in Brazil.
	.QUOTE END
</pre>

<a name="QUOTE_CONTROL"><h3><u>Quote control macros</u></h3></a>
<ol>
	<li><a href="#QUOTE_GENERAL">Family/font/size/indent</a>
	<li><a href="#ALWAYS_FULLSPACE_QUOTES">Spacing above and below (typeset only)</a>
	<li><a href="#UNDERLINE_QUOTES">Underline quotes (typewrite only)</a>
	<li><a href="#BREAK_QUOTE">Manually break a footnoted quote that crosses pages/columns</a>
</ol>
<p>
<a name="QUOTE_GENERAL"><h3><u>1. Family/font/size/indent</u></h3></a>
<p>
See
<a href="#CONTROL_MACRO_ARGS">Arguments to the control macros</a>.
<p>
<pre>
.QUOTE_FAMILY default = prevailing document family; default is Times Roman
.QUOTE_FONT   default = italic
.QUOTE_SIZE   default = +0 (i.e. same size as paragraph text)
<a name="QUOTE_INDENT">.QUOTE_INDENT default = paragraph indent x 3 (typeset); x 2 (typewrite)</a>
             (note that this macro also sets the indents (left and right)
              for blockquotes)
</pre>

<a name="ALWAYS_FULLSPACE_QUOTES"><h3><u>2. Spacing above and below -- ALWAYS_FULLSPACE_QUOTES (typeset only)</u></h3></a>
If you'd like <strong>mom</strong> always to put a full linespace above
and below quotes, invoke <strong>.ALWAYS_FULLSPACE_QUOTES</strong>
with no argument.  If you wish to restore <strong>mom</strong>'s
default behaviour regarding the spacing of quotes (see
<a href="#QUOTE_SPACING">above</a>),
invoke the macro with any argument (<strong>OFF, QUIT, END,
X</strong>...)
<p>
<strong>NOTE:</strong> This macro also sets <strong>mom</strong>'s
spacing policy for
<a href="#BLOCKQUOTE_INTRO">blockquotes</a>.

<a name="UNDERLINE_QUOTES"><h3><u>3. Underlining -- UNDERLINE_QUOTES (typewrite only)</u></h3></a>
By default in
<a href="docprocessing.html#PRINTSTYLE">PRINTSTYLE TYPEWRITE</a>,
<strong>mom</strong> underlines quotes.  If you'd rather she didn't,
invoke <strong>.UNDERLINE_QUOTES</strong> with any argument
(<strong>OFF, QUIT, END, X</strong>...) to disable the feature.
Invoke it without an argument to restore <strong>mom</strong>'s
default underlining of quotes.
<p>
If you not only wish that <strong>mom</strong> not underline
quotes, but also that she set them in italic, you must follow each
instance of <strong>QUOTE</strong> with the typesetting macro <a
href="typesetting.html#FONT">FT I</a>.
Furthermore, since <strong>mom</strong> underlines all instances
of italics by default in <strong>PRINTSTYLE TYPEWRITE</strong>,
you must also make sure that <strong>ITALIC_MEANS_ITALIC</strong>
is enabled (see
<a href="docprocessing.html#TYPEWRITE_CONTROL">PRINTSTYLE TYPEWRITE control macros</a>).

<a name="BREAK_QUOTE"><h3><u>4. Manually break a footnoted quote -- BREAK_QUOTE</u></h3></a>
Exceptionally, a quote or blockquote containing a footnote may cross
a page or column.  When this happens, the footnote marker may not be
correct for its position relative to other footnotes on the page, and
the footnote itself may appear on the wrong page or at the bottom of
the wrong column.  When this happens, study your output to determine
the precise point at which the quote breaks (or at which you want
it to break), and add <code>.BREAK_QUOTE</code> on a line by itself
afterwards.  No other intervention is required, and the footnote(s)
will be marked correctly and appear on the correct page.
<p>
<strong>BREAK_QUOTE</strong> may be used with both quotes and
blockquotes, and hence is aliased as <strong>BREAK_BLOCKQUOTE,
BREAK_CITATION</strong> and <strong>BREAK_CITE</strong>.
<br>
<hr>

<!====================================================================>

<a name="BLOCKQUOTE_INTRO"><h2><u>Blockquotes (cited passages)</u></h2></a>
<ul>
	<li><a href="#BLOCKQUOTE">Tag: BLOCKQUOTE (aliases: CITE, CITATION)</a>
	<li><a href="#BLOCKQUOTE_CONTROL">BLOCKQUOTE control macros</a>
</ul>
<p>
<strong>BLOCKQUOTES</strong> are used to cite passages from another
author's work.  So that they stand out well from
<a href="definitions.html#TERMS_RUNNING">running text</a>,
<strong>mom</strong> indents them from both the left and right margins
and sets them in a different point size
<a href="docprocessing.html#PRINTSTYLE">(PRINTSTYLE TYPESET</a>
only).
<a href="definitions.html#TERMS_OUTPUTLINE">Output lines</a>
are
<a href="definitions.html#TERMS_FILLED">filled</a>,
and, by default,
<a href="definitions.html#TERMS_QUAD">quadded</a>
left.
<p>
Besides indenting blockquotes, <strong>mom</strong> further sets them
off from running text with a small amount of vertical whitespace top
and bottom.  (See
<a href="#QUOTE_SPACING">above</a>
for a complete explanation of how this is managed, and how to control it.)
<p>
You may notice that <strong>BLOCKQUOTE</strong> has no macro to
control
<a href="definitions.html#TERMS_LEADING">leading</a>,
although you can change the point size.  There are Very Good
Reasons for this.  If you can't live with the limitation, change
the leading of blockquotes (after invoking the tag) with
<a href="typesetting.html#LS">LS</a>,
but know that there will be Bottom Margin Consequences unless you
use the
<a href="docprocessing.html#SHIM">SHIM</a>
macro after you turn the blockquote off.
<br>

<!---BLOCKQUOTE--->

<hr width="66%" align="left">
<p>
<a name="BLOCKQUOTE">
	Macro: <strong>BLOCKQUOTE</strong> <var>toggle</var>
	<br>
	Aliases: <strong>CITE, CITATION</strong>
</a>

<p>
<strong>BLOCKQUOTE</strong> is a toggle macro.  To begin a
cited passage, invoke the tag with no argument, then type in your quote.
When you're finished, invoke <strong>BLOCKQUOTE</strong> with any
argument (e.g. OFF, END, X, Q...) to turn it off.  Example:
<p>
<pre>
	.BLOCKQUOTE
	Redefining the role of the United States from enablers to keep
	the peace to enablers to keep the peace from peacekeepers is
	going to be an assignment.
	.RIGHT
	\(emGeorge W. Bush
	.BLOCKQUOTE END
</pre>

If the cited passage runs to more than one paragraph, you MUST
introduce each paragraph -- <em>including the first!</em> --
with
<a href="#PP">PP</a>.
<p>
<strong>NOTE:</strong> The aliases <strong>CITE</strong>
and <strong>CITATION</strong> may be used in place of the
<strong>BLOCKQUOTE</strong> tag, but &quot;CITE&quot; and
&quot;CITATION&quot; must not be used to replace &quot;BLOCKQUOTE&quot;
in any of the tag's control macros.

<a name="BLOCKQUOTE_CONTROL"><h3><u>Blockquote control macros</u></h3></a>
<ol>
	<li><a href="#BLOCKQUOTE_GENERAL">Family/font/size/indent</a>
	<li><a href="#ALWAYS_FULLSPACE_QUOTES">Spacing above and below (typeset only)</a>
	<li><a href="#BREAK_QUOTE">Manually break a footnoted blockquote that crosses pages/columns</a>
</ol>
<p>
<a name="BLOCKQUOTE_GENERAL"><h3><u>1. Family/font/size/indent</u></h3></a>
<p>
See
<a href="#CONTROL_MACRO_ARGS">Arguments to the control macros</a>.
<p>
<pre>
.BLOCKQUOTE_FAMILY default = prevailing document family; default is Times Roman
.BLOCKQUOTE_FONT   default = italic
.BLOCKQUOTE_SIZE   default = -1 (point)
.QUOTE_INDENT      default = paragraph indent x 3 (typeset); x 2 (typewrite)</a>
                  (note that this macro also sets the left indent for quotes)
</pre>

<a name="ALWAYS_FULLSPACE_QUOTES"><h3><u>2. Spacing above and below -- ALWAYS_FULLSPACE_QUOTES (typeset only)</u></h3></a>
If you'd like <strong>mom</strong> always to put a full linespace above
and below blockquotes, invoke <strong>.ALWAYS_FULLSPACE_QUOTES</strong>
with no argument.  If you wish to restore <strong>mom</strong>'s
default behaviour regarding the spacing of blockquotes (see
<a href="#QUOTE_SPACING">above</a>),
invoke the macro with any argument (<strong>OFF, QUIT, END,
X</strong>...).
<p>
<strong>NOTE:</strong> This macro also sets <strong>mom</strong>'s
spacing policy for
<a href="#QUOTE_INTRO">quotes</a>.
<br>
<hr>

<!====================================================================>

<a name="LIST_INTRO"><h2><u>Nested lists</u></h2></a>
<ul>
	<li><a href="#LIST">Tag: LIST</a>
	<li><a href="#ITEM">Tag: ITEM</a>
	<li><a href="#LIST_CONTROL">LIST control macros</a>
</ul>
<p>
Lists are points or items of interest or importance that are
separated from
<a href="definitions.html#TERMS_RUNNING">running text</a>
by enumerators.  Some typical enumerators are
<a href="definitions.html#TERMS_EM">en-dashes</a>,
<a href="definitions.html#TERMS_BULLET">bullets</a>,
digits and letters.
<p>
Setting lists with <strong>mom</strong> is easy.  First, you
initialize a list with the <strong>LIST</strong> macro.  Then, for
every item in the list, you invoke the macro, <strong>ITEM</strong>,
followed by the text of the item.  When a list is finished, you
exit the list with <strong>LIST OFF</strong> (or
<strong>QUIT</strong>, <strong>END</strong>, <strong>X</strong>,
etc.)
<p>
By default <strong>mom</strong> starts each list with the enumerator
flush with the left margin of running text that comes before it,
like this:
<p>
<pre>
	My daily schedule needs organizing.  I can't
	seem to get everything done I want.
	o an hour's worth of exercise
	o time to prepare at least one healthy
	  meal per day
	o reading time
	o work on mom
	o writing
	  - changes from publisher
	  - current novel
	o a couple of hours at the piano
</pre>

In other words, <strong>mom</strong> does not, by default, indent
entire lists.  Indenting a list is controlled by the macro,
<a href="#"SHIFT_LIST>SHIFT_LIST</a>.
(This is a design decision; there are too many instances where a
default indent is not desirable.)  Equally, <strong>mom</strong>
does not add any extra space above or below lists.
<p>
Lists can be nested (as in the example above).  In other words, you
can set lists within lists, each with an enumerator (and possibly,
indent) of your choosing.  In nested lists, each invocation of
<strong>LIST OFF</strong> takes you back to the previous depth (or
level) of list, with that list's enumerator and indent intact.  The
final <strong>LIST OFF</strong> exits lists completely and returns
you to the left margin of running text.
<p>
Finally, lists can be used in documents created with either the
document processing macros or just the typesetting macros.
<br>

<!---LIST--->

<hr width="66%" align="left">
<p>
<a name="LIST">
	Macro: <strong>LIST</strong> <var>[ BULLET | DASH | DIGIT | ALPHA | USER ] [ &lt;separator&gt; | &lt;user-defined enumerator&gt; ] [ &lt;off&gt; ]</var></a>

<p>
Invoked by itself (i.e. with no argument), <strong>LIST</strong>
initializes a list (with bullets as the default enumerator).
Afterwards, each block of input text preceded by
<a href="#ITEM">.ITEM</a>,
on a line by itself, is treated as a list item.
<p>
The optional arguments <strong>BULLET</strong>,
<strong>DASH</strong>, <strong>DIGIT</strong> (for arabic
numerals), <strong>ALPHA</strong> (for lowercase letters) and
<strong>USER</strong> allow you to say what kind of enumerator you
want for a given list.
<p>
If you choose <strong>DIGIT</strong> or <strong>ALPHA</strong>, you
may enter the optional argument <strong>separator</strong> to say
what kind of separator you want after the enumerator.  The separator
can be anything you like.  The default for <strong>DIGIT</strong> is
a period (dot), like this:
<p>
<pre>
	1. A list item
</pre>

The default separator for <strong>ALPHA</strong> is a right
parenthesis, like this:
<p>
<pre>
	a) A list item
</pre>

If you want digits with a right-parenthesis separator, you'd do
<p>
<pre>
	.LIST DIGIT )
	.ITEM
	A list item
</pre>

which would produce
<p>
<pre>
	1) A list item
</pre>

<strong>BULLET</strong>, <strong>DASH</strong> and
<strong>USER</strong> do not take a separator.
<p>
<strong>USER</strong> lets you make up your own enumerator.  For
example, if you want a list enumerated with <strong>=&gt;</strong>,
<p>
<pre>
	.LIST USER =&gt;
	.ITEM
	A list item
</pre>

will produce

<p>
<pre>
	=&gt; A list item
</pre>

If the argument to <strong>USER</strong> contains spaces, you must
enclose the argument in double quotes.
<p>
Any single argument other than <strong>BULLET</strong>,
<strong>DASH</strong>, <strong>DIGIT</strong>,
<strong>ALPHA</strong> or <strong>USER</strong> takes you out of the
current list.  If you are at the first list-level (or -depth),
<strong>mom</strong> returns you to the left margin of running text.
Any indents that were in effect prior to setting the list are fully
restored.  If you are in a nested list, <strong>mom</strong> moves
you back one list-level and restores the enumerator, separator and
indent appropriate to that level.
<p>
Each invocation of <strong>LIST</strong> must be matched by a
corresponding <strong>LIST OFF</strong> in order to fully exit
lists.  For example, 
<p>
<pre>
	Lorem ipsum dolor sit amet, consetetur sadipscing elitr,
	sed diam nonumy eirmod tempor invidunt ut labore.
	o List item in level 1
	o List item in level 1
	  - List item in level 2
	  - List item in level 2
	Lorem ipsum dolor sit amet, consetetur sadipscing elitr,
	sed diam nonumy eirmod tempor invidunt ut labore.
</pre>

is created like this:
<p>
<pre>
	Lorem ipsum dolor sit amet, consetetur sadipscing elitr,
	sed diam nonumy eirmod tempor invidunt ut labore.
	.LIST BULLET
	.ITEM
	List item in level 1
	.ITEM
	List item in level 1
	.LIST DASH
	.ITEM
	List item in level 2
	.ITEM
	List item in level 2
	.LIST OFF    \" Turn level 2 list off
	.LIST OFF    \" Turn level 1 list off
	Lorem ipsum dolor sit amet, consetetur sadipscing elitr,
	sed diam nonumy eirmod tempor invidunt ut labore.
</pre>

<strong>NOTE:</strong> Every time you invoke <strong>LIST</strong>
to start a list (as opposed to exiting one), you must supply an
enumerator (and optionally, a separator) for the list, unless you
want <strong>mom</strong>'s default enumerator, which is a bullet.
Within nested lists, <strong>mom</strong> stores the enumerator,
separator and indent for any list you return <em>backwards</em> to
(i.e. with <strong>LIST OFF</strong>), but does not store any
information for lists you move <em>forward</em> to.
<br>

<hr width="33%" align="left">
<p>
<a name="ITEM">
	Macro: <strong>ITEM</strong>
<p>
After you've initialized a list with
<a href="#LIST">LIST</a>,
precede each item you want in the list with <strong>ITEM</strong>.
<strong>Mom</strong> takes care of everything else with respect to
setting the item appropriate to the list you're in.
<p>
In document processing, it is legal to have list items that contain
multiple paragraphs.  Simply issue a
<a href="#PP">PP</a>
request for each paragraph <em>following</em> the first item.
I.e., don't do this:
<p>
<pre>
	.ITEM
	.PP
	Some text...
	.PP
	A second paragraph of text
</pre>

but rather
<p>
<pre>
	.ITEM
	Some text...
	.PP
	A second paragraph of text
</pre>
<hr width="33%" align="left">

<a name="LIST_CONTROL"><h3><u>List control macros</u></h3></a>
<ol>
	<li><a href="#SHIFT_LIST">Indenting lists (SHIFT_LIST)</a>
	<li><a href="#RESET_LIST">Resetting an initialized list's enumerator (RESET_LIST)</a>
	<li><a href="#PAD_LIST_DIGITS">Padding digit enumerators (PAD_LIST_DIGITS)</a>
</ol>

<a name="SHIFT_LIST"><h3><u>1. Indenting lists -- SHIFT_LIST</u></h3></a>
<p>
If you want a list to be indented to the right of running text, or
indented to the right of a current list, use the macro
<strong>SHIFT_LIST</strong> immediately after
<a href="#LIST">LIST</a>.
<strong>SHIFT_LIST</strong> takes just one argument: the amount by
which you want the list shifted to the right.  The argument requires
a
<a href="definitions.html#TERMS_UNITOFMEASURE">unit of measure</a>,
<p>
<strong>SHIFT_LIST</strong> applies <em>only</em> to the list you
just initialized with <strong>LIST</strong>.  It does not carry
over from one invocation of <strong>LIST</strong> to the next.
However, the indent remains in effect when you <em>return</em> to a
list level in a nested list.
<p>
For example, if you want a 2-level list, with each list indented to
the right by 18
<a href="definitions.html#TERMS_PICASPOINTS">points</a>,
<p>
<pre>
	Lorem ipsum dolor sit amet, consetetur sadipscing elitr,
	sed diam nonumy eirmod tempor invidunt ut labore.
	.LIST           \" List 1
	.SHIFT_LIST 18p \" Indent 18 points right of running text
	.ITEM
	List 1 item
	.ITEM
	List 1 item
	.LIST DASH      \" List 2
	.SHIFT_LIST 18p \" Indent 18 points right of list 1
	.ITEM
	List 2 item
	.ITEM
	List 2 item
	.LIST OFF       \" Move back to list 1
	.ITEM
	List 1 item
	.ITEM
	List 1 item
	.LIST OFF       \" Exit lists
	Lorem ipsum dolor sit amet, consetetur sadipscing elitr,
	sed diam nonumy eirmod tempor invidunt ut labore.
</pre>

produces (approximately)
<p>
<pre>
	Lorem ipsum dolor sit amet, consetetur sadipscing elitr,
	sed diam nonumy eirmod tempor invidunt ut labore.
	    o List 1 item
	    o List 1 item
	        - List 2 item
	        - List 2 item
	    o List 1 item
	    o List 1 item
	Lorem ipsum dolor sit amet, consetetur sadipscing elitr,
	sed diam nonumy eirmod tempor invidunt ut labore.
</pre>

<a name="RESET_LIST"><h3><u>2. Resetting an initialized list's enumerator -- RESET_LIST</u></h3></a>
<p>
In nested lists, if your choice of list enumerator for a given level
of list is either <strong>DIGIT</strong> or <strong>ALPHA</strong>,
you may sometimes want to reset the list's enumerator back to
&quot;1&quot; or &quot;a&quot; when you return, within the nest, to
that list.  Consider the following:
<p>
<pre>
	Things to do religiously each and every day:
	1. Take care of the dog
	   a) walk every day
	   b) brush once a week
	      - trim around the eyes every fourth brushing
	      - don't forget to check nails
	2. Feed the cat
	   a) soft food on Mon., Wed. and Fri.
	   b) dry food on Tues., Thurs. and Sat.
	   c) canned tuna on Sunday
</pre>

Normally, within a nested list, when you return to an alpha- or
digit-enumerated list, the enumerator continues incrementing from
where it left off.  That means, in the example above, the normal
state of affairs for the alpha'ed list under &quot;2.  Feed the
cat&quot; would be c), d) and e).  The solution, in such a case, is
simply to reset the enumerator --before <strong>ITEM</strong>! --
with the macro, <strong>RESET_LIST</strong>.
<p>
<strong>RESET_LIST</strong> does exactly what it says -- resets the
list -- and doesn't take any arguments.
<p>
<a name="PAD_LIST_DIGITS"><h3><u>3. Padding digit enumerators (PAD_LIST_DIGITS)</a></u></h3></a>
<p>
When your choice of enumerators is <strong>DIGIT</strong> AND the
number of items in the list exceeds nine (9), you have to make a
design decision: should <strong>mom</strong> leave room for the
extra numeral in two-numeral digits to the right or the left of
the single-numeral digits?  If you want the extra space to the
right, just invoke the macro, <strong>PAD_LIST_DIGITS</strong> by
itself.  This will produce something like
<p>
<pre>
	8.  List item
	9.  List item
	10. List item
</pre>

If you want the extra space to the left, invoke
<strong>PAD_LIST_DIGITS</strong> with the single argument,
<strong>LEFT</strong>, which will produce
<p>
<pre>
	 8. List item
	 9. List item
	10. List item
</pre>

Of course, if the number of items in the list is less than ten
(10), there's no need for <strong>PAD_LIST_DIGITS</strong>.
<br>
<hr>

<!====================================================================>

<a name="FOOTNOTE_INTRO"><h2><u>Footnotes</u></h2></a>
<ul>
	<li><a href="#FOOTNOTE_BEHAVIOUR">Footnote behaviour</a>
	<li><a href="#FOOTNOTE">Tag: FOOTNOTE</a>
	<li><a href="#FOOTNOTE_CONTROL">FOOTNOTE control macros</a>
</ul>

<p>
For something so complex behind the scenes, footnotes are easy to use.
You just type, for example
<p>
<a name="FOOTNOTE_EXAMPLE"></a>
<pre>
	...the doctrines of Identity as urged by Schelling\c
	.FOOTNOTE
	&lt;footnote about who the hell is Schelling&gt;
	.FOOTNOTE OFF
	were generally the points of discussion presenting the most
	of beauty to the imaginative Morella.
</pre>

and be done with it.  (Note the obligatory use of the
<strong>\c</strong>
<a href="definitions.html#TERMS_INLINES">inline escape</a>.)
<strong>Mom</strong> takes care of everything:
putting footnote markers in the body of the document, keeping track
of how many footnotes are on the page, identifying the footnotes
themeselves appropriately, balancing them properly with the botton
margin, deferring footnotes that don't fit on the page...  Even if
you're using
<a href="columns.html#COLUMNS">COLUMNS</a>,
<strong>mom</strong> knows what to do, and Does The Right Thing.
<p>
Footnotes can be sly little beasts, though.  If you're writing a
document that's footnote-heavy, you might want to read the following.

<a name="FOOTNOTE_BEHAVIOUR"><h3><u>Footnote behaviour</u></h3></a>
<p>
By default, <strong>mom</strong> marks footnotes with
alternating stars (asterisks) and daggers.  The first footnote
gets a star, the second a dagger, the third two stars,
the fourth two daggers, etc.  If you prefer numbered footnotes, rest
assured <strong>mom</strong> is happy to oblige.
<p>
A small amount of vertical whitespace and a short horizontal rule
separate footnotes from the document body.  The amount of whitespace
varies slightly from page to page depending on the number of lines
in the  footnotes.  <strong>Mom</strong> tries for a nice balance
between too little whitespace and too much, but when push comes to
shove, she'll opt for ample over cramped.  The last lines of footnotes
are always flush with the document's bottom margin.
<p>
If <strong>mom</strong> sees that a portion of a footnote cannot
be fit on its page, she carries that portion over to the next
page.  If an entire footnote can't be fitted on its page (i.e.
<strong>FOOTNOTE</strong> has been called too close to the bottom),
she defers the footnote to the next page, but sets it with the
appropriate marker from the previous page.
<p>
In the unfortunate happenstance that a deferred footnote is the
only footnote on its page (i.e. it's marked in the document body with
a star) and the page it's deferred to has its own footnotes,
<strong>mom</strong> separates the deferred footnote from the page's
proper footnote(s) with a blank line.  This avoids the confusion that
might result from readers seeing two footnote entries on the same page
identified by a single star (or the number 1 if you've requested
numbered footnotes that begin at 1 on every page).  The blank line
makes it clear that the first footnote entry belongs to the previous
page.
<p>
In the circumstance where a deferred footnote is not the only one on
its page, and is consequently marked by something other than a single
star, there's no confusion and <strong>mom</strong> doesn't bother
with the blank line.  (By convention, the first footnote on a page is
always marked with a single star, so if readers see, say, a dagger or two
stars marking the first footnote entry, they'll know the entry belongs
to the previous page).
<p>
Obviously, deferred footnotes aren't an issue if you request numbered
footnotes that increase incrementally throughout the whole document --
yet another convenience <strong>mom</strong> has thought of.
<p>
Exceptionally, you may encounter problems with footnotes inside
quotes and blockquotes that cross a page or column.  See
<a href="#BREAK_QUOTE">BREAK_QUOTE</a>
for a solution.
<br>

<!---FOOTNOTE--->

<hr width="66%" align="left">
<p>
<a name="FOOTNOTE">
	Macro: <strong>FOOTNOTE</strong> <var>&lt;toggle&gt; | INDENT LEFT | RIGHT | BOTH &lt;indent value&gt;</var>
	<br>
	<em>*See <a href="#FOOTNOTE_NOTE">HYPER-IMPORTANT NOTE</a>!!!</em>
	<br>
	&lt;indent value&gt; requires a
	<a href="definitions.html#TERMS_UNITOFMEASURE">unit of measure</a></em>
</a>

<p>
<strong>FOOTNOTE</strong> is a toggle macro, therefore invoking it
on a line by itself allows you to enter a footnote in the body of a
document.  Invoking it with any argument <em>other than INDENT</em>
(i.e. <strong>OFF, QUIT, END, X...</strong>) tells <strong>mom</strong>
you're finished.
<p>
Footnotes are the only element of
<a href="definitions.html#TERMS_RUNNING">running text</a>
that are not affected by the typesetting
<a href="typesetting.html#INDENTS">indent macros</a>.
In the unlikely event that you want a page's footnotes to line
up with a running indent, invoke <strong>FOOTNOTE</strong> with
the <strong>INDENT</strong> argument and pass it an indent
direction and indent value.  <strong>L, R,</strong> and
<strong>B</strong> may be used in place of <strong>LEFT,
RIGHT,</strong> and <strong>BOTH</strong>.
<strong>FOOTNOTE</strong> must be invoked with <strong>INDENT</strong>
for every footnote you want indented; <strong>mom</strong> does
not save any footnote indent information from invocation to
invocation.
<p>
<strong>NOTE:</strong> If a footnote runs to more than one
paragraph(!), <strong>DO NOT</strong> begin the footnote with
the
<a href="#PP">PP</a>
tag.  Use <strong>PP</strong> only to introduce subsequent paragraphs.
<p>
<a name="FOOTNOTE_NOTE"><strong>HYPER-IMPORTANT NOTE:</strong></a>
The final word on the
<a href="definitions.html#TERMS_INPUTLINE">input line</a>
that comes immediately before <strong>FOOTNOTE</strong> MUST terminate
with a
<a href="typesetting.html#JOIN">\c</a>
inline escape.  Otherwise, the footnote marker for the word won't be attached to
it (i.e. <strong>mom</strong> will insert a word space between the word
and the marker).  See the
<a href="#FOOTNOTE_EXAMPLE">footnote example</a>
above.

<p>
<a name="FOOTNOTE_CONTROL"><h3><u>Footnote control macros</u></h3></a>
<ol>
	<li><a href="#FOOTNOTE_GENERAL">Family/font/size/lead/quad</a>
	<li><a href="#FOOTNOTE_MARKERS">Footnote markers</a> -- on or off
	<li><a href="#FOOTNOTE_MARKER_STYLE">Footnote marker style</a> -- star+dagger or numbered
	<li><a href="#RESET_FOOTNOTE_NUMBER">Reset footnote number</a> -- set footnote marker number to 1
	<li><a href="#FOOTNOTE_RULE">Footnote rule</a> -- on or off
	<li><a href="#FOOTNOTE_RULE_LENGTH">Footnote rule length</a> -- length of footnote separator rule
	<li><a href="#FOOTNOTE_RULE_ADJ">Adjust vertical position of footnote separator rule</a>
</ol>
<p>
<a name="FOOTNOTE_GENERAL"><h3><u>1. Family/font/size/quad/lead</u></h3></a>
<p>
See
<a href="#CONTROL_MACRO_ARGS">Arguments to the control macros</a>.
<p>
<pre>
.FOOTNOTE_FAMILY    default = prevailing document family; default is Times Roman
.FOOTNOTE_FONT      default = roman
.FOOTNOTE_SIZE      default = -2 (points)
.FOOTNOTE_AUTOLEAD  default = 2 points (typeset); single-spaced (typewrite)
.FOOTNOTE_QUAD      default = same as paragraphs
</pre>

<a name="FOOTNOTE_MARKERS"><h3><u>2. Footnote markers -- FOOTNOTE_MARKERS</u></h3></a>
If you don't want footnote markers, in either the body of
the document or beside footnote entries themselves, toggle
them off with <strong>.FOOTNOTE_MARKERS OFF</strong> (or
<strong>END, QUIT, X</strong>...).  This means, of course, that
you'll have to roll your own.  If you want them back on, invoke
<strong>.FOOTNOTE_MARKERS</strong> with no argument.  Footnote markers
are on by default.

<a name="FOOTNOTE_MARKER_STYLE"><h3><u>3. Footnote marker style -- FOOTNOTE_MARKER_STYLE</u></h3></a>
<strong>Mom</strong> gives you two choices of footnote marker style:
star+dagger (see 
<a href="#FOOTNOTE_BEHAVIOUR">footnote behaviour</a>
above), or numbered.
<p>
<strong>.FOOTNOTE_MARKER_STYLE STAR</strong> gives you star+dagger
(the default).  There is a limit of 10 footnotes per page with
this style.
<p>
<strong>.FOOTNOTE_MARKER_STYLE NUMBER</strong> gives you superscript
numbers, both in the document body and in the footnote entries
themselves.  By default, footnote numbers increase incrementally
(prev. footnote number + 1) throughout the whole document.  You can
ask <strong>mom</strong> to start each page's footnote numbers at 1
with <strong>.RESET_FOOTNOTE_NUMBER</strong> (see below).

<a name="RESET_FOOTNOTE_NUMBER"><h3><u>4. Reset footnote number -- RESET FOOTNOTE NUMBER</u></h3></a>
<strong>.RESET_FOOTNOTE_NUMBER</strong>, by itself, resets
footnote numbering so that the next footnote you enter is
numbered 1.
<p>
<strong>.RESET_FOOTNOTE_NUMBER PAGE</strong> tells
<strong>mom</strong> to start every page's footnote numbering at 1.

<a name="FOOTNOTE_RULE"><h3><u>5. Footnote rule -- FOOTNOTE_RULE</u></h3></a>
If you don't want a footnote separator rule, toggle it off with
<strong>.FOOTNOTE_RULE OFF</strong> (or <strong>END,
QUIT, X</strong>...).  Toggle it back on by invoking
<strong>.FOOTNOTE_RULE</strong> with no argument.  The default is to
print the rule.

<a name="FOOTNOTE_RULE_LENGTH"><h3><u>6. Footnote rule length -- FOOTNOTE_RULE_LENGTH</u></h3></a>
If you want to change the length of the footnote separator rule,
invoke <strong>.FOOTNOTE_RULE_LENGTH</strong> with a length, like
this,
<p>
<pre>
	.FOOTNOTE_RULE_LENGTH 1i
</pre>

which sets the length to 1 inch.  Note that a
<a href="definitions.html#TERMS_UNITOFMEASURE">unit of measure</a>
is required.  The default is 4
<a href="definitions.html#TERMS_PICASPOINTS">picas</a>
for both
<a href="docprocessing.html#PRINTSTYLE">printstyles</a>.
<a name="FOOTNOTE_RULE_ADJ"><h3><u>7. Adjust vertical position of footnote separator rule -- FOOTNOTE_RULE_ADJ</u></h3></a>
The footnote separator rule is actually a baseline rule that falls
on the
<a href="definitions.html#TERMS_BASELINE">baseline</a>
of the first line of a page's footnotes.  By default,
<strong>mom</strong> raises the rule 3
<a href="definitions.html#TERMS_PICASPOINTS">points</a>
from the baseline so that the separator and the footnotes don't
look jammed together.  If you'd prefer a different vertical
adjustment, invoke <strong>.FOOTNOTE_RULE_ADJ</strong> with the
amount you'd like.  For example
<p>
<pre>
	.FOOTNOTE_RULE_ADJ 4.25p
</pre>

raises the rule by 4-1/4 points.  Note that you can only raise
the rule, not lower it.  A
<a href="definitions.html#TERMS_UNITOFMEASURE">unit of measure</a>
is required.
<br>
<hr>

<!====================================================================>

<a name="FINIS_INTRO"><h2><u>Terminate document processing</u></h2></a>
<ul>
	<li><a href="#FINIS">Tag: FINIS</a>
	<li><a href="#FINIS_STRING">Changing the FINIS string</a>
</ul>

<p>
The use of <strong>FINIS</strong> is optional.  If you invoke it
(at the end of a document before
<a href="#TOC">TOC</a>
or
<a href="#ENDNOTES">ENDNOTES</a>),
<strong>mom</strong> turns off
<a href="definitions.html#TERMS_FOOTER">footers</a>
(if they're on) and page numbering (if page
numbers are at the bottom of the page) and deposits the word
END, centered after a blank line, beneath the last
line of the document.  END is enclosed between
<a href="definitions.html#TERMS_EM">em-dashes</a>.
<p>
If you're writing in a language other than English, you can
change what <strong>mom</strong> prints for END with
the control macro <strong>FINIS_STRING</strong>.
<br>

<!---FINIS--->

<hr width="66%" align="left">
<p>
<a name="FINIS">
	Macro: <strong>FINIS</strong>
</a>

<p>
The use of <strong>FINIS</strong> is optional, but if you use
it, it should be the last macro you invoke in a document (before
<a href="#ENDNOTES">ENDNOTES</a>
or
<a href="#TOC">TOC</a>).
See
<a href="#FINIS_INTRO">above</a>
for a description of how <strong>FINIS</strong> behaves.
<p>
<strong>NOTE:</strong> If you don't use <strong>FINIS</strong>,
and you don't want
<a href="definitions.html#TERMS_FOOTER">footers</a>
(if they're on) or a page number at the bottom of the last page of
a document, you have to turn them off manually, as the last two
lines of your document file, like this:
<p>
<pre>
	.FOOTERS OFF
	.PAGINATE OFF
</pre>

<a name="FINIS_STRING"><h3><u>Changing the FINIS string</u></h3></a>

<p>
By default, <strong>FINIS</strong> prints the word
END between
<a href="definitions.html#TERMS_EM">em-dashes</a>.
If you'd like <strong>mom</strong> to print something else
between the dashes, use the <strong>FINIS_STRING</strong> macro
(anywhere in the document prior to <strong>FINIS</strong>).
<p>
For example, if your document's in French, you'd do
<p>
<pre>
	.FINIS_STRING "FIN"
</pre>

Double-quotes must enclose the macro's argument.
<p>
<strong>NOTE:</strong> If you pass <strong>FINIS_STRING</strong>
a blank string, i.e.
<p>
<pre>
	.FINIS_STRING ""
</pre>

<strong>mom</strong> will still print the em-dashes if you
invoke <strong>FINIS</strong>.  This, in effect, produces a
short, centered horizontal rule that terminates the document.
(In
<a href="docprocessing.html.#PRINTSTYLE">PRINTSTYLE TYPEWRITE</a>,
it's a short, dashed line composed of four hyphens.)

<br>
<hr>

<!====================================================================>

<a name="ENDNOTE_INTRO"><h2><u>Endnotes</u></h2></a>
<ul>
	<li><a href="#ENDNOTE_BEHAVIOUR">Endnote behaviour</a>
	<ul>
		<li><a href="#ENDNOTE_SPACING">A Note on Endnote Spacing</a>
		<li><a href="#ENDNOTE_COLUMNS">Endnotes and columnar documents</a>
	</ul>
	<li><a href="#ENDNOTE">Tag: ENDNOTE</a>
	<li><a href="#ENDNOTES">Macro: ENDNOTES</a> -- tell <strong>mom</strong> to output endnotes
	<li><a href="#ENDNOTE_CONTROL">ENDNOTES control macros</a>
</ul>

<p>
Embedding endnotes into <strong>mom</strong> documents is accomplished
the same way as embedding
<a href="#FOOTNOTE_INTRO">footnotes</a>.  The example below is
identical to the one shown in the
<a href="#FOOTNOTE_EXAMPLE">introduction to footnotes</a>,
except that <kbd>.FOOTNOTE</kbd> has been replaced with
<kbd>.ENDNOTE</kbd>.
<p>
<a name="ENDNOTE_EXAMPLE"></a>
<pre>
	...the doctrines of Identity as urged by Schelling\c
	.ENDNOTE
	&lt;endnote about who the hell is Schelling&gt;
	.ENDNOTE OFF
	were generally the points of discussion presenting the most
	of beauty to the imaginative Morella.
</pre>

As with footnotes, note the obligatory use of the <strong>\c</strong>
<a href="definitions.html#TERMS_INLINES">inline escape</a>.
<p>
Endnotes differ from footnotes in two ways (other than the fact that
endnotes come at the end of a document whereas footnotes appear in the
body of the document):
<br>
<ol>
    <li>Endnotes are always numbered incrementally throughout a
	    document.  In other words, you don't get a choice of marker styles,
	    as you do with footnotes.
	<li>Endnotes MUST be output explicitly; <strong>mom</strong> does
		not output them for you.  In
		<a href="rectoverso.html#COLLATE">collated</a>
		documents, this allows you to choose whether you
		want the endnotes to appear at the end of each chapter or
		section, or grouped together at the very end of the document.
</ol>
<p>
Within endnotes, you may use the document element tags
<a href="#PP">PP</a>,
<a href="#QUOTE">QUOTE</a>
and
<a href="#BLOCKQUOTE">BLOCKQUOTE</a>.
This provides the flexibility to create endnotes that run to several
paragraphs, as well as to embed cited text within endnotes.
<p>
Should you wish to change the appearance of quotes or blockquotes that
appear within endnotes, you may do so with the
<a href="#QUOTE_CONTROL">quote control macros</a>
or
<a href="#BLOCKQUOTE_CONTROL">blockquote control macros</a>.
HOWEVER... you must make the changes <em>within</em> each endnote, prior
to invoking <strong>QUOTE</strong> or <strong>BLOCKQUOTE</strong>, and
undo them prior to terminating the endnote (i.e. before <strong>ENDNOTE
OFF</strong>), otherwise the changes will affect subsequent quotes and
blockquotes that appear in the document body as well.

<a name="ENDNOTE_BEHAVIOUR"><h3><u>Endnote behaviour</u></h3></a>
<p>
When you output endnotes (with
<a href="#ENDNOTES">ENDNOTES</a>),
<strong>mom</strong> finishes processing the last page of your document,
then breaks to a new page for printing the endnotes.  If the document
type is
<a href="docprocessing.html#DOCTYPE">CHAPTER</a>,
the centre part of the
<a href="definitions.html#TERMS_HEADER">header</a>
(or footer), which, by default, contains a chapter number or title, is
removed.
<p>
By default, <strong>mom</strong> starts the endnotes page with a
bold, centered, double-underscored head, &quot;ENDNOTES&quot;.
Underneath--flush left, bold, and underscored--she prints the document
title (or, in the case of chapters, the chapter number or title).  She
then prints the endnotes.  Each endnote is identified by its appropriate
number, in bold, right aligned to two placeholders.  The text of the
endnotes themselves is indented to the right of the numbers.
<p>
If the endnotes are grouped together at the end of a collated document,
each section of the document that contains endnotes is identified by its
own unique title (or chapter number or title), bold, flush left, and
underscored.
<p>
Of course, all the defaults, as well as the overall style of the
endnotes page, can be changed with the
<a href="#ENDNOTE_CONTROL">endnote control macros</a>.
The attentive will notice that endnotes have an awful lot of control
macros.  This is because endnotes are like a mini-document unto
themselves, and therefore need not be bound by the style parameters of
the body of the document.

<a name="ENDNOTE_SPACING">
	<h3><u>A Note on Endnote Spacing</u></h3>
</a>
<p>
On the endnotes page(s), each new endnote is separated from the
previous endnote by a full line space.  This can result in a bottom
margin that hangs, and is the one instance, other than the use of
<a href="#PP_SPACE">PARA_SPACE</a>,
where <strong>mom</strong> allows unequal bottom alignment of pages.
Should you wish to correct this, by adding or subtracting small amounts
of space between endnotes that appear together on an endnote page, make
the adjustment (with
<a href="typesetting.html#ALD">ALD</a>,
<a href="typesetting.html#RLD">RLD</a>
or
<a href="typesetting.html#SPACE">SPACE</a>)
<em>at the end of each endnote</em> (i.e. just before invoking
<a href="#ENDNOTE">ENDNOTE OFF</a>)
rather than at the top.

<a name="ENDNOTE_COLUMNS">
	<h3><u>Endnotes and columnar documents</u></h3>
</a>
<p>
Formerly (pre 1.1.6), there was no way to set a document in columns
(see
<a href="docprocessing.html#COLUMNS">COLUMNS</a>)
and then turn off column mode for endnotes.  As of version 1.1.6,
you may now do so.  See
<a href="#ENDNOTES_NO_COLUMNS">ENDNOTES_NO_COLUMS</a>.
<br>
<hr>

<!---ENDNOTE--->

<p>
<a name="ENDNOTE">
	Macro: <strong>ENDNOTE</strong> <var>&lt;toggle&gt;</var>
	<br>
	<em>*See <a href="#ENDNOTE_NOTE">HYPER-IMPORTANT NOTE</a>!!!</em>
</a>

<p>
<strong>ENDNOTE</strong> is a toggle macro, therefore invoking it
on a line by itself allows you to enter an endnote in the body of a
document.  Invoking it with any other argument 
(i.e. <strong>OFF, QUIT, END, X...</strong>) tells <strong>mom</strong>
that you've finished the endnote.
<p>
<strong>NOTE:</strong> If an endnote runs to more than one paragraph,
<strong>DO NOT</strong> begin the endnote with the
<a href="#PP">PP</a>
tag.  Use <strong>PP</strong> only to introduce subsequent paragraphs.
<p>
<a name="ENDNOTE_NOTE"><strong>HYPER-IMPORTANT NOTE:</strong></a>
The final word on the
<a href="definitions.html#TERMS_INPUTLINE">input line</a>
that comes immediately before <strong>ENDNOTE</strong> MUST terminate
with a
<a href="typesetting.html#JOIN">\c</a>
inline escape.  Otherwise, the endnote number for the word won't be attached to
it (i.e. <strong>mom</strong> will insert a word space between the word
and the number).  See the
<a href="#ENDNOTE_EXAMPLE">endnote example</a>
above.
<br>

<!---ENDNOTES--->

<hr width="66%" align="left">
<p>
<a name="ENDNOTES">Macro: <strong>ENDNOTES</strong></a>

<p>
Unlike footnotes, which <strong>mom</strong> automatically outputs at the
bottom of pages, endnotes must be explicitly output by you, the user.
<strong>ENDNOTES</strong>, by itself (i.e. without any argument), is
the macro to do this.
<p>
Typically, you'll use <strong>ENDNOTES</strong> at the end of
a document.  If it's a single (i.e. not collated) document,
<strong>mom</strong> will print the endnotes pertaining to it.  If it's
a collated document, <strong>mom</strong> will print all the endnotes
contained within all sections of the document (typically chapters),
appropriately identified and numbered.
<p>
Should you wish to output the endnotes for each section of a collated
document at the ends of the sections (instead of at the very end of the
document), simply invoke <strong>ENDNOTES</strong> immediately prior to
<a href="rectoverso.html#COLLATE">COLLATE</a>.
<strong>Mom</strong> will print the endnotes, identified and numbered
appropriately, on a separate page prior to starting the next section of
the document.  Each subsequent invocation of <strong>ENDNOTES</strong>
outputs only those endnotes that <strong>mom</strong> collected
after the previous invocation.
<br>
<hr width="66%" align="left">

<a name="ENDNOTE_CONTROL"><h3><u>Endnote control macros</u></h3></a>
<p>
Every time you embed an endnote in the body of a document,
<strong>mom</strong> collects <em>and processes</em> the endnote for
later outputting when you invoke
<a href="#ENDNOTES">ENDNOTES</a>.
For this reason, endnote control macros should always be invoked prior
to the first instance of
<a href="#ENDNOTE">ENDNOTE/ENDNOTE OFF</a>.
<br>
<ol>
	<li><a href="#ENDNOTES_GENERAL"><strong>General endnotes-pages style control</strong></a>
		<ul>
			<li><a href="#ENDNOTE_GENERAL">Base family/font/quad for endnotes-pages</a>
			<li><a href="#ENDNOTE_PT_SIZE">Base point size for the endnotes-pages</a>
			<li><a href="#ENDNOTE_LEAD">Leading of endnotes-pages</a>
			<li><a href="#SINGLESPACE_ENDNOTES">Singlespace endnotes (for TYPEWRITE only)</a>
			<li><a href="#ENDNOTE_PARA_INDENT">Size of paragraph first line indent in multi-paragraph endnotes</a>
			<li><a href="#ENDNOTE_PARA_SPACE">Inserting space between paragraphs of multi-paragraph endnotes</a>
			<li><a href="#ENDNOTES_NO_COLUMNS">Turning off column mode during endnotes output</a>
			<li>Pagination of endnotes
			<ul>
				<li><a href="#ENDNOTES_PAGENUM_STYLE">Endnotes-pages page numbering style</a>
				<li><a href="#ENDNOTES_FIRST_PAGENUMBER">Setting the first page number of endnotes pages</a>
				<li><a href="#ENDNOTES_NO_FIRST_PAGENUM">Omitting a page number on the first page of endnotes</a>
			</ul>
			<li><a href="#SUSPEND_PAGINATION">Suspending pagination of endotes pages</a>
		</ul>
	<li><a href="#ENDNOTES_HEADER_CONTROL"><strong>Endnotes-page header/footer control</strong></a>
		<ul>
			<li><a href="#ENDNOTES_MODIFY_HDRFTR">Modifying what goes in the endnotes-pages header/footer</a>
			<li><a href="#ENDNOTES_HDRFTR_CENTER">Enabling a header/footer centre when doctype is CHAPTER</a>
			<li><a href="#ENDNOTES_ALLOWS_HEADERS">Allow headers on endnotes-pages</a>
		</ul>
	<li><a href="#ENDNOTES_MAIN_TITLE"><strong>Endnotes-page head (i.e. the title at the top) control</strong></a>
		<ul>
			<li><a href="#ENDNOTE_STRING">Creating/modifying the endnotes-page head</a>
			<li><a href="#ENDNOTE_STRING_CONTROL">Endnotes-page head control</a>
			<li><a href="#ENDNOTE_STRING_UNDERSCORE">Endnotes-page head underscoring</a>
			<li><a href="#ENDNOTE_STRING_CAPS">Endnotes-page head capitalisation</a>
		</ul>
	<li><a href="#ENDNOTES_DOC_TITLE"><strong>Endnote document-identification title</strong></a>
		<ul>
			<li><a href="#ENDNOTE_TITLE">Creating/modifying the endnote document-identification title</a>
			<li><a href="#ENDNOTE_TITLE_CONTROL">Document-identification title control</a>
			<li><a href="#ENDNOTE_TITLE_UNDERSCORE">Document-identification title underscoring</a>
		</ul>
	<li><a href="#ENDNOTES_NUMBERING"><strong>Endnotes-pages endnote numbering style</strong></a>
		<ul>
			<li><a href="#ENDNOTE_NUMBER_CONTROL">Endnotes-pages endnote numbering style control</a>
			<li><a href="#ENDNOTE_NUMBER_ALIGNMENT">Endnote numbering alignment</a>
			<ul>
				<li><a href="#ENDNOTE_NUMBERS_ALIGN_RIGHT">ENDNOTE_NUMBERS_ALIGN_RIGHT</a>
				<li><a href="#ENDNOTE_NUMBERS_ALIGN_LEFT">ENDNOTE_NUMBERS_ALIGN_LEFT</a>
			</ul>
		</ul>
</ol>
<hr>

<a name="ENDNOTES_GENERAL"><h2><u>1. General endnotes page style control</u></h2>

<a name="ENDNOTE_GENERAL"><h3><u>*Endnote family/font/quad</u></h3></a>
<p>
See
<a href="#CONTROL_MACRO_ARGS">Arguments to the control macros</a>.
<p>
<pre>
.ENDNOTE_FAMILY    default = prevailing document family; default is Times Roman
.ENDNOTE_FONT      default = roman
.ENDNOTE_QUAD      default = justified
</pre>

<!---ENDNOTE_PT_SIZE--->

<a name="ENDNOTE_PT_SIZE"><h3><u>*Endnote point size</u></h3></a>
<p>
Macro: <strong>ENDNOTE_PT_SIZE</strong> <var>&lt;base type size of endnotes&gt;</var>

<p>
Unlike most other control macros that deal with size of document
elements, <strong>ENDNOTE_PT_SIZE</strong> takes as its argument an
absolute value, relative to nothing.  Therefore, the argument represents
the size of endnote type in
<a href="definitions.html#TERMS_PICASPOINTS">points</a>,
unless you append an alternative
<a href="definitions.html#TERMS_UNITOFMEASURE">unit of measure</a>.
For example,
<p>
<pre>
	.ENDNOTE_PT_SIZE 12
</pre>

sets the base point size of type on the endnotes page to 12
points, whereas
<p>
<pre>
	.ENDNOTE_PT_SIZE .6i
</pre>

sets the base point size of type on the endnotes page to 1/6 of an
inch.
<p>
The type size set with <strong>ENDNOTE_PT_SIZE</strong> is the size of
type used for the text of the endnotes, and forms the basis from which
the point size of other endnote page elements is calculated.
<p>
The default for
<a href="docprocessing.html#PRINTSTYLE">PRINTSTYLE TYPESET</a>
is 12.5 points (the same default size used in the body of the document).

<!---ENDNOTE_LEAD--->

<a name="ENDNOTE_LEAD"><h3><u>*Endnote lead</u></h3></a>
<p>
Macro: <strong>ENDNOTE_LEAD</strong> <var>&lt;base leading of endnotes&gt; [ ADJUST ] </var>
<br>
<em>*Does not require a <a href="definitions.html#TERMS_UNITOFMEASURE">unit of measure</a>; points is assumed</em>

<p>
Unlike most other control macros that deal with leading of document
elements, <strong>ENDNOTE_LEAD</strong> takes as its argument an
absolute value, relative to nothing.  Therefore, the argument represents
the
<a href="definitions.html#TERMS_LEADING">leading</a>
of endnotes in
<a href="definitions.html#TERMS_PICASPOINTS">points</a>
unless you append an alternative
<a href="definitions.html#TERMS_UNITOFMEASURE">unit of measure</a>.
For example,
<p>
<pre>
	.ENDNOTE_LEAD 14
</pre>

sets the base leading of type on the endnotes page to 14
points, whereas
<p>
<pre>
	.ENDNOTE_LEAD .5i
</pre>

sets the base leading of type on the endnotes page to 1/2 inch.
<p>
If you want the leading of endnotes adjusted to fill the page, pass
<strong>ENDNOTE_LEAD</strong> the optional argument
<strong>ADJUST</strong>.  (See
<a href="docprocessing.html#DOC_LEAD_ADJUST">DOC_LEAD_ADJUST</a>
for an explanation of leading adjustment.)
<p>
The default for
<a href="docprocessing.html#PRINTSTYLE">PRINTSTYLE TYPESET</a>
is 14 points, adjusted.
<p>
<strong>NOTE:</strong> Even if you give <strong>mom</strong> a
<strong>DOC_LEAD_ADJUST OFF</strong> command, she will still, by
default, adjust endnote leading.  You MUST enter
<strong>ENDNOTE_LEAD &lt;lead&gt;</strong> with no
<strong>ADJUST</strong> argument to disable this default behaviour.

<!---SINGLESPACE_ENDNOTES--->

<a name="SINGLESPACE_ENDNOTES"><h3><u>*Singlespace endnotes (TYPEWRITE only)</u></h3></a>
<p>
Macro: <strong>SINGLESPACE_ENDNOTES</strong> <var>&lt;toggle&gt;</var>

<p>
If your 
<a href="docprocessing.html#PRINTSTYLE">PRINTSTYLE</a>
is <strong>TYPEWRITE</strong> and you use TYPEWRITE's default
double-spacing, endnotes are double-spaced.  If your document is
single-spaced, endnotes are single-spaced.
<p>
If, for some reason, you'd prefer that endnotes be single-spaced
in an otherwise double-spaced document (including double-spaced
<a href="rectoverso.html#COLLATE">collated</a> documents), invoke
<strong>SINGLESPACE_ENDNOTES</strong> with no argument.  And if,
god help you, you want to change endnote single-spacing back to
double-spacing for different spacing of endnotes output at the ends
of separate docs in a collated doc, invoke
<strong>SINGLESPACE_ENDNOTES</strong> with any argument(<strong>OFF,
QUIT, Q, X</strong>...).

<!---ENDNOTE_PARA_INDENT--->

<a name="ENDNOTE_PARA_INDENT"><h3><u>*Endnote paragraph indenting</u></h3></a>
<p>
Macro: <strong>ENDNOTE_PARA_INDENT</strong> <var>&lt;amount to indent first line of paragraphs in endnotes&gt;</var>
<br>
<em>*Requires a <a href="definitions.html#TERMS_UNITOFMEASURE">unit of measure</a></em>

<p>
<strong>ENDNOTE_PARA_INDENT</strong> works exactly the same way as
<a href="#PARA_INDENT">PARA_INDENT</a>,
except that the indent given is the amount by which to indent the first
lines of endnote paragraphs, not document body paragraphs.
<p>
The default is 1.5
<a href="definitions.html#TERMS_EM">ems</a>
for
<a href="docprocessing.html#PRINTSTYLE">PRINTSTYLE TYPESET</a>;
1/2 inch for
<a href="docprocessing.html#PRINTSTYLE">PRINTSTYLE TYPEWRITE</a>.

<p>
<strong>NOTE:</strong> The first line of the first paragraph of endnotes
(the one attached immediately to the identifying endnote number) is
never indented.  Only subsequent paragraphs are affected by
<strong>ENDNOTE_PARA_INDENT</strong>.  

<!---ENDNOTE_PARA_SPACE--->

<a name="ENDNOTE_PARA_SPACE"><h3><u>*Endnote paragraph spacing</u></h3></a>
<p>
Macro: <strong>ENDNOTE_PARA_SPACE</strong> <var>&lt;toggle&gt;</var>

<p>
<strong>ENDNOTE_PARA_SPACE</strong> works exactly the same way as
<a href="#PP_SPACE">PARA_SPACE</a>,
except that it inserts a blank line between endnote paragraphs, not
document body paragraphs.
<p>
The default is not to insert a blank line between paragraphs in
endnotes.
<p>
<strong>NOTE:</strong> Each endnote itself is always separated from any
previous endnote by a line space.  <strong>ENDNOTE_PARA_SPACE</strong>
refers only to paragraphs that appear within each discrete endnote.

<!---ENDNOTES_NO_COLUMNS--->

<a name="ENDNOTES_NO_COLUMNS"><h3><u>*Turning off column mode during endnotes output</u></h3></a>
<p>
Macro: <strong>ENDNOTES_NO_COLUMNS</strong> <var>&lt;toggle&gt;</var>

<p>
By default, if your document is
<a href="columns.html#COLUMNS">set in columns</a>,
<strong>mom</strong> sets the endnotes in columns, too.  However,
if your document is set in columns and you'd like the endnotes not
to be, just invoke <strong>ENDNOTES_NO_COLUMNS</strong> with no
argument.  The endnotes pages will be set to the full page measure
of your document.
<p>
If you output endnotes at the end of each document in a
<a href="rectoverso.html#COLLATE">collated</a>
document set in columns, column mode will automatically
be reinstated for each document, even with
<strong>ENDNOTES_NO_COLUMNS</strong> turned on.

<!---ENDNOTES_PAGENUM_STYLE--->

<a name="ENDNOTES_PAGENUM_STYLE"><h3><u>*Endnotes-pages page numbering style</u></h3></a>
<p>
Macro: <strong>ENDNOTES_PAGENUM_STYLE</strong> <var>DIGIT | ROMAN | roman | ALPHA | alpha</var>

<p>
Use this macro to set the page numbering style of endnotes pages.
The arguments are identical to those for
<a href="headfootpage.html#PAGENUM_STYLE">PAGENUM_STYLE</a>.
The default is <strong>digit</strong>.  You may want to change it
to, say, <strong>alpha</strong>, which you would do with
<p>
<pre>
	.ENDNOTES_PAGENUM_STYLE alpha
</pre>

<!---ENDNOTES_FIRST_PAGENUMBER--->

<a name="ENDNOTES_FIRST_PAGENUMBER"><h3><u>*Setting the first page number of endnotes pages</u></h3></a>
<p>
Macro: <strong>ENDNOTES_FIRST_PAGENUMBER</strong> <var>&lt;page # that appears on page 1 of endnotes&gt;</var>

<p>
Use this macro with caution.  If all endnotes for several
<a href="rectoverso.html#COLLATE">collated</a>
documents are to be output at once, i.e. not at the end of each
separate doc, <strong>ENDNOTES_FIRST_PAGENUMBER</strong> tells
<strong>mom</strong> what page number to put on the first page of
the endnotes.
<p>
If you set <strong>ENDNOTES_FIRST_PAGENUMBER</strong> in collated
documents where the endnotes are output after each separate doc,
you have to reset every separate document's first page number after
<a href="rectoverso.html#COLLATE">COLLATE</a>
and before
<a href="docprocessing.html#START">START</a>.

<!---ENDNOTES_NO_FIRST_PAGENUN--->

<a name="ENDNOTES_NO_FIRST_PAGENUM"><h3><u>*Omitting a page number on the first page of endnotes</u></h3></a>
<p>
Macro: <strong>ENDNOTES_NO_FIRST_PAGENUM</strong> <var>&lt;toggle&gt;</var>

<p>
This macro is for use only if <strong>FOOTERS</strong> are on.  It
tells
<a href="#ENDNOTES">ENDNOTES</a>
not to print a page number on the first endnotes page.
<strong>Mom</strong>'s default is to print the page number.

<!---SUSPEND_PAGINATION--->

<a name="SUSPEND_PAGINATION"><h3><u>*Suspending pagination of endnotes pages</u></h3></a>
<p>
Macro: <strong>SUSPEND_PAGINATION</strong>
<br>
Macro: <strong>RESTORE_PAGINATION</strong>

<p>
<strong>SUSPEND_PAGINATION</strong> doesn't take an argument.
Invoked immediately prior to
<a href="#ENDNOTES">ENDNOTES</a>,
it turns off endnotes pages pagination.  <strong>Mom</strong>
continues, however to increment page numbers silently.
<p>
To restore normal document pagination after endnotes, invoke
<strong>RESTORE_PAGINATION</strong> (again, with no argument)
immediately after <strong>ENDNOTES</strong>.

<a name="ENDNOTES_HEADER_CONTROL"><h2><u>2. Endnotes-page header/footer control</u></h2></a>
<p>
<a name="ENDNOTES_MODIFY_HDRFTR"></a>
If you wish to modify what appears in the header/footer that appears
on endnotes page(s), make the changes before you invoke
<a href="#ENDNOTES">ENDNOTES</a>,
not afterwards.
<p>
Except in the case of
<a href="docprocessing.html#DOCTYPE">DOCTYPE CHAPTER</a>,
<strong>mom</strong> prints the same header or footer used throughout
the document on the endnotes page(s).  Chapters get treated differently
in that, by default, <strong>mom</strong> does not print the
header/footer centre string (normally the chapter number or chapter
title.)  In most cases, this is what you want.  However, should you
<em>not</em> want <strong>mom</strong> to remove the centre string from
the endnotes page(s) headers/footers, invoke
<a href="#ENDNOTES_HDRFTR_CENTER">ENDNOTES_HEADER_CENTER</a>
with no argument. 
<p>
An important change you may want to make is to put the word
&quot;Endnotes&quot; in the header/footer center position.
To do so, do
<p>
<pre>
	.HEADER_CENTER "Endnotes"
	           or
	.FOOTER_CENTER "Endnotes"
</pre>

prior to invoking <strong>.ENDNOTES</strong>.  If your
<a href="docprocessing.html#DOCTYPE">DOCTYPE</a>
is <kbd>CHAPTER</kbd>, you must also invoke
<a href="#ENDNOTES_HDRFTR_CENTER">ENDNOTES_HEADER_CENTER</a>
for the <strong>HEADER_CENTER</strong> to appear.

<a name="ENDNOTES_HDRFTR_CENTER"><h3><u>*Endnotes page(s) header/footer center string</u></h3></a>
<p>
Macro: <strong>ENDNOTES_HEADER_CENTER</strong> <var>toggle</var>

<p>
If your
<a href="docprocessing.html#DOCTYPE">DOCTYPE</a>
is <kbd>CHAPTER</kbd> and you want <strong>mom</strong> to include
a centre string in the headers/footers that appear on endnotes pages,
invoke <strong>ENDNOTES_HEADER_CENTER</strong> (or
<strong>ENDNOTES_FOOTER_CENTER</strong>) with no argument.
<strong>Mom</strong>'s default is NOT to print the center string.
<p>
If, for some reason, having enabled the header/footer center string
on endnotes pages, you wish to disable it, invoke the same macro
with any argument (<strong>OFF, QUIT, Q, X</strong>...).

<a name="ENDNOTES_ALLOWS_HEADERS"><h3><u>*Allow headers on endnotes_pages</u></h3></a>
<p>
Macro: <strong>ENDNOTES_ALLOWS_HEADERS</strong> <var>&lt;none&gt; | ALL</var>

<p>
By default, if <strong>HEADERS</strong> are on, <strong>mom</strong>
prints page headers on all endnotes pages except the first.  If you
don't want her to print headers on endnotes pages, do
<p>
<pre>
	.ENDNOTES_ALLOWS_HEADERS OFF
</pre>

If you want headers on every page <em>including the first</em>, do
<p>
<pre>
	.ENDNOTES_ALLOWS_HEADERS ALL
</pre>

<strong>NOTE:</strong> If <strong>FOOTERS</strong> are on,
<strong>mom</strong> prints footers on every endnotes page.  This is
a style convention.  In <strong>mom</strong>, there is no such beast
as <strong>ENDNOTES_ALLOWS_FOOTERS OFF</strong>.

<a name="ENDNOTES_MAIN_TITLE"><h2><u>3. Endnotes-page first page head (title) control</u></h2>

<!---ENDNOTE_STRING--->

<a name="ENDNOTE_STRING"><h3><u>*Endnotes-page first page head (title) string</u></h3></a>
<p>
Macro: <strong>ENDNOTE_STRING</strong> <var>&quot;&lt;head to print at the top of endnotes&gt;&quot;</var>

<p>
By default, <strong>mom</strong> prints the word &quot;ENDNOTES&quot;
as a head at the top of the first page of endnotes.  If you want her
to print something else, invoke <strong>ENDNOTE_STRING</strong> with
the endnotes-page head you want, surrounded by double-quotes.  If
you don't want a head at the top of the first endnotes-page, invoke
<strong>ENDNOTE_STRING</strong> with a blank argument (either two
double-quotes side by side -- <kbd>&quot;&quot;</kbd> -- or no argument
at all).

<!---ENDNOTE_STRING_CONTROL--->

<a name="ENDNOTE_STRING_CONTROL"><h3><u>*Endnotes-page first page head (title) control</u></h3></a>
<p>
See
<a href="#CONTROL_MACRO_ARGS">Arguments to the control macros</a>.
<p>
<pre>
.ENDNOTE_STRING_FAMILY    default = prevailing document family; default is Times Roman
.ENDNOTE_STRING_FONT*     default = bold
.ENDNOTE_STRING_SIZE      default = +1
.ENDNOTE_STRING_QUAD      default = centered

*Relative to the size of the endnotes text (set with ENDNOTE_PT_SIZE)
</pre>

<!---ENDNOTE_STRING_UNDERSCORE--->

<a name="ENDNOTE_STRING_UNDERSCORE"><h3><u>*Endnotes-page head (title) underscoring</h3></u></a>
<p>
Macro: <strong>ENDNOTE_STRING_UNDERSCORE</strong> <var>toggle | 2</var>

<p>
Invoked by itself, <strong>ENDNOTE_STRING_UNDERSCORE</strong> will
underscore the endnotes-page head.  Invoked with the argument 2
(i.e. the digit 2), <strong>ENDNOTE_STRING_UNDERSCORE</strong> will
double-underscore the head.  Invoked with any other argument, the macro
disables underscoring of the head.
<p>
<strong>Mom</strong>'s default is to double-underscore the
head, therefore if you want no underscoring, you must insert
<kbd>.ENDNOTE_STRING_UNDERSCORE OFF</kbd> (or <kbd>QUIT, X, NO,
NONE,</kbd> etc.) into your document prior to outputting endnotes with
<a href="#ENDNOTES">ENDNOTES</a>.

<!---ENDNOTE_STRING_CAPS--->

<a name="ENDNOTE_STRING_CAPS"><h3><u>*Endnotes-page head (title) automatic capitalisation</h3></u></a>
<p>
Macro: <strong>ENDNOTE_STRING_CAPS</strong> <var>toggle</var>

<p>
Invoked by itself, <strong>ENDNOTE_STRING_CAPS</strong> will
automatically capitalise the endnotes-page head.  Invoked with any
other argument, the macro disables automatic capitalisation of the
head.
<p>
If you're generating a table of contents, you may want the
endnotes-pages head string in caps, but the toc entry in caps/lower
case.  If the argument to
<a href="#ENDNOTE_STRING">ENDNOTE_STRING</a>
is in caps/lower case and <strong>ENDNOTE_STRING_CAPS</strong> is
on, this is exactly what will happen.
<p>
<strong>Mom</strong>'s default is to capitalise the endnotes-pages
head string.

<!---ENDNOTE_TITLE--->

<a name="ENDNOTES_DOC_TITLE"><h2><u>4. Endnote document-identification title</u></h2>
<a name="ENDNOTE_TITLE"><h3><u>*Endnote document-identification title string</u></h3></a>
<p>
Macro: <strong>ENDNOTE_TITLE</strong> <var>&quot;&lt;title to identify a document in endnotes&gt;&quot;</var>

<p>
By default, <strong>mom</strong> identifies the document(s) to which
endnotes belong by the document title(s) given to the
<a href="docprocessing.html#TITLE">TITLE</a>
macro.  If you'd want her to identify the document(s) another way,
just invoke <strong>ENDNOTE_TITLE</strong> with the identifying
title you want, surrounded by double-quotes.
<p>
If you don't want any identifying title, invoke
<strong>ENDNOTE_TITLE</strong> with a blank argument (either two
double-quotes side by side -- <kbd>&quot;&quot;</kbd> -- or no
argument at all).  This is particularly useful if you have a single
(i.e. non-collated) document and find having the document's title
included in the endnotes redundant.

<!---ENDNOTE_TITLE_CONTROL--->

<a name="ENDNOTE_TITLE_CONTROL"><h3><u>*Endnote document-identification title control</u></h3></a>
<p>
See
<a href="#CONTROL_MACRO_ARGS">Arguments to the control macros</a>.
<p>
<pre>
.ENDNOTE_TITLE_FAMILY    default = prevailing document family; default is Times Roman
.ENDNOTE_TITLE_FONT      default = bold
.ENDNOTE_TITLE_SIZE*     default = 0
.ENDNOTE_TITLE_QUAD      default = left

*Relative to the size of the endnotes text (set with ENDNOTE_PT_SIZE)
</pre>

<!---ENDNOTE_TITLE_UNDERSCORE--->

<a name="ENDNOTE_TITLE_UNDERSCORE"><h3><u>*Endnote document-identification title underscoring</h3></u></a>
<p>
Macro: <strong>ENDNOTE_TITLE_UNDERSCORE</strong> <var>toggle</var>

<p>
Inovked by itself, <strong>ENDNOTE_TITLE_UNDERSCORE</strong> will
underscore the endnote document-identification title(s).  Invoked with any
other argument, the macro disables underscoring of the title(s).
<p>
<strong>Mom</strong>'s default is to underscore the document-identification title, therefore if you want no underscoring, you must
insert <kbd>.ENDNOTE_TITLE_UNDERSCORE OFF</kbd> (or <kbd>QUIT, X, NO,
NONE,</kbd> etc.) into your document prior to outputting endnotes with
<a href="#ENDNOTES">ENDNOTES</a>.

<!---ENDNOTE_NUMBERING--->

<a name="ENDNOTES_NUMBERING"><h2><u>5. Endnotes-pages endnote numbering style</u></h2>

<a name="ENDNOTE_NUMBER_CONTROL"><h3><u>*Endnote numbering style control</u></h3></a>
<p>
See
<a href="#CONTROL_MACRO_ARGS">Arguments to the control macros</a>.
<p>
Please note that the control macros for endnote numbering affect only
the numbers that appear on the endnotes pages themselves, not the
endnote numbers that appear in the body of the document(s).
<p>
<pre>
.ENDNOTE_NUMBER_FAMILY    default = prevailing document family; default is Times Roman
.ENDNOTE_NUMBER_FONT      default = bold
.ENDNOTE_NUMBER_SIZE*     default = 0

*Relative to the size of the endnotes text (set with ENDNOTE_PT_SIZE)
</pre>

<a name="ENDNOTE_NUMBER_ALIGNMENT"><h3><u>*Endnote numbering alignment</u></h3></a>
<p>
By default, <strong>mom</strong> hangs the numbers on endnotes pages,
aligned right to two placeholders, producing this:
<p>
<a name="ENDNOTE_NUMBERING_ALIGNMENT_EXAMPLE"></a>
<pre>
	 9. Lorem ipsum dolor sit amet, consetetur sadipscing elitr,
	    sed diam nonumy eirmod tempor invidunt ut labore et
	    dolore magna aliquyam erat, sed diam voluptua.

	10. Lorem ipsum dolor sit amet, consetetur sadipscing elitr,
	    sed diam nonumy eirmod tempor invidunt ut labore et
	    dolore magna aliquyam erat, sed diam voluptua.
</pre>

The macros to alter this behaviour are
<br>
<ul>
	<li><a href="#ENDNOTE_NUMBERS_ALIGN_RIGHT"><strong>ENDNOTE_NUMBERS_ALIGN_RIGHT</strong></a>
	<li><a href="#ENDNOTE_NUMBERS_ALIGN_LEFT"><strong>ENDNOTE_NUMBERS_ALIGN_LEFT</strong></a>
</ul>
<br>
<hr width="66%" align="left">

<!---ENDNOTE_NUMBERS_ALIGN_RIGHT--->

<p>
<a name="ENDNOTE_NUMBERS_ALIGN_RIGHT">
	Macro: <strong>ENDNOTE_NUMBERS_ALIGN_RIGHT</strong> <var>&lt;number of placeholders&gt;</var>
</a>
<p>
<strong>ENDNOTE_NUMBERS_ALIGN_RIGHT</strong> takes one (non-optional)
argument: the number of placeholders to reserve for right alignment of
endnote numbers.
<p>
For example, if you have fewer than ten endnotes, you might want to do
<p>
<pre>
	.ENDNOTE_NUMBERS_ALIGN_RIGHT 1
</pre>

which would ensure that the endnote numbers hang, but are all flush
with the page's left margin.  If, god help you, you have over a hundred
endnotes, you'd want to do
<p>
<pre>
	.ENDNOTE_NUMBERS_ALIGN_RIGHT 3
</pre>

to ensure that the numbers hang and are properly right-aligned.
<br>
<hr width="66%" align="left">

<!---ENDNOTE_NUMBERS_ALIGN_LEFT--->

<p>
<a name="ENDNOTE_NUMBERS_ALIGN_LEFT">
	Macro: <strong>ENDNOTE_NUMBERS_ALIGN_LEFT</strong>
</a>
<p>
If you don't want the endnote numbers to hang and right-align, invoke
<strong>ENDNOTE_NUMBERS_ALIGN_LEFT</strong>, which doesn't require any
argument.  This disables hanging and right-alignment of endnote numbers,
so that the example
<a href="#ENDNOTE_NUMBERING_ALIGNMENT_EXAMPLE">above</a>
comes out like this:
<p>
<pre>
	9. Lorem ipsum dolor sit amet, consetetur sadipscing elitr,
	sed diam nonumy eirmod tempor invidunt ut labore et
	dolore magna aliquyam erat, sed diam voluptua.

	10. Lorem ipsum dolor sit amet, consetetur sadipscing elitr,
	sed diam nonumy eirmod tempor invidunt ut labore et
	dolore magna aliquyam erat, sed diam voluptua.
</pre>

<br>
<hr>

<!====================================================================>

<a name="TOC_INTRO"><h2><u>Table of contents</u></h2></a>
<ul>
	<li><a href="#TOC_BEHAVIOUR">TOC behaviour</a>
	<li><a href="#TOC">Macro: TOC</a> -- tell <strong>mom</strong> to output a table of contents
	<li><a href="#TOC_CONTROL">TOC control macros</a>
</ul>

<p>
Want a table of contents for your document?  Easy.  Just enter
<p>
<pre>
	.TOC
</pre>

as the very last macro of your document file. <strong>Mom</strong>
will have picked up all document titles (in
<a href="docprocessing.html#COLLATE">collated</a>
documents), all heads, subheads, and paragraph heads, as well as any
endnotes pages that have been output, and assigned them the
appropriate page number (and page numbering style).  Talk about a
no-brainer!

That said, tables of contents (tocs) have even more control macros
than endnotes.  As always, the reason for so many control macros is
so that if you want to change just about any aspect of the toc's
typographic appearance, you can.  <strong>Mom</strong> is all about
simplicity AND flexibility.

<a name="TOC_BEHAVIOUR"><h3><u>TOC behaviour</u></h3></a>
<p>
When you output a toc (with
<a href="#TOC">TOC</a>),
<strong>mom</strong> finishes processing the last page of your document,
then breaks to a new page for printing the toc.
<p>
<strong>Mom</strong> follows standard typesetting conventions for
tables of contents.  To this end, if
<a href="headfootpage.html#HEADERS">HEADERS</a>
are on for the document, the first page of the toc has no page
header, but does have a first page (roman numeral) number, always
&quot;1&quot;, in the bottom margin.  If
<a href="headfootpage.html#FOOTERS">FOOTERS</a>
are on for the document, the first page has neither a footer, nor a
page number in the top margin.  (If you absolutely must have a page
footer on the first page of the toc, simply invoke
<a href="headfootpage.html#FOOTER_ON_FIRST_PAGE">FOOTER_ON_FIRST_PAGE</a>
immediately before <strong>TOC</strong>.)  Subsequent toc pages have
both page headers or footers and a page number.
<p>
Entries in the toc are hierarchically indented, as you would
expect.  By default, each type of entry (e.g. a head or a subhead)
is set in a different font as well.  If any of heads, subheads or
paragraph heads are numbered in the body of the document, they are
also numbered in the toc.  Head numbering in the toc is NOT
concatenated as it is in the body of the document, which would be
visually redundant in a toc.
<p>
Tocs are never set in columns, regardless of whether the rest of
the document is.  Lastly, if
<a href="rectoverso.html#RECTO_VERSO">recto/verso</a>
printing is enabled, the toc respects it.  This sometimes leads to
tocs that begin with the wrong margins, but the margins can be
corrected either by outputting a
<a href="#BLANK_PAGE">BLANKPAGE</a>
or by using the toc control macro
<a href="#TOC_RV_SWITCH">TOC_RV_SWITCH</a>.
<p>
The overall toc
<a href="definitions.html#TERMS_FAMILY">family</a>,
<a href="definitions.html#TERMS_PS">point size</a>
and
<a href="definitions.html#TERMS_LEADING">lead</a>
can be altered with the toc 
<a href="definitions.html#TERMS_CONTROLMACRO">control macros</a>,
as can the family,
<a href="definitions.html#TERMS_FONT">font</a>,
point size and indent of each type of toc entry (i.e. title, head,
subhead, paragraph head).  Furthermore, the page numbering style
can be changed, as can the amount of visual space reserved for toc
entry page numbers.
<br>

<!---TOC--->

<hr width="66%" align="left">
<p>
<a name="TOC">Macro: <strong>TOC</strong></a>

<p>
If you want a toc, just put <strong>TOC</strong> as the last macro
in a document.  <strong>Mom</strong> takes care of the rest.
<br>
<hr width="66%" align="left">

<a name="TOC_CONTROL"><h3><u>TOC control macros</u></h3></a>
<p>
Toc entries are not actually processed when <strong>mom</strong>
collects them, so you can put any toc control macros anywhere you
like in your document.  Some may prefer to place them at the top of
the file.  Others may prefer to place them just before outputting
the toc.  The choice is yours.
<br>
<ol>
	<li><a href="#TOC_GENERAL"><strong>General toc page style control</strong></a>
		<ul>
			<li><a href="#TOC_FAMILY">Base family for toc pages</a>
			<li><a href="#TOC_PT_SIZE">Base point size for toc pages</a>
			<li><a href="#TOC_LEAD">Leading of toc pages</a>
		</ul>
	<li><a href="#TOC_PAGENUMBERING"><strong>Toc page numbering</strong></a>
		<ul>
			<li><a href="#PAGINATE_TOC">Turn toc pagination on or off</a>
			<li><a href="#TOC_PAGENUM_STYLE">Toc page numbering style</a>
		</ul>
	<li><a href="#TOC_HEADER"><strong>Changing the toc header (title), string and style</strong></a>
		<ul>
			<li><a href="#TOC_HEADER_STRING">Changing the string (title)</a>
			<li><a href="#TOC_HEADER_STYLE">Changing the string (title) style</a>
		</ul>
	<li><a href="#TOC_STYLE"><strong>Changing the style for toc entries</strong></a>
	    <ul>
	        <li><a href="#TOC_INDENT">The toc _INDENT control macros</a>
	        <li><a href="#TOC_TITLE">Changing the style for toc title entries</a>
	        <li><a href="#TOC_HEAD">Changing the style for toc head entries</a>
	        <li><a href="#TOC_SUBHEAD">Changing the style for toc subhead entries</a>
	        <li><a href="#TOC_PARAHEAD">Changing the style for toc paragraph head entries</a>
	        <li><a href="#TOC_PN">Changing the style for toc page number listings</a>
	    </ul>
	<li><a href="#TOC_ADDITIONAL"><strong>Additional toc control macros</strong></a>
	    <ul>
	        <li><a href="#TOC_APPENDS_AUTHOR">Append author(s) to toc title entries</a>
	        <li><a href="#TOC_RV_SWITCH">TOC_RV_SWITCH</a>
	        <li><a href="#TOC_PADDING">TOC_PADDING</a>
	    </ul>
</ol>
<hr>

<a name="TOC_GENERAL"><h2><u>1. General toc page style control</u></h2>

<a name="TOC_FAMILY"><h3><u>*Toc family</u></h3></a>
<p>
See
<a href="#CONTROL_MACRO_ARGS">Arguments to the control macros</a>.
<p>
Set the family of toc pages with <strong>TOC_FAMILY</strong>, which
establishes the default family for every element of a toc page,
including the toc title (&quot;Contents&quot;) and the page number
in the top or bottom margin.  The default is the prevailing document
family.
<p>
All elements on a toc page also have their own _FAMILY
control macros, which override the default set by
<strong>TOC_FAMILY</strong>.
<!---TOC_PT_SIZE--->

<a name="TOC_PT_SIZE"><h3><u>*Toc point size</u></h3></a>
<p>
Macro: <strong>TOC_PT_SIZE</strong> <var>&lt;base type size of the toc&gt;</var>

<p>
Unlike most other control macros that deal with size of document
elements, <strong>TOC_PT_SIZE</strong> takes as its argument an
absolute value, relative to nothing.  Therefore, the argument
represents the size of toc type in
<a href="definitions.html#TERMS_PICASPOINTS">points</a>,
unless you append an alternative
<a href="definitions.html#TERMS_UNITOFMEASURE">unit of measure</a>.
For example,
<p>
<pre>
	.TOC_PT_SIZE 12
</pre>

sets the base point size of type for the toc to 12 points, whereas
<p>
<pre>
	.TOC_PT_SIZE .6i
</pre>

sets the base point size of type for the toc to 1/6 of an inch.
<p>
The type size set with <strong>TOC_PT_SIZE</strong> forms the basis
from which the point size of other toc page elements are calculated.
<p>
The default for
<a href="docprocessing.html#PRINTSTYLE">PRINTSTYLE TYPESET</a>
is 12.5 points (the same default size used in the body of the
document).

<!---TOC_LEAD--->

<a name="TOC_LEAD"><h3><u>*Toc lead</u></h3></a>
<p>
Macro: <strong>TOC_LEAD</strong> <var>&lt;leading of the toc&gt; [ ADJUST ]</var>
<br>
<em>*Does not require a <a href="definitions.html#TERMS_UNITOFMEASURE">unit of measure</a>; points is assumed</em>

<p>
Unlike most other control macros that deal with leading of document
elements, <strong>TOC_LEAD</strong> takes as its argument an
absolute value, relative to nothing.  Therefore, the argument
represents the
<a href="definitions.html#TERMS_LEADING">leading</a>
of tocs in
<a href="definitions.html#TERMS_PICASPOINTS">points</a>
unless you append an alternative
<a href="definitions.html#TERMS_UNITOFMEASURE">unit of measure</a>.
For example,
<p>
<pre>
	.TOC_LEAD 14
</pre>

sets the base leading of type on the endnotes page to 14
points, whereas
<p>
<pre>
	.TOC_LEAD .5i
</pre>

sets the base leading of type on the endnotes page to 1/2 inch.
<p>
If you want the leading of toc pages adjusted to fill the
page, pass <strong>TOC_LEAD</strong> the optional argument
<strong>ADJUST</strong>.  (See
<a href="docprocessing.html#DOC_LEAD_ADJUST">DOC_LEAD_ADJUST</a>
for an explanation of leading adjustment.)
<p>
The default for
<a href="docprocessing.html#PRINTSTYLE">PRINTSTYLE TYPESET</a>
is the prevailing document lead (16 by default), adjusted.
<p>
<strong>NOTE:</strong> Even if you give <strong>mom</strong> a
<strong>DOC_LEAD_ADJUST OFF</strong> command, she will still, by
default, adjust toc leading.  You MUST enter
<strong>TOC_LEAD &lt;lead&gt;</strong> with no
<strong>ADJUST</strong> argument to disable this default behaviour.
<p>
<strong>ADDITIONAL NOTE:</strong> Tocs are always double-spaced in
<strong>PRINTSTYLE TYPEWRITE</strong>, regardless of whether the
body of the document is single-spaced.

<a name="TOC_PAGENUMBERING"><h2><u>2. Toc page numbering</u></h2></a>
<p>
The page numbering of toc pages is controlled by the same macros
that control
<a href="headfootpage.html#PAGINATION">document page numbering</a>,
except
<a href="headfootpage.html#PAGENUM">PAGENUM</a>
(tocs always start on page 1).  The defaults are the same as the
rest of the document.
<p>
If you wish to change some aspect of toc pagination, use the
document pagination control macros immediately prior to
<strong>.TOC</strong>.
<p>
A special macro,
<a href="#TOC_PAGENUM_STYLE">TOC_PAGENUM_STYLE</a>
controls the style of toc pages page numbers.
<br>

<hr width="33%" align="left">

<!---PAGINATE_TOC--->

<p>
<a name="PAGINATE_TOC">
	Macro: <strong>PAGINATE_TOC</strong> <var>&lt;toggle&gt;</var>
</a>
<p>
By default, <strong>mom</strong> paginates the toc.  If you'd like
her not to, do 
<p>
<pre>
	.PAGINATE_TOC OFF
</pre>

<strong>NOTE:</strong> Simply invoking <strong>PAGINATION
OFF</strong> or <strong>PAGINATE OFF</strong> disables toc
pagination <em>for the first toc page only.</em> You MUST use
<strong>.PAGINATE_TOC OFF</strong> to disable toc pagination, even
if pagination is turned off elsewhere in your document.

<p>
<hr width="33%" align="left">
<p>

<!---TOC_PAGENUM_STYLE--->

<a name="TOC_PAGENUM_STYLE">
	Macro: <strong>TOC_PAGENUM_STYLE</strong> <var>&lt;DIGIT | ROMAN | roman | ALPHA | alpha&gt;</var>
</a>
<p>
By default, <strong>mom</strong> uses roman numerals to number
toc pages.  Use <strong>TOC_PAGENUM_STYLE</strong>if you'd prefer
something else.  For example, to have standard digits instead of
roman numerals, do the following:
<p>
<pre>
	.TOC_PAGENUM_STYLE DIGIT
</pre>

<br>
<hr width="33%" align="left">
<br>

<a name="TOC_HEADER"><h2><u>3. Changing the toc header (title) string and style</u></h2></a>
<p>
The toc header string is the title that appears at to top of the
toc.  By default, it's &quot;Contents&quot;.  If you'd like
something else, say, &quot;Table of Contents&quot;, do
<p>
<a name="TOC_HEADER_STRING"></a>
<pre>
	.TOC_HEADER_STRING "Table of Contents"
</pre>

<a name="TOC_HEADER_STYLE"></a>
The style of the toc header (title) is managed by the usual control
macros (see
<a href="#CONTROL_MACRO_ARGS">arguments to the control macros</a>).
<p>
<pre>
	.TOC_HEADER_FAMILY  default = prevailing doc family (Times Roman in TYPEWRITE)
	.TOC_HEADER_FONT    default = bold
	.TOC_HEADER_SIZE    default = +4
	.TOC_HEADER_QUAD    default = left
</pre>

<a name="TOC_STYLE"><h2><u>4. Changing the style for toc entries</u></h2></a>
<p>
&quot;Toc entries&quot; refers to titles, heads, subheads and
paragraph heads as they appear in the toc.  Their style is managed
by the usual
<a href="definitions.html#TERMS_CONTROLMACRO">control macros</a>,
starting with TOC_

<a name="TOC_INDENT"><h3><u>The toc _INDENT control macros</u></h3></a>
<p>
The toc control macros that end in _INDENT all take a single
argument that requires a
<a href="definitions.html#TERMS_UNITOFMEASURE">unit of measure</a>.
The argument is the distance to indent the entry from the left
margin.  For example,
<p>
<pre>
	.TOC_HEAD_INDENT 2P
</pre>

indents head entries 2
<a href="definitions.html#TERMS_PICASPOINTS">picas</a>
from the left margin.

<a name="TOC_TITLE"><h3><u>*Changing the style for toc title entries</u></h3></a>
<p>
(See
<a href="#CONTROL_MACRO_ARGS">arguments to the control macros</a>).
<p>
Toc title entries are the titles of documents that have been
<a href="rectoverso.html#COLLATE">collated</a>
together.
<p>
<pre>
	.TOC_TITLE_FAMILY  default = prevailing doc family (Times Roman in TYPEWRITE)
	.TOC_TITLE_FONT    default = bold italic
	.TOC_TITLE_SIZE    default = +0
	.TOC_TITLE_INDENT  default = 0 for TYPESET and TYPEWRITE
</pre>

<a name="TOC_HEAD"><h3><u>*Changing the style for toc head entries</u></h3></a>
<p>
(See
<a href="#CONTROL_MACRO_ARGS">arguments to the control macros</a>).
<p>
Toc head entries are main heads that appear in the body of a
document.
<p>
<pre>
	.TOC_HEAD_FAMILY  default = prevailing doc family (Times Roman in TYPEWRITE)
	.TOC_HEAD_FONT    default = bold
	.TOC_HEAD_SIZE    default = +.5
	.TOC_HEAD_INDENT  default = 18p for TYPESET; 2m for TYPEWRITE
</pre>

<a name="TOC_SUBHEAD"><h3><u>*Changing the style for toc subhead entries</u></h3></a>
<p>
(See
<a href="#CONTROL_MACRO_ARGS">arguments to the control macros</a>).
<p>
Toc subhead entries are subheads that appear in the body of a
document.
<p>
<pre>
	.TOC_SUBHEAD_FAMILY  default = prevailing doc family (Times Roman in TYPEWRITE)
	.TOC_SUBHEAD_FONT    default = roman
	.TOC_SUBHEAD_SIZE    default = +0
	.TOC_SUBHEAD_INDENT  default = 30p for TYPESET; 4m for TYPEWRITE
</pre>

<a name="TOC_PARAHEAD"><h3><u>*Changing the style for toc paragraph head entries</u></h3></a>
<p>
(See
<a href="#CONTROL_MACRO_ARGS">arguments to the control macros</a>).
<p>
Toc paragraph head entries are paragraph heads that appear in the
body of a document.
<p>
<pre>
	.TOC_PARAHEAD_FAMILY  default = prevailing doc family (Times Roman in TYPEWRITE)
	.TOC_PARAHEAD_FONT    default = italic
	.TOC_PARAHEAD_SIZE    default = +0
	.TOC_PARAHEAD_INDENT  default = 42p for TYPESET; 6m for TYPEWRITE
</pre>

<a name="TOC_PN"><h3><u>*Changing the style for toc paragraph page number listings</u></h3></a>
<p>
(See
<a href="#CONTROL_MACRO_ARGS">arguments to the control macros</a>).
<p>
Toc paragraph head entries are paragraph heads that appear in the
body of a document.
<p>
<pre>
	.TOC_PN_FAMILY  default = prevailing doc family (Times Roman in TYPEWRITE)
	.TOC_PN_FONT    default = roman
	.TOC_PN_SIZE    default = +0
</pre>

<a name="TOC_ADDITIONAL"><h2><u>5. Additional toc macros</u></h2></a>
<p>
The following macros allow you to switch page margins should
they be incorrect for recto/verso printing, to establish how
many placeholders to leave for page listings, and to have
<strong>mom</strong> append author(s) to toc title entries.

<br>
<hr width="33%" align="left">

<!---TOC_RV_SWITCH--->

<p>
<a name="TOC_RV_SWITCH">
	Macro: <strong>TOC_RV_SWITCH</strong>
</a>
<p>
<strong>TOC_RV_SWITCH</strong> doesn't take an argument.  It simply
instructs <strong>mom</strong> to switch the left and right margins
of
<a href="rectoverso.html#RECTO_VERSO">recto/verso</a>
documents should the toc happen to begin on an even page when you
want an odd, or vice versa.
<p>
The same result can be accomplished by outputting a
<a href="#BLANK_PAGE">BLANKPAGE</a>.

<br>
<hr width="33%" align="left">

<!---TOC_APPENDS_AUTHOR--->

<p>
<a name="TOC_APPENDS_AUTHOR">
	Macro: <strong>TOC_APPENDS_AUTHOR</strong> <var>&lt;none&gt; | &lt;&quot;name(s) of authors&quot;&gt;</var>
</a>
<p>
In certain kinds of collated documents, different authors are
responsible for the articles or stories contained within them.  In
such documents, you may wish to have the author or authors
appended to the toc's title entry for each story or article.
<p>
If you invoke <strong>TOC_APPENDS_AUTHOR</strong> with no argument,
<strong>mom</strong> appends the first argument you passed to
<a href="docprocessing.html#AUTHOR">AUTHOR</a>
to toc title entries, separated by a front-slash.
<p>
If you invoke <strong>TOC_APPENDS_AUTHOR</strong> with an argument
(surrounded by double-quotes), <strong>mom</strong> will append it
to the toc title entries instead.  This is useful if you have
multiple authors you wish to identify by last name only.  For
example, if three authors--Joe Blough, Jane Doe, and John
Deere--are responsible for a single article
<p>
<pre>
	.TOC_APPENDS_AUTHOR "Blough et al."
</pre>

would be a good way to identify them in the toc.

<br>
<hr width="33%" align="left">

<!---TOC_PADDING--->

<p>
<a name="TOC_PADDING">
	Macro: <strong>TOC_PADDING</strong> <var>&lt;# of placeholders to allow for page number listings&gt</var>
</a>
<p>
By default, <strong>mom</strong> allows room for 3 digits in the
page number listings of tocs.  If you'd like some other number of
placeholders, say 2, do
<p>
<pre>
	.TOC_PADDING 2
</pre>

<br>
<hr>

<!====================================================================>

<a name="BLANK_PAGE_TITLE"><h2><u>Inserting a blank page into the document</u></h2></a>
<p>
<a name="BLANK_PAGE">
	Macro: <strong>BLANKPAGE</strong> <var>&lt;# of blank pages to insert&gt;</var>
</a>

<p>
This one does exactly what you'd expect -- inserts a blank page into
the document. <strong>Mom</strong> silently increments the page
number of every blank page and keeps track of
<a href="rectoverso.html#RECTO_VERSO">recto/verso</a>
stuff, but otherwise, does nothing.  It's up to you, the user, to
figure out what to do with this feature.  However, it's worth
noting that without it, inserting completely blank pages, to use
a vernacular Québécois phrase, &quot;c'est pas évident&quot;
(somewhere between &quot;isn't easy&quot;, &quot;isn't
obvious&quot; and &quot;isn't fun&quot;).
<p>
The argument to <strong>BLANK_PAGE</strong> is the number of blank
pages to insert.  The argument is not optional, hence even if you
only want one blank page, you have to tell <strong>mom</strong>:
<p>
<pre>
	.BLANKPAGE 1
</pre>

<p>
<hr>
<a href="headfootpage.html#TOP">Next</a>&nbsp;&nbsp;
<a href="docprocessing.html#TOP">Prev</a>&nbsp;&nbsp;
<a href="#TOP">Top</a>&nbsp;&nbsp;
<a href="toc.html">Back to Table of Contents</a>
</body>
</html>