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
|
.TH GROFF_MOM 7 "7 November 2018" "Groff Version 1.22.3"
.SH NAME
groff_mom \- groff `mom' macros, `mom' is a `roff' language, part of `groff'
.
.\" The .SH was moved to this place in order to appease `apropos'.
.
.\" --------------------------------------------------------------------
.\" Legalese
.\" --------------------------------------------------------------------
.
.de co
Copyright \[co] 2002-2014 Free Software Foundation, Inc.
This file is part of groff, a free software project.
You can redistribute it and/or modify it under the terms of the GNU
General Public License as published by the "Free Software Foundation",
either version 3 of the License, or (at your option) any later
version.
You should have received a copy of the GNU General Public License
along with groff, see the files COPYING and LICENSE in the top
directory of the groff Text source package.
Or read the manpage
.BR gpl (1).
You can also visit <http://www.gnu.org/licenses/>.
..
.
.de au
mom was written by
.MT peter@schaffter.ca
Peter Schaffter
.ME
and revised by
.MT wl@gnu.org
Werner Lemberg
.ME .
PDF support was provided by
.MT deri@chuzzlewit.demon.co.uk
Deri James
.ME .
The alphabetical documentation of macros and escape seqauences in this
man\-page were written by the
.I mom
team.
..
.
.\" --------------------------------------------------------------------
.\" Setup
.\" --------------------------------------------------------------------
.
.ds Ellipsis \&.\|.\|.\&\"
.
.hw line-space
.
.
.\" --------------------------------------------------------------------
.\" .FONT (<font name> <text> [<font name> <text> ...])
.\"
.\" Print in different fonts: R, I, B, CR, CI, CB
.\"
.de FONT
. if (\\n[.$] = 0) \{\
. nop \&\f[P]\&
. return
. \}
. ds result \&
. while (\\n[.$] >= 2) \{\
. as result \,\f[\\$1]\\$2
. if !"\\$1"P" .as result \f[P]\""
. shift 2
. \}
. if (\\n[.$] = 1) .as result \,\f[\\$1]
. nh
. nop \\*[result]\&
. hy
..
.
.
.do nr groff_mom_C \n[.C]
.cp 0
.
.de TQ
.br
.ns
.TP \\$1
..
.
.
.\" --------------------------------------------------------------------
.SH "SYNOPSIS"
.\" --------------------------------------------------------------------
.
.SY pdfmom
.OP \-Tps "\fR[pdfroff options]"
[groff options]
.I files \*[Ellipsis]
.YS
.
.SY groff
.OP \-mom
.I files \*[Ellipsis]
.YS
.
.SY groff
.OP "\-m mom"
.I files .\|.\|.
.YS
.
.
.\" --------------------------------------------------------------------
.SH CALLING MOM
.\" --------------------------------------------------------------------
.
.B mom
is a macro set for
.BR groff ,
designed primarily to format documents for
.I PDF
and
.I PostScript
output.
.
.
.P
.B mom
provides two categories of macros: macros for typesetting, and
macros for document processing.
.
The typesetting macros provide access to groff\[aq]s typesetting
capabilities in ways that are simpler to master than groff\[aq]s
primitives.
.
The document processing macros provide highly customizable markup
tags that allow the user to design and output professional-looking
documents with a minimum of typesetting intervention.
.
.
.P
Files processed with
.BR pdfmom (1)
with or without the
.RI \-T ps
option, produce
.I PDF
documents.
.
The documents include a
.I PDF
outline that appears in the \[oq]Contents\[cq] panel of document
viewers, and may contain clickable internal and external links.
.
.
.P
When
.RI \-T ps
is absent,
.B groff\[aq]s
native
.I PDF
driver,
.BR gropdf ,
is used to generate the output.
.
When given, the output is still
.IR PDF ,
but processing is passed over to
.BR pdfroff ,
which uses
.B groff\[aq]s
PostScript driver,
.BR grops \&.
Not all
.I PDF
features are available when
.RI \-T ps
is given; its primary use is to allow processing of files with
embedded
.I PostScript
images.
.
.
.P
Files processed with
.B groff \-mom
(or
.BI "\-m " mom\c
) produce
.I PostScript
output by default.
.
.
.P
.B mom
comes with her own very complete documentation in
.I HTML
format.
.
A separate
.IR "PDF manual" ,
.I Producing PDFs
with groff and
.BR mom ,
covers full
.B mom
or
.I PDF
usage.
.
.
.\" --------------------------------------------------------------------
.SH FILES
.\" --------------------------------------------------------------------
.
.TP
.B om.tmac
\[en] the main macro file
.TQ
.B mom.tmac
\[en] a wrapper file that calls om.tmac directly.
.
.TP
.B \%/usr/share/doc/groff-1.22.3/html/\:mom/\:toc.html
\[en] entry point to the HTML documentation
.
.TP
.B \%/usr/share/doc/groff-1.22.3/pdf/\:mom-pdf.pdf
\[en] the PDF manual,
.I Producing PDFs with groff and mom
.
.TP
.B /usr/share/doc/groff-1.22.3/examples/mom/*.mom
\[en] example files using mom
.
.
.\" --------------------------------------------------------------------
.SH DOCUMENTATION IN ALPHABETICAL ORDER
.\" --------------------------------------------------------------------
.
.
This part of the man-page contains information just as in groff(7),
.I mom macros
and
.I mom escape sequences
in alphabetical order.
.
.
.P
The logical order of
.I mom macros
and
.I mom escape sequences
is very well documented in
.
.TP
.B \%/usr/share/doc/groff-1.22.3/html/\:mom/\:toc.html
\[en] entry point to the HTML documentation
.
.
.P
That document is quite good for beginners, but other users should be
happy to have some documentation in reference style.
.
.
.P
So we restrict this part to the alphabetical order of macros and
escape sequences.
.
But, so far, we took all documentation details from the
.I toc.html
file, just in a more useful alphabetical order.
.
.
So this part of the man-page is nothing new, but only a logical
arrangement.
.
.
.\" --------------------------------------------------------------------
.SH "QUICK REFERENCE"
.\" --------------------------------------------------------------------
.
.\" --------------------------------------------------------------------
.SS "Quick Reference of Inline Escape Sequences in alphabetical Order"
.\" --------------------------------------------------------------------
.
.TP
.FONT B \[rs]*[ I <colorname> B ]
begin using an initialized colour inline
.
.
.TP
.FONT B \[rs]*[BCK I " n" B ]
move backwards in a line
.
.
.TP
.BI \[rs]*[BOLDER]
invoke pseudo bold inline (related to macro
.BR .SETBOLDER )
.
.
.TP
.BI \[rs]*[BOLDERX]
off pseudo bold inline (related to macro
.BR .SETBOLDER )
.
.
.TP
.FONT B \[rs]*[BU I " n" B ]
move characters pairs closer together inline (related to macro
.BR \%.KERN )
.
.
.TP
.BI \[rs]*[COND]
invoke pseudo condensing inline (related to macro
.BR \%.CONDENSE )
.
.
.TP
.BI \[rs]*[CONDX]
off pseudo condensing inline (related to macro
.BR \%.CONDENSE )
.
.
.TP
.FONT B \[rs]*[CONDSUP] R \*[Ellipsis] B \[rs]*[CONDSUPX]
pseudo-condensed superscript
.
.
.TP
.FONT B \[rs]*[DOWN I " n" B ]
temporarily move downwards in a line
.
.
.TP
.BI \[rs]*[EN-MARK]
mark initial line of a range of line numbers (for use with line
numbered endnotes)
.
.
.TP
.BI \[rs]*[EXT]
invoke pseudo extending inline (related to macro
.BR \%.EXTEND )
.
.
.TP
.BI \[rs]*[EXTX]
off pseudo condensing inline (related to macro
.BR \%.EXTEND )
.
.
.TP
.FONT B \[rs]*[EXTSUP] R \*[Ellipsis] B \[rs]*[EXTSUPX]
pseudo extended superscript
.
.
.TP
.FONT B \[rs]*[FU I " n" B ]
move characters pairs further apart inline (related to macro
.BR \%.KERN )
.
.
.TP
.FONT B \[rs]*[FWD I " n" B ]
move forward in a line
.
.
.TP
.BI \[rs]*[LEADER]
insert leaders at the end of a line
.
.
.TP
.BI \[rs]*[RULE]
draw a full measure rule
.
.
.TP
.FONT B \[rs]*[SIZE I " n" B ]
change the point size inline (related to macro
.BR \%.PT_SIZE )
.
.
.TP
.BI \[rs]*[SLANT]
invoke pseudo italic inline (related to macro
.BR \%.SETSLANT )
.
.
.TP
.BI \[rs]*[SLANTX]
off pseudo italic inline (related to macro
.BR \%.SETSLANT )
.
.
.TP
.FONT B \[rs]*[ST I <n> B ] R \*[Ellipsis] B \[rs]*[ST I <n> B X]
string tabs (mark tab positions inline)
.
.
.TP
.FONT B \[rs]*[SUP] R \*[Ellipsis] B \[rs]*[SUPX]
superscript
.
.
.TP
.B \[rs]*[TB+]
inline escape for
.B .TN
.RI ( "Tab Next" )
.
.
.TP
.FONT B \[rs]*[UL] R \*[Ellipsis] B \[rs]*[ULX]
invoke underlining inline (fixed width fonts only)
.
.
.TP
.FONT B \[rs]*[UP I " n" B ]
temporarily move upwards in a line
.
.
.\" --------------------------------------------------------------------
.SS "Quick Reference of Macros in alphabetical Order"
.\" --------------------------------------------------------------------
.
.TP
.BI .AUTOLEAD
set the linespacing relative to the point size
.
.
.TP
.BI .B_MARGIN
set a bottom margin
.
.
.TP
.BI .BR
break a justified line
.
.
.TP
.BI .CENTER
set line-by-line quad centre
.
.
.TP
.BI .CONDENSE
set the amount to pseudo condense
.
.
.TP
.BI .EL
break a line without advancing on the page
.
.
.TP
.BI .EXTEND
set the amount to pseudo extend
.
.
.TP
.BI .FALLBACK_FONT
establish a fallback font (for missing fonts)
.
.
.TP
.BI .FAM
alias to
.B .FAMILY
.
.
.TP
.BI ".FAMILY " <family>
set the
.I family type
.
.
.TP
.BI .FT
set the font style (roman, italic, etc.)
.
.
.TP
.BI ".HI [" " <measure> " ]
hanging indent
.
.
.TP
.BI .HY
automatic hyphenation on/off
.
.
.TP
.BI .HY_SET
set automatic hyphenation parameters
.
.
.TP
.BI ".IB [" " <left measure> <right measure> " ]
indent both
.
.
.TP
.B .IBX [ CLEAR ]
exit indent both
.
.
.TP
.BI ".IL [" " <measure> " ]
indent left
.
.
.TP
.B .ILX [ CLEAR ]
exit indent left
.
.
.TP
.B .IQ [ CLEAR ]
quit any/all indents
.
.
.TP
.BI ".IR [" " <measure> " ]
indent right
.
.
.TP
.B .IRX [ CLEAR ]
exit indent right
.
.
.TP
.BI .JUSTIFY
justify text to both margins
.
.
.TP
.BI .KERN
automatic character pair kerning on/off
.
.
.TP
.BI .L_MARGIN
set a left margin (page offset)
.
.
.TP
.BI .LEFT
set line-by-line quad left
.
.
.TP
.BI .LL
set a line length
.
.
.TP
.BI .LS
set a linespacing (leading)
.
.
.TP
.BI .PAGE
set explicit page dimensions and margins
.
.
.TP
.BI .PAGEWIDTH
set a custom page width
.
.
.TP
.BI .PAGELENGTH
set a custom page length
.
.
.TP
.BI .PAPER " <paper_type>"
set common paper sizes (letter, A4, etc)
.
.
.TP
.BI .PT_SIZE
set the point size
.
.
.TP
.BI .QUAD
"justify" text left, centre, or right
.
.
.TP
.BI .R_MARGIN
set a right margin
.
.
.TP
.BI .RIGHT
set line-by-line quad right
.
.
.TP
.BI .SETBOLDER
set the amount of emboldening
.
.
.TP
.BI .SETSLANT
set the degree of slant
.
.
.TP
.BI .SPREAD
force justify a line
.
.
.TP
.BI .SS
set the sentence space size
.
.
.TP
.BI .T_MARGIN
set a top margin
.
.
.TP
.BI ".TI [" " <measure> " ]
temporary left indent
.
.
.TP
.BI .WS
set the minimum word space size
.
.
.\" --------------------------------------------------------------------
.SH "DOCUMENTATION OF DETAILS"
.\" --------------------------------------------------------------------
.
.\" --------------------------------------------------------------------
.SS "Details of Inline Escape Sequences in alphabetical Order"
.\" --------------------------------------------------------------------
.
.TP
.FONT B \[rs]*[ I <colorname> B ]
begin using an initialized colour inline
.
.
.TP
.FONT B \[rs]*[BCK I " n" B ]
move wards in a line
.
.
.\" ======================================================================
.\" BOLDER
.\" ======================================================================
.TP
.B \[rs]*[BOLDER]
.TQ
.B \[rs]*[BOLDERX]
Emboldening on/off
.
.RS
.
.P
.B \[rs]*[BOLDER]
begins emboldening type.
.
.B \[rs]*[BOLDERX]
turns the feature off.
.
Both are inline escapes, therefore they should not appear as separate
lines, but rather be embedded in text lines, like this:
.RS
.EX
.FONT R "Not " B \[rs]*[BOLDER] R everything B \[rs]*[BOLDERX] R " is as it seems."
.EE
.RE
.
.P
Alternatively, if you wanted the whole line emboldened, you should do
.RS
.EX
.FONT B \[rs]*[BOLDER] R "Not everything is as it seems." B \[rs]*[BOLDERX]
.EE
.RE
.
Once
.B \[rs]*[BOLDER]
is invoked, it remains in effect until turned off.
.
.P
Note: If you\[aq]re using the document processing macros with
.BR "\%.PRINTSTYLE \%TYPEWRITE" ,
.B mom
ignores
.B \[rs]*[BOLDER]
requests.
.
.RE
.
.
.\" ======================================================================
.\" BU
.\" ======================================================================
.TP
.FONT B \[rs]*[BU I " n" B ]
move characters pairs closer together inline (related to macro
.BR \%.KERN )
.
.
.\" ======================================================================
.\" COND
.\" ======================================================================
.TP
.B \[rs]*[COND]
.TQ
.BI \[rs]*[CONDX]
Pseudo-condensing on/off
.
.RS
.
.P
.B \[rs]*[COND]
begins pseudo-condensing type.
.
.B \[rs]*[CONDX]
turns the feature off.
.
Both are inline escapes, therefore they should not appear as separate
lines, but rather be embedded in text lines, like this:
.RS
.EX
.FONT B \[rs]*[COND] I "Not everything is as it seems." B \[rs]*[CONDX]
.EE
.RE
.B \%\[rs]*[COND]
remains in effect until you turn it off with
.BR \%\[rs]*[CONDX] .
.
.P
IMPORTANT: You must turn
.B \%\[rs]*[COND]
off before making any changes to the point size of your type, either
via the
.B \%.PT_SIZE
macro or with the
.B \[rs]s
inline escape.
.
If you wish the new point size to be pseudo-condensed, simply reinvoke
.B \%\[rs]*[COND]
afterwards.
.
Equally,
.B \%\[rs]*[COND]
must be turned off before changing the condense percentage with
.BR \%.CONDENSE .
.
.P
Note: If you\[aq]re using the document processing macros with
.BR "\%.PRINTSTYLE \%TYPEWRITE" ,
.B mom
ignores
.B \%\[rs]*[COND]
requests.
.
.RE
.
.
.\" ======================================================================
.\" CONDSUP
.\" ======================================================================
.TP
.FONT B \[rs]*[CONDSUP] R \*[Ellipsis] B \[rs]*[CONDSUPX]
pseudo-condensed superscript
.
.
.\" ======================================================================
.\" DOWN
.\" ======================================================================
.TP
.FONT B \[rs]*[DOWN I " n" B ]
temporarily move downwards in a line
.
.
.\" ======================================================================
.\" EN-MARK
.\" ======================================================================
.TP
.BI \[rs]*[EN-MARK]
mark initial line of a range of line numbers (for use with line
numbered endnotes)
.
.
.\" ======================================================================
.\" EXT
.\" ======================================================================
.TP
.B \[rs]*[EXT]
.TQ
.B \[rs]*[EXTX]
Pseudo-extending on/off
.
.RS
.
.P
.B \[rs]*[EXT]
begins pseudo-extending type.
.
.B \[rs]*[EXTX]
turns the feature off.
.
Both are inline escapes, therefore they should not appear as separate
lines, but rather be embedded in text lines, like this:
.RS
.EX
.FONT B \[rs]*[EXT] I "Not everything is as it seems." B \[rs]*[EXTX]
.EE
.RE
.B \[rs]*[EXT]
remains in effect until you turn it off with
.BR \[rs]*[EXTX] .
.
.P
IMPORTANT: You must turn
.B \%\[rs]*[EXT]
off before making any changes to the point size of your type, either
via the
.B \%.PT_SIZE
macro or with the
.B \[rs]s
inline escape.
.
If you wish the new point size to be
.IR \%pseudo-extended ,
simply reinvoke
.B \%\[rs]*[EXT]
afterwards.
.
Equally,
.B \%\[rs]*[EXT]
must be turned off before changing the extend percentage with
.BR \%.EXTEND .
.
.P
Note: If you are using the document processing macros with
.BR "\%.PRINTSTYLE \%TYPEWRITE" ,
.B mom
ignores
.B \%\[rs]*[EXT]
requests.
.
.RE
.
.
.\" ======================================================================
.\" EXTSUP
.\" ======================================================================
.TP
.FONT B \[rs]*[EXTSUP] R \*[Ellipsis] B \[rs]*[EXTSUPX]
pseudo extended superscript
.
.
.\" ======================================================================
.\" FU
.\" ======================================================================
.TP
.FONT B \[rs]*[FU I " n" B ]
move characters pairs further apart inline (related to macro
.BR .KERN )
.
.
.\" ======================================================================
.\" FWD
.\" ======================================================================
.TP
.FONT B \[rs]*[FWD I " n" B ]
move forward in a line
.
.
.\" ======================================================================
.\" LEADER
.\" ======================================================================
.TP
.BI \[rs]*[LEADER]
insert leaders at the end of a line
.
.
.\" ======================================================================
.\" RULE
.\" ======================================================================
.TP
.BI \[rs]*[RULE]
draw a full measure rule
.
.
.\" ======================================================================
.\" PT_SIZE
.\" ======================================================================
.TP
.FONT B \[rs]*[SIZE I " n" B ]
change the point size inline (related to macro
.BR \%.PT_SIZE )
.
.
.\" ======================================================================
.\" SLANT
.\" ======================================================================
.TP
.B \[rs]*[SLANT]
.TQ
.B \[rs]*[SLANTX]
Pseudo italic on/off
.
.RS
.
.P
.B \%\[rs]*[SLANT]
begins
.I pseudo-italicizing
.IR type .
.
.B \%\[rs]*[SLANTX]
turns the feature off.
.
Both are
.I inline
.IR escapes ,
therefore they should not appear as separate lines, but rather be
embedded in text lines, like this:
.RS
.EX
.FONT R "Not " B \[rs]*[SLANT] R everything B \[rs]*[SLANTX] R " is as it seems."
.EE
.RE
.
.P
Alternatively, if you wanted the whole line
.IR pseudo-italicized ,
you\[aq]d do
.RS
.EX
.FONT B \[rs]*[SLANT] R "Not everything is as it seems." B \[rs]*[SLANTX]
.EE
.RE
.
.P
Once
.B \[rs]*[SLANT]
is invoked, it remains in effect until turned off.
.
.P
Note: If you\[aq]re using the document processing macros with
.BR "\%.PRINTSTYLE \%TYPEWRITE" ,
.B mom
underlines pseudo-italics by default.
.
To change this behaviour, use the special macro
.BR .SLANT_MEANS_SLANT .
.
.RE
.
.
.\" ======================================================================
.\" ST
.\" ======================================================================
.TP
.FONT B \[rs]*[ST I <number> B ] R \*[Ellipsis] B \[rs]*[ST I <number> B X]
Mark positions of string tabs
.
.RS
.P
The
.I quad
direction must be
.B LEFT
or
.B \%JUSTIFY
(see
.B \%.QUAD
and
.BR \%.JUSTIFY )
or the
.I no-fill mode
set to
.B LEFT
in order for these inlines to function properly.
.
Please see
.IR \%IMPORTANT ,
below.
.
.P
String tabs need to be marked off with inline escapes before being set
up with the
.B .ST
macro.
.
Any input line may contain string tab markers.
.
.IR <number> ,
above, means the numeric identifier of the tab.
.
.P
The following shows a sample input line with string tab markers.
.RS
.EX
.FONT B \[rs]*[ST1] R "Now is the time" B \[rs]*[ST1X] R " for all " B \[rs]*[ST2] R "good men" B \[rs]*ST2X] R " to come to the aid of the party."
.EE
.RE
.
.P
String
.I tab 1
begins at the start of the line and ends after the word
.IR \%time .
.
String
.I tab 2
starts at
.I good
and ends after
.IR men .
.
.I Inline escapes
(e.g.
.I font
or
.I point size
.IR changes ,
or horizontal movements, including padding) are taken into account
when
.B mom
determines the
.I position
and
.I length
of
.I string
.IR tabs .
.
.P
Up to nineteen string tabs may be marked (not necessarily all on the
same line, of course), and they must be numbered between 1 and 19.
.
.P
Once string tabs have been marked in input lines, they have to be
.I set
with
.BR .ST ,
after which they may be called, by number, with
.BR .TAB .
.
.P
Note: Lines with string tabs marked off in them are normal input
lines, i.e.\& they get printed, just like any input line.
.
If you want to set up string tabs without the line printing, use the
.B \%.SILENT
macro.
.
.P
.I IMPORTANT:
Owing to the way
.B groff
processes input lines and turns them into output lines, it is not
possible for
.B mom
to
.I guess
the correct starting position of string tabs marked off in lines that
are centered or set flush right.
.
.P
Equally, she cannot guess the starting position if a line is fully
justified and broken with
.BR \%.SPREAD .
.
.P
In other words, in order to use string tabs,
.B LEFT
must be active, or, if
.B .QUAD LEFT
or
.B \%JUSTIFY
are active, the line on which the
.I string tabs
are marked must be broken
.I manually
with
.B .BR
(but not
.BR \%.SPREAD ).
.
.P
To circumvent this behaviour, I recommend using the
.B PAD
to set up string tabs in centered or flush right lines.
.
Say, for example, you want to use a
.I string tab
to
.I underscore
the text of a centered line with a rule.
.
Rather than this,
.RS
.EX
.B .CENTER
.B \[rs]*[ST1]A line of text\[rs]*[ST1X]\[rs]c
.B .EL
.B .ST 1
.B .TAB 1
.B .PT_SIZE 24
.B .ALD 3p
.B \[rs]*[RULE]
.B .RLD 3p
.B .TQ
.EE
.RE
you should do:
.RS
.EX
.B .QUAD CENTER
.B .PAD """#\[rs]*[ST1]A line of text\[rs]*[ST1X]#"""
.B .EL
.B .ST 1
.B .TAB 1
.B .PT_SIZE 24
.B .ALD 3p
.B \[rs]*[RULE] \[rs]" Note that you can\[aq]t use \[rs]*[UP] or \[rs]*[DOWN] with \[rs]*[RULE]\""
.B .RLD 3p
.B .TQ
.EE
.RE
.
.RE
.
.
.\" ======================================================================
.\" SUP
.\" ======================================================================
.TP
.FONT B \[rs]*[SUP] R \*[Ellipsis] B \[rs]*[SUPX]
superscript
.
.
.\" ======================================================================
.\" TB+
.\" ======================================================================
.TP
.B \[rs]*[TB+]
Inline escape for
.B .TN
.RI ( "Tab Next" )
.
.
.\" ======================================================================
.\" UL
.\" ======================================================================
.TP
.FONT B \[rs]*[UL] R \*[Ellipsis] B \[rs]*[ULX]
invoke underlining inline (fixed width fonts only)
.
.
.\" ======================================================================
.\" UP
.\" ======================================================================
.TP
.FONT B \[rs]*[UP I " n" B ]
temporarily move upwards in a line
.
.
.\" --------------------------------------------------------------------
.SS "Details of Macros in alphabetical Order"
.\" --------------------------------------------------------------------
.
.\" ======================================================================
.\" AUTOLEAD
.\" ======================================================================
.TP
.BI .AUTOLEAD
set the linespacing relative to the point size
.
.
.\" ======================================================================
.\" Bottom Margin
.\" ======================================================================
.TP
.BI .B_MARGIN " <bottom margin>"
Bottom Margin
.
.RS
.
.P
Requires a unit of measure
.
.P
.B .B_MARGIN
sets a nominal position at the bottom of the page beyond which you
don\[aq]t want your type to go.
.
When the bottom margin is reached,
.B mom
starts a new page.
.
.B .B_MARGIN requires a unit of measure.
.
Decimal fractions are allowed.
.
To set a nominal bottom margin of 3/4 inch, enter
.RS
.EX
.B \&.B_MARGIN \&.75i
.EE
.RE
.
.P
Obviously, if you haven\[aq]t spaced the type on your pages so that the
last lines fall perfectly at the bottom margin, the margin will vary
from page to page.
.
Usually, but not always, the last line of type that fits on a page
before the bottom margin causes mom to start a new page.
.
.P
Occasionally, owing to a peculiarity in
.IR groff ,
an extra line will fall below the nominal bottom margin.
.
If you\[aq]re using the document processing macros, this is unlikely to
happen; the document processing macros are very hard-nosed about
aligning bottom margins.
.
.P
Note: The meaning of
.B .B_MARGIN
is slightly different when you\[aq]re using the document processing
macros.
.
.RE
.
.
.\" ======================================================================
.\" Fallback Font
.\" ======================================================================
.TP
.BI \%.FALLBACK_FONT " <fallback font> " "[ ABORT | WARN ]"
Fallback Font
.
.RS
.
.P
In the event that you pass an invalid argument to
.B \%.FAMILY
(i.e.\& a non-existent
.IR family ),
.BR mom ,
by default, uses the
.IR "fallback font" ,
.B Courier Medium Roman
.RB ( CR ),
in order to continue processing your file.
.
.P
If you\[aq]d prefer another
.IR "fallback font" ,
pass
.B \%.FALLBACK_FONT
the full
.I family+font name
of the
.I font
you\[aq]d like.
.
For example, if you\[aq]d rather the
.I fallback font
were
.BR "Times Roman Medium Roman" ,
.RS
.EX
.B .FALLBACK_FONT TR
.EE
.RE
would do the trick.
.
.P
.B Mom
issues a warning whenever a
.I font style set
with
.B .FT
does not exist, either because you haven\[aq]t registered the style
or because the
.I font style
does not exist in the current
.I family set
with
.BR .FAMILY .
.
By default,
.B \%mom
then aborts, which allows you to correct the problem.
.
.P
If you\[aq]d prefer that
.B \%mom
not abort on non-existent
.IR fonts ,
but rather continue processing using a
.IR "fallback font" ,
you can pass
.B \%.FALLBACK_FONT
the argument
.BR WARN ,
either by itself, or in conjunction with your chosen
.IB "fallback font" .
.
.P
Some examples of invoking
.BR \%.FALLBACK_FONT :
.
.TP
.B .FALLBACK_FONT WARN
.B mom
will issue a warning whenever you try to access a non-existent
.I font
but will continue processing your file with the default
.IR "fallback font" ,
.BR "Courier Medium Roman" .
.
.
.TP
.B .FALLBACK_FONT TR WARN
.B \%mom
will issue a warning whenever you try to access a non-existent
.I font
but will continue processing your file with a
.I fallback font
of
.BR "Times Roman Medium Roman" ;
additionally,
.B TR
will be the
.I fallback font
whenever you try to access a
.I family
that does not exist.
.
.TP
.B .FALLBACK_FONT TR ABORT
.B \%mom
will abort whenever you try to access a non-existent
.BR font ,
and will use the
.I fallback font
.B TR
whenever you try to access a
.I family
that does not exist.
.
If, for some reason, you want to revert to
.BR ABORT ,
just enter
.B \%".FALLBACK_FONT ABORT"
and
.B mom
will once again abort on
.IR "font errors" .
.
.RE
.
.
.\" ======================================================================
.\" FAM
.\" ======================================================================
.TP
.BI .FAM " <family>"
Type Family, alias of \fB.FAMILY\fR
.
.
.\" ======================================================================
.\" FAMILY
.\" ======================================================================
.TP
.BI .FAMILY " <family>"
Type Family, alias \fB.FAM\fR
.
.RS
.
.P
.B .FAMILY
takes one argument: the name of the
.I family
you want.
.
.I Groff
comes with a small set of basic families, each identified by a 1-,
2- or 3-letter mnemonic.
.
The standard families are:
.RS
.EX
.B "A = Avant Garde"
.B "BM = Bookman"
.B "H = Helvetica"
.B "HN = Helvetica Narrow"
.B "N = New Century Schoolbook"
.B "P = Palatino"
.B "T = Times Roman"
.B "ZCM = Zapf Chancery"
.EE
.RE
.
.P
The argument you pass to
.B .FAMILY
is the identifier at left, above.
.
For example, if you want
.BR Helvetica ,
enter
.RS
.EX
.B .FAMILY H
.EE
.RE
.
.P
Note: The font macro
.RB ( .FT )
lets you specify both the type
.I family
and the desired font with a single macro.
.
While this saves a few
keystrokes, I recommend using
.B .FAMILY for
.IR family ,
and
.B .FT for
.IR font ,
except where doing so is genuinely inconvenient.
.
.BR ZCM ,
for example,
only exists in one style:
.B Italic
.RB ( I ).
.
.P
Therefore,
.RS
.EX
.B .FT ZCMI
.EE
.RE
makes more sense than setting the
.I family
to
.BR ZCM ,
then setting the
.I font
to
.IR I .
.
.P
Additional note: If you are running a version of groff lower than
1.19.2, you must follow all
.B .FAMILY
requests with a
.B FT
request, otherwise
.B mom
will set all type up to the next
.B .FT
request in the fallback font.
.
.P
If you are running a version of groff greater than or equal to 1.19.2,
when you invoke the
.B .FAMILY
macro,
.B mom
.I remembers
the font style
.BR ( Roman ,
.BR Italic ,
etc) currently in use (if the font style exists in the new
.IR family )
and will continue to use the same font style in the new family.
For example:
.RS
.EX
.BI ".FAMILY BM " "\[rs]"" Bookman family"
.BI ".FT I " "\[rs]"" Medium Italic"
.I <some text> \[rs]" Bookman Medium Italic
.BI ".FAMILY H " "\[rs]"" Helvetica family"
.I <more text> \[rs]" Helvetica Medium Italic
.EE
.RE
.
.P
However, if the font style does not exist in the new family,
.B mom
will set all subsequent type in the fallback font (by default,
.B Courier Medium
.BR Roman )
until she encounters a
.B .FT
request that\[aq]s valid for the
.IR family .
.
.P
For example, assuming you don\[aq]t have the font
.B Medium Condensed Roman
.RB ( mom
extension
.IR CD )
in the
.I Helvetica
.IR family :
.RS
.EX
.BI ".FAMILY UN " "\[rs]"" Univers family"
.BI ".FT CD " "\[rs]"" Medium Condensed"
.I <some text> \[rs]" Univers Medium Condensed
.BI ".FAMILY H " "\[rs]"" Helvetica family"
.I <more text> \[rs]" Courier Medium Roman!
.EE
.RE
.
.P
In the above example, you must follow
.B .FAMILY H
with a
.B .FT
request that\[aq]s valid for
.BR Helvetica .
.
.P
Please see the Appendices,
.I Adding fonts to
.IR groff ,
for information on adding fonts and families to groff, as well as to
see a list of the extensions
.B mom
provides to
.IR groff \[aq]s
basic
.BR R ,
.BR I ,
.BR B ,
.B BI
styles.
.
.P
Suggestion: When adding
.I families to
.IR groff ,
I recommend following the established standard for the naming families
and fonts.
.
For example, if you add the
.B Garamond
family, name the font files
.RS
.EX
.B GARAMONDR
.B GARAMONDI
.B GARAMONDB
.B GARAMONDBI
.EE
.RE
.
.B GARAMOND then becomes a valid
.I family name
you can pass to
.BR .FAMILY .
.
(You could, of course, shorten
.B GARAMOND
to just
.BR G ,
or
.BR GD .)
.BR R ,
.BR I ,
.BR B ,
and
.B BI
after
.B GARAMOND
are the
.IR roman ,
.IR italic ,
.I bold
and
.I bold-italic
fonts respectively.
.
.RE
.
.
.\" ======================================================================
.\" FONT
.\" ======================================================================
.TP
.BI ".FONT R | B | BI | " "<any other valid font style>"
Alias to
.B .FT
.
.
.\" ======================================================================
.\" FT
.\" ======================================================================
.TP
.BI ".FT R | B | BI | " "<any other valid font style>"
Set font
.
.RS
.
.P
By default,
.I groff
permits
.B .FT
to take one of four possible arguments specifying the desired font:
.RS
.EX
.B R = (Medium) Roman
.B I = (Medium) Italic
.B B = Bold (Roman)
.B BI = Bold Italic
.EE
.RE
.
.P
For example, if your
.I family
is
.BR Helvetica ,
entering
.RS
.EX
.B .FT B
.EE
.RE
will give you the
.I Helvetica bold
.IR font .
.
If your
.I family
were
.BR \%Palatino ,
you\[aq]d get the
.I \%Palatino bold
.IR font .
.
.P
.B Mom
considerably extends the range of arguments you can pass to
.BR .FT ,
making it more convenient to add and access fonts of differing weights
and shapes within the same family.
.
.P
Have a look here for a list of the weight/style arguments
.B mom
allows.
.
Be aware, though, that you must have the fonts, correctly installed
and named, in order to use the arguments.
.
(See
.I Adding fonts to groff
for instructions and information.)
.
Please also read the
.I ADDITIONAL NOTE
found in the description of the
.B \%.FAMILY
macro.
.
.P
How
.B mom
reacts to an invalid argument to
.B .FT
depends on which version of groff you\[aq]re using.
.
If your
.I groff version
is greater than or equal to 1.19.2,
.B mom
will issue a warning and, depending on how you\[aq]ve set up the fallback
font, either continue processing using the fallback font, or abort
(allowing you to correct the problem). If your
.I groff version
is less than 1.19.2,
.B mom
will silently continue processing, using either the fallback font or
the font that was in effect prior to the invalid
.B .FT
call.
.
.P
.B .FT
will also accept, as an argument, a full
.I family
and
.I font
.IR name .
.
.P
For example,
.RS
.EX
.B .FT HB
.EE
.RE
will set subsequent type in
.I Helvetica
.IR Bold .
.
.P
However, I strongly recommend keeping
.I family
and
.I font
separate except where doing so is genuinely inconvenient.
.
.P
For inline control of
.IR fonts ,
see
.I Inline
.IR Escapes ,
font control.
.
.RE
.
.
.\" ======================================================================
.\" Hanging Indent
.\" ======================================================================
.TP
.BI "\%.HI [" " <measure> " ]
Hanging indent \[em] the optional argument requires a unit of measure.
.
.RS
.
.P
A hanging indent looks like this:
.RS
.EX
\fB The thousand injuries of Fortunato I had borne as best I
could, but when he ventured upon insult, I vowed
revenge. You who so well know the nature of my soul
will not suppose, however, that I gave utterance to a
threat, at length I would be avenged\*[Ellipsis]
.EE
.RE
.
The first line of text
.I hangs
outside the
.IR "left margin" .
.
.P
In order to use
.IR "hanging indents" ,
you must first have a
.I left indent
active (set with either
.B .IL
or
.BR .IB ).
.
.B Mom
will not hang text outside the
.I left margin set
with
.B \%.L_MARGIN
or outside the
.I left margin
of a
.IR \%tab .
.
.P
The first time you invoke
.BR .HI ,
you must give it a
.BR measure .
.
If you want the first line of a paragraph to
.IR "hang by" ,
say,
.IR "1 pica" ,
do
.RS
.EX
.B ".IL 1P"
.B ".HI 1P"
.EE
.RE
.
Subsequent invocations of
.B \%.HI
do not require you to supply a
.IR measure ;
.B mom
keeps track of the last measure you gave it.
.
.P
Generally speaking, you should invoke
.B .HI
immediately prior to the line you want hung (i.e.\& without any
intervening control lines).
.
And because
.I hanging indents
affect only one line, there\[aq]s no need to turn them off.
.
.P
.I IMPORTANT:
Unlike
.BR IL ,
.B IR
and
.BR IB ,
measures given to
.B .HI
are NOT additive.
.
Each time you pass a measure to
.B .HI ,
the measure is treated literally.
.
.B
.I Recipe:
A numbered list using
.I hanging indents
.
.P
.I Note:
.B mom
has macros for setting lists.
.
This recipe exists to demonstrate the use of
.I hanging indents
only.
.RS
.EX
.B ".PAGE 8.5i 11i 1i 1i 1i 1i"
.B ".FAMILY T"
.B ".FT R"
.B ".PT_SIZE 12"
.B ".LS 14"
.B ".JUSTIFY"
.B ".KERN"
.B ".SS 0"
.B ".IL \[rs]w'\[rs]0\[rs]0.'"
.B ".HI \[rs]w'\[rs]0\[rs]0.'"
\fB1.\[rs]0The most important point to be considered is whether the
answer to the meaning of Life, the Universe, and Everything
really is 42. We have no-one\[aq]s word on the subject except
Mr. Adams\[aq].
.B .HI
2.\[rs]0If the answer to the meaning of Life, the Universe,
and Everything is indeed 42, what impact does this have on
the politics of representation? 42 is, after all not a
prime number. Are we to infer that prime numbers don\[aq]t
deserve equal rights and equal access in the universe?
.B .HI
3.\[rs]0If 42 is deemed non-exclusionary, how do we present it
as the answer and, at the same time, forestall debate on its
exclusionary implications?
.EE
.RE
.
.P
First, we invoke a left indent with a measure equal to the width of 2
figures spaces plus a period (using the \[rs]w inline escape).
.
At this point, the left indent is active; text afterwards would
normally be indented.
.
However, we invoke a hanging indent of exactly the same width, which
hangs the first line (and first line only!\&) to the left of the indent
by the same distance (in this case, that means \[lq]out to the left
margin\[rq]).
.
Because we begin the first line with a number, a period, and a figure
space, the actual text
.RI ( "The most important point\*[Ellipsis]" )
starts at exactly the same spot as the indented lines that follow.
.
.P
Notice that subsequent invocations of
.B .HI
don\[aq]t require a
.I measure
to be given.
.
.P
Paste the example above into a file and preview it with
.RS
.EX
.B pdfmom filename.mom | ps2pdf \- filename.pdf
.EE
.RE
to see hanging indents in action.
.
.RE
.
.
.\" ======================================================================
.\" IB - INDENT BOTH
.\" ======================================================================
.TP
.BI "\%.IB [" " <left measure> <right measure> " ]
Indent both \[em] the optional argument requires a unit of measure
.
.RS
.
.P
.B .IB
allows you to set or invoke a left and a right indent at the same time.
.
.P
At its first invocation, you must supply a measure for both indents;
at subsequent invocations when you wish to supply a measure, both must
be given again.
.
As with
.B .IL
and
.BR .IR ,
the measures are added to the values previously passed to the
macro.
.
Hence, if you wish to change just one of the values, you must give an
argument of zero to the other.
.
.P
.I A word of advice:
If you need to manipulate left and right indents separately, use a
combination of
.B .IL
and
.B .IR
instead of
.BR .IB .
.
You\[aq]ll save yourself a lot of grief.
.
.P
A
.I minus sign
may be prepended to the arguments to subtract from their current
values.
.
The \[rs]w inline escape may be used to specify text-dependent
measures, in which case no unit of measure is required.
.
For example,
.RS
.EX
.B .IB \[rs]w\[aq]margarine\[aq] \[rs]w\[aq]jello\[aq]
.EE
.RE
left indents text by the width of the word
.I margarine
and right indents by the width of
.IR jello .
.
.P
Like
.B .IL
and
.BR .IR ,
.B .IB
with no argument indents by its last active values.
.
See the brief explanation of how mom handles indents for more details.
.
.P
.I Note:
Calling a
.I tab
(with
.BR ".TAB <n>" )
automatically cancels any active indents.
.
.P
.I Additional note:
Invoking
.B .IB
automatically turns off
.B .IL
and
.BR .IR .
.
.RE
.
.
.\" ======================================================================
.\" IL - INDENT LEFT
.\" ======================================================================
.TP
.BI "\%.IL [" " <measure> " ]
Indent left \[em] the optional argument requires a unit of measure
.
.RS
.
.P
.B .IL
indents text from the left margin of the page, or if you\[aq]re in a
.IR tab ,
from the left edge of the
.IR tab
.
Once
.I IL
is on, the
.I left indent
is applied uniformly to every subsequent line of text, even if you
change the line length.
.
.P
The first time you invoke
.BR .IL ,
you must give it a measure.
.
Subsequent invocations with a measure add to the previous measure.
.
A minus sign may be prepended to the argument to subtract from the
current measure.
.
The
.B \[rs]w
inline escape may be used to specify a text-dependent measure, in
which case no unit of measure is required.
.
For example,
.RS
.EX
.B .IL \[rs]w'margarine'
.EE
.RE
indents text by the width of the word
.IR margarine .
.
.P
With no argument,
.B .IL
indents by its last active value.
.
See the brief explanation of how
.B mom
handles indents for more details.
.
.P
.I Note:
Calling a
.I tab
(with
.BR ".TAB <n>" )
automatically cancels any active indents.
.
.P
.I Additional note:
Invoking
.B .IL
automatically turns off
.BR IB .
.
.RE
.
.
.\" ======================================================================
.\" IQ - quit any/all indents
.\" ======================================================================
.TP
.BI "\%.IQ [" " <measure> " ]
IQ \[em] quit any/all indents
.
.RS
.
.P
.I IMPORTANT NOTE:
The original macro for quitting all indents was
.BR .IX .
.
This usage has been deprecated in favour of
.BR IQ .
.
.B .IX
will continue to behave as before, but
.B mom
will issue a warning to
.I stderr
indicating that you should update your documents.
.
.P
As a consequence of this change,
.BR .ILX ,
.B .IRX
and
.B .IBX
may now also be invoked as
.BR .ILQ ,
.B .IRQ
and
.BR .IBQ .
.
Both forms are acceptable.
.
.P
Without an argument, the macros to quit indents merely restore your
original margins and line length.
.
The measures stored in the indent macros themselves are saved so you
can call them again without having to supply a measure.
.
.P
If you pass these macros the optional argument
.BR CLEAR ,
they not only restore your original left margin and line length, but
also clear any values associated with a particular indent style.
.
The next time you need an indent of the same style, you have to supply
a measure again.
.
.P
.BR ".IQ CLEAR" ,
as you\[aq]d suspect, quits and clears the values for all indent
styles at once.
.
.RE
.
.
.\" ======================================================================
.\" IR - INDENT RIGHT
.\" ======================================================================
.TP
.BI "\%.IR [" " <measure> " ]
Indent right \[em] the optional argument requires a unit of measure
.
.RS
.
.P
.B .IR
indents text from the
.I right margin
of the page, or if you\[aq]re in a
.IR tab ,
from the end of the
.IR tab .
.
.P
The first time you invoke
.BR .IR ,
you must give it a measure.
.
Subsequent invocations with a measure add to the previous indent
measure.
.
A
.I minus sign
may be prepended to the argument to subtract from the current indent
measure.
.
The \[rs]w inline escape may be used to specify a text-dependent
measure, in which case no
.I unit of measure
is required.
.
For example,
.RS
.EX
.B .IR \[rs]w'jello'
.EE
.RE
indents text by the width of the word
.IR jello .
.
.P
With no argument,
.B .IR
indents by its last active value.
.
See the brief explanation of how
.B mom
handles indents for more details.
.
.P
.I Note:
Calling a
.I tab
(with
.BR "\%.TAB <n>" )
automatically cancels any active indents.
.
.P
.I Additional note:
Invoking
.B .IR
automatically turns off
.BR IB .
.
.RE
.
.
.\" ======================================================================
.\" Left Margin
.\" ======================================================================
.TP
.BI .L_MARGIN " <left margin>"
Left Margin
.
.RS
.
.P
L_MARGIN establishes the distance from the left edge of the printer
sheet at which you want your type to start.
.
It may be used any time, and remains in effect until you enter a new value.
.
.P
Left indents and tabs are calculated from the value you pass to
.BR .L_MARGIN ,
hence it\[aq]s always a good idea to invoke it before starting any serious
typesetting.
.
A unit of measure is required.
.
Decimal fractions are allowed.
.
Therefore, to set the left margin at 3 picas (1/2 inch), you\[aq]d enter either
.RS
.EX
.B .L_MARGIN 3P
.EE
.RE
or
.RS
.EX
.B .L_MARGIN .5i
.EE
.RE
.
.P
If you use the macros
.BR .PAGE ,
.B .PAGEWIDTH
or
.B .PAPER
without invoking
.B .L_MARGIN
(either before or afterwards),
.B mom
automatically sets
.B .L_MARGIN
to
.IR "1 inch" .
.
.P
Note:
.B .L_MARGIN
behaves in a special way when you\[aq]re using the document processing
macros.
.
.RE
.
.
.\" ======================================================================
.\" MCO - BEGIN MULTI-COLUMN SETTING
.\" ======================================================================
.TP
.B .MCO
Begin multi-column setting.
.
.RS
.P
.B .MCO
.RI ( "Multi-Column On" )
is the
.I macro
you use to begin
.IR "multi-column setting" .
.
It marks the current baseline as the top of your columns, for use
later with
.BR .MCR .
.
See the introduction to columns for an explanation of
.I multi-columns
and some sample input.
.
.P
.I Note:
Do not confuse
.B .MCO
with the
.B .COLUMNS
macro in the document processing macros.
.
.RE
.
.
.\" ======================================================================
.\" MCR - RETURN TO TOP OF COLUMN
.\" ======================================================================
.TP
.B \%.MCR
Once you\[aq]ve turned
.I multi-columns
on (with
.BR \%.MCO ),
.BR .MCR ,
at any time, returns you to the
.IR "top of your columns".
.
.
.\" ======================================================================
.\" MCX - EXIT MULTI-COLUMNS
.\" ======================================================================
.TP
.BI "\%.MCX [ " "<distance to advance below longest column>" " ]"
Optional argument requires a unit of measure.
.
.RS
.
.P
.B .MCX
takes you out of any
.I tab
you were in (by silently invoking
.BR .TQ )
and advances to the bottom of the longest column.
.
.P
Without an argument,
.B .MCX
advances
.I 1 linespace
below the longest column.
.
.P
Linespace, in this instance, is the leading in effect at the moment
.B .MCX
is invoked.
.
.P
If you pass the
.I <distance>
argument to
.BR .MCX ,
it advances
.I 1 linespace
below the longest column (see above)
.I PLUS
the distance specified by the argument.
.
The argument requires a unit of measure; therefore, to advance an
extra 6 points below where
.B \%.MCX
would normally place you, you\[aq]d enter
.RS
.EX
.B .MCX 6p
.EE
.RE
.
.P
.I Note:
If you wish to advance a precise distance below the baseline of the
longest column, use
.B .MCX
with an argument of
.B 0
(zero; no
.I unit of measure
required) in conjunction with the
.B \%.ALD
macro, like this:
.RS
.EX
.B .MCX 0
.B .ALD 24p
.EE
.RE
.
The above advances to precisely
.I 24 points
below the baseline of the longest column.
.
.RE
.
.
.\" ======================================================================
.\" Start a new Page
.\" ======================================================================
.TP
.B .NEWPAGE
.
.RS
.
.P
Whenever you want to start a new page, use
.BR .NEWPAGE ,
by itself with no argument.
.
.B Mom
will finish up processing the current page and move you to the top of
a new one (subject to the top margin set with
.BR .T_MARGIN ).
.
.RE
.
.
.\" ======================================================================
.\" Page
.\" ======================================================================
.TP
.BI ".PAGE " <width> " [ " <length> " [ " <lm> " [ " <rm> " [ " \
<tm> " [ " <bm> " ] ] ] ] ]"
.
.RS
.
.P
All arguments require a unit of measure
.
.P
.I IMPORTANT:
If you\[aq]re using the document processing macros,
.B .PAGE
must come after
.BR .START .
.
Otherwise, it should go at the top of a document, prior to any text.
.
And remember, when you\[aq]re using the document processing macros, top
margin and bottom margin mean something slightly different than when
you\[aq]re using just the typesetting macros (see Top and bottom margins
in document processing).
.
.P
.B .PAGE
lets you establish paper dimensions and page margins with a single
macro.
.
The only required argument is page width.
.
The rest are
optional, but they must appear in order and you can\[aq]t skip over
any.
.
.IR <lm> ,
.IR <rm> ,
.I <tm>
and
.I <bm>
refer to the left, right, top and bottom margins respectively.
.
.P
Assuming your page dimensions are 11 inches by 17 inches, and that\[aq]s
all you want to set, enter
.RS
.EX
.B .PAGE 11i 17i
.EE
.RE
.
If you want to set the left margin as well, say, at 1 inch,
.B PAGE
would look like this:
.RS
.EX
.B .PAGE 11i 17i 1i
.EE
.RE
.
.P
Now suppose you also want to set the top margin, say, at 1\(en1/2 inches.
.
.I <tm>
comes after
.I <rm>
in the optional arguments, but you can\[aq]t skip over any arguments,
therefore to set the top margin, you must also give a right margin.
.
The
.B .PAGE
macro would look like this:
.RS
.EX
\f[CB].PAGE 11i 17i 1i 1i 1.5i
| |
required right---+ +---top margin
margin\f[R]
.EE
.RE
.
.P
Clearly,
.B .PAGE
is best used when you want a convenient way to tell
.B mom
just the dimensions of your printer sheet (width and length), or when
you want to tell her everything about the page (dimensions and all the
margins), for example
.RS
.EX
.B .PAGE 8.5i 11i 45p 45p 45p 45p
.EE
.RE
.
This sets up an 8\(12 by 11 inch page with margins of 45 points
(5/8-inch) all around.
.
.P
Additionally, if you invoke
.B .PAGE
with a top margin argument, any macros you invoke after
.B .PAGE
will almost certainly move the baseline of the first line of text down
by one linespace.
.
To compensate, do
.RS
.EX
.B .RLD 1v
.EE
.RE
immediately before entering any text, or, if it\[aq]s feasible, make
.B .PAGE
the last macro you invoke prior to entering text.
.
.P
Please read the
.I Important note
on page dimensions and papersize for information on ensuring groff
respects your
.B .PAGE
dimensions and margins.
.
.RE
.
.
.\" ======================================================================
.\" Page Length
.\" ======================================================================
.TP
.BI .PAGELENGTH " <length of printer sheet>"
tells
.B mom
how long your printer sheet is.
.
It works just like
.BR .PAGEWIDTH .
.
.RS
.
.P
Therefore, to tell
.B mom
your printer sheet is 11 inches long, you enter
.RS
.EX
.B .PAGELENGTH 11i
.EE
.RE
.
Please read the important note on page dimensions and papersize for
information on ensuring groff respects your
.IR PAGELENGTH .
.
.RE
.
.
.\" ======================================================================
.\" Page Width
.\" ======================================================================
.TP
.BI .PAGEWIDTH " <width of printer sheet>"
.
.RS
.
.P
The argument to
.B .PAGEWIDTH
is the width of your printer sheet.
.
.P
.B .PAGEWIDTH
requires a unit of measure.
.
Decimal fractions are allowed.
.
Hence, to tell
.B mom
that the width of your printer sheet is 8\(12 inches, you enter
.RS
.EX
\&.PAGEWIDTH 8.5i
.EE
.RE
.
.P
Please read the Important note on page dimensions and papersize for
information on ensuring groff respects your
.IR PAGEWIDTH .
.
.RE
.
.
.\" ======================================================================
.\" Paper
.\" ======================================================================
.TP
.BI .PAPER " <paper type>"
provides a convenient way to set the page dimensions for some common
printer sheet sizes.
.
The argument
.I <paper type>
can be one of:
.BR LETTER ,
.BR LEGAL ,
.BR STATEMENT ,
.BR TABLOID ,
.BR LEDGER ,
.BR FOLIO ,
.BR QUARTO ,
.BR EXECUTIVE ,
.BR 10x14 ,
.BR A3 ,
.BR A4 ,
.BR A5 ,
.BR B4 ,
.BR B5 .
.
.
.TP
.B .PRINTSTYLE
.
.
.\" ======================================================================
.\" PT_SIZE - POINT SIZE OF TYPE
.\" ======================================================================
.TP
.BI .PT_SIZE " <size of type in points>"
Point size of type, does not require a
.IR "unit of measure" .
.
.RS
.
.P
.B \%.PT_SIZE
.RI ( "Point Size" )
takes one argument: the
.I size of type
in
.IR points .
.
Unlike most other macros that establish the
.I size
or
.I measure
of something,
.B \%.PT_SIZE
does not require that you supply a
.I unit of measure
since it\[aq]s a near universal convention that
.I type size
is measured in
.IR points .
.
Therefore, to change the
.I type size
to, say,
.IR "11 points" ,
enter
.RS
.EX
.B .PT_SIZE 11
.EE
.RE
.
.I Point sizes
may be
.I fractional
(e.g.\&
.I 10.25
or
.IR 12.5 ).
.
.P
You can prepend a
.I plus
or a
.I minus sign
to the argument to
.BR \%.PT_SIZE ,
in which case the
.I point size
will be changed by
.I +
or
.I \-
the original value.
.
For example, if the
.I point size
is
.I 12 ,
and you want
.I 14 ,
you can do
.RS
.EX
.B .PT_SIZE +2
.EE
.RE
then later reset it to
.I 12
with
.RS
.EX
.B .PT_SIZE \-2
.EE
.RE
.
The
.I size of type
can also be changed inline.
.
.P
.I Note:
It is unfortunate that the
.B \%pic
preprocessor has already taken the name, PS, and thus
.IR mom \[aq]s
macro for setting
.I point sizes
can\[aq]t use it.
.
However, if you aren\[aq]t using
.BR pic ,
you might want to alias
.B \%.PT_SIZE
as
.BR .PS ,
since there\[aq]d be no conflict.
.
For example
.RS
.EX
.B .ALIAS PS PT_SIZE
.EE
.RE
would allow you to set
.I point sizes
with
.BR .PS .
.
.RE
.
.
.\" ======================================================================
.\" Right Margin
.\" ======================================================================
.TP
.BI .R_MARGIN " <right margin>"
Right Margin
.
.RS
.
.P
Requires a unit of measure.
.
.P
IMPORTANT:
.BR .R_MARGIN ,
if used, must come after
.BR .PAPER ,
.BR .PAGEWIDTH ,
.BR .L_MARGIN ,
and/or
.B .PAGE
(if a right margin isn\[aq]t given to PAGE).
.
The reason is that
.B .R_MARGIN
calculates line length from the overall page dimensions and the left margin.
.
.P
Obviously, it can\[aq]t make the calculation if it doesn\[aq]t know the page
width and the left margin.
.
.P
.B .R_MARGIN
establishes the amount of space you want between the end of typeset
lines and the right hand edge of the printer sheet.
.
In other words, it sets the line length.
.B .R_MARGIN
requires a unit of measure.
.
Decimal fractions are allowed.
.
.P
The line length macro (LL) can be used in place of
.BR .R_MARGIN .
.
In either case, the last one invoked sets the line length.
.
The choice of which to use is up to you.
.
In some instances, you may find it easier to think of a section of
type as having a right margin.
.
In others, giving a line length may make more sense.
.
.P
For example, if you\[aq]re setting a page of type you know should have
6-pica margins left and right, it makes sense to enter a left and
right margin, like this:
.RS
.EX
.B .L_MARGIN 6P
.B .R_MARGIN 6P
.EE
.RE
.
.P
That way, you don\[aq]t have to worry about calculating the line
length.
.
On the other hand, if you know the line length for a patch of type
should be 17 picas and 3 points, entering the line length with LL is
much easier than calculating the right margin, e.g.\&
.RS
.EX
.B .LL 17P+3p
.EE
.RE
.
.P
If you use the macros
.BR .PAGE ,
.B .PAGEWIDTH
or
.B PAPER
without invoking
.B .R_MARGIN
afterwards,
.B mom
automatically sets
.B .R_MARGIN
to
.IR "1 inch" .
.
If you set a line length after these macros (with
.BR .LL ),
the line length calculated by
.B .R_MARGIN
is, of course, overridden.
.
.P
Note:
.B .R_MARGIN
behaves in a special way when you\[aq]re using the document processing
macros.
.
.RE
.
.
.\" ======================================================================
.\" ST - Set String Tabs
.\" ======================================================================
.TP
.FONT B .ST I " <tab number> " B "L | R | C | J [ QUAD ]"
.
.RS
.P
After
.I string tabs
have been marked off on an input line (see
.BR \[rs]*[ST]\*[Ellipsis]\[rs]*[STX] ),
you need to
.I set
them by giving them a direction and, optionally, the
.B \%QUAD
argument.
.
.P
In this respect,
.B .ST
is like
.B \%.TAB_SET
except that you don\[aq]t have to give
.B .ST
an indent or a line length (that\[aq]s already taken care of, inline,
by
.BR \[rs]*[ST]\*[Ellipsis]\[rs]*[STX] ).
.
.P
If you want string
.I tab 1
to be
.BR \%left ,
enter
.RS
.EX
.B .ST 1 L
.EE
.RE
.
If you want it to be
.I \%left
and
.IR \%filled ,
enter
.RS
.EX
.B .ST 1 L \%QUAD
.EE
.RE
.
If you want it to be justified, enter
.RS
.EX
.B .ST 1 J
.EE
.RE
.
.RE
.
.
.\" ======================================================================
.\" TAB - Call Tabs
.\" ======================================================================
.TP
.BI \%.TAB " <tab number>"
After
.I tabs
have been defined (either with
.B \%.TAB_SET
or
.BR .ST ),
.B \%.TAB
moves to whatever
.I tab number
you pass it as an argument.
.
.RS
.
.P
For example,
.RS
.EX
.B \%.TAB 3
.EE
.RE
moves you to
.IR "\%tab 3" .
.
.P
Note:
.B \%.TAB
breaks the line preceding it and advances 1 linespace.
.
Hence,
.RS
.EX
.B .TAB 1
.B A line of text in tab 1.
.B .TAB 2
.B A line of text in tab 2.
.EE
.RE
produces, on output
.RS
.EX
.B "A line of text in tab 1."
.B " A line of text in tab 2."
.EE
.RE
.
.P
If you want the tabs to line up, use
.B .TN
.RI ( "Tab Next" )
or, more conveniently, the inline escape \[rs]*[TB+]:
.RS
.EX
\fB.TAB 1
A line of text in tab 1.\[rs]*[TB+]
A line of text in tab 2.
.EE
.RE
which produces
.RS
.EX
.B "A line of text in tab 1. A line of text in tab 2."
.EE
.RE
.
.P
If the text in your tabs runs to several lines, and you want the first
lines of each tab to align, you must use the multi-column macros.
.
.P
.I Additional note:
Any indents in effect prior to calling a tab are automatically turned
off by
.BR TAB .
.
If you were happily zipping down the page with a left indent of
.I 2 picas
turned on, and you call a
.I tab
whose indent from the left margin is
.IR "6 picas" ,
your new distance from the
.I left margin
will be
.IR "6 picas" ,
not
I 6 picas plus the 2 pica
indent.
.
.P
.I \%Tabs
are not by nature columnar, which is to say that if the text inside a
.I tab
runs to several lines, calling another
.I tab
does not automatically move to the baseline of the first line in the
.IR "previous tab" .
.
To demonstrate:
.RS
.EX
\f[B]TAB 1
Carrots
Potatoes
Broccoli
\&.TAB 2
$1.99/5 lbs
$0.25/lb
$0.99/bunch
.EE
.RE
produces, on output
.RS
.EX
\fBCarrots
Potatoes
Broccoli
$1.99/5 lbs
$0.25/lb
$0.99/bunch
.EE
.RE
.
.RE
.
.\" ======================================================================
.\" TB - Call Tabs Alias
.\" ======================================================================
.TP
.BI .TB " <tab number>"
Alias to
.B .TAB
.
.
.\" ======================================================================
.\" TI - TEMPORARY (LEFT) INDENT
.\" ======================================================================
.TP
.BI "\%.TI [" " <measure> " ]
Temporary left indent \[em] the optional argument requires a
.I unit of measure
.
.RS
.
.P
A temporary indent is one that applies only to the first line of text
that comes after it.
.
Its chief use is indenting the first line of paragraphs.
.RB ( Mom\[aq]s
.B .PP
macro, for example, uses a
.IR "temporary indent" .)
.
.P
The first time you invoke
.BR .TI ,
you must give it a measure.
.
If you want to
.I indent
the first line of a paragraph by, say, 2 ems, do
.RS
.EX
.B .TI 2m
.EE
.RE
.
.P
Subsequent invocations of
.B .TI
do not require you to supply a measure;
.B mom
keeps track of the last measure you gave it.
.
.P
Because
.I temporary indents
are temporary, there\[aq]s no need to turn them off.
.
.P
.I IMPORTANT:
Unlike
.BR .IL ,
.B .IR
and
.BR IB ,
measures given to
.B .TI
are NOT additive.
.
In the following example, the second
.B \%".TI 2P"
is exactly
.IR "2 picas" .
.RS
.EX
.B .TI 1P
.B The beginning of a paragraph\*[Ellipsis]
.B .TI 2P
.B The beginning of another paragraph\*[Ellipsis]
.EE
.RE
.
.RE
.
.
.
.\" ======================================================================
.\" TN - Tab Next
.\" ======================================================================
.TP
.B .TN
Tab Next
.
.RS
.P
Inline escape
.B \[rs]*[TB+]
.
.P
.B TN
moves over to the
.I next tab
in numeric sequence
.RI ( "tab n+1" )
without advancing on the page.
.
See the
.I NOTE
in the description of the
.B \%.TAB
macro for an example of how
.B TN
works.
.
.P
In
.I \%tabs
that aren\[aq]t given the
.B QUAD
argument when they\[aq]re set up with
.B \%.TAB_SET
or
.BR ST ,
you must terminate the line preceding
.B .TN
with the
.B \[rs]c
inline escape.
.
Conversely, if you did give a
.B QUAD
argument to
.B \%.TAB_SET
or
.BR ST ,
the
.B \[rs]c must not be used.
.
.P
If you find remembering whether to put in the
.B \[rs]c
bothersome, you may prefer to use the inline escape alternative
to
.BR .TN ,
.BR \[rs]*[TB+] ,
which works consistently regardless of the fill mode.
.
.P
.I Note:
You must put text in the input line immediately after
.BR .TN .
.
Stacking of
.BR .TN \[aq]s
is not allowed.
.
In other words, you cannot do
.RS
.EX
\fB.TAB 1
Some text\[rs]c
\&.TN
Some more text\[rs]c
\&.TN
\&.TN
Yet more text\fR
.EE
.RE
.
The above example, assuming
.I tabs
numbered from
.I 1
to
.IR 4 ,
should be entered
.RS
.EX
\fB.TAB 1
Some text\[rs]c
\&.TN
Some more text\[rs]c
\&.TN
\[rs]&\[rs]c
\&.TN
Yet more text
.EE
.RE
.
\[rs]& is a zero-width, non-printing character that
.I groff
recognizes as valid input, hence meets the requirement for input text
following
.BR .TN .
.
.RE
.
.
.\" ======================================================================
.\" Tab Quit
.\" ======================================================================
.TP
.B .TQ
.B TQ
takes you out of whatever
.I tab
you were in, advances
.IR "1 linespace" ,
and restores the
.IR "left margin" ,
.IR "line length" ,
.I quad direction
and
.I fill mode
that were in effect prior to invoking any
.IR tabs .
.
.
.\" ======================================================================
.\" Top Margin
.\" ======================================================================
.TP
.BI .T_MARGIN " <top margin>"
Top margin
.
.RS
.
.P
Requires a unit of measure
.
.P
.B .T_MARGIN
establishes the distance from the top of the printer sheet at which
you want your type to start.
.
It requires a unit of measure, and decimal fractions are allowed.
.
To set a top margin of 2\(12 centimetres, you\[aq]d enter
.RS
.EX
.B .T_MARGIN 2.5c
.EE
.RE
.
.B .T_MARGIN
calculates the vertical position of the first line of type on a page
by treating the top edge of the printer sheet as a baseline.
Therefore,
.RS
.EX
.B .T_MARGIN 1.5i
.EE
.RE
puts the baseline of the first line of type 1\(12 inches beneath the
top of the page.
.
.P
Note:
.B .T_MARGIN
means something slightly different when you\[aq]re using the document
processing macros.
.
See Top and bottom margins in document processing for an explanation.
.
.P
IMPORTANT:
.B .T_MARGIN
does two things: it establishes the top margin for pages that come
after it and it moves to that position on the current page.
.
Therefore,
.B .T_MARGIN
should only be used at the top of a file (prior to entering text) or
after NEWPAGE, like this:
.RS
.EX
.B .NEWPAGE
.B .T_MARGIN 6P
.I <text>
.EE
.RE
.
.RE
.
.
.\" --------------------------------------------------------------------
.SH "SEE ALSO"
.\" --------------------------------------------------------------------
.
.BR groff (1),
.BR groff_mom (7),
.
.TP
.B \%/usr/share/doc/groff-1.22.3/html/\:mom/\:toc.html
\[en] entry point to the HTML documentation
.
.TP
.UR http://\:www.schaffter.ca/\:mom/\:momdoc/\:toc.html
.UE
\[en] HTML documentation online
.
.TP
.UR http://\:www.schaffter.ca/\:mom/
.UE
\[en] the mom macros homepage
.
.
.\" --------------------------------------------------------------------
.SH BUGS
.\" --------------------------------------------------------------------
.
Please send bug reports to the
.MT bug-groff@gnu.org
groff-bug mailing list
.ME
or directly to the authors.
.
.
.\" --------------------------------------------------------------------
.SH "COPYING"
.\" --------------------------------------------------------------------
.co
.\" --------------------------------------------------------------------
.SH "AUTHORS"
.\" --------------------------------------------------------------------
.au
.
.
.cp \n[groff_mom_C]
.
.\" --------------------------------------------------------------------
.\" Emacs settings
.\" --------------------------------------------------------------------
.
.\" Local Variables:
.\" mode: nroff
.\" End:
|