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
|
<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
<html>
<!-- This document is an unofficial reference manual for LaTeX, a
document preparation system, version of October 2018.
This manual was originally translated from LATEX.HLP v1.0a in the
VMS Help Library. The pre-translation version was written by
George D. Greenwade of Sam Houston State University. The
LaTeX 2.09 version was written by Stephen Gilmore. The
LaTeX2e version was adapted from this by Torsten Martinsen. Karl
Berry made further updates and additions, and gratefully acknowledges
using Hypertext Help with LaTeX, by Sheldon Green, and
LaTeX Command Summary (for LaTeX 2.09) by
L. Botway and C. Biemesderfer (published by the TeX Users
Group as TeXniques number 10), as reference material. We also
gratefully acknowledge additional material appearing in
latex2e-reference by Martin Herbert Dietze. (From these references no
text was directly copied.)
Copyright 2007, 2008, 2009, 2010, 2011, 2012, 2013,
2014, 2015, 2016, 2017, 2018 Karl Berry.
Copyright 1988, 1994, 2007 Stephen Gilmore.
Copyright 1994, 1995, 1996 Torsten Martinsen.
Permission is granted to make and distribute verbatim copies of
this manual provided the copyright notice and this permission notice
are preserved on all copies.
Permission is granted to copy and distribute modified versions of this
manual under the conditions for verbatim copying, provided that the entire
resulting derived work is distributed under the terms of a permission
notice identical to this one.
Permission is granted to copy and distribute translations of this manual
into another language, under the above conditions for modified versions. -->
<!-- Created by GNU Texinfo 6.5, http://www.gnu.org/software/texinfo/ -->
<head>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8">
<title>Math formulas (LaTeX2e unofficial reference manual (October 2018))</title>
<meta name="description" content="Math formulas (LaTeX2e unofficial reference manual (October 2018))">
<meta name="keywords" content="Math formulas (LaTeX2e unofficial reference manual (October 2018))">
<meta name="resource-type" content="document">
<meta name="distribution" content="global">
<meta name="Generator" content="makeinfo">
<link href="latex2e_0.html#Top" rel="start" title="Top">
<link href="latex2e_30.html#Index" rel="index" title="Index">
<link href="latex2e_0.html#SEC_Contents" rel="contents" title="Table of Contents">
<link href="latex2e_0.html#Top" rel="up" title="Top">
<link href="latex2e_17.html#Modes" rel="next" title="Modes">
<link href="latex2e_15.html#Marginal-notes" rel="prev" title="Marginal notes">
<style type="text/css">
<!--
body {margin: 1em; margin-top: 0px; padding-top: 1px}
a.anchor {float: right}
a.summary-letter {text-decoration: none}
blockquote.indentedblock {margin-right: 0em}
blockquote.smallindentedblock {margin-right: 0em; font-size: smaller}
blockquote.smallquotation {font-size: smaller}
div.display {margin-left: 3.2em}
div.example {margin-left: 3.2em}
div.lisp {margin-left: 3.2em}
div.smalldisplay {margin-left: 3.2em}
div.smallexample {margin-left: 3.2em}
div.smalllisp {margin-left: 3.2em}
kbd {font-style: oblique}
pre.display {font-family: inherit}
pre.format {font-family: inherit}
pre.menu-comment {font-family: serif}
pre.menu-preformatted {font-family: serif}
pre.smalldisplay {font-family: inherit; font-size: smaller}
pre.smallexample {font-size: smaller}
pre.smallformat {font-family: inherit; font-size: smaller}
pre.smalllisp {font-size: smaller}
span.nolinebreak {white-space: nowrap}
span.roman {font-family: initial; font-weight: normal}
span.sansserif {font-family: sans-serif; font-weight: normal}
ul.no-bullet {list-style: none}
-->
</style>
</head>
<body id="top" lang="en">
<a name="Math-formulas" class="anchor"></a>
<a name="Math-formulas-1" class="anchor"></a>
<h2 class="chapter">Math formulas</h2>
<a name="index-math-formulas" class="anchor"></a>
<a name="index-formulas_002c-math" class="anchor"></a>
<a name="index-math-mode_002c-entering" class="anchor"></a>
<a name="index-environment_002c-math-1" class="anchor"></a>
<a name="index-math-environment-1" class="anchor"></a>
<a name="index-environment_002c-displaymath-1" class="anchor"></a>
<a name="index-displaymath-environment-1" class="anchor"></a>
<a name="index-environment_002c-equation-1" class="anchor"></a>
<a name="index-equation-environment-1" class="anchor"></a>
<p>Produce mathematical text by putting LaTeX into math mode or display
math mode (see <a href="latex2e_17.html#Modes">Modes</a>). This example shows both.
</p>
<div class="example">
<pre class="example">The wave equation for \( u \) is
\begin{displaymath}
\frac{\partial^2u}{\partial t^2} = c^2\nabla^2u
\end{displaymath}
where \( \nabla^2 \) is the spatial Laplacian and \( c \) is constant.
</pre></div>
<p>Math mode is for inline mathematics. In the above example it is invoked
by the starting <code>\(</code> and finished by the matching ending <code>\)</code>.
Display math mode is for displayed equations and here is invoked by the
<code>displaymath</code> environment. Note that any mathematical text
whatever, including mathematical text consisting of just one character,
is handled in math mode.
</p>
<p>When in math mode or display math mode, LaTeX handles many aspects of
your input text differently than in other text modes. For example,
</p>
<div class="example">
<pre class="example">contrast x+y with \( x+y \)
</pre></div>
<p>in math mode the letters are in italics and the spacing around the plus
sign is different.
</p>
<p>There are three ways to make inline formulas, to put LaTeX in math
mode.
</p>
<div class="example">
<pre class="example">\( <var>mathematical material</var> \)
$ <var>mathematical material</var> $
\begin{math} <var>mathematical material</var> \end{math}
</pre></div>
<p>The first form is preferred and the second is quite common, but the
third form is rarely used. You can sometimes use one and sometimes
another, as in <code>\(x\) and $y$</code>. You can use these in paragraph
mode or in LR mode (see <a href="latex2e_17.html#Modes">Modes</a>).
</p>
<p>To make displayed formulas, put LaTeX into display math mode with
either:
</p>
<div class="example">
<pre class="example">\begin{displaymath}
<var>mathematical material</var>
\end{displaymath}
</pre></div>
<p>or
</p>
<div class="example">
<pre class="example">\begin{equation}
<var>mathematical material</var>
\end{equation}
</pre></div>
<p>(see <a href="latex2e_8.html#displaymath">displaymath</a>, see <a href="latex2e_8.html#equation">equation</a>). The only difference is that
with the <code>equation</code> environment, LaTeX puts a formula number
alongside the formula. The construct <code>\[ <var>math</var> \]</code> is
equivalent to <code>\begin{displaymath} <var>math</var>
\end{displaymath}</code>. These environments can only be used in paragraph
mode (see <a href="latex2e_17.html#Modes">Modes</a>).
</p>
<a name="index-_005cdisplaystyle" class="anchor"></a>
<p>The two mathematics modes are similar, but there are some differences.
One involves the placement of subscripts and superscripts; in display
math mode they are further apart and in inline math mode they are closer
together.
</p>
<p>Sometimes you want the display math typographical treatment to happen in
the inline math mode. For this, the <code>\displaystyle</code> declaration
forces the size and style of the formula to be that of
<code>displaymath</code>. Thus <code>\(\displaystyle \sum_{n=0}^\infty
x_n\)</code> will have the limits above and below the summation sign, not next
to it. Another example is that
</p>
<div class="example">
<pre class="example">\begin{tabular}{r|cc}
\textsc{Name} &\textsc{Series} &\textsc{Sum} \\ \hline
Arithmetic &\( a+(a+b)+(a+2b)+\cdots+(a+(n-1)b) \)
&\( na+(n-1)n\cdot\frac{b}{2}\) \\
Geometric &\( a+ab+ab^2+\cdots+ab^{n-1} \)
&\(\displaystyle a\cdot\frac{1-b^n}{1-b}\) \\
\end{tabular}
</pre></div>
<p>because it has no <code>\displaystyle</code>, the ‘<samp>Arithmetic</samp>’ line’s
fraction will be scrunched. But, because of its <code>\displaystyle</code>,
the ‘<samp>Geometric</samp>’ line’s fraction will be easy to read, with
characters the same size as in the rest of the line.
</p>
<a name="index-package_002c-amsmath-5" class="anchor"></a>
<a name="index-amsmath-package-5" class="anchor"></a>
<a name="index-package_002c-amsfonts" class="anchor"></a>
<a name="index-amsfonts-package" class="anchor"></a>
<a name="index-package_002c-mathtools" class="anchor"></a>
<a name="index-mathtools-package" class="anchor"></a>
<p>The American Mathematical Society has made freely available a set of
packages that greatly expand your options for writing mathematics,
<samp>amsmath</samp> and <samp>amssymb</samp> (also be aware of the <samp>mathtools</samp>
package that is an extension to, and loads, <samp>amsmath</samp>). New
documents that will have mathematical text should use these packages.
Descriptions of these packages is outside the scope of this document;
see their documentation on CTAN.
</p>
<hr>
<a name="Subscripts-_0026-superscripts" class="anchor"></a>
<a name="Subscripts-_0026-superscripts-1" class="anchor"></a>
<h3 class="section">Subscripts & superscripts</h3>
<a name="index-superscript" class="anchor"></a>
<a name="index-subscript" class="anchor"></a>
<a name="index-exponent" class="anchor"></a>
<a name="index-_005f" class="anchor"></a>
<a name="index-_005e" class="anchor"></a>
<p>Synopsis (in math mode or display math mode), one of:
</p>
<div class="example">
<pre class="example"><var>base</var>^<var>exp</var>
<var>base</var>^{<var>exp</var>}
</pre></div>
<p>or, one of:
</p>
<div class="example">
<pre class="example"><var>base</var>_<var>exp</var>
<var>base</var>_{<var>exp</var>}
</pre></div>
<p>Make <var>exp</var> appear as a superscript of <var>base</var> (with the caret
character, <code>^</code>) or a subscript (with
underscore, <code>_</code>).
</p>
<p>In this example the <code>0</code>’s and <code>1</code>’s are subscripts while the
<code>2</code>’s are superscripts.
</p>
<div class="example">
<pre class="example">\( (x_0+x_1)^2 \leq (x_0)^2+(x_1)^2 \)
</pre></div>
<p>To have the subscript or superscript contain more than one character,
surround the expression with curly braces, as in <code>e^{-2x}</code>.
This example’s fourth line shows curly braces used to group an expression
for the exponent.
</p>
<div class="example">
<pre class="example">\begin{displaymath}
(3^3)^3=27^3=19\,683
\qquad
3^{(3^3)}=3^{27}=7\,625\,597\,484\,987
\end{displaymath}
</pre></div>
<p>LaTeX knows how to handle a superscript on a superscript, or a
subscript on a subscript, or supers on subs, or subs on supers. So,
expressions such as <code>e^{x^2}</code> and <code>x_{i_0}</code> give correct
output. Note the use in those expressions of curly braces to give the
<var>base</var> a determined <var>exp</var>. If you enter <code>\(3^3^3\)</code> then
you get ‘<samp>Double superscript</samp>’.
</p>
<p>LaTeX does the right thing when something has both a subscript and a
superscript. In this example the integral has both. They come out in
the correct place without any author intervention.
</p>
<div class="example">
<pre class="example">\begin{displaymath}
\int_{x=a}^b f'(x)\,dx = f(b)-f(a)
\end{displaymath}
</pre></div>
<p>Note the parentheses around <code>x=a</code> to make the entire expression a
subscript.
</p>
<p>To put a superscript or subscript before a symbol, use a construct like
<code>{}_t K^2</code>. The empty curly braces <code>{}</code> give the
subscript something to attach to and keeps it from accidentally
attaching to a prior symbols.
</p>
<p>Using the subscript or superscript command outside of math mode or
display math mode, as in <code>the expression x^2</code>, will get you
the error ‘<samp>Missing $ inserted</samp>’.
</p>
<a name="index-package_002c-mhchem" class="anchor"></a>
<a name="index-mhchem-package" class="anchor"></a>
<p>A common reason to want subscripts outside of a mathematics mode is to
typeset chemical formulas. There are packages for that such as
<samp>mhchem</samp>; see CTAN.
</p>
<hr>
<a name="Math-symbols" class="anchor"></a>
<a name="Math-symbols-1" class="anchor"></a>
<h3 class="section">Math symbols</h3>
<a name="index-math-symbols" class="anchor"></a>
<a name="index-symbols_002c-math" class="anchor"></a>
<a name="index-greek-letters" class="anchor"></a>
<a name="index-package_002c-symbols" class="anchor"></a>
<a name="index-symbols-package" class="anchor"></a>
<p>LaTeX provides almost any mathematical or technical symbol that
anyone uses. For example, if you include <code>$\pi$</code> in your source,
you will get the pi symbol π. See the <samp>Comprehensive
LaTeX Symbol List</samp> at
<a class="external" href="https://ctan.org/tex-archive/info/symbols/comprehensive/">https://ctan.org/tex-archive/info/symbols/comprehensive/</a>.
</p>
<p>Here is a list of commonly-used symbols. It is by no means exhaustive.
Each symbol is described with a short phrase, and its symbol class,
which determines the spacing around it, is given in parenthesis. Unless
said otherwise, the commands for these symbols can be used only in math
mode. To redefine a command so that it can be used whatever the current
mode, see <a href="latex2e_17.html#g_t_005censuremath">\ensuremath</a>.
</p>
<dl compact="compact">
<dt><code>\|</code>
<a name="index-_005c_007c" class="anchor"></a>
</dt>
<dd><p>∥ Parallel (relation). Synonym: <code>\parallel</code>.
</p>
</dd>
<dt><code>\aleph</code>
<a name="index-_005caleph" class="anchor"></a>
</dt>
<dd><p>ℵ Aleph, transfinite cardinal (ordinary).
</p>
</dd>
<dt><code>\alpha</code>
<a name="index-_005calpha" class="anchor"></a>
</dt>
<dd><p>α Lowercase Greek letter alpha (ordinary).
</p>
</dd>
<dt><code>\amalg</code>
<a name="index-_005camalg" class="anchor"></a>
</dt>
<dd><p>⨿ Disjoint union (binary)
</p>
</dd>
<dt><code>\angle</code>
<a name="index-_005cangle" class="anchor"></a>
</dt>
<dd><p>∠ Geometric angle (ordinary). Similar: less-than
sign <code><</code> and angle bracket <code>\langle</code>.
</p>
</dd>
<dt><code>\approx</code>
<a name="index-_005capprox" class="anchor"></a>
</dt>
<dd><p>≈ Almost equal to (relation).
</p>
</dd>
<dt><code>\ast</code>
<a name="index-_005cast" class="anchor"></a>
</dt>
<dd><p>∗ Asterisk operator, convolution, six-pointed
(binary). Synonym: <code>*</code>, which is often a superscript or
subscript, as in the Kleene star. Similar: <code>\star</code>, which is
five-pointed, and is sometimes used as a general binary operation, and
sometimes reserved for cross-correlation.
</p>
</dd>
<dt><code>\asymp</code>
<a name="index-_005casymp" class="anchor"></a>
</dt>
<dd><p>≍ Asymptotically equivalent (relation).
</p>
</dd>
<dt><code>\backslash</code>
<a name="index-_005cbackslash" class="anchor"></a>
</dt>
<dd><p>\ Backslash (ordinary). Similar: set minus <code>\setminus</code>, and
<code>\textbackslash</code> for backslash outside of math mode.
</p>
</dd>
<dt><code>\beta</code>
<a name="index-_005cbeta" class="anchor"></a>
</dt>
<dd><p>β Lowercase Greek letter beta (ordinary).
</p>
</dd>
<dt><code>\bigcap</code>
<a name="index-_005cbigcap" class="anchor"></a>
</dt>
<dd><p>⋂ Variable-sized, or n-ary, intersection (operator). Similar:
binary intersection <code>\cap</code>.
</p>
</dd>
<dt><code>\bigcirc</code>
<a name="index-_005cbigcirc" class="anchor"></a>
</dt>
<dd><p>⚪ Circle, larger (binary). Similar: function
composition <code>\circ</code>.
</p>
</dd>
<dt><code>\bigcup</code>
<a name="index-_005cbigcup" class="anchor"></a>
</dt>
<dd><p>⋃ Variable-sized, or n-ary, union (operator). Similar: binary
union <code>\cup</code>.
</p>
</dd>
<dt><code>\bigodot</code>
<a name="index-_005cbigodot" class="anchor"></a>
</dt>
<dd><p>⨀ Variable-sized, or n-ary, circled dot operator (operator).
</p>
</dd>
<dt><code>\bigoplus</code>
<a name="index-_005cbigoplus" class="anchor"></a>
</dt>
<dd><p>⨁ Variable-sized, or n-ary, circled plus operator (operator).
</p>
</dd>
<dt><code>\bigotimes</code>
<a name="index-_005cbigotimes" class="anchor"></a>
</dt>
<dd><p>⨂ Variable-sized, or n-ary, circled times operator (operator).
</p>
</dd>
<dt><code>\bigtriangledown</code>
<a name="index-_005cbigtriangledown" class="anchor"></a>
</dt>
<dd><p>▽ Variable-sized, or n-ary, open triangle pointing down
(operator).
</p>
</dd>
<dt><code>\bigtriangleup</code>
<a name="index-_005cbigtriangleup" class="anchor"></a>
</dt>
<dd><p>△ Variable-sized, or n-ary, open triangle pointing up (operator).
</p>
</dd>
<dt><code>\bigsqcup</code>
<a name="index-_005cbigsqcup" class="anchor"></a>
</dt>
<dd><p>⨆ Variable-sized, or n-ary, square union (operator).
</p>
</dd>
<dt><code>\biguplus</code>
<a name="index-_005cbiguplus" class="anchor"></a>
</dt>
<dd><p>⨄ Variable-sized, or n-ary, union operator with a plus
(operator). (Note that the name has only one p.)
</p>
</dd>
<dt><code>\bigvee</code>
<a name="index-_005cbigvee" class="anchor"></a>
</dt>
<dd><p>⋁ Variable-sized, or n-ary, logical-and (operator).
</p>
</dd>
<dt><code>\bigwedge</code>
<a name="index-_005cbigwedge" class="anchor"></a>
</dt>
<dd><p>⋀ Variable-sized, or n-ary, logical-or (operator).
</p>
</dd>
<dt><code>\bot</code>
<a name="index-_005cbot" class="anchor"></a>
</dt>
<dd><p>⊥ Up tack, bottom, least element of a partially ordered
set, or a contradiction (ordinary). See also <code>\top</code>.
</p>
</dd>
<dt><code>\bowtie</code>
<a name="index-_005cbowtie" class="anchor"></a>
</dt>
<dd><p>⋈ Natural join of two relations (relation).
</p>
</dd>
<dt><code>\Box</code>
<a name="index-_005cBox" class="anchor"></a>
</dt>
<dd><p>□ Modal operator for necessity; square open box
(ordinary). Not available in plain TeX. In LaTeX you need to load the <samp>amssymb</samp> package.
</p>
</dd>
<dt><code>\bullet</code>
<a name="index-_005cbullet" class="anchor"></a>
</dt>
<dd><a name="index-bullet-symbol" class="anchor"></a>
<p>• Bullet (binary). Similar: multiplication
dot <code>\cdot</code>.
</p>
</dd>
<dt><code>\cap</code>
<a name="index-_005ccap" class="anchor"></a>
</dt>
<dd><p>∩ Intersection of two sets (binary). Similar: variable-sized
operator <code>\bigcap</code>.
</p>
</dd>
<dt><code>\cdot</code>
<a name="index-_005ccdot" class="anchor"></a>
</dt>
<dd><p>⋅ Multiplication (binary). Similar: Bullet
dot <code>\bullet</code>.
</p>
</dd>
<dt><code>\chi</code>
<a name="index-_005cchi" class="anchor"></a>
</dt>
<dd><p>χ Lowercase Greek chi (ordinary).
</p>
</dd>
<dt><code>\circ</code>
<a name="index-_005ccirc" class="anchor"></a>
</dt>
<dd><p>∘ Function composition, ring operator (binary). Similar:
variable-sized operator <code>\bigcirc</code>.
</p>
</dd>
<dt><code>\clubsuit</code>
<a name="index-_005cclubsuit" class="anchor"></a>
</dt>
<dd><p>♣ Club card suit (ordinary).
</p>
</dd>
<dt><code>\complement</code>
<a name="index-_005ccomplement" class="anchor"></a>
</dt>
<dd><p>∁ Set complement, used as a superscript as in
<code>$S^\complement$</code> (ordinary). Not available in plain TeX. In LaTeX you need to load the <samp>amssymb</samp> package. Also used:
<code>$S^{\mathsf{c}}$</code> or <code>$\bar{S}$</code>.
</p>
</dd>
<dt><code>\cong</code>
<a name="index-_005ccong" class="anchor"></a>
</dt>
<dd><p>≅ Congruent (relation).
</p>
</dd>
<dt><code>\coprod</code>
<a name="index-_005ccoprod" class="anchor"></a>
</dt>
<dd><p>∐ Coproduct (operator).
</p>
</dd>
<dt><code>\cup</code>
<a name="index-_005ccup" class="anchor"></a>
</dt>
<dd><p>∪ Union of two sets (binary). Similar: variable-sized
operator <code>\bigcup</code>.
</p>
</dd>
<dt><code>\dagger</code>
<a name="index-_005cdagger" class="anchor"></a>
</dt>
<dd><p>† Dagger relation (binary).
</p>
</dd>
<dt><code>\dashv</code>
<a name="index-_005cdashv" class="anchor"></a>
</dt>
<dd><p>⊣ Dash with vertical, reversed turnstile (relation). Similar:
turnstile <code>\vdash</code>.
</p>
</dd>
<dt><code>\ddagger</code>
<a name="index-_005cddagger" class="anchor"></a>
</dt>
<dd><p>‡ Double dagger relation (binary).
</p>
</dd>
<dt><code>\Delta</code>
<a name="index-_005cDelta" class="anchor"></a>
</dt>
<dd><p>Δ Greek uppercase delta, used for increment (ordinary).
</p>
</dd>
<dt><code>\delta</code>
<a name="index-_005cdelta" class="anchor"></a>
</dt>
<dd><p>δ Greek lowercase delta (ordinary).
</p>
</dd>
<dt><code>\Diamond</code>
<a name="index-_005cDiamond" class="anchor"></a>
</dt>
<dd><p>◇ Large diamond operator (ordinary). Not available in plain TeX. In LaTeX you need to load the <samp>amssymb</samp> package.
</p>
</dd>
<dt><code>\diamond</code>
<a name="index-_005cdiamond" class="anchor"></a>
</dt>
<dd><p>⋄ Diamond operator (binary). Similar: large
diamond <code>\Diamond</code>, circle bullet <code>\bullet</code>.
</p>
</dd>
<dt><code>\diamondsuit</code>
<a name="index-_005cdiamondsuit" class="anchor"></a>
</dt>
<dd><p>♢ Diamond card suit (ordinary).
</p>
</dd>
<dt><code>\div</code>
<a name="index-_005cdiv" class="anchor"></a>
</dt>
<dd><p>÷ Division sign (binary).
</p>
</dd>
<dt><code>\doteq</code>
<a name="index-_005cdoteq" class="anchor"></a>
</dt>
<dd><p>≐ Approaches the limit (relation). Similar: geometrically equal
to <code>\Doteq</code>.
</p>
</dd>
<dt><code>\downarrow</code>
<a name="index-_005cdownarrow" class="anchor"></a>
</dt>
<dd><p>↓ Down arrow, converges (relation). Similar:
<code>\Downarrow</code> double line down arrow.
</p>
</dd>
<dt><code>\Downarrow</code>
<a name="index-_005cDownarrow" class="anchor"></a>
</dt>
<dd><p>⇓ Double line down arrow (relation). Similar:
<code>\downarrow</code> single line down arrow.
</p>
</dd>
<dt><code>\ell</code>
<a name="index-_005cell" class="anchor"></a>
</dt>
<dd><p>ℓ Lowercase cursive letter l (ordinary).
</p>
</dd>
<dt><code>\emptyset</code>
<a name="index-_005cemptyset" class="anchor"></a>
</dt>
<dd><p>∅ Empty set symbol (ordinary). The variant form is
<code>\varnothing</code>.
</p>
</dd>
<dt><code>\epsilon</code>
<a name="index-_005cepsilon" class="anchor"></a>
</dt>
<dd><p>ϵ Lowercase lunate epsilon (ordinary). Similar to
Greek text letter. More widely used in mathematics is the script small
letter epsilon <code>\varepsilon</code> ε. Related:
the set membership relation <code>\in</code> ∈.
</p>
</dd>
<dt><code>\equiv</code>
<a name="index-_005cequiv" class="anchor"></a>
</dt>
<dd><p>≡ Equivalence (relation).
</p>
</dd>
<dt><code>\eta</code>
<a name="index-_005ceta" class="anchor"></a>
</dt>
<dd><p>η Lowercase Greek letter (ordinary).
</p>
</dd>
<dt><code>\exists</code>
<a name="index-_005cexists" class="anchor"></a>
</dt>
<dd><p>∃ Existential quantifier (ordinary).
</p>
</dd>
<dt><code>\flat</code>
<a name="index-_005cflat" class="anchor"></a>
</dt>
<dd><p>♭ Musical flat (ordinary).
</p>
</dd>
<dt><code>\forall</code>
<a name="index-_005cforall" class="anchor"></a>
</dt>
<dd><p>∀ Universal quantifier (ordinary).
</p>
</dd>
<dt><code>\frown</code>
<a name="index-_005cfrown" class="anchor"></a>
</dt>
<dd><p>⌢ Downward curving arc (ordinary).
</p>
</dd>
<dt><code>\Gamma</code>
<a name="index-_005cGamma" class="anchor"></a>
</dt>
<dd><p>Γ uppercase Greek letter (ordinary).
</p>
</dd>
<dt><code>\gamma</code>
<a name="index-_005cgamma" class="anchor"></a>
</dt>
<dd><p>γ Lowercase Greek letter (ordinary).
</p>
</dd>
<dt><code>\ge</code>
<a name="index-_005cge" class="anchor"></a>
</dt>
<dd><p>≥ Greater than or equal to (relation). This is a synonym
for <code>\geq</code>.
</p>
</dd>
<dt><code>\geq</code>
<a name="index-_005cgeq" class="anchor"></a>
</dt>
<dd><p>≥ Greater than or equal to (relation). This is a synonym
for <code>\ge</code>.
</p>
</dd>
<dt><code>\gets</code>
<a name="index-_005cgets" class="anchor"></a>
</dt>
<dd><p>← Is assigned the value (relation).
Synonym: <code>\leftarrow</code>.
</p>
</dd>
<dt><code>\gg</code>
<a name="index-_005cgg" class="anchor"></a>
</dt>
<dd><p>≫ Much greater than (relation). Similar: much less
than <code>\ll</code>.
</p>
</dd>
<dt><code>\hbar</code>
<a name="index-_005chbar" class="anchor"></a>
</dt>
<dd><p>ℏ Planck constant over two pi (ordinary).
</p>
</dd>
<dt><code>\heartsuit</code>
<a name="index-_005cheartsuit" class="anchor"></a>
</dt>
<dd><p>♡ Heart card suit (ordinary).
</p>
</dd>
<dt><code>\hookleftarrow</code>
<a name="index-_005chookleftarrow" class="anchor"></a>
</dt>
<dd><p>↩ Hooked left arrow (relation).
</p>
</dd>
<dt><code>\hookrightarrow</code>
<a name="index-_005chookrightarrow" class="anchor"></a>
</dt>
<dd><p>↪ Hooked right arrow (relation).
</p>
</dd>
<dt><code>\iff</code>
<a name="index-_005ciff" class="anchor"></a>
</dt>
<dd><p>⟷ If and only if (relation). It is <code>\Longleftrightarrow</code>
with a <code>\thickmuskip</code> on either side.
</p>
</dd>
<dt><code>\Im</code>
<a name="index-_005cIm" class="anchor"></a>
</dt>
<dd><p>ℑ Imaginary part (ordinary). See: real part <code>\Re</code>.
</p>
</dd>
<dt><code>\imath</code>
<a name="index-_005cimath" class="anchor"></a>
</dt>
<dd><a name="index-dotless-i_002c-math" class="anchor"></a>
<p>Dotless i; used when you are putting an accent on an i (see <a href="#Math-accents">Math accents</a>).
</p>
</dd>
<dt><code>\in</code>
<a name="index-_005cin" class="anchor"></a>
</dt>
<dd><p>∈ Set element (relation). See also: lowercase lunate
epsilon <code>\epsilon</code>ϵ and small letter script
epsilon <code>\varepsilon</code>.
</p>
</dd>
<dt><code>\infty</code>
<a name="index-_005cinfty" class="anchor"></a>
</dt>
<dd><p>∞ Infinity (ordinary).
</p>
</dd>
<dt><code>\int</code>
<a name="index-_005cint" class="anchor"></a>
</dt>
<dd><p>∫ Integral (operator).
</p>
</dd>
<dt><code>\iota</code>
<a name="index-_005ciota" class="anchor"></a>
</dt>
<dd><p>ι Lowercase Greek letter (ordinary).
</p>
</dd>
<dt><code>\Join</code>
<a name="index-_005cJoin" class="anchor"></a>
</dt>
<dd><p>⨝ Condensed bowtie symbol (relation). Not available in Plain
TeX.
</p>
</dd>
<dt><code>\jmath</code>
<a name="index-_005cjmath" class="anchor"></a>
</dt>
<dd><a name="index-dotless-j_002c-math" class="anchor"></a>
<p>Dotless j; used when you are putting an accent on a j (see <a href="#Math-accents">Math accents</a>).
</p>
</dd>
<dt><code>\kappa</code>
<a name="index-_005ckappa" class="anchor"></a>
</dt>
<dd><p>κ Lowercase Greek letter (ordinary).
</p>
</dd>
<dt><code>\Lambda</code>
<a name="index-_005cLambda" class="anchor"></a>
</dt>
<dd><p>Λ uppercase Greek letter (ordinary).
</p>
</dd>
<dt><code>\lambda</code>
<a name="index-_005clambda" class="anchor"></a>
</dt>
<dd><p>λ Lowercase Greek letter (ordinary).
</p>
</dd>
<dt><code>\land</code>
<a name="index-_005cland" class="anchor"></a>
</dt>
<dd><p>∧ Logical and (binary). This is a synonym for <code>\wedge</code>.
See also logical or <code>\lor</code>.
</p>
</dd>
<dt><code>\langle</code>
<a name="index-_005clangle" class="anchor"></a>
</dt>
<dd><p>⟨ Left angle, or sequence, bracket (opening). Similar:
less-than <code><</code>. Matches <code>\rangle</code>.
</p>
</dd>
<dt><code>\lbrace</code>
<a name="index-_005clbrace" class="anchor"></a>
</dt>
<dd><p>{ Left curly brace
(opening). Synonym: <code>\{</code>. Matches <code>\rbrace</code>.
</p>
</dd>
<dt><code>\lbrack</code>
<a name="index-_005clbrack" class="anchor"></a>
</dt>
<dd><p>[ Left square bracket (opening).
Synonym: <code>[</code>. Matches <code>\rbrack</code>.
</p>
</dd>
<dt><code>\lceil</code>
<a name="index-_005clceil" class="anchor"></a>
</dt>
<dd><p>⌈ Left ceiling bracket, like a square bracket but with the bottom
shaved off (opening). Matches <code>\rceil</code>.
</p>
</dd>
<dt><code>\le</code>
<a name="index-_005cle" class="anchor"></a>
</dt>
<dd><p>≤ Less than or equal to (relation). This is a synonym
for <code>\leq</code>.
</p>
</dd>
<dt><code>\leadsto</code>
<a name="index-_005cleadsto" class="anchor"></a>
</dt>
<dd><p>⇝ Squiggly right arrow (relation). Not available in plain TeX. In LaTeX you need to load the <samp>amssymb</samp> package.
To get this symbol outside of math mode you can put
<code>\newcommand*{\Leadsto}{\ensuremath{\leadsto}}</code> in the
preamble and then use <code>\Leadsto</code> instead.
</p>
</dd>
<dt><code>\Leftarrow</code>
<a name="index-_005cLeftarrow" class="anchor"></a>
</dt>
<dd><p>⇐ Is implied by, double-line left arrow (relation). Similar:
single-line left arrow <code>\leftarrow</code>.
</p>
</dd>
<dt><code>\leftarrow</code>
<a name="index-_005cleftarrow" class="anchor"></a>
</dt>
<dd><p>← Single-line left arrow (relation).
Synonym: <code>\gets</code>. Similar: double-line left
arrow <code>\Leftarrow</code>.
</p>
</dd>
<dt><code>\leftharpoondown</code>
<a name="index-_005cleftharpoondown" class="anchor"></a>
</dt>
<dd><p>↽ Single-line left harpoon, barb under bar (relation).
</p>
</dd>
<dt><code>\leftharpoonup</code>
<a name="index-_005cleftharpoonup" class="anchor"></a>
</dt>
<dd><p>↼ Single-line left harpoon, barb over bar (relation).
</p>
</dd>
<dt><code>\Leftrightarrow</code>
<a name="index-_005cLeftrightarrow" class="anchor"></a>
</dt>
<dd><p>⇔ Bi-implication; double-line double-headed arrow (relation).
Similar: single-line double headed arrow <code>\leftrightarrow</code>.
</p>
</dd>
<dt><code>\leftrightarrow</code>
<a name="index-_005cleftrightarrow" class="anchor"></a>
</dt>
<dd><p>↔ Single-line double-headed arrow (relation). Similar:
double-line double headed arrow <code>\Leftrightarrow</code>.
</p>
</dd>
<dt><code>\leq</code>
<a name="index-_005cleq" class="anchor"></a>
</dt>
<dd><p>≤ Less than or equal to (relation). This is a synonym
for <code>\le</code>.
</p>
</dd>
<dt><code>\lfloor</code>
<a name="index-_005clfloor" class="anchor"></a>
</dt>
<dd><p>⌊ Left floor bracket (opening). Matches: <code>\floor</code>.
</p>
</dd>
<dt><code>\lhd</code>
<a name="index-_005clhd" class="anchor"></a>
</dt>
<dd><p>◁ Arrowhead, that is, triangle, pointing left (binary).
Not available in plain TeX. In LaTeX you need to load the <samp>amssymb</samp> package. For the normal subgroup symbol you should load
<samp>amssymb</samp> and use <code>\vartriangleleft</code> (which is a relation
and so gives better spacing).
</p>
</dd>
<dt><code>\ll</code>
<a name="index-_005cll" class="anchor"></a>
</dt>
<dd><p>≪ Much less than (relation). Similar: much greater
than <code>\gg</code>.
</p>
</dd>
<dt><code>\lnot</code>
<a name="index-_005clnot" class="anchor"></a>
</dt>
<dd><p>¬ Logical negation (ordinary). Synonym: <code>\neg</code>.
</p>
</dd>
<dt><code>\longleftarrow</code>
<a name="index-_005clongleftarrow" class="anchor"></a>
</dt>
<dd><p>⟵ Long single-line left arrow (relation). Similar: long
double-line left arrow <code>\Longleftarrow</code>.
</p>
</dd>
<dt><code>\longleftrightarrow</code>
<a name="index-_005clongleftrightarrow" class="anchor"></a>
</dt>
<dd><p>⟷ Long single-line double-headed arrow (relation). Similar: long
double-line double-headed arrow <code>\Longleftrightarrow</code>.
</p>
</dd>
<dt><code>\longmapsto</code>
<a name="index-_005clongmapsto" class="anchor"></a>
</dt>
<dd><p>⟼ Long single-line left arrow starting with vertical bar
(relation). Similar: shorter version <code>\mapsto</code>.
</p>
</dd>
<dt><code>\longrightarrow</code>
<a name="index-_005clongrightarrow" class="anchor"></a>
</dt>
<dd><p>⟶ Long single-line right arrow (relation). Similar: long
double-line right arrow <code>\Longrightarrow</code>.
</p>
</dd>
<dt><code>\lor</code>
<a name="index-_005clor" class="anchor"></a>
</dt>
<dd><p>∨ Logical or (binary). Synonym: wedge <code>\wedge</code>.
</p>
</dd>
<dt><code>\mapsto</code>
<a name="index-_005cmapsto" class="anchor"></a>
</dt>
<dd><p>↦ Single-line left arrow starting with vertical bar (relation).
Similar: longer version <code>\longmapsto</code>.
</p>
</dd>
<dt><code>\mho</code>
<a name="index-_005cmho" class="anchor"></a>
</dt>
<dd><p>℧ Conductance, half-circle rotated capital omega (ordinary).
Not available in plain TeX. In LaTeX you need to load the <samp>amssymb</samp> package.
</p>
</dd>
<dt><code>\mid</code>
<a name="index-_005cmid" class="anchor"></a>
</dt>
<dd><p>∣ Single-line vertical bar (relation). A typical use of
<code>\mid</code> is for a set <code>\{\, x \mid x\geq 5 \,\}</code>.
</p>
<p>Similar: <code>\vert</code> and <code>|</code> produce the same single-line
vertical bar symbol but without any spacing (they fall in class
ordinary) and you should not use them as relations but instead only as
ordinals, i.e., footnote symbols. For absolute value, see the entry
for <code>\vert</code> and for norm see the entry for <code>\Vert</code>.
</p>
</dd>
<dt><code>\models</code>
<a name="index-_005cmodels" class="anchor"></a>
</dt>
<dd><p>⊨ Entails, or satisfies; double turnstile, short double dash
(relation). Similar: long double dash <code>\vDash</code>.
</p>
</dd>
<dt><code>\mp</code>
<a name="index-_005cmp" class="anchor"></a>
</dt>
<dd><p>∓ Minus or plus (relation).
</p>
</dd>
<dt><code>\mu</code>
<a name="index-_005cmu" class="anchor"></a>
</dt>
<dd><p>μ Lowercase Greek letter (ordinary).
</p>
</dd>
<dt><code>\nabla</code>
<a name="index-_005cnabla" class="anchor"></a>
</dt>
<dd><p>∇ Hamilton’s del, or differential, operator (ordinary).
</p>
</dd>
<dt><code>\natural</code>
<a name="index-_005cnatural" class="anchor"></a>
</dt>
<dd><p>♮ Musical natural notation (ordinary).
</p>
</dd>
<dt><code>\ne</code>
<a name="index-_005cne" class="anchor"></a>
</dt>
<dd><p>≠ Not equal (relation). Synonym: <code>\neq</code>.
</p>
</dd>
<dt><code>\nearrow</code>
<a name="index-_005cnearrow" class="anchor"></a>
</dt>
<dd><p>↗ North-east arrow (relation).
</p>
</dd>
<dt><code>\neg</code>
<a name="index-_005cneg" class="anchor"></a>
</dt>
<dd><p>¬ Logical negation (ordinary).
Synonym: <code>\lnot</code>. Sometimes instead used for
negation: <code>\sim</code>.
</p>
</dd>
<dt><code>\neq</code>
<a name="index-_005cneq" class="anchor"></a>
</dt>
<dd><p>≠ Not equal (relation). Synonym: <code>\ne</code>.
</p>
</dd>
<dt><code>\ni</code>
<a name="index-_005cni" class="anchor"></a>
</dt>
<dd><p>∋ Reflected membership epsilon; has the member
(relation). Synonym: <code>\owns</code>. Similar: is a member
of <code>\in</code>.
</p>
</dd>
<dt><code>\not</code>
<a name="index-_005cnot" class="anchor"></a>
</dt>
<dd><p>  Long solidus, or slash, used to overstrike a
following operator (relation).
</p>
<p>Many negated operators are available that don’t require <code>\not</code>,
particularly with the <samp>amssymb</samp> package. For example, <code>\notin</code>
is typographically preferable to <code>\not\in</code>.
</p>
</dd>
<dt><code>\notin</code>
<a name="index-_005cnotin" class="anchor"></a>
</dt>
<dd><p>∉ Not an element of (relation). Similar: not subset
of <code>\nsubseteq</code>.
</p>
</dd>
<dt><code>\nu</code>
<a name="index-_005cnu" class="anchor"></a>
</dt>
<dd><p>ν Lowercase Greek letter (ordinary).
</p>
</dd>
<dt><code>\nwarrow</code>
<a name="index-_005cnwarrow" class="anchor"></a>
</dt>
<dd><p>↖ North-west arrow (relation).
</p>
</dd>
<dt><code>\odot</code>
<a name="index-_005codot" class="anchor"></a>
</dt>
<dd><p>⊙ Dot inside a circle (binary). Similar: variable-sized
operator <code>\bigodot</code>.
</p>
</dd>
<dt><code>\oint</code>
<a name="index-_005coint" class="anchor"></a>
</dt>
<dd><p>∮ Contour integral, integral with circle in the middle
(operator).
</p>
</dd>
<dt><code>\Omega</code>
<a name="index-_005cOmega" class="anchor"></a>
</dt>
<dd><p>Ω uppercase Greek letter (ordinary).
</p>
</dd>
<dt><code>\omega</code>
<a name="index-_005comega" class="anchor"></a>
</dt>
<dd><p>ω Lowercase Greek letter (ordinary).
</p>
</dd>
<dt><code>\ominus</code>
<a name="index-_005cominus" class="anchor"></a>
</dt>
<dd><p>⊖ Minus sign, or dash, inside a circle (binary).
</p>
</dd>
<dt><code>\oplus</code>
<a name="index-_005coplus" class="anchor"></a>
</dt>
<dd><p>⊕ Plus sign inside a circle (binary). Similar: variable-sized
operator <code>\bigoplus</code>.
</p>
</dd>
<dt><code>\oslash</code>
<a name="index-_005coslash" class="anchor"></a>
</dt>
<dd><p>⊘ Solidus, or slash, inside a circle (binary).
</p>
</dd>
<dt><code>\otimes</code>
<a name="index-_005cotimes" class="anchor"></a>
</dt>
<dd><p>⊗ Times sign, or cross, inside a circle (binary). Similar:
variable-sized operator <code>\bigotimes</code>.
</p>
</dd>
<dt><code>\owns</code>
<a name="index-_005cowns" class="anchor"></a>
</dt>
<dd><p>∋ Reflected membership epsilon; has the member
(relation). Synonym: <code>\ni</code>. Similar: is a member
of <code>\in</code>.
</p>
</dd>
<dt><code>\parallel</code>
<a name="index-_005cparallel" class="anchor"></a>
</dt>
<dd><p>∥ Parallel (relation). Synonym: <code>\|</code>.
</p>
</dd>
<dt><code>\partial</code>
<a name="index-_005cpartial" class="anchor"></a>
</dt>
<dd><p>∂ Partial differential (ordinary).
</p>
</dd>
<dt><code>\perp</code>
<a name="index-_005cperp" class="anchor"></a>
</dt>
<dd><p>⟂ Perpendicular (relation). Similar: <code>\bot</code> uses the
same glyph but the spacing is different because it is in the class
ordinary.
</p>
</dd>
<dt><code>\phi</code>
<a name="index-_005cphi" class="anchor"></a>
</dt>
<dd><p>ϕ Lowercase Greek letter (ordinary). The variant form is
<code>\varphi</code> φ.
</p>
</dd>
<dt><code>\Pi</code>
<a name="index-_005cPi" class="anchor"></a>
</dt>
<dd><p>Π uppercase Greek letter (ordinary).
</p>
</dd>
<dt><code>\pi</code>
<a name="index-_005cpi" class="anchor"></a>
</dt>
<dd><p>π Lowercase Greek letter (ordinary). The variant form is
<code>\varpi</code> ϖ.
</p>
</dd>
<dt><code>\pm</code>
<a name="index-_005cpm" class="anchor"></a>
</dt>
<dd><p>± Plus or minus (binary).
</p>
</dd>
<dt><code>\prec</code>
<a name="index-_005cprec" class="anchor"></a>
</dt>
<dd><p>≺ Precedes (relation). Similar: less than <code><</code>.
</p>
</dd>
<dt><code>\preceq</code>
<a name="index-_005cpreceq" class="anchor"></a>
</dt>
<dd><p>⪯ Precedes or equals (relation). Similar: less than or
equals <code>\leq</code>.
</p>
</dd>
<dt><code>\prime</code>
<a name="index-_005cprime" class="anchor"></a>
</dt>
<dd><p>′ Prime, or minute in a time expression (ordinary).
Typically used as a superscript: <code>$f^\prime$</code>; <code>$f^\prime$</code>
and <code>$f'$</code> produce the same result. An advantage of the second
is that <code>$f'''$</code> produces the desired symbol, that is, the same
result as <code>$f^{\prime\prime\prime}$</code>, but uses rather less
typing. You can only use <code>\prime</code> in math mode. Using the right
single quote <code>'</code> in text mode produces a different character
(apostrophe).
</p>
</dd>
<dt><code>\prod</code>
<a name="index-_005cprod" class="anchor"></a>
</dt>
<dd><p>∏ Product (operator).
</p>
</dd>
<dt><code>\propto</code>
<a name="index-_005cpropto" class="anchor"></a>
</dt>
<dd><p>∝ Is proportional to (relation)
</p>
</dd>
<dt><code>\Psi</code>
<a name="index-_005cPsi" class="anchor"></a>
</dt>
<dd><p>Ψ uppercase Greek letter (ordinary).
</p>
</dd>
<dt><code>\psi</code>
<a name="index-_005cpsi" class="anchor"></a>
</dt>
<dd><p>ψ Lowercase Greek letter (ordinary).
</p>
</dd>
<dt><code>\rangle</code>
<a name="index-_005crangle" class="anchor"></a>
</dt>
<dd><p>⟩ Right angle, or sequence, bracket (closing).
Similar: greater than <code>></code>. Matches:<code>\langle</code>.
</p>
</dd>
<dt><code>\rbrace</code>
<a name="index-_005crbrace" class="anchor"></a>
</dt>
<dd><p>} Right curly brace
(closing). Synonym: <code>\}</code>. Matches <code>\lbrace</code>.
</p>
</dd>
<dt><code>\rbrack</code>
<a name="index-_005crbrack" class="anchor"></a>
</dt>
<dd><p>] Right square bracket
(closing). Synonym: <code>]</code>. Matches <code>\lbrack</code>.
</p>
</dd>
<dt><code>\rceil</code>
<a name="index-_005crceil" class="anchor"></a>
</dt>
<dd><p>⌉ Right ceiling bracket (closing). Matches <code>\lceil</code>.
</p>
</dd>
<dt><code>\Re</code>
<a name="index-_005cRe" class="anchor"></a>
</dt>
<dd><p>ℜ Real part, real numbers, cursive capital R (ordinary). Related:
double-line, or blackboard bold, R <code>\mathbb{R}</code>; to access
this, load the <samp>amsfonts</samp> package.
</p>
</dd>
<dt><code>\restriction</code>
<a name="index-_005crestriction" class="anchor"></a>
</dt>
<dd><p>↾ Restriction of a function (relation). Synonym:
<code>\upharpoonright</code>. Not available in plain TeX. In LaTeX you need to load the <samp>amssymb</samp> package.
</p>
</dd>
<dt><code>\revemptyset</code>
<a name="index-_005crevemptyset" class="anchor"></a>
</dt>
<dd><p>⦰ Reversed empty set symbol (ordinary). Related:
<code>\varnothing</code>. Not available in plain TeX. In LaTeX you need to load the <samp>stix</samp> package.
</p>
</dd>
<dt><code>\rfloor</code>
<a name="index-_005crfloor" class="anchor"></a>
</dt>
<dd><p>⌋ Right floor bracket, a right square bracket with the top cut
off (closing). Matches <code>\lfloor</code>.
</p>
</dd>
<dt><code>\rhd</code>
<a name="index-_005crhd" class="anchor"></a>
</dt>
<dd><p>◁ Arrowhead, that is, triangle, pointing right (binary).
Not available in plain TeX. In LaTeX you need to load the <samp>amssymb</samp> package. For the normal subgroup symbol you should instead
load <samp>amssymb</samp> and use <code>\vartriangleright</code> (which is a
relation and so gives better spacing).
</p>
</dd>
<dt><code>\rho</code>
<a name="index-_005crho" class="anchor"></a>
</dt>
<dd><p>ρ Lowercase Greek letter (ordinary). The variant form is
<code>\varrho</code> ϱ.
</p>
</dd>
<dt><code>\Rightarrow</code>
<a name="index-_005cRightarrow" class="anchor"></a>
</dt>
<dd><p>⇒ Implies, right-pointing double line arrow
(relation). Similar: right single-line arrow <code>\rightarrow</code>.
</p>
</dd>
<dt><code>\rightarrow</code>
<a name="index-_005crightarrow" class="anchor"></a>
</dt>
<dd><p>→ Right-pointing single line arrow (relation).
Synonym: <code>\to</code>. Similar: right double line
arrow <code>\Rightarrow</code>.
</p>
</dd>
<dt><code>\rightharpoondown</code>
<a name="index-_005crightharpoondown" class="anchor"></a>
</dt>
<dd><p>⇁ Right-pointing harpoon with barb below
the line (relation).
</p>
</dd>
<dt><code>\rightharpoonup</code>
<a name="index-_005crightharpoonup" class="anchor"></a>
</dt>
<dd><p>⇀ Right-pointing harpoon with barb above the
line (relation).
</p>
</dd>
<dt><code>\rightleftharpoons</code>
<a name="index-_005crightleftharpoons" class="anchor"></a>
</dt>
<dd><p>⇌ Right harpoon up above left harpoon down
(relation).
</p>
</dd>
<dt><code>\searrow</code>
<a name="index-_005csearrow" class="anchor"></a>
</dt>
<dd><p>↘ Arrow pointing southeast (relation).
</p>
</dd>
<dt><code>\setminus</code>
<a name="index-_005csetminus" class="anchor"></a>
</dt>
<dd><p>⧵ Set difference, reverse solidus or reverse slash,
like \ (binary). Similar: backslash <code>\backslash</code> and also
<code>\textbackslash</code> outside of math mode.
</p>
</dd>
<dt><code>\sharp</code>
<a name="index-_005csharp" class="anchor"></a>
</dt>
<dd><p>♯ Musical sharp (ordinary).
</p>
</dd>
<dt><code>\Sigma</code>
<a name="index-_005cSigma" class="anchor"></a>
</dt>
<dd><p>Σ uppercase Greek letter (ordinary).
</p>
</dd>
<dt><code>\sigma</code>
<a name="index-_005csigma" class="anchor"></a>
</dt>
<dd><p>σ Lowercase Greek letter (ordinary). The variant form is
<code>\varsigma</code> ς.
</p>
</dd>
<dt><code>\sim</code>
<a name="index-_005csim" class="anchor"></a>
</dt>
<dd><p>∼ Similar, in a relation (relation).
</p>
</dd>
<dt><code>\simeq</code>
<a name="index-_005csimeq" class="anchor"></a>
</dt>
<dd><p>≃ Similar or equal to, in a relation (relation).
</p>
</dd>
<dt><code>\smallint</code>
<a name="index-_005csmallint" class="anchor"></a>
</dt>
<dd><p>∫ Integral sign that does not change to a larger size in a
display (operator).
</p>
</dd>
<dt><code>\smile</code>
<a name="index-_005csmile" class="anchor"></a>
</dt>
<dd><p>⌣ Upward curving arc, smile (ordinary).
</p>
</dd>
<dt><code>\spadesuit</code>
<a name="index-_005cspadesuit" class="anchor"></a>
</dt>
<dd><p>♠ Spade card suit (ordinary).
</p>
</dd>
<dt><code>\sqcap</code>
<a name="index-_005csqcap" class="anchor"></a>
</dt>
<dd><p>⊓ Square intersection symbol (binary). Similar:
intersection <code>cap</code>.
</p>
</dd>
<dt><code>\sqcup</code>
<a name="index-_005csqcup" class="anchor"></a>
</dt>
<dd><p>⊔ Square union symbol (binary). Similar:
union <code>cup</code>. Related: variable-sized
operator <code>\bigsqcup</code>.
</p>
</dd>
<dt><code>\sqsubset</code>
<a name="index-_005csqsubset" class="anchor"></a>
</dt>
<dd><p>⊏ Square subset symbol (relation). Similar:
subset <code>\subset</code>. Not available in plain TeX. In LaTeX you need to load the <samp>amssymb</samp> package.
</p>
</dd>
<dt><code>\sqsubseteq</code>
<a name="index-_005csqsubseteq" class="anchor"></a>
</dt>
<dd><p>⊑ Square subset or equal symbol (binary). Similar: subset or
equal to <code>\subseteq</code>.
</p>
</dd>
<dt><code>\sqsupset</code>
<a name="index-_005csqsupset" class="anchor"></a>
</dt>
<dd><p>⊐ Square superset symbol (relation). Similar:
superset <code>\supset</code>. Not available in plain TeX. In LaTeX you need to load the <samp>amssymb</samp> package.
</p>
</dd>
<dt><code>\sqsupseteq</code>
<a name="index-_005csqsupseteq" class="anchor"></a>
</dt>
<dd><p>⊒ Square superset or equal symbol (binary).
Similar: superset or equal <code>\supseteq</code>.
</p>
</dd>
<dt><code>\star</code>
<a name="index-_005cstar" class="anchor"></a>
</dt>
<dd><p>⋆ Five-pointed star, sometimes used as a general binary
operation but sometimes reserved for cross-correlation (binary).
Similar: the synonyms asterisk <code>*</code> and <code>\ast</code>, which
are six-pointed, and more often appear as a superscript or subscript,
as with the Kleene star.
</p>
</dd>
<dt><code>\subset</code>
<a name="index-_005csubset" class="anchor"></a>
</dt>
<dd><p>⊂ Subset (occasionally, is implied by) (relation).
</p>
</dd>
<dt><code>\subseteq</code>
<a name="index-_005csubseteq" class="anchor"></a>
</dt>
<dd><p>⊆ Subset or equal to (relation).
</p>
</dd>
<dt><code>\succ</code>
<a name="index-_005csucc" class="anchor"></a>
</dt>
<dd><p>≻ Comes after, succeeds (relation). Similar: is less
than <code>></code>.
</p>
</dd>
<dt><code>\succeq</code>
<a name="index-_005csucceq" class="anchor"></a>
</dt>
<dd><p>⪰ Succeeds or is equal to (relation). Similar: less
than or equal to <code>\leq</code>.
</p>
</dd>
<dt><code>\sum</code>
<a name="index-_005csum" class="anchor"></a>
</dt>
<dd><p>∑ Summation (operator). Similar: Greek capital
sigma <code>\Sigma</code>.
</p>
</dd>
<dt><code>\supset</code>
<a name="index-_005csupset" class="anchor"></a>
</dt>
<dd><p>⊃ Superset (relation).
</p>
</dd>
<dt><code>\supseteq</code>
<a name="index-_005csupseteq" class="anchor"></a>
</dt>
<dd><p>⊇ Superset or equal to (relation).
</p>
</dd>
<dt><code>\surd</code>
<a name="index-_005csurd" class="anchor"></a>
</dt>
<dd><p>√ Radical symbol (ordinary). The LaTeX command
<code>\sqrt{...}</code> typesets the square root of the argument, with a bar
that extends to cover the argument.
</p>
</dd>
<dt><code>\swarrow</code>
<a name="index-_005cswarrow" class="anchor"></a>
</dt>
<dd><p>↙ Southwest-pointing arrow (relation).
</p>
</dd>
<dt><code>\tau</code>
<a name="index-_005ctau" class="anchor"></a>
</dt>
<dd><p>τ Lowercase Greek letter (ordinary).
</p>
</dd>
<dt><code>\theta</code>
<a name="index-_005ctheta" class="anchor"></a>
</dt>
<dd><p>θ Lowercase Greek letter (ordinary). The variant form is
<code>\vartheta</code> ϑ.
</p>
</dd>
<dt><code>\times</code>
<a name="index-_005ctimes" class="anchor"></a>
</dt>
<dd><p>× Primary school multiplication sign (binary). See
also <code>\cdot</code>.
</p>
</dd>
<dt><code>\to</code>
<a name="index-_005cto" class="anchor"></a>
</dt>
<dd><p>→ Right-pointing single line arrow (relation).
Synonym: <code>\rightarrow</code>.
</p>
</dd>
<dt><code>\top</code>
<a name="index-_005ctop" class="anchor"></a>
</dt>
<dd><p>⊤ Top, greatest element of a partially ordered set
(ordinary). See also <code>\bot</code>.
</p>
</dd>
<dt><code>\triangle</code>
<a name="index-_005ctriangle" class="anchor"></a>
</dt>
<dd><p>△ Triangle (ordinary).
</p>
</dd>
<dt><code>\triangleleft</code>
<a name="index-_005ctriangleleft" class="anchor"></a>
</dt>
<dd><p>◁ Not-filled triangle pointing left
(binary). Similar: <code>\lhd</code>. For the normal subgroup symbol you
should load <samp>amssymb</samp> and use <code>\vartriangleleft</code> (which
is a relation and so gives better spacing).
</p>
</dd>
<dt><code>\triangleright</code>
<a name="index-_005ctriangleright" class="anchor"></a>
</dt>
<dd><p>▷ Not-filled triangle pointing right
(binary). For the normal subgroup symbol you should instead load
<samp>amssymb</samp> and use <code>\vartriangleright</code> (which is a
relation and so gives better spacing).
</p>
</dd>
<dt><code>\unlhd</code>
<a name="index-_005cunlhd" class="anchor"></a>
</dt>
<dd><p>⊴ Left-pointing not-filled underlined arrowhead, that is,
triangle, with a line under (binary). Not available in plain TeX. In LaTeX you need to load the <samp>amssymb</samp> package. For the
normal subgroup symbol load <samp>amssymb</samp> and
use <code>\vartrianglelefteq</code> (which is a relation and so gives
better spacing).
</p>
</dd>
<dt><code>\unrhd</code>
<a name="index-_005cunrhd" class="anchor"></a>
</dt>
<dd><p>⊵ Right-pointing not-filled underlined arrowhead, that is,
triangle, with a line under (binary). Not available in plain TeX. In LaTeX you need to load the <samp>amssymb</samp> package. For the
normal subgroup symbol load <samp>amssymb</samp> and
use <code>\vartrianglerighteq</code> (which is a relation and so gives
better spacing).
</p>
</dd>
<dt><code>\Uparrow</code>
<a name="index-_005cUparrow" class="anchor"></a>
</dt>
<dd><p>⇑ Double-line upward-pointing arrow
(relation). Similar: single-line up-pointing
arrow <code>\uparrow</code>.
</p>
</dd>
<dt><code>\uparrow</code>
<a name="index-_005cuparrow" class="anchor"></a>
</dt>
<dd><p>↑ Single-line upward-pointing arrow, diverges
(relation). Similar: double-line up-pointing
arrow <code>\Uparrow</code>.
</p>
</dd>
<dt><code>\Updownarrow</code>
<a name="index-_005cUpdownarrow" class="anchor"></a>
</dt>
<dd><p>⇕ Double-line upward-and-downward-pointing arrow
(relation). Similar: single-line upward-and-downward-pointing
arrow <code>\updownarrow</code>.
</p>
</dd>
<dt><code>\updownarrow</code>
<a name="index-_005cupdownarrow" class="anchor"></a>
</dt>
<dd><p>↕ Single-line upward-and-downward-pointing arrow
(relation). Similar: double-line upward-and-downward-pointing
arrow <code>\Updownarrow</code>.
</p>
</dd>
<dt><code>\upharpoonright</code>
<a name="index-_005cupharpoonright" class="anchor"></a>
</dt>
<dd><p>↾ Up harpoon, with barb on right side
(relation). Synonym: <code>\restriction</code>.
Not available in plain TeX. In LaTeX you need to load the <samp>amssymb</samp> package.
</p>
</dd>
<dt><code>\uplus</code>
<a name="index-_005cuplus" class="anchor"></a>
</dt>
<dd><p>⊎ Multiset union, a union symbol with a plus symbol in
the middle (binary). Similar: union <code>\cup</code>. Related:
variable-sized operator <code>\biguplus</code>.
</p>
</dd>
<dt><code>\Upsilon</code>
<a name="index-_005cUpsilon" class="anchor"></a>
</dt>
<dd><p>Υ uppercase Greek letter (ordinary).
</p>
</dd>
<dt><code>\upsilon</code>
<a name="index-_005cupsilon" class="anchor"></a>
</dt>
<dd><p>υ Lowercase Greek letter (ordinary).
</p>
</dd>
<dt><code>\varepsilon</code>
<a name="index-_005cvarepsilon" class="anchor"></a>
</dt>
<dd><p>ε Small letter script epsilon (ordinary). This is
more widely used in mathematics than the non-variant lunate epsilon form
<code>\epsilon</code> ϵ. Related: set
membership <code>\in</code>.
</p>
</dd>
<dt><code>\vanothing</code>
<a name="index-_005cvanothing" class="anchor"></a>
</dt>
<dd><p>∅ Empty set symbol. Similar: <code>\emptyset</code>. Related:
<code>\revemptyset</code>. Not available in plain TeX. In LaTeX you need to load the <samp>amssymb</samp> package.
</p>
</dd>
<dt><code>\varphi</code>
<a name="index-_005cvarphi" class="anchor"></a>
</dt>
<dd><p>φ Variant on the lowercase Greek letter (ordinary).
The non-variant form is <code>\phi</code> ϕ.
</p>
</dd>
<dt><code>\varpi</code>
<a name="index-_005cvarpi" class="anchor"></a>
</dt>
<dd><p>ϖ Variant on the lowercase Greek letter (ordinary).
The non-variant form is <code>\pi</code> π.
</p>
</dd>
<dt><code>\varrho</code>
<a name="index-_005cvarrho" class="anchor"></a>
</dt>
<dd><p>ϱ Variant on the lowercase Greek letter (ordinary).
The non-variant form is <code>\rho</code> ρ.
</p>
</dd>
<dt><code>\varsigma</code>
<a name="index-_005cvarsigma" class="anchor"></a>
</dt>
<dd><p>ς Variant on the lowercase Greek letter
(ordinary). The non-variant form is
<code>\sigma</code> σ.
</p>
</dd>
<dt><code>\vartheta</code>
<a name="index-_005cvartheta" class="anchor"></a>
</dt>
<dd><p>ϑ Variant on the lowercase Greek letter
(ordinary). The non-variant form is
<code>\theta</code> θ.
</p>
</dd>
<dt><code>\vdash</code>
<a name="index-_005cvdash" class="anchor"></a>
</dt>
<dd><p>⊢ Provable; turnstile, vertical and a dash
(relation). Similar: turnstile rotated a
half-circle <code>\dashv</code>.
</p>
</dd>
<dt><code>\vee</code>
<a name="index-_005cvee" class="anchor"></a>
</dt>
<dd><p>∨ Logical or; a downwards v shape (binary). Related:
logical and <code>\wedge</code>. Similar: variable-sized
operator <code>\bigvee</code>.
</p>
</dd>
<dt><code>\Vert</code>
<a name="index-_005cVert" class="anchor"></a>
</dt>
<dd><p>‖ Vertical double bar (ordinary). Similar: vertical single
bar <code>\vert</code>.
</p>
<p>For a norm symbol, you can use the <samp>mathtools</samp> package and put in
your preamble
<code>\DeclarePairedDelimiter\norm{\lVert}{\rVert}</code>. This gives you
three command variants for double-line vertical bars that are correctly
horizontally spaced: if in the document body you write the starred
version <code>$\norm*{M^\perp}$</code> then the height of the vertical bars
will match the height of the argument, whereas with
<code>\norm{M^\perp}</code> the bars do not grow with the height of the
argument but instead are the default height, and <code>\norm[<var>size
command</var>]{M^\perp}</code> also gives bars that do not grow but are set to
the size given in the <var>size command</var>, e.g., <code>\Bigg</code>.
</p>
</dd>
<dt><code>\vert</code>
<a name="index-_005cvert" class="anchor"></a>
</dt>
<dd><p>| Single line vertical bar (ordinary). Similar: double-line
vertical bar <code>\Vert</code>. For such that, as in the definition of a
set, use <code>\mid</code> because it is a relation.
</p>
<p>For absolute value you can use the <samp>mathtools</samp> package and in your
preamble put
<code>\DeclarePairedDelimiter\abs{\lvert}{\rvert}</code>. This gives you
three command variants for single-line vertical bars that are correctly
horizontally spaced: if in the document body you write the starred
version <code>$\abs*{\frac{22}{7}}$</code> then the height of the
vertical bars will match the height of the argument, whereas with
<code>\abs{\frac{22}{7}}</code> the bars do not grow with the height of
the argument but instead are the default height, and
<code>\abs[<var>size command</var>]{\frac{22}{7}}</code> also gives bars that
do not grow but are set to the size given in the <var>size command</var>,
e.g., <code>\Bigg</code>.
</p>
</dd>
<dt><code>\wedge</code>
<a name="index-_005cwedge" class="anchor"></a>
</dt>
<dd><p>∧ Logical and (binary). Synonym: <code>\land</code>. See also
logical or <code>\vee</code>. Similar: variable-sized
operator <code>\bigwedge</code>.
</p>
</dd>
<dt><code>\wp</code>
<a name="index-_005cwp" class="anchor"></a>
</dt>
<dd><p>℘ Weierstrass p (ordinary).
</p>
</dd>
<dt><code>\wr</code>
<a name="index-_005cwr" class="anchor"></a>
</dt>
<dd><p>≀ Wreath product (binary).
</p>
</dd>
<dt><code>\Xi</code>
<a name="index-_005cXi" class="anchor"></a>
</dt>
<dd><p>Ξ uppercase Greek letter (ordinary).
</p>
</dd>
<dt><code>\xi</code>
<a name="index-_005cxi" class="anchor"></a>
</dt>
<dd><p>ξ Lowercase Greek letter (ordinary).
</p>
</dd>
<dt><code>\zeta</code>
<a name="index-_005czeta" class="anchor"></a>
</dt>
<dd><p>ζ Lowercase Greek letter (ordinary).
</p>
</dd>
</dl>
<p>The following symbols are most often used in plain text but LaTeX
provides versions to use in mathematical text.
</p>
<dl compact="compact">
<dt><code>\mathdollar</code>
<a name="index-_005cmathdollar" class="anchor"></a>
</dt>
<dd><p>Dollar sign in math mode: $.
</p>
</dd>
<dt><code>\mathparagraph</code>
<a name="index-_005cmathparagraph" class="anchor"></a>
</dt>
<dd><p>Paragraph sign (pilcrow) in math mode, ¶.
</p>
</dd>
<dt><code>\mathsection</code>
<a name="index-_005cmathsection" class="anchor"></a>
</dt>
<dd><p>Section sign in math mode §.
</p>
</dd>
<dt><code>\mathsterling</code>
<a name="index-_005cmathsterling" class="anchor"></a>
</dt>
<dd><p>Sterling sign in math mode: £.
</p>
</dd>
<dt><code>\mathunderscore</code>
<a name="index-_005cmathunderscore" class="anchor"></a>
</dt>
<dd><p>Underscore in math mode: _.
</p>
</dd>
</dl>
<hr>
<a name="Blackboard-bold" class="anchor"></a>
<a name="Blackboard-bold-1" class="anchor"></a>
<h4 class="subsection">Blackboard bold</h4>
<a name="index-blackboard-bold" class="anchor"></a>
<a name="index-doublestruck" class="anchor"></a>
<p>Synopsis:
</p>
<div class="example">
<pre class="example">\usepackage{amssymb} % in preamble
...
\mathbb{<var>uppercase-letter</var>}
</pre></div>
<p>Provide blackboard bold symbols, sometimes also known as doublestruck
letters, used to denote number sets such as the natural numbers, the
integers, etc.
</p>
<p>Here
</p>
<div class="example">
<pre class="example">\( \forall n \in \mathbb{N}, n^2 \geq 0 \)
</pre></div>
<p>the <code>\mathbb{N}</code> gives blackboard bold symbol ℕ
representing the natural numbers.
</p>
<p>If you use other than an uppercase letter then you do not get an error
but you get strange results, including unexpected characters.
</p>
<p>There are packages that give access to symbols other than just the
capital letters; look on CTAN.
</p>
<hr>
<a name="Calligraphic" class="anchor"></a>
<a name="Calligraphic-1" class="anchor"></a>
<h4 class="subsection">Calligraphic</h4>
<a name="index-calligraphic-fonts" class="anchor"></a>
<a name="index-script-fonts" class="anchor"></a>
<a name="index-fonts_002c-script" class="anchor"></a>
<p>Synopsis:
</p>
<div class="example">
<pre class="example">\mathcal{<var>uppercase-letters</var>}
</pre></div>
<p>Use a script-like font.
</p>
<p>In this example the graph identifier is output in a cursive font.
</p>
<div class="example">
<pre class="example">Let the graph be \( \mathcal{G} \).
</pre></div>
<p>If you use something other than an uppercase letter then you do not get
an error. Instead you get unexpected output. For instance,
<code>\mathcal{g}</code> outputs a close curly brace symbol, while
<code>\mathcal{+}</code> outputs a plus sign.
</p>
<hr>
<a name="g_t_005cboldmath-_0026-_005cunboldmath" class="anchor"></a>
<a name="g_t_005cboldmath-_0026-_005cunboldmath-1" class="anchor"></a>
<h4 class="subsection"><code>\boldmath</code> & <code>\unboldmath</code></h4>
<a name="index-boldface-mathematics" class="anchor"></a>
<a name="index-symbols_002c-boldface" class="anchor"></a>
<a name="index-_005cboldmath" class="anchor"></a>
<a name="index-_005cunboldmath" class="anchor"></a>
<p>Synopsis (used in paragraph mode or LR mode):
</p>
<div class="example">
<pre class="example">\boldmath \( <var>math</var> \)
</pre></div>
<p>or
</p>
<div class="example">
<pre class="example">\unboldmath \( <var>math</var> \)
</pre></div>
<a name="index-_005cboldmath-1" class="anchor"></a>
<a name="index-_005cunboldmath-1" class="anchor"></a>
<p>Declarations to change the letters and symbols in <var>math</var> to be in
a bold font, or to countermand that and bring back the regular
(non-bold) default. They must be used when not in math mode or display
math mode (see <a href="latex2e_17.html#Modes">Modes</a>). Both commands are fragile
(see <a href="latex2e_12.html#g_t_005cprotect">\protect</a>).
</p>
<p>In this example each <code>\boldmath</code> command takes place inside an
<code>\mbox</code>,
</p>
<div class="example">
<pre class="example">we have $\mbox{\boldmath \( v \)} = 5\cdot\mbox{\boldmath \( u \)$}$
</pre></div>
<p>which means <code>\boldmath</code> is only called in a text mode, here LR
mode, and explains why LaTeX must switch to math mode to set <code>v</code>
and <code>u</code>.
</p>
<p>If you use either command inside math mode, as with <code>Trouble: \(
\boldmath x \)</code>, then you get something like ‘<samp>LaTeX Font Warning:
Command \boldmath invalid in math mode on input line 11</samp>’ and ‘<samp>LaTeX
Font Warning: Command \mathversion invalid in math mode on input line
11</samp>’.
</p>
<a name="index-package_002c-bm" class="anchor"></a>
<a name="index-bm-package" class="anchor"></a>
<p>There are many issues with <code>\boldmath</code>. New documents should use
the <samp>bm</samp> package provided by the LaTeX Project team. A complete
description is outside the scope of this document (see the full
documentation on CTAN) but even this small example
</p>
<div class="example">
<pre class="example">\usepackage{bm} % in preamble
...
we have $\bm{v} = 5\cdot\bm{u}$
</pre></div>
<p>shows that it is an improvement over <code>\boldmath</code>.
</p>
<hr>
<a name="Dots" class="anchor"></a>
<a name="Dots_002c-horizontal-or-vertical" class="anchor"></a>
<h4 class="subsection">Dots, horizontal or vertical</h4>
<a name="index-ellipses" class="anchor"></a>
<a name="index-dots" class="anchor"></a>
<p>Ellipses are the three dots (usually three) indicating that a pattern
continues.
</p>
<div class="example">
<pre class="example">\begin{array}{cccc}
a_{0,0} &a_{0,1} &a_{0,2} &\ldots \\
a_{1,0} &\ddots \\
\vdots
\end{array}
</pre></div>
<p>LaTeX provides these.
</p>
<dl compact="compact">
<dd><a name="ellipses-cdots" class="anchor"></a></dd>
<dt><code>\cdots</code>
<a name="index-_005ccdots" class="anchor"></a>
</dt>
<dd><p>Horizontal ellipsis with the dots raised to the center of the line, as
in ⋯. Used as: <code>\( a_0\cdot a_1\cdots a_{n-1}
\)</code>.
</p>
<a name="ellipses-ddots" class="anchor"></a></dd>
<dt><code>\ddots</code>
<a name="index-_005cddots" class="anchor"></a>
</dt>
<dd><p>Diagonal ellipsis, ⋱. See the above array example for a
usage.
</p>
<a name="ellipses-ldots" class="anchor"></a></dd>
<dt><code>\ldots</code>
<a name="index-_005cldots" class="anchor"></a>
</dt>
<dd><p>Ellipsis on the baseline, …. Used as: <code>\(
x_0,\ldots x_{n-1} \)</code>. Another example is the above array example. A
synonym is <code>\mathellipsis</code>. A synonym from the <samp>amsmath</samp>
package is <code>\hdots</code>.
</p>
<p>You can also use this command outside of mathematical text, as in
<code>The gears, brakes, \ldots{} are all broken</code>. (In a paragraph
mode or LR mode a synonym for <code>\ldots</code> is <code>\dots</code>.)
</p>
<a name="ellipses-vdots" class="anchor"></a></dd>
<dt><code>\vdots</code>
<a name="index-_005cvdots" class="anchor"></a>
</dt>
<dd><p>Vertical ellipsis, ⋮. See the above array example for a
usage.
</p>
</dd>
</dl>
<a name="index-package_002c-amsmath-6" class="anchor"></a>
<a name="index-amsmath-package-6" class="anchor"></a>
<p>The <samp>amsmath</samp> package has the command <code>\dots</code> to semantically
mark up ellipses. This example produces two different-looking outputs
for the first two uses of the <code>\dots</code> command.
</p>
<div class="example">
<pre class="example">\usepackage{amsmath} % in preamble
...
Suppose that \( p_0, p_1, \dots, p_{n-1} \) lists all of the primes.
Observe that \( p_0\cdot p_1 \dots \cdot p_{n-1} +1 \) is not a
multiple of any \( p_i \).
Conclusion: there are infinitely many primes \( p_0, p_1, \dotsc \).
</pre></div>
<p>In the first line LaTeX looks to the comma following <code>\dots</code> to
determine that it should output an ellipsis on the baseline. The second
line has a <code>\cdot</code> following <code>\dots</code> so LaTeX outputs an
ellipsis that is on the math axis, vertically centered. However, the
third usage has no follow-on character so you have to tell LaTeX what
to do. You can use one of the commands: <code>\dotsc</code> if you need the
ellipsis appropriate for a comma following, <code>\dotsb</code> if you need
the ellipses that fits when the dots are followed by a binary operator
or relation symbol, <code>\dotsi</code> for dots with integrals, or
<code>\dotso</code> for others.
</p>
<hr>
<a name="Math-functions" class="anchor"></a>
<a name="Math-functions-1" class="anchor"></a>
<h3 class="section">Math functions</h3>
<a name="index-math-functions" class="anchor"></a>
<a name="index-functions_002c-math" class="anchor"></a>
<p>These commands produce roman function names in math mode with proper
spacing.
</p>
<dl compact="compact">
<dt><code>\arccos</code>
<a name="index-_005carccos" class="anchor"></a>
</dt>
<dd><p>Inverse cosine
</p>
</dd>
<dt><code>\arcsin</code>
<a name="index-_005carcsin" class="anchor"></a>
</dt>
<dd><p>Inverse sine
</p>
</dd>
<dt><code>\arctan</code>
<a name="index-_005carctan" class="anchor"></a>
</dt>
<dd><p>Inverse tangent
</p>
</dd>
<dt><code>\arg</code>
<a name="index-_005carg" class="anchor"></a>
</dt>
<dd><p>Angle between the real axis and a point in the complex plane
</p>
</dd>
<dt><code>\bmod</code>
<a name="index-_005cbmod" class="anchor"></a>
</dt>
<dd><p>Binary modulo operator, used as in <code>\( 5\bmod 3=2 \)</code>
</p>
</dd>
<dt><code>\cos</code>
<a name="index-_005ccos" class="anchor"></a>
</dt>
<dd><p>Cosine
</p>
</dd>
<dt><code>\cosh</code>
<a name="index-_005ccosh" class="anchor"></a>
</dt>
<dd><p>Hyperbolic cosine
</p>
</dd>
<dt><code>\cot</code>
<a name="index-_005ccot" class="anchor"></a>
</dt>
<dd><p>Cotangent
</p>
</dd>
<dt><code>\coth</code>
<a name="index-_005ccoth" class="anchor"></a>
</dt>
<dd><p>Hyperbolic cotangent
</p>
</dd>
<dt><code>\csc</code>
<a name="index-_005ccsc" class="anchor"></a>
</dt>
<dd><p>Cosecant
</p>
</dd>
<dt><code>\deg</code>
<a name="index-_005cdeg" class="anchor"></a>
</dt>
<dd><p>Degrees
</p>
</dd>
<dt><code>\det</code>
<a name="index-_005cdet" class="anchor"></a>
</dt>
<dd><p>Determinant
</p>
</dd>
<dt><code>\dim</code>
<a name="index-_005cdim" class="anchor"></a>
</dt>
<dd><p>Dimension
</p>
</dd>
<dt><code>\exp</code>
<a name="index-_005cexp" class="anchor"></a>
</dt>
<dd><p>Exponential
</p>
</dd>
<dt><code>\gcd</code>
<a name="index-_005cgcd" class="anchor"></a>
</dt>
<dd><p>Greatest common divisor
</p>
</dd>
<dt><code>\hom</code>
<a name="index-_005chom" class="anchor"></a>
</dt>
<dd><p>Homomorphism
</p>
</dd>
<dt><code>\inf</code>
<a name="index-_005cinf" class="anchor"></a>
</dt>
<dd><p>Infinum
</p>
</dd>
<dt><code>\ker</code>
<a name="index-_005cker" class="anchor"></a>
</dt>
<dd><p>Kernel
</p>
</dd>
<dt><code>\lg</code>
<a name="index-_005clg" class="anchor"></a>
</dt>
<dd><p>Base 2 logarithm
</p>
</dd>
<dt><code>\lim</code>
<a name="index-_005clim" class="anchor"></a>
</dt>
<dd><p>Limit
</p>
</dd>
<dt><code>\liminf</code>
<a name="index-_005climinf" class="anchor"></a>
</dt>
<dd><p>Limit inferior
</p>
</dd>
<dt><code>\limsup</code>
<a name="index-_005climsup" class="anchor"></a>
</dt>
<dd><p>Limit superior
</p>
</dd>
<dt><code>\ln</code>
<a name="index-_005cln" class="anchor"></a>
</dt>
<dd><p>Natural logarithm
</p>
</dd>
<dt><code>\log</code>
<a name="index-_005clog" class="anchor"></a>
</dt>
<dd><p>Logarithm
</p>
</dd>
<dt><code>\max</code>
<a name="index-_005cmax" class="anchor"></a>
</dt>
<dd><p>Maximum
</p>
</dd>
<dt><code>\min</code>
<a name="index-_005cmin" class="anchor"></a>
</dt>
<dd><p>Minimum
</p>
</dd>
<dt><code>\pmod</code>
<a name="index-_005cpmod" class="anchor"></a>
</dt>
<dd><p>Parenthesized modulus, as used in <code>\( 5\equiv 2\pmod 3 \)</code>
</p>
</dd>
<dt><code>\Pr</code>
<a name="index-_005cPr" class="anchor"></a>
</dt>
<dd><p>Probability
</p>
</dd>
<dt><code>\sec</code>
<a name="index-_005csec" class="anchor"></a>
</dt>
<dd><p>Secant
</p>
</dd>
<dt><code>\sin</code>
<a name="index-_005csin" class="anchor"></a>
</dt>
<dd><p>Sine
</p>
</dd>
<dt><code>\sinh</code>
<a name="index-_005csinh" class="anchor"></a>
</dt>
<dd><p>Hyperbolic sine
</p>
</dd>
<dt><code>\sup</code>
<a name="index-_005csup" class="anchor"></a>
</dt>
<dd><p>sup
</p>
</dd>
<dt><code>\tan</code>
<a name="index-_005ctan" class="anchor"></a>
</dt>
<dd><p>Tangent
</p>
</dd>
<dt><code>\tanh</code>
<a name="index-_005ctanh" class="anchor"></a>
</dt>
<dd><p>Hyperbolic tangent
</p>
</dd>
</dl>
<a name="index-package_002c-amsmath-7" class="anchor"></a>
<a name="index-amsmath-package-7" class="anchor"></a>
<p>The <samp>amsmath</samp> package adds improvements on some of these, and also
allows you to define your own. The full documentation is on CTAN, but
briefly, you can define an identity operator with
<code>\DeclareMathOperator{\identity}{id}</code> that is like the ones
above but prints as ‘<samp>id</samp>’. The starred form
<code>\DeclareMathOperator*{\op}{op}</code> sets any limits above and
below, as is traditional with <code>\lim</code>, <code>\sup</code>, or <code>\max</code>.
</p>
<hr>
<a name="Math-accents" class="anchor"></a>
<a name="Math-accents-1" class="anchor"></a>
<h3 class="section">Math accents</h3>
<a name="index-math-accents" class="anchor"></a>
<a name="index-accents_002c-mathematical" class="anchor"></a>
<p>LaTeX provides a variety of commands for producing accented letters
in math. These are different from accents in normal text
(see <a href="latex2e_23.html#Accents">Accents</a>).
</p>
<dl compact="compact">
<dt><code>\acute</code>
<a name="index-_005cacute" class="anchor"></a>
</dt>
<dd><a name="index-acute-accent_002c-math" class="anchor"></a>
<p>Math acute accent
</p>
</dd>
<dt><code>\bar</code>
<a name="index-_005cbar" class="anchor"></a>
</dt>
<dd><a name="index-bar_002dover-accent_002c-math" class="anchor"></a>
<a name="index-macron-accent_002c-math" class="anchor"></a>
<p>Math bar-over accent
</p>
</dd>
<dt><code>\breve</code>
<a name="index-_005cbreve" class="anchor"></a>
</dt>
<dd><a name="index-breve-accent_002c-math" class="anchor"></a>
<p>Math breve accent
</p>
</dd>
<dt><code>\check</code>
<a name="index-_005ccheck" class="anchor"></a>
</dt>
<dd><a name="index-check-accent_002c-math" class="anchor"></a>
<a name="index-hacek-accent_002c-math" class="anchor"></a>
<p>Math háček (check) accent
</p>
</dd>
<dt><code>\ddot</code>
<a name="index-_005cddot" class="anchor"></a>
</dt>
<dd><a name="index-double-dot-accent_002c-math" class="anchor"></a>
<p>Math dieresis accent
</p>
</dd>
<dt><code>\dot</code>
<a name="index-_005cdot" class="anchor"></a>
</dt>
<dd><a name="index-overdot-accent_002c-math" class="anchor"></a>
<a name="index-dot-over-accent_002c-math" class="anchor"></a>
<p>Math dot accent
</p>
</dd>
<dt><code>\grave</code>
<a name="index-_005cgrave" class="anchor"></a>
</dt>
<dd><a name="index-grave-accent_002c-math" class="anchor"></a>
<p>Math grave accent
</p>
</dd>
<dt><code>\hat</code>
<a name="index-_005chat" class="anchor"></a>
</dt>
<dd><a name="index-hat-accent_002c-math" class="anchor"></a>
<a name="index-circumflex-accent_002c-math" class="anchor"></a>
<p>Math hat (circumflex) accent
</p>
</dd>
<dt><code>\mathring</code>
<a name="index-_005cmathring" class="anchor"></a>
</dt>
<dd><a name="index-ring-accent_002c-math" class="anchor"></a>
<p>Math ring accent </p>
</dd>
<dt><code>\tilde</code>
<a name="index-_005ctilde" class="anchor"></a>
</dt>
<dd><a name="index-tilde-accent_002c-math" class="anchor"></a>
<p>Math tilde accent
</p>
</dd>
<dt><code>\vec</code>
<a name="index-_005cvec" class="anchor"></a>
</dt>
<dd><a name="index-vector-symbol_002c-math" class="anchor"></a>
<p>Math vector symbol
</p>
</dd>
<dt><code>\widehat</code>
<a name="index-_005cwidehat" class="anchor"></a>
</dt>
<dd><a name="index-wide-hat-accent_002c-math" class="anchor"></a>
<p>Math wide hat accent
</p>
</dd>
<dt><code>\widetilde</code>
<a name="index-_005cwidetilde" class="anchor"></a>
</dt>
<dd><a name="index-wide-tilde-accent_002c-math" class="anchor"></a>
<p>Math wide tilde accent
</p>
</dd>
</dl>
<p>When you are putting an accent on an i or a j, the tradition is to use
one without a dot, <code>\imath</code> or <code>jmath</code> (see <a href="#Math-symbols">Math symbols</a>).
</p>
<hr>
<a name="Over_002d-and-Underlining" class="anchor"></a>
<a name="Over_002d-and-Underlining-1" class="anchor"></a>
<h3 class="section">Over- and Underlining</h3>
<a name="index-overlining" class="anchor"></a>
<a name="index-underlining" class="anchor"></a>
<p>LaTeX provides commands for making overlines or underlines, or
putting braces over or under some material.
</p>
<dl compact="compact">
<dt><code>\underline{<var>text</var>}</code>
<a name="index-_005cunderline_007btext_007d" class="anchor"></a>
</dt>
<dd><p>Underline <var>text</var>. Works inside math mode, and outside.
The line is always completely below the text, taking account of
descenders, so in <code>\(\underline{y}\)</code> the line is lower than in
<code>\(\underline{x}\)</code>. This command is fragile (see <a href="latex2e_12.html#g_t_005cprotect">\protect</a>).
</p>
<a name="index-package_002c-ulem" class="anchor"></a>
<a name="index-ulem-package" class="anchor"></a>
<p>Note that the package <samp>ulem</samp> does text mode underlining and allows
line breaking as well as a number of other features. See the
documentation on CTAN. See also <a href="latex2e_19.html#g_t_005chrulefill-_0026-_005cdotfill">\hrulefill & \dotfill</a> for
producing a line, for such things as a signature.
</p>
</dd>
<dt><code>\overline{<var>text</var>}</code>
<a name="index-_005coverline_007btext_007d" class="anchor"></a>
</dt>
<dd><p>Put a horizontal line over <var>text</var>. Works inside math mode, and
outside. For example, <code>\overline{x+y}</code>.
Note that this differs from the command <code>\bar</code> (see <a href="#Math-accents">Math accents</a>).
</p>
</dd>
<dt><code>\underbrace{<var>math</var>}</code>
<a name="index-_005cunderbrace_007bmath_007d" class="anchor"></a>
</dt>
<dd><p>Put a brace under <var>math</var>. For example, this
<code>(1-\underbrace{1/2)+(1/2}-1/3)</code> emphasizes the telescoping part.
Attach text to the brace by using subscript, <code>_</code>, or superscript,
<code>^</code>, as here.
</p>
<div class="example">
<pre class="example">\begin{displaymath}
1+1/2+\underbrace{1/3+1/4}_{>1/2}+
\underbrace{1/5+1/6+1/7+1/8}_{>1/2}+\cdots
\end{displaymath}
</pre></div>
<p>The superscript appears on top of the expression, and so can look
unconnected to the underbrace.
</p>
</dd>
<dt><code>\overbrace{<var>math</var>}</code>
<a name="index-_005coverbrace_007bmath_007d" class="anchor"></a>
</dt>
<dd><p>Put a brace over <var>math</var>, as with
<code>\overbrace{x+x+\cdots+x}^{\mbox{\(k\) times}}</code>. See also
<code>\underbrace</code>.
</p>
</dd>
</dl>
<a name="index-package_002c-mathtools-1" class="anchor"></a>
<a name="index-mathtools-package-1" class="anchor"></a>
<p>The package <samp>mathtools</samp> adds an over- and underbrace, as well as
some improvements on the braces. See the documentation on CTAN.
</p>
<hr>
<a name="Spacing-in-math-mode" class="anchor"></a>
<a name="Spacing-in-math-mode-1" class="anchor"></a>
<h3 class="section">Spacing in math mode</h3>
<a name="index-spacing-within-math-mode" class="anchor"></a>
<a name="index-math-mode_002c-spacing" class="anchor"></a>
<p>When typesetting mathematics, LaTeX puts in spacing according to the
normal rules for mathematics texts. If you enter <code>y=m x</code> then
LaTeX ignores the space and in the output the m is next to the x,
as <em>y=mx</em>.
</p>
<p>But LaTeX’s rules sometimes need tweaking. For example, in an
integral the tradition is to put a small extra space between the
<code>f(x)</code> and the <code>dx</code>, here done with the <code>\,</code> command.
</p>
<div class="example">
<pre class="example">\int_0^1 f(x)\,dx
</pre></div>
<p>LaTeX provides the commands that follow for use in math mode. Many
of these spacing definitions are expressed in terms of the math unit
<em>mu</em>. It is defined as 1/18em, where the em is taken from the
current math symbols family (see <a href="latex2e_14.html#Units-of-length">Units of length</a>). Thus, a
<code>\thickspace</code> is something like 5/18 times the width of
a ‘<samp>M</samp>’.
</p>
<dl compact="compact">
<dt><code>\;</code></dt>
<dd><a name="index-_005c_003b" class="anchor"></a>
<a name="index-_005cthickspace" class="anchor"></a>
<a name="spacing-in-math-mode-thickspace" class="anchor"></a><p>Synonym: <code>\thickspace</code>. Normally <code>5.0mu plus 5.0mu</code>. Math
mode only.
</p>
</dd>
<dt><code>\:</code></dt>
<dt><code>\></code></dt>
<dd><a name="index-_005c_003a" class="anchor"></a>
<a name="index-_005c_003e-1" class="anchor"></a>
<a name="index-_005cmedspace" class="anchor"></a>
<a name="spacing-in-math-mode-medspace" class="anchor"></a><p>Synonym: <code>\medspace</code>. Normally <code>4.0mu plus 2.0mu minus 4.0mu</code>.
Math mode only.
</p>
</dd>
<dt><code>\,</code></dt>
<dd><a name="index-_005c_002c" class="anchor"></a>
<a name="index-_005cthinspace" class="anchor"></a>
<a name="index-thin-space" class="anchor"></a>
<a name="Spacing-in-math-mode_002f_005cthinspace" class="anchor"></a><a name="spacing-in-math-mode-thinspace" class="anchor"></a><p>Synonym: <code>\thinspace</code>. Normally <code>3mu</code>, which is 1/6em.
Can be used in both math mode and text mode (see <a href="latex2e_19.html#g_t_005cthinspace-_0026-_005cnegthinspace">\thinspace & \negthinspace</a>).
</p>
<p>This space is widely used, for instance between the function and the
infinitesimal in an integral <code>\int f(x)\,dx</code> and, if an author does
this, before punctuation in a displayed equation.
</p>
<div class="example">
<pre class="example">The antiderivative is
\begin{equation}
3x^{-1/2}+3^{1/2}\,.
\end{equation}
</pre></div>
</dd>
<dt><code>\!</code></dt>
<dd><a name="index-_005c_0021" class="anchor"></a>
<a name="index-_005cnegthinspace" class="anchor"></a>
<a name="index-thin-space_002c-negative" class="anchor"></a>
<a name="spacing-in-math-mode-negthinspace" class="anchor"></a><p>A negative thin space. Normally <code>-3mu</code>. The <code>\!</code> command is
math mode only but the <code>\negthinspace</code> command is available for
text mode (see <a href="latex2e_19.html#g_t_005cthinspace-_0026-_005cnegthinspace">\thinspace & \negthinspace</a>).
</p>
</dd>
<dt><code>\quad</code></dt>
<dd><a name="index-quad" class="anchor"></a>
<a name="index-_005cquad" class="anchor"></a>
<a name="spacing-in-math-mode-quad" class="anchor"></a><p>This is 18mu, that is, 1em. This is often used for space
surrounding equations or expressions, for instance for the space between
two equations inside a <code>displaymath</code> environment. It is available
in both text and math mode.
</p>
</dd>
<dt><code>\qquad</code></dt>
<dd><a name="index-_005cqquad" class="anchor"></a>
<a name="spacing-in-math-mode-qquad" class="anchor"></a><p>A length of 2 quads, that is, 36mu = 2em. It is available in
both text and math mode.
</p></dd>
</dl>
<hr>
<a name="g_t_005csmash" class="anchor"></a>
<a name="g_t_005csmash-1" class="anchor"></a>
<h4 class="subsection"><code>\smash</code></h4>
<a name="index-vertical-spacing_002c-math-mode" class="anchor"></a>
<a name="index-math-mode_002c-vertical-space" class="anchor"></a>
<p>Synopsis:
</p>
<div class="example">
<pre class="example">\smash{<var>subformula</var>}
</pre></div>
<p>Typeset <var>subformula</var> as if its height and depth were zero.
</p>
<p>In this example the exponential is so tall that without the
<code>\smash</code> command LaTeX would separate its line from the line
above it, and the uneven line spacing might be unsightly.
</p>
<div class="example">
<pre class="example">To compute the tetration $\smash{2^{2^{2^2}}}$,
evaluate from the top down, as $2^{2^4}=2^{16}=65536$.
</pre></div>
<p>(Because of the <code>\smash</code> the printed expression could run into the
line above so you may want to wait until the final version of the
document to make such adjustments.)
</p>
<p>This pictures the effect of <code>\smash</code> by using <code>\fbox</code> to
surround the box that LaTeX will put on the line. The
<code>\blackbar</code> command makes a bar extending from 10 points below
the baseline to 20 points above.
</p>
<div class="example">
<pre class="example">\newcommand{\blackbar}{\rule[-10pt]{5pt}{30pt}}
\fbox{\blackbar}
\fbox{\smash{\blackbar}}
</pre></div>
<p>The first box that LaTeX places is 20 points high and
10 points deep. But the second box is treated by LaTeX as
having zero height and zero depth, despite that the ink printed on the
page still extends well above and below the line.
</p>
<p>The <code>\smash</code> command appears often in mathematics to adjust the
size of an element that surrounds a subformula. Here the first radical
extends below the baseline while the second lies just on the baseline.
</p>
<div class="example">
<pre class="example">\begin{equation}
\sqrt{\sum_{0\leq k< n} f(k)}
\sqrt{\vphantom{\sum}\smash{\sum_{0\leq k< n}} f(k)}
\end{equation}
</pre></div>
<p>Note the use of <code>\vphantom</code> to give the <code>\sqrt</code> command an
argument with the height of the <code>\sum</code> (see <a href="#g_t_005cphantom-_0026-_005cvphantom-_0026-_005chphantom">\phantom & \vphantom & \hphantom</a>).
</p>
<p>While most often used in mathematics, the <code>\smash</code> command can
appear in other contexts. However, it doesn’t change into horizontal
mode. So if it starts a paragraph then you should first put a
<code>\leavevmode</code>, as in the bottom line below.
</p>
<div class="example">
<pre class="example">xxx xxx xxx
\smash{yyy} % no paragraph indent
\leavevmode\smash{zzz} % usual paragraph indent
</pre></div>
<a name="index-package_002c-mathtools-2" class="anchor"></a>
<a name="index-mathtools-package-2" class="anchor"></a>
<p>The package <code>mathtools</code> has operators that provide even finer
control over smashing a subformula box.
</p>
<hr>
<a name="g_t_005cphantom-_0026-_005cvphantom-_0026-_005chphantom" class="anchor"></a>
<a name="g_t_005cphantom-_0026-_005cvphantom-_0026-_005chphantom-1" class="anchor"></a>
<h4 class="subsection"><code>\phantom</code> & <code>\vphantom</code> & <code>\hphantom</code></h4>
<a name="index-spacing_002c-math-mode" class="anchor"></a>
<a name="index-horizontal-spacing" class="anchor"></a>
<a name="index-vertical-spacing" class="anchor"></a>
<a name="index-math-mode_002c-spacing-1" class="anchor"></a>
<a name="index-invisible-character" class="anchor"></a>
<a name="index-character_002c-invisible" class="anchor"></a>
<p>Synopsis:
</p>
<div class="example">
<pre class="example">\phantom{<var>subformula</var>}
</pre></div>
<p>or
</p>
<div class="example">
<pre class="example">\vphantom{<var>subformula</var>}
</pre></div>
<p>or
</p>
<div class="example">
<pre class="example">\hphantom{<var>subformula</var>}
</pre></div>
<p>The <code>\phantom</code> command creates a box with the same height, depth,
and width as <var>subformula</var>, but empty. That is, this command causes
LaTeX to typeset the box but not its ink. The <code>\vphantom</code>
variant also produces an invisible box with the same height and depth as
<var>subformula</var>, but it has width zero. And <code>\hphantom</code> makes a
box with the same width as <var>subformula</var> but with height and depth
zero.
</p>
<p>Without the <code>\vphantom</code> in this example, the top bars of the two
square roots would be at different heights.
</p>
<div class="example">
<pre class="example">\( \sqrt{\vphantom{a^3}a}\cdot\sqrt{a^3} \)
</pre></div>
<p>The <code>\vphantom{a^3}</code> causes the first <code>\sqrt</code> to have inside
it a box of the same height as the second <code>\sqrt</code>, so LaTeX
makes the bars align.
</p>
<p>These commands often are combined with <code>\smash</code>. See <a href="#g_t_005csmash">\smash</a>
for another example of the use of <code>\vphantom</code>.
</p>
<a name="index-package_002c-mathtools-3" class="anchor"></a>
<a name="index-mathtools-package-3" class="anchor"></a>
<p>The three phantom commands appear often but note that LaTeX provides
a suite of other commands to work with box sizes that may be more
convenient, including <code>\makebox</code> (see <a href="latex2e_20.html#g_t_005cmbox-_0026-_005cmakebox">\mbox & \makebox</a>) as well
as <code>\settodepth</code> (see <a href="latex2e_14.html#g_t_005csettodepth">\settodepth</a>), <code>\settoheight</code>
(see <a href="latex2e_14.html#g_t_005csettoheight">\settoheight</a>), and <code>\settowidth</code> (see <a href="latex2e_14.html#g_t_005csettowidth">\settowidth</a>).
In addition, the <samp>mathtools</samp> package has many commands that offer
fine-grained control over spacing.
</p>
<a name="index-package_002c-amsmath-8" class="anchor"></a>
<a name="index-amsmath-package-8" class="anchor"></a>
<p>All three commands produce an ordinary box, without any special
mathematics status. So to do something like attaching a superscript you
should give it such a status, for example with the <code>\operatorname</code>
command from the package <samp>amsmath</samp>.
</p>
<p>While most often used in mathematics, these three can appear in other
contexts. However, they don’t cause LaTeX to change into horizontal
mode. So if one of these starts a paragraph then you should prefix it
with <code>\leavevmode</code>.
</p>
<hr>
<a name="Math-miscellany" class="anchor"></a>
<a name="Math-miscellany-1" class="anchor"></a>
<h3 class="section">Math miscellany</h3>
<a name="index-math-miscellany" class="anchor"></a>
<p>LaTeX contains a wide variety of mathematics facilities. Here are
some that don’t fit into other categories.
</p>
<hr>
<a name="Colon-character-_0026-_005ccolon" class="anchor"></a>
<a name="Colon-character-_003a-_0026-_005ccolon" class="anchor"></a>
<h4 class="subsection">Colon character <code>:</code> & <code>\colon</code></h4>
<a name="index-_003a" class="anchor"></a>
<a name="index-colon-character" class="anchor"></a>
<a name="index-_003a-1" class="anchor"></a>
<a name="index-_005ccolon" class="anchor"></a>
<p>Synopsis, one of:
</p>
<div class="example">
<pre class="example">:
\colon
</pre></div>
<p>In mathematics, the colon character, <code>:</code>, is a relation.
</p>
<div class="example">
<pre class="example">With side ratios \( 3:4 \) and \( 4:5 \), the triangle is right.
</pre></div>
<a name="index-package_002c-amsmath-9" class="anchor"></a>
<a name="index-amsmath-package-9" class="anchor"></a>
<p>Ordinary LaTeX defines <code>\colon</code> to produce the colon character
with the spacing appropriate for punctuation, as in set-builder notation
<code>\{x\colon 0\leq x<1\}</code>.
</p>
<a name="index-package_002c-amsmath-10" class="anchor"></a>
<a name="index-amsmath-package-10" class="anchor"></a>
<p>But the widely-used <samp>amsmath</samp> package defines <code>\colon</code> for use
in the definition of functions <code>f\colon D\to C</code>. So if you want
the colon character as a punctuation then use <code>\mathpunct{:}</code>.
</p>
<hr>
<a name="g_t_005c_002a" class="anchor"></a>
<a name="g_t_005c_002a-1" class="anchor"></a>
<h4 class="subsection"><code>\*</code></h4>
<a name="index-multiplication_002c-discretionary" class="anchor"></a>
<a name="index-breaks_002c-multiplication-discretionary" class="anchor"></a>
<a name="index-line-breaks_002c-multiplication-discretionary" class="anchor"></a>
<a name="index-discretionary-breaks_002c-multiplication" class="anchor"></a>
<a name="index-_005c_002a" class="anchor"></a>
<p>Synopsis:
</p>
<div class="example">
<pre class="example">\*
</pre></div>
<p>A multiplication symbol that allows a line break. If there is a break
then LaTeX puts a <code>\times</code> symbol, ×, before
that break.
</p>
<p>In <code>\( A_1\* A_2\* A_3\* A_4 \)</code>, if there is no line break then
LaTeX outputs it as though it were <code>\( A_1 A_2 A_3 A_4 \)</code>. If
a line break does happen, for example between the two middle ones, then
LaTeX sets it like <code>\( A_1 A_2 \times \)</code>, followed by the
break, followed by <code>\( A_3 A_4 \)</code>.
</p>
<hr>
<a name="g_t_005cfrac" class="anchor"></a>
<a name="g_t_005cfrac-1" class="anchor"></a>
<h4 class="subsection"><code>\frac</code></h4>
<a name="index-fraction" class="anchor"></a>
<a name="index-_005cfrac" class="anchor"></a>
<p>Synopsis:
</p>
<div class="example">
<pre class="example">\frac{<var>numerator</var>}{<var>denominator</var>}
</pre></div>
<p>Produces the fraction. Used as: <code>\begin{displaymath}
\frac{1}{\sqrt{2\pi\sigma}} \end{displaymath}</code>. In inline math
mode it comes out small; see the discussion of <code>\displaystyle</code>
(see <a href="#Math-formulas">Math formulas</a>).
</p>
<hr>
<a name="g_t_005cleft-_0026-_005cright" class="anchor"></a>
<a name="g_t_005cleft-_0026-_005cright-1" class="anchor"></a>
<h4 class="subsection"><code>\left</code> & <code>\right</code></h4>
<a name="index-delimiters_002c-paired" class="anchor"></a>
<a name="index-paired-delimiters" class="anchor"></a>
<a name="index-matching-parentheses" class="anchor"></a>
<a name="index-matching-brackets" class="anchor"></a>
<a name="index-null-delimiter" class="anchor"></a>
<a name="index-_005cleft" class="anchor"></a>
<a name="index-_005cright" class="anchor"></a>
<p>Synopsis:
</p>
<div class="example">
<pre class="example">\left <var>delimiter1</var> ... \right <var>delimiter2</var>
</pre></div>
<p>Make matching parentheses, braces, or other delimiters. The delimiters
are sized according to the math they enclose. This makes a unit vector
surrounded by appropriate-height parentheses.
</p>
<div class="example">
<pre class="example">\begin{equation}
\left(\begin{array}{c}
1 \\
0 \\
\end{array}\right)
</pre></div>
<p>Every <code>\left</code> must have a matching <code>\right</code>. Leaving out the
<code>\left(</code> in the above gets ‘<samp>Extra \right</samp>’. Leaving off the
<code>\right)</code> gets ‘<samp>You can't use `\eqno' in math mode</samp>’.
</p>
<p>However, the two delimiters <var>delimiter1</var> and <var>delimiter2</var> need
not match. A common case is that you want an unmatched brace, as
below. Use a period, ‘<samp>.</samp>’, as a null delimiter.
</p>
<div class="example">
<pre class="example">\begin{equation}
f(n)=\left\{\begin{array}{ll}
1 &\mbox{--if \(n=0\)} \\
f(n-1)+3n^2 &\mbox{--else}
\end{array}\right.
\end{equation}
</pre></div>
<p>Note that to get a curly brace as a delimiter you must prefix it with a
backslash, <code>\{</code>.
</p>
<hr>
<a name="g_t_005csqrt" class="anchor"></a>
<a name="g_t_005csqrt-1" class="anchor"></a>
<h4 class="subsection"><code>\sqrt</code></h4>
<a name="index-square-root" class="anchor"></a>
<a name="index-roots" class="anchor"></a>
<a name="index-radical" class="anchor"></a>
<a name="index-_005csqrt" class="anchor"></a>
<p>Synopsis, one of:
</p>
<div class="example">
<pre class="example">\sqrt{<var>arg</var>}
\sqrt[<var>root-number</var>]{<var>arg</var>}
</pre></div>
<p>The square root, or optionally other roots, of <var>arg</var>. The optional
argument <var>root-number</var> gives the root, i.e., enter the cube root of
<code>x+y</code> as <code>\sqrt[3]{x+y}</code>.
The radical grows with the size of <var>arg</var> (as the height of the
radical grows, the angle on the leftmost part gets steeper, until for
a large enough <code>arg</code>, it is vertical).
</p>
<p>LaTeX has a separate <code>\surd</code> character (see <a href="#Math-symbols">Math symbols</a>).
</p>
<hr>
<a name="g_t_005cstackrel" class="anchor"></a>
<a name="g_t_005cstackrel-1" class="anchor"></a>
<h4 class="subsection"><code>\stackrel</code></h4>
<a name="index-stack-math" class="anchor"></a>
<a name="index-relation_002c-text-above" class="anchor"></a>
<a name="index-_005cstackrel" class="anchor"></a>
<p>Synopsis, one of:
</p>
<div class="example">
<pre class="example">\stackrel{<var>text</var>}{<var>relation</var>}
</pre></div>
<p>Put <var>text</var> above <var>relation</var>. To put a function name above an
arrow enter <code>\stackrel{f}{\longrightarrow}</code>.
</p>
</body>
</html>
|