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

<style type="text/css">
<!--
h3.fn,span.fn {font-family:sans-serif; margin-left: 1cm; text-indent: -1cm; }
a:link {font-family:sans-serif; color: #004faf; text-decoration: none }
a:visited {font-family:sans-serif; color: #004faf; text-decoration: none }
body {font-family:sans-serif; background: white; color: black; }
P        { font-family:sans-serif; }
OL        { font-family:sans-serif; }
UL        { font-family:sans-serif; }
LI       { font-family:sans-serif;  }
TD        { font-family:sans-serif; }
DD        { font-family:sans-serif; }
DL        { font-family:sans-serif; }
DT        { font-family:sans-serif; }
H1        { font-family:sans-serif;  }
H2        { font-family:sans-serif; background:#3f5881;  }
CODE      { font-family:monospace;  }
-->
</style>
</head>
<body bgcolor="#FFFFFF">
<h1 align="center"><a name="top">LaTeX Reference</a></h1>
<table width="100%">
<tr bgcolor="#3F5881">
<td align="center"><b><font size="+2" color="white">Alphabetical
Index</font></b></td>
</tr>
<tr bgcolor="#F0F0F0">
<td align="center" colspan="0"><b>&nbsp;<a href=
"#index0">#</a>&nbsp; &nbsp;<a href="#indexa">A</a>&nbsp;
&nbsp;<a href="#indexb">B</a>&nbsp; &nbsp;<a href=
"#indexc">C</a>&nbsp; &nbsp;<a href="#indexd">D</a>&nbsp;
&nbsp;<a href="#indexe">E</a>&nbsp; &nbsp;<a href=
"#indexf">F</a>&nbsp; &nbsp;<a href="#indexh">H</a>&nbsp;
&nbsp;<a href="#indexi">I</a>&nbsp; &nbsp;<a href=
"#indexk">K</a>&nbsp; &nbsp;<a href="#indexl">L</a>&nbsp;
&nbsp;<a href="#indexm">M</a>&nbsp; &nbsp;<a href=
"#indexn">N</a>&nbsp; &nbsp;<a href="#indexo">O</a>&nbsp;
&nbsp;<a href="#indexp">P</a>&nbsp; &nbsp;<a href=
"#indexq">Q</a>&nbsp; &nbsp;<a href="#indexr">R</a>&nbsp;
&nbsp;<a href="#indexs">S</a>&nbsp; &nbsp;<a href=
"#indext">T</a>&nbsp; &nbsp;<a href="#indexu">U</a>&nbsp;
&nbsp;<a href="#indexv">V</a>&nbsp; &nbsp;<a href=
"#indexw">W</a>&nbsp;</b></td>
</tr>
</table>
<hr>
<br>
<br>
<!-- INDEX BY SUBJECT -->
<table width="100%">
<tr bgcolor="#3F5881">
<td align="center"><b><font size="+2" color="white">Index by
subject</font></b></td>
</tr>
</table>
<table>
<tr bgcolor="#F0F0FA">
<td align="left"><b><a href="#SEC3">Counters</a></b></td>
<td>Internal counters used by LaTeX.</td>
</tr>
<tr bgcolor="#F0F0F0">
<td>
<ul>
<li><a name="TOC4" href="#SEC4">\addtocounter</a></li>
<li><a name="TOC5" href="#SEC5">\alph</a></li>
<li><a name="TOC6" href="#SEC6">\arabic</a></li>
<li><a name="TOC7" href="#SEC7">\fnsymbol</a></li>
<li><a name="TOC8" href="#SEC8">\newcounter</a></li>
<li><a name="TOC9" href="#SEC9">\refstepcounter</a></li>
<li><a name="TOC10" href="#SEC10">\roman</a></li>
<li><a name="TOC11" href="#SEC11">\stepcounter</a></li>
<li><a name="TOC12" href="#SEC12">\setcounter</a></li>
<li><a name="TOC13" href="#SEC13">\usecounter</a></li>
<li><a name="TOC14" href="#SEC14">\value</a></li>
</ul>
</td>
<td>&nbsp;</td>
</tr>
<tr bgcolor="#F0F0FA">
<td align="left"><b><a href="#SEC15">Cross References</a></b></td>
<td>Automatic referencing.</td>
</tr>
<tr bgcolor="#F0F0F0">
<td>
<ul>
<li><a name="TOC16" href="#SEC16">\label</a></li>
<li><a name="TOC17" href="#SEC17">\pageref</a></li>
<li><a name="TOC18" href="#SEC18">\ref</a></li>
</ul>
</td>
<td>&nbsp;</td>
</tr>
<tr bgcolor="#F0F0FA">
<td align="left"><b><a href="#SEC19">Definitions</a></b></td>
<td>Define your own commands etc.</td>
</tr>
<tr bgcolor="#F0F0F0">
<td>
<ul>
<li><a name="TOC20" href="#SEC20">\newcommand</a></li>
<li><a name="TOC21" href="#SEC21">\newenvironment</a></li>
<li><a name="TOC22" href="#SEC22">\newtheorem</a></li>
<li><a name="TOC23" href="#SEC23">\newfont</a></li>
</ul>
</td>
<td>&nbsp;</td>
</tr>
<tr bgcolor="#F0F0FA">
<td align="left"><b><a href="#SEC24">Document Classes</a></b></td>
<td>Some of the various classes available.</td>
</tr>
<tr bgcolor="#F0F0FA">
<td align="left"><b><a href="#SEC30">Environments</a></b></td>
<td>Such as enumerate &amp; itemize.</td>
</tr>
<tr bgcolor="#F0F0F0">
<td>
<div style="margin-left: 2em">
<ul>
<li><a name="TOC31" href="#SEC31">array</a></li>
<li><a name="TOC32" href="#SEC32">center</a>
<ul>
<li><a name="TOC33" href="#SEC33">\centering</a></li>
</ul>
</li>
<li><a name="TOC34" href="#SEC34">description</a></li>
<li><a name="TOC35" href="#SEC35">enumerate</a></li>
<li><a name="TOC36" href="#SEC36">eqnarray</a></li>
<li><a name="TOC37" href="#SEC37">equation</a></li>
<li><a name="TOC38" href="#SEC38">figure</a></li>
<li><a name="TOC39" href="#SEC39">flushleft</a>
<ul>
<li><a name="TOC40" href="#SEC40">\raggedright</a></li>
</ul>
</li>
<li><a name="TOC41" href="#SEC41">flushright</a>
<ul>
<li><a name="TOC42" href="#SEC42">\raggedleft</a></li>
</ul>
</li>
<li><a name="TOC43" href="#SEC43">itemize</a></li>
<li><a name="TOC44" href="#SEC44">letter</a></li>
<li><a name="TOC45" href="#SEC45">list</a></li>
<li><a name="TOC46" href="#SEC46">minipage</a></li>
<li><a name="TOC47" href="#SEC47">picture</a>
<ul>
<li><a name="TOC48" href="#SEC48">\circle</a></li>
<li><a name="TOC49" href="#SEC49">\dashbox</a></li>
<li><a name="TOC50" href="#SEC50">\frame</a></li>
<li><a name="TOC51" href="#SEC51">\framebox</a></li>
<li><a name="TOC52" href="#SEC52">\line</a></li>
<li><a name="TOC53" href="#SEC53">\linethickness</a></li>
<li><a name="TOC54" href="#SEC54">\makebox</a></li>
<li><a name="TOC55" href="#SEC55">\multiput</a></li>
<li><a name="TOC56" href="#SEC56">\oval</a></li>
<li><a name="TOC57" href="#SEC57">\put</a></li>
<li><a name="TOC58" href="#SEC58">\shortstack</a></li>
<li><a name="TOC59" href="#SEC59">\vector</a></li>
</ul>
</li>
<li><a name="TOC60" href="#SEC60">quotation</a></li>
<li><a name="TOC61" href="#SEC61">quote</a></li>
<li><a name="TOC62" href="#SEC62">tabbing</a></li>
<li><a name="TOC63" href="#SEC63">table</a></li>
<li><a name="TOC64" href="#SEC64">tabular</a>
<ul>
<li><a name="TOC65" href="#SEC65">\cline</a></li>
<li><a name="TOC66" href="#SEC66">\hline</a></li>
<li><a name="TOC67" href="#SEC67">\multicolumn</a></li>
<li><a name="TOC68" href="#SEC68">\vline</a></li>
</ul>
</li>
<li><a name="TOC69" href="#SEC69">thebibliography</a>
<ul>
<li><a name="TOC70" href="#SEC70">\bibitem</a></li>
<li><a name="TOC71" href="#SEC71">\cite</a></li>
<li><a name="TOC72" href="#SEC72">\nocite</a></li>
<li><a name="TOC73" href="#SEC73">Using BibTeX</a></li>
</ul>
</li>
<li><a name="TOC74" href="#SEC74">theorem</a></li>
<li><a name="TOC75" href="#SEC75">titlepage</a></li>
<li><a name="TOC76" href="#SEC76">verbatim</a>
<ul>
<li><a name="TOC77" href="#SEC77">\verb</a></li>
</ul>
</li>
<li><a name="TOC78" href="#SEC78">verse</a></li>
</ul>
</div>
</td>
<td>&nbsp;</td>
</tr>
<tr bgcolor="#F0F0FA">
<td align="left"><b><a href="#SEC79">Footnotes</a></b></td>
<td>How to produce footnotes.</td>
</tr>
<tr bgcolor="#F0F0F0">
<td>
<ul>
<li><a name="TOC80" href="#SEC80">\footnote</a></li>
<li><a name="TOC81" href="#SEC81">\footnotemark</a></li>
<li><a name="TOC82" href="#SEC82">\footnotetext</a></li>
</ul>
</td>
<td>&nbsp;</td>
</tr>
<tr bgcolor="#F0F0FA">
<td align="left"><b><a href="#SEC25">Layout</a></b></td>
<td>Controlling the page layout.</td>
</tr>
<tr bgcolor="#F0F0F0">
<td>
<ul>
<li><a name="TOC26" href="#SEC26">\flushbottom</a></li>
<li><a name="TOC27" href="#SEC27">\onecolumn</a></li>
<li><a name="TOC28" href="#SEC28">\raggedbottom</a></li>
<li><a name="TOC29" href="#SEC29">\twocolumn</a></li>
</ul>
</td>
<td>&nbsp;</td>
</tr>
<tr bgcolor="#F0F0FA">
<td align="left"><b><a href="#SEC83">Lengths</a></b></td>
<td>The length commands.</td>
</tr>
<tr bgcolor="#F0F0F0">
<td>
<ul>
<li><a name="TOC84" href="#SEC84">\newlength</a></li>
<li><a name="TOC85" href="#SEC85">\setlength</a></li>
<li><a name="TOC86" href="#SEC86">\addtolength</a></li>
<li><a name="TOC87" href="#SEC87">\settodepth</a></li>
<li><a name="TOC88" href="#SEC88">\settoheight</a></li>
<li><a name="TOC89" href="#SEC89">\settowidth</a></li>
<li><a name="TOC90" href="#SEC90">Predefined lengths</a></li>
</ul>
</td>
<td>&nbsp;</td>
</tr>
<tr bgcolor="#F0F0FA">
<td align="left"><b><a href="#SEC91">Letters</a></b></td>
<td>The letter class.</td>
</tr>
<tr bgcolor="#F0F0F0">
<td>
<ul>
<li><a name="TOC92" href="#SEC92">\address</a></li>
<li><a name="TOC93" href="#SEC93">\cc</a></li>
<li><a name="TOC94" href="#SEC94">\closing</a></li>
<li><a name="TOC95" href="#SEC95">\encl</a></li>
<li><a name="TOC96" href="#SEC96">\location</a></li>
<li><a name="TOC97" href="#SEC97">\makelabels</a></li>
<li><a name="TOC98" href="#SEC98">\name</a></li>
<li><a name="TOC99" href="#SEC99">\opening</a></li>
<li><a name="TOC100" href="#SEC100">\ps</a></li>
<li><a name="TOC101" href="#SEC101">\signature</a></li>
<li><a name="TOC102" href="#SEC102">\startbreaks</a></li>
<li><a name="TOC103" href="#SEC103">\stopbreaks</a></li>
<li><a name="TOC104" href="#SEC104">\telephone</a></li>
</ul>
</td>
<td>&nbsp;</td>
</tr>
<tr bgcolor="#F0F0FA">
<td align="left"><b><a href="#SEC105">Line &amp; Page
Breaking</a></b></td>
<td>How to insert pagebreaks etc.</td>
</tr>
<tr bgcolor="#F0F0F0">
<td>
<ul>
<li><a name="TOC106" href="#SEC106">\\</a></li>
<li><a name="TOC107" href="#SEC107">\-</a></li>
<li><a name="TOC108" href="#SEC108">\cleardoublepage</a></li>
<li><a name="TOC109" href="#SEC109">\clearpage</a></li>
<li><a name="TOC110" href="#SEC110">\enlargethispage</a></li>
<li><a name="TOC111" href="#SEC111">\fussy</a></li>
<li><a name="TOC112" href="#SEC112">\hyphenation</a></li>
<li><a name="TOC113" href="#SEC113">\linebreak</a></li>
<li><a name="TOC114" href="#SEC114">\newline</a></li>
<li><a name="TOC115" href="#SEC115">\newpage</a></li>
<li><a name="TOC116" href="#SEC116">\nolinebreak</a></li>
<li><a name="TOC117" href="#SEC117">\nopagebreak</a></li>
<li><a name="TOC118" href="#SEC118">\pagebreak</a></li>
<li><a name="TOC119" href="#SEC119">\sloppy</a></li>
</ul>
</td>
<td>&nbsp;</td>
</tr>
<tr bgcolor="#F0F0FA">
<td align="left"><b><a href="#SEC120">Making
Paragraphs</a></b></td>
<td>Paragraph commands.</td>
</tr>
<tr bgcolor="#F0F0F0">
<td>
<ul>
<li><a name="TOC121" href="#SEC121">\indent</a></li>
<li><a name="TOC122" href="#SEC122">\noindent</a></li>
<li><a name="TOC123" href="#SEC123">\par</a></li>
</ul>
</td>
<td>&nbsp;</td>
</tr>
<tr bgcolor="#F0F0FA">
<td align="left"><b><a href="#SEC124">Margin Notes</a></b></td>
<td>Putting remarks in the margin.</td>
</tr>
<tr bgcolor="#F0F0FA">
<td align="left"><b><a href="#SEC125">Math Formulae</a></b></td>
<td>How to create mathematical formulae.</td>
</tr>
<tr bgcolor="#F0F0F0">
<td>
<ul>
<li><a name="TOC126" href="#SEC126">Subscripts &amp;
Superscripts</a></li>
<li><a name="TOC127" href="#SEC127">Math Symbols</a></li>
<li><a name="TOC128" href="#SEC128">Spacing in Math Mode</a></li>
<li><a name="TOC129" href="#SEC129">Math Miscellany</a></li>
</ul>
</td>
<td>&nbsp;</td>
</tr>
<tr bgcolor="#F0F0FA">
<td align="left"><b><a href="#SEC130">Modes</a></b></td>
<td>Paragraph, Math or LR modes.</td>
</tr>
<tr bgcolor="#F0F0FA">
<td align="left"><b><a href="#SEC131">Page Styles</a></b></td>
<td>Various styles of page layout.</td>
</tr>
<tr bgcolor="#F0F0F0">
<td>
<ul>
<li><a name="TOC132" href="#SEC132">\maketitle</a></li>
<li><a name="TOC133" href="#SEC133">\author</a></li>
<li><a name="TOC134" href="#SEC134">\date</a></li>
<li><a name="TOC135" href="#SEC135">\thanks</a></li>
<li><a name="TOC136" href="#SEC136">\title</a></li>
<li><a name="TOC137" href="#SEC137">\pagenumbering</a></li>
<li><a name="TOC138" href="#SEC138">\pagestyle</a></li>
<li><a name="TOC139" href="#SEC139">\markboth</a></li>
<li><a name="TOC140" href="#SEC140">\markright</a></li>
<li><a name="TOC141" href="#SEC141">\thispagestyle</a></li>
</ul>
</td>
<td>&nbsp;</td>
</tr>
<tr bgcolor="#F0F0FA">
<td align="left"><b><a href="#SEC142">Sectioning</a></b></td>
<td>How to section properly.</td>
</tr>
<tr bgcolor="#F0F0FA">
<td align="left"><b><a href="#SEC143">Spaces &amp;
Boxes</a></b></td>
<td>All the associated commands.</td>
</tr>
<tr bgcolor="#F0F0F0">
<td>
<ul>
<li><a name="TOC144" href="#SEC144">\dotfill</a></li>
<li><a name="TOC145" href="#SEC145">\hfill</a></li>
<li><a name="TOC146" href="#SEC146">\hrulefill</a></li>
<li><a name="TOC147" href="#SEC147">\hspace</a></li>
<li><a name="TOC148" href="#SEC148">\addvspace</a></li>
<li><a name="TOC149" href="#SEC149">\bigskip</a></li>
<li><a name="TOC150" href="#SEC150">\medskip</a></li>
<li><a name="TOC151" href="#SEC151">\smallskip</a></li>
<li><a name="TOC152" href="#SEC152">\vfill</a></li>
<li><a name="TOC153" href="#SEC153">\vspace</a></li>
<li><a name="TOC154" href="#SEC154">\fbox</a></li>
<li><a name="TOC155" href="#SEC155">\framebox</a></li>
<li><a name="TOC156" href="#SEC156">lrbox</a></li>
<li><a name="TOC157" href="#SEC157">\makebox</a></li>
<li><a name="TOC158" href="#SEC158">\mbox</a></li>
<li><a name="TOC159" href="#SEC159">\newsavebox</a></li>
<li><a name="TOC160" href="#SEC160">\parbox</a></li>
<li><a name="TOC161" href="#SEC161">\raisebox</a></li>
<li><a name="TOC162" href="#SEC162">\rule</a></li>
<li><a name="TOC163" href="#SEC163">\savebox</a></li>
<li><a name="TOC164" href="#SEC164">\sbox</a></li>
<li><a name="TOC165" href="#SEC165">\usebox</a></li>
</ul>
</td>
<td>&nbsp;</td>
</tr>
<tr bgcolor="#F0F0FA">
<td align="left"><b><a href="#SEC166">Special
Characters</a></b></td>
<td>Special reserved characters.</td>
</tr>
<tr bgcolor="#F0F0FA">
<td align="left"><b><a href="#SEC167">Splitting the
Input</a></b></td>
<td>Dealing with big files by splitting.</td>
</tr>
<tr bgcolor="#F0F0F0">
<td>
<ul>
<li><a name="TOC168" href="#SEC168">\include</a></li>
<li><a name="TOC169" href="#SEC169">\includeonly</a></li>
<li><a name="TOC170" href="#SEC170">\input</a></li>
</ul>
</td>
<td>&nbsp;</td>
</tr>
<tr bgcolor="#F0F0FA">
<td align="left"><b><a href="#SEC171">Starting &amp;
Ending</a></b></td>
<td>The formal start &amp; end layouts.</td>
</tr>
<tr bgcolor="#F0F0FA">
<td align="left"><b><a href="#SEC172">Table of
Contents</a></b></td>
<td>How to create a table of contents.</td>
</tr>
<tr bgcolor="#F0F0F0">
<td>
<ul>
<li><a name="TOC173" href="#SEC173">\addcontentsline</a></li>
<li><a name="TOC174" href="#SEC174">\addtocontents</a></li>
</ul>
</td>
<td>&nbsp;</td>
</tr>
<tr bgcolor="#F0F0FA">
<td align="left"><b><a href="#SEC175">Terminal
Input/Output</a></b></td>
<td>User interaction.</td>
</tr>
<tr bgcolor="#F0F0F0">
<td>
<ul>
<li><a name="TOC176" href="#SEC176">\typein</a></li>
<li><a name="TOC177" href="#SEC177">\typeout</a></li>
</ul>
</td>
<td>&nbsp;</td>
</tr>
<tr bgcolor="#F0F0FA">
<td align="left"><b><a href="#SEC178">Typefaces</a></b></td>
<td>Such as bold, italics etc.</td>
</tr>
<tr bgcolor="#F0F0F0">
<td>
<ul>
<li><a name="TOC179" href="#SEC179">\Styles</a></li>
<li><a name="TOC180" href="#SEC180">Sizes</a></li>
<li><a name="TOC181" href="#SEC181">Low-level font
commands</a></li>
</ul>
</td>
<td>&nbsp;</td>
</tr>
</table>
<!-- ALPHABETICAL INDEX -->
<hr>
<table width="100%">
<tr bgcolor="#3F5881">
<td align="center"><b><a name="alpha"><font size="+2" color=
"white">Alphabetical index</font></a></b></td>
</tr>
</table>
<table>
<tr valign="top">
<td bgcolor="#3F5881"><b><font size="+2" color=
"white">&nbsp;#&nbsp;</font></b></td>
<td bgcolor="#F0F0F0">
<ul>
<li><a name="index0" href="#IDX259">$</a></li>
<li><a href="#SEC128">\!</a></li>
<li><a href="#IDX134">\' (tabbing)</a></li>
<li><a href="#SEC125">\(</a></li>
<li><a href="#SEC125">\)</a></li>
<li><a href="#IDX132">\+</a></li>
<li><a href="#SEC128">\,</a></li>
<li><a href="#SEC107">\- (hyphenation)</a></li>
<li><a href="#IDX133">\- (tabbing)</a></li>
<li><a href="#SEC128">\;</a></li>
<li><a href="#IDX131">\&lt;</a></li>
<li><a href="#IDX129">\=</a></li>
<li><a href="#IDX130">\&gt;</a></li>
<li><a href="#SEC125">\[</a></li>
<li><a href="#SEC106">\\</a></li>
<li><a href="#SEC125">\]</a></li>
<li><a href="#IDX135">\` (tabbing)</a></li>
</ul>
</td>
</tr>
<tr valign="top">
<td bgcolor="#3F5881"><b><font size="+2" color=
"white">&nbsp;A&nbsp;</font></b></td>
<td bgcolor="#F0F0F0">
<ul>
<li><a name="indexa" href="#IDX139">\a</a></li>
<li><a href="#SEC173">\addcontentsline</a></li>
<li><a href="#SEC92">\address</a></li>
<li><a href="#SEC174">\addtocontents</a></li>
<li><a href="#SEC4">\addtocounter</a></li>
<li><a href="#SEC86">\addtolength</a></li>
<li><a href="#SEC148">\addvspace</a></li>
<li><a href="#SEC5">\alph</a></li>
<li><a href="#SEC5">\Alph</a></li>
<li><a href="#IDX314">\appendix</a></li>
<li><a href="#SEC6">\arabic</a></li>
<li><a href="#SEC31">array (environment)</a></li>
<li><a href="#SEC133">\author</a></li>
</ul>
</td>
</tr>
<tr valign="top">
<td bgcolor="#3F5881"><b><font size="+2" color=
"white">&nbsp;B&nbsp;</font></b></td>
<td bgcolor="#F0F0F0">
<ul>
<li><a name="indexb" href="#IDX346">\backslash</a></li>
<li><a href="#SEC30">\begin</a></li>
<li><a href="#IDX380">\bfseries</a></li>
<li><a href="#SEC70">\bibitem</a></li>
<li><a href="#SEC73">\bibliography</a></li>
<li><a href="#SEC73">\bibliographystyle</a></li>
<li><a href="#SEC149">\bigskip</a></li>
</ul>
</td>
</tr>
<tr valign="top">
<td bgcolor="#3F5881"><b><font size="+2" color=
"white">&nbsp;C&nbsp;</font></b></td>
<td bgcolor="#F0F0F0">
<ul>
<li><a name="indexc" href="#IDX80">\caption</a></li>
<li><a href="#SEC93">\cc</a></li>
<li><a href="#IDX275">\cdots</a></li>
<li><a href="#SEC32">center</a></li>
<li><a href="#SEC33">\centering</a></li>
<li><a href="#SEC142">\chapter</a></li>
<li><a href="#SEC48">\circle</a></li>
<li><a href="#SEC71">\cite</a></li>
<li><a href="#SEC108">\cleardoublepage</a></li>
<li><a href="#SEC109">\clearpage</a></li>
<li><a href="#SEC65">\cline</a></li>
<li><a href="#SEC94">\closing</a></li>
</ul>
</td>
</tr>
<tr valign="top">
<td bgcolor="#3F5881"><b><font size="+2" color=
"white">&nbsp;D&nbsp;</font></b></td>
<td bgcolor="#F0F0F0">
<ul>
<li><a name="indexd" href="#SEC49">\dashbox</a></li>
<li><a href="#SEC134">\date</a></li>
<li><a href="#IDX276">\ddots</a></li>
<li><a href="#IDX193">\depth</a></li>
<li><a href="#SEC34">description</a></li>
<li><a href="#SEC24">\documentclass</a></li>
<li><a href="#SEC144">\dotfill</a></li>
</ul>
</td>
</tr>
<tr valign="top">
<td bgcolor="#3F5881"><b><font size="+2" color=
"white">&nbsp;E&nbsp;</font></b></td>
<td bgcolor="#F0F0F0">
<ul>
<li><a name="indexe" href="#IDX376">\emph</a></li>
<li><a href="#SEC95">\encl</a></li>
<li><a href="#SEC30">\end</a></li>
<li><a href="#SEC110">\enlargethispage</a></li>
<li><a href="#SEC35">enumerate</a></li>
<li><a href="#SEC36">eqnarray</a></li>
<li><a href="#SEC37">equation</a></li>
</ul>
</td>
</tr>
<tr valign="top">
<td bgcolor="#3F5881"><b><font size="+2" color=
"white">&nbsp;F&nbsp;</font></b></td>
<td bgcolor="#F0F0F0">
<ul>
<li><a name="indexf" href="#SEC154">\fbox</a></li>
<li><a href="#SEC38">figure</a></li>
<li><a href="#SEC26">\flushbottom</a></li>
<li><a href="#SEC39">flushleft</a></li>
<li><a href="#SEC41">flushright</a></li>
<li><a href="#SEC7">\fnsymbol</a></li>
<li><a href="#IDX416">\fontencoding</a></li>
<li><a href="#IDX417">\fontfamily</a></li>
<li><a href="#IDX418">\fontseries</a></li>
<li><a href="#IDX419">\fontshape</a></li>
<li><a href="#IDX420">\fontsize</a></li>
<li><a href="#SEC80">\footnote</a></li>
<li><a href="#SEC81">\footnotemark</a></li>
<li><a href="#IDX406">\footnotesize</a></li>
<li><a href="#SEC82">\footnotetext</a></li>
<li><a href="#IDX277">\frac</a></li>
<li><a href="#SEC50">\frame</a></li>
<li><a href="#SEC51">\framebox</a></li>
<li><a href="#SEC111">\fussy</a></li>
</ul>
</td>
</tr>
<tr valign="top">
<td bgcolor="#3F5881"><b><font size="+2" color=
"white">&nbsp;H&nbsp;</font></b></td>
<td bgcolor="#F0F0F0">
<ul>
<li><a name="indexh" href="#IDX192">\height</a></li>
<li><a href="#SEC145">\hfill</a></li>
<li><a href="#SEC66">\hline</a></li>
<li><a href="#SEC146">\hrulefill</a></li>
<li><a href="#SEC147">\hspace</a></li>
<li><a href="#IDX413">\Huge</a></li>
<li><a href="#IDX412">\huge</a></li>
<li><a href="#SEC112">\hyphenation</a></li>
</ul>
</td>
</tr>
<tr valign="top">
<td bgcolor="#3F5881"><b><font size="+2" color=
"white">&nbsp;I&nbsp;</font></b></td>
<td bgcolor="#F0F0F0">
<ul>
<li><a name="indexi" href="#SEC168">\include</a></li>
<li><a href="#SEC169">\includeonly</a></li>
<li><a href="#SEC121">\indent</a></li>
<li><a href="#SEC170">\input</a></li>
<li><a href="#SEC43">\item</a></li>
<li><a href="#SEC43">itemize</a></li>
<li><a href="#IDX375">\itshape</a></li>
</ul>
</td>
</tr>
<tr valign="top">
<td bgcolor="#3F5881"><b><font size="+2" color=
"white">&nbsp;K&nbsp;</font></b></td>
<td bgcolor="#F0F0F0">
<ul>
<li><a name="indexk" href="#IDX136">\kill</a></li>
</ul>
</td>
</tr>
<tr valign="top">
<td bgcolor="#3F5881"><b><font size="+2" color=
"white">&nbsp;L&nbsp;</font></b></td>
<td bgcolor="#F0F0F0">
<ul>
<li><a name="indexl" href="#SEC16">\label</a></li>
<li><a href="#IDX409">\large</a></li>
<li><a href="#IDX411">\LARGE</a></li>
<li><a href="#IDX410">\Large</a></li>
<li><a href="#IDX278">\ldots</a></li>
<li><a href="#IDX74">\lefteqn</a></li>
<li><a href="#SEC44">letter</a></li>
<li><a href="#SEC52">\line</a></li>
<li><a href="#SEC113">\linebreak</a></li>
<li><a href="#SEC53">\linethickness</a></li>
<li><a href="#SEC45">list</a></li>
<li><a href="#IDX358">\listoffigures</a></li>
<li><a href="#IDX359">\listoftables</a></li>
<li><a href="#IDX204">\location</a></li>
<li><a href="#SEC156">lrbox</a></li>
</ul>
</td>
</tr>
<tr valign="top">
<td bgcolor="#3F5881"><b><font size="+2" color=
"white">&nbsp;M&nbsp;</font></b></td>
<td bgcolor="#F0F0F0">
<ul>
<li><a name="indexm" href="#SEC157">\makebox</a></li>
<li><a href="#SEC54">\makebox (picture)</a></li>
<li><a href="#SEC97">\makelabels</a></li>
<li><a href="#SEC132">\maketitle</a></li>
<li><a href="#SEC139">\markboth</a></li>
<li><a href="#SEC140">\markright</a></li>
<li><a href="#IDX394">\mathbf</a></li>
<li><a href="#IDX399">\mathcal</a></li>
<li><a href="#IDX397">\mathit</a></li>
<li><a href="#IDX398">\mathnormal</a></li>
<li><a href="#IDX393">\mathrm</a></li>
<li><a href="#IDX395">\mathsf</a></li>
<li><a href="#IDX396">\mathtt</a></li>
<li><a href="#IDX400">\mathversion</a></li>
<li><a href="#SEC158">\mbox</a></li>
<li><a href="#IDX378">\mdseries</a></li>
<li><a href="#SEC150">\medskip</a></li>
<li><a href="#SEC46">minipage</a></li>
<li><a href="#SEC67">\multicolumn</a></li>
<li><a href="#SEC55">\multiput</a></li>
</ul>
</td>
</tr>
<tr valign="top">
<td bgcolor="#3F5881"><b><font size="+2" color=
"white">&nbsp;N&nbsp;</font></b></td>
<td bgcolor="#F0F0F0">
<ul>
<li><a name="indexn" href="#SEC98">\name</a></li>
<li><a href="#SEC20">\newcommand</a></li>
<li><a href="#SEC8">\newcounter</a></li>
<li><a href="#SEC21">\newenvironment</a></li>
<li><a href="#SEC23">\newfont</a></li>
<li><a href="#SEC84">\newlength</a></li>
<li><a href="#SEC114">\newline</a></li>
<li><a href="#SEC115">\newpage</a></li>
<li><a href="#SEC159">\newsavebox</a></li>
<li><a href="#SEC22">\newtheorem</a></li>
<li><a href="#SEC72">\nocite</a></li>
<li><a href="#IDX360">\nofiles</a></li>
<li><a href="#SEC122">\noindent</a></li>
<li><a href="#SEC116">\nolinebreak</a></li>
<li><a href="#SEC117">\nopagebreak</a></li>
<li><a href="#IDX392">\normalfont</a></li>
<li><a href="#IDX408">\normalsize</a></li>
</ul>
</td>
</tr>
<tr valign="top">
<td bgcolor="#3F5881"><b><font size="+2" color=
"white">&nbsp;O&nbsp;</font></b></td>
<td bgcolor="#F0F0F0">
<ul>
<li><a name="indexo" href="#SEC27">\onecolumn</a></li>
<li><a href="#SEC99">\opening</a></li>
<li><a href="#SEC56">\oval</a></li>
<li><a href="#IDX279">\overbrace</a></li>
<li><a href="#IDX280">\overline</a></li>
</ul>
</td>
</tr>
<tr valign="top">
<td bgcolor="#3F5881"><b><font size="+2" color=
"white">&nbsp;P&nbsp;</font></b></td>
<td bgcolor="#F0F0F0">
<ul>
<li><a name="indexp" href="#SEC118">\pagebreak</a></li>
<li><a href="#SEC137">\pagenumbering</a></li>
<li><a href="#SEC17">\pageref</a></li>
<li><a href="#SEC138">\pagestyle</a></li>
<li><a href="#SEC123">\par</a></li>
<li><a href="#SEC142">\paragraph</a></li>
<li><a href="#SEC160">\parbox</a></li>
<li><a href="#SEC47">picture</a></li>
<li><a href="#SEC100">\ps</a></li>
<li><a href="#IDX137">\pushtabs</a></li>
<li><a href="#SEC57">\put</a></li>
</ul>
</td>
</tr>
<tr valign="top">
<td bgcolor="#3F5881"><b><font size="+2" color=
"white">&nbsp;Q&nbsp;</font></b></td>
<td bgcolor="#F0F0F0">
<ul>
<li><a name="indexq" href="#SEC60">quotation</a></li>
<li><a href="#SEC61">quote</a></li>
</ul>
</td>
</tr>
<tr valign="top">
<td bgcolor="#3F5881"><b><font size="+2" color=
"white">&nbsp;R&nbsp;</font></b></td>
<td bgcolor="#F0F0F0">
<ul>
<li><a name="indexr" href="#SEC28">\raggedbottom</a></li>
<li><a href="#SEC42">\raggedleft</a></li>
<li><a href="#SEC40">\raggedright</a></li>
<li><a href="#SEC161">\raisebox</a></li>
<li><a href="#SEC18">\ref</a></li>
<li><a href="#SEC9">\refstepcounter</a></li>
<li><a href="#IDX373">\rmfamily</a></li>
<li><a href="#SEC10">\roman</a></li>
<li><a href="#SEC10">\Roman</a></li>
<li><a href="#SEC162">\rule</a></li>
</ul>
</td>
</tr>
<tr valign="top">
<td bgcolor="#3F5881"><b><font size="+2" color=
"white">&nbsp;S&nbsp;</font></b></td>
<td bgcolor="#F0F0F0">
<ul>
<li><a name="indexs" href="#SEC163">\savebox</a></li>
<li><a href="#SEC164">\sbox</a></li>
<li><a href="#IDX405">\scriptsize</a></li>
<li><a href="#IDX388">\scshape</a></li>
<li><a href="#SEC142">\section</a></li>
<li><a href="#IDX421">\selectfont</a></li>
<li><a href="#SEC12">\setcounter</a></li>
<li><a href="#SEC85">\setlength</a></li>
<li><a href="#SEC87">\settodepth</a></li>
<li><a href="#SEC88">\settoheight</a></li>
<li><a href="#SEC89">\settowidth</a></li>
<li><a href="#IDX386">\sffamily</a></li>
<li><a href="#SEC58">\shortstack</a></li>
<li><a href="#SEC101">\signature</a></li>
<li><a href="#SEC119">\sloppy</a></li>
<li><a href="#IDX384">\slshape</a></li>
<li><a href="#IDX407">\small</a></li>
<li><a href="#SEC151">\smallskip</a></li>
<li><a href="#IDX281">\sqrt</a></li>
<li><a href="#SEC102">\startbreaks</a></li>
<li><a href="#SEC11">\stepcounter</a></li>
<li><a href="#SEC103">\stopbreaks</a></li>
<li><a href="#SEC142">\subparagraph</a></li>
<li><a href="#SEC142">\subsection</a></li>
<li><a href="#SEC142">\subsubsection</a></li>
<li><a href="#IDX347">\symbol</a></li>
</ul>
</td>
</tr>
<tr valign="top">
<td bgcolor="#3F5881"><b><font size="+2" color=
"white">&nbsp;T&nbsp;</font></b></td>
<td bgcolor="#F0F0F0">
<ul>
<li><a name="indext" href="#SEC62">tabbing</a></li>
<li><a href="#SEC63">table</a></li>
<li><a href="#IDX357">\tableofcontents</a></li>
<li><a href="#SEC64">tabular</a></li>
<li><a href="#SEC104">\telephone</a></li>
<li><a href="#IDX380">\textbf</a></li>
<li><a href="#IDX375">\textit</a></li>
<li><a href="#IDX378">\textmd</a></li>
<li><a href="#IDX392">\textnormal</a></li>
<li><a href="#IDX373">\textrm</a></li>
<li><a href="#IDX388">\textsc</a></li>
<li><a href="#IDX386">\textsf</a></li>
<li><a href="#IDX384">\textsl</a></li>
<li><a href="#IDX389">\texttt</a></li>
<li><a href="#IDX381">\textup</a></li>
<li><a href="#SEC135">\thanks</a></li>
<li><a href="#SEC69">thebibliography</a></li>
<li><a href="#SEC74">theorem</a></li>
<li><a href="#SEC141">\thispagestyle</a></li>
<li><a href="#IDX404">\tiny</a></li>
<li><a href="#SEC136">\title</a></li>
<li><a href="#SEC75">titlepage</a></li>
<li><a href="#IDX165">\today</a></li>
<li><a href="#IDX194">\totalheight</a></li>
<li><a href="#IDX389">\ttfamily</a></li>
<li><a href="#SEC29">\twocolumn</a></li>
<li><a href="#SEC176">\typein</a></li>
<li><a href="#SEC177">\typeout</a></li>
</ul>
</td>
</tr>
<tr valign="top">
<td bgcolor="#3F5881"><b><font size="+2" color=
"white">&nbsp;U&nbsp;</font></b></td>
<td bgcolor="#F0F0F0">
<ul>
<li><a name="indexu" href="#IDX282">\underbrace</a></li>
<li><a href="#IDX283">\underline</a></li>
<li><a href="#IDX381">\upshape</a></li>
<li><a href="#SEC165">\usebox</a></li>
<li><a href="#SEC13">\usecounter</a></li>
<li><a href="#IDX422">\usefont</a></li>
<li><a href="#IDX46">\usepackage</a></li>
</ul>
</td>
</tr>
<tr valign="top">
<td bgcolor="#3F5881"><b><font size="+2" color=
"white">&nbsp;V&nbsp;</font></b></td>
<td bgcolor="#F0F0F0">
<ul>
<li><a name="indexv" href="#SEC14">\value</a></li>
<li><a href="#IDX284">\vdots</a></li>
<li><a href="#SEC59">\vector</a></li>
<li><a href="#SEC77">\verb</a></li>
<li><a href="#SEC76">verbatim</a></li>
<li><a href="#SEC78">verse</a></li>
<li><a href="#SEC152">\vfill</a></li>
<li><a href="#SEC68">\vline</a></li>
<li><a href="#SEC153">\vspace</a></li>
</ul>
</td>
</tr>
<tr valign="top">
<td bgcolor="#3F5881"><b><font size="+2" color=
"white">&nbsp;W&nbsp;</font></b></td>
<td bgcolor="#F0F0F0">
<ul>
<li><a name="indexw" href="#SEC90">\width</a></li>
</ul>
</td>
</tr>
</table>
<br>
<br>
<hr>
<!-- HELP CONTENTS -->
<table width="100%">
<tr bgcolor="#3F5881">
<td align="left"><b><font size="+2" color="white">&nbsp;<a name=
"SEC3">Counters</a></font></b></td>
</tr>
</table>
<p>Everything LaTeX numbers for you has a counter associated with
it. The name of the counter is the same as the name of the
environment or command that produces the number, except with no
<code>\</code>. (enumi - enumiv are used for the nested enumerate
environment.) Below is a list of the counters used in LaTeX's
standard document classes to control numbering.</p>
<pre>
 part            paragraph       figure          enumi
 chapter         subparagraph    table           enumii
 section         page            footnote        enumiii
 subsection      equation        mpfootnote      enumiv
 subsubsection
</pre>
<ul>
<li><a href="#SEC4">\addtocounter</a>: Add a quantity to a
counter.</li>
<li><a href="#SEC5">\alph</a>: Print value of a counter using
letters.</li>
<li><a href="#SEC6">\arabic</a>: Print value of a counter using
numerals.</li>
<li><a href="#SEC7">\fnsymbol</a>: Print value of a counter using
symbols.</li>
<li><a href="#SEC8">\newcounter</a>: Define a new counter.</li>
<li><a href="#SEC9">\refstepcounter</a>: Add to counter, resetting
subsidiary counters.</li>
<li><a href="#SEC10">\roman</a>: Print value of a counter using
roman numerals.</li>
<li><a href="#SEC12">\setcounter</a>: Set the value of a
counter.</li>
<li><a href="#SEC11">\stepcounter</a>: Add to counter, resetting
subsidiary counters.</li>
<li><a href="#SEC13">\usecounter</a>: Use a specified counter in a
list environment.</li>
<li><a href="#SEC14">\value</a>: Use the value of a counter in an
expression.</li>
</ul>
<h3><a name="SEC4" href="#TOC4">\addtocounter</a></h3>
<p><code>\addtocounter{counter}{value}</code></p>
<p>The <code>\addtocounter</code> command increments the
<code>counter</code> by the amount specified by the
<code>value</code> argument. The <code>value</code> argument can be
negative.</p>
<h3><a name="SEC5" href="#TOC5">\alph</a></h3>
<p><code>\alph{counter}</code></p>
<p>This command causes the value of the <code>counter</code> to be
printed in alphabetic characters. The <code>\alph</code> command
uses lower case alphabetic alphabetic characters, i.e., <code>a, b,
c...</code> while the <code>\Alph</code> command uses upper case
alphabetic characters, i.e., <code>A, B, C...</code>.</p>
<h3><a name="SEC6" href="#TOC6">\arabic</a></h3>
<p><code>\arabic{counter}</code></p>
<p>The <code>\arabic</code> command causes the value of the
<code>counter</code> to be printed in Arabic numbers, i.e.,
<code>3</code>.</p>
<h3><a name="SEC7" href="#TOC7">\fnsymbol</a></h3>
<p><code>\fnsymbol{counter}</code></p>
<p>The <code>\fnsymbol</code> command causes the value of the
<code>counter</code> to be printed in a specific sequence of nine
symbols that can be used for numbering footnotes.</p>
<p>eg. From 1-9:</p>
<p>NB. <code>counter</code> must have a value between 1 and 9
inclusive.</p>
<h3><a name="SEC8" href="#TOC8">\newcounter</a></h3>
<p><code>\newcounter{foo}[counter]</code></p>
<p>The <code>\newcounter</code> command defines a new counter named
<code>foo</code>. The counter is initialized to zero.</p>
<p>The optional argument <code>[counter]</code> causes the counter
<code>foo</code> to be reset whenever the counter named in the
optional argument is incremented.</p>
<h3><a name="SEC9" href="#TOC9">\refstepcounter</a></h3>
<p><code>\refstepcounter{counter}</code></p>
<p>The <code>\refstepcounter</code> command works like
<code>\stepcounter</code> See section <a href=
"#SEC11">\stepcounter</a>, except it also defines the current
<code>\ref</code> value to be the result of
<code>\thecounter</code>.</p>
<h3><a name="SEC10" href="#TOC10">\roman</a></h3>
<p><code>\roman{counter}</code></p>
<p>This command causes the value of the <code>counter</code> to be
printed in Roman numerals. The <code>\roman</code> command uses
lower case Roman numerals, i.e., <code>i, ii, iii...</code>, while
the <code>\Roman</code> command uses upper case Roman numerals,
i.e., <code>I, II, III...</code>.</p>
<h3><a name="SEC11" href="#TOC11">\stepcounter</a></h3>
<p><code>\stepcounter{counter}</code></p>
<p>The <code>\stepcounter</code> command adds one to the
<code>counter</code> and resets all subsidiary counters.</p>
<h3><a name="SEC12" href="#TOC12">\setcounter</a></h3>
<p><code>\setcounter{counter}{value}</code></p>
<p>The <code>\setcounter</code> command sets the value of the
<code>counter</code> to that specified by the <code>value</code>
argument.</p>
<h3><a name="SEC13" href="#TOC13">\usecounter</a></h3>
<p><code>\usecounter{counter}</code></p>
<p>The <code>\usecounter</code> command is used in the second
argument of the <code>list</code> environment to allow the counter
specified to be used to number the list items.</p>
<h3><a name="SEC14" href="#TOC14">\value</a></h3>
<p><code>\value{counter}</code></p>
<p>The <code>\value</code> command produces the value of the
<code>counter</code> named in the mandatory argument. It can be
used where LaTeX expects an integer or number, such as the second
argument of a <code>\setcounter</code> or
<code>\addtocounter</code> command, or in:</p>
<pre>
        \hspace{\value{foo}\parindent}
</pre>
<p>It is useful for doing arithmetic with counters.</p>
<table width="100%">
<tr bgcolor="#3F5881">
<td align="left"><b><font size="+2" color="white"> <a name=
"SEC15">Cross References</a></font></b></td>
</tr>
</table>
<p>One reason for numbering things like figures and equations is to
refer the reader to them, as in "See Figure 3 for more
details."</p>
<ul>
<li><a href="#SEC16">\label</a>: Assign a symbolic name to a piece
of text.</li>
<li><a href="#SEC17">\pageref</a>: Refer to a page number.</li>
<li><a href="#SEC18">\ref</a>: Refer to a section, figure or
similar.</li>
</ul>
<h3><a name="SEC16" href="#TOC16">\label</a></h3>
<p><code>\label{key}</code></p>
<p>A <code>\label</code> command appearing in ordinary text assigns
to the <code>key</code> the number of the current sectional unit;
one appearing inside a numbered environment assigns that number to
the <code>key</code>.</p>
<p>A <code>key</code> can consist of any sequence of letters,
digits, or punctuation characters. Upper and lowercase letters are
different.</p>
<p>To avoid accidentally creating two labels with the same name, it
is common to use labels consisting of a prefix and a suffix
separated by a colon. The prefixes conventionally used are</p>
<ul>
<li><code>cha</code> for chapters</li>
<li><code>sec</code> for lower-level sectioning commands</li>
<li><code>fig</code> for figures</li>
<li><code>tab</code> for tables</li>
<li><code>eq</code> for equations</li>
</ul>
<p>Thus, a label for a figure would look like
<code>fig:bandersnatch</code>.</p>
<h3><a name="SEC17" href="#TOC17">\pageref</a></h3>
<p><code>\pageref{key}</code></p>
<p>The <code>\pageref</code> command produces the page number of
the place in the text where the corresponding <code>\label</code>
command appears. ie. where <code>\label{key}</code> appears.</p>
<h3><a name="SEC18" href="#TOC18">\ref</a></h3>
<p><code>\ref{key}</code></p>
<p>The <code>\ref</code> command produces the number of the
sectional unit, equation number, ... of the corresponding
<code>\label</code> command.</p>
<table width="100%">
<tr bgcolor="#3F5881">
<td align="left"><b><font size="+2" color="white"> <a name=
"SEC19">Definitions</a></font></b></td>
</tr>
</table>
<ul>
<li><a href="#SEC20">\newcommand</a>: Define a new command.</li>
<li><a href="#SEC21">\newenvironment</a>: Define a new
environment.</li>
<li><a href="#SEC22">\newtheorem</a>: Define a new theorem-like
environment.</li>
<li><a href="#SEC23">\newfont</a>: Define a new font name.</li>
</ul>
<h3><a name="SEC20" href="#TOC20">\newcommand</a></h3>
<pre>
 \newcommand{cmd}[args]{definition}
 \newcommand{cmd}[args][default]{definition}
 \renewcommand{cmd}[args]{definition}
 \renewcommand{cmd}[args][default]{definition}
</pre>
<p>These commands define (or redefine) a command.</p>
<dl>
<dt><code>cmd</code></dt>
<dd>A command name beginning with a <code>\</code>. For
<code>\newcommand</code> it must not be already defined and must
not begin with <code>\end</code>; for <code>\renewcommand</code> it
must already be defined.</dd>
<dt><code>args</code></dt>
<dd>An integer from 1 to 9 denoting the number of arguments of the
command being defined. The default is for the command to have no
arguments.</dd>
<dt><code>def</code></dt>
<dd>If this optional parameter is present, it means that the
command's first argument is optional. The default value of the
optional argument is <code>def</code>.</dd>
<dt><code>definition</code></dt>
<dd>The text to be substituted for every occurrence of
<code>cmd</code>; a parameter of the form <code>#n</code> in
<code>cmd</code> is replaced by the text of the nth argument when
this substitution takes place.</dd>
</dl>
<h3><a name="SEC21" href="#TOC21">\newenvironment</a></h3>
<pre>
 \newenvironment{nam}[args]{begdef}{enddef}
 \newenvironment{nam}[args][default]{begdef}{enddef}
 \renewenvironment{nam}[args]{begdef}{enddef}
</pre>
<p>These commands define or redefine an environment.</p>
<dl>
<dt><code>nam</code></dt>
<dd>The name of the environment. For <code>\newenvironment</code>
there must be no currently defined environment by that name, and
the command <code>\nam</code> must be undefined. For
<code>\renewenvironment</code> the environment must already be
defined.</dd>
<dt><code>args</code></dt>
<dd>An integer from 1 to 9 denoting the number of arguments of the
newly-defined environment. The default is no arguments.</dd>
<dt><code>default</code></dt>
<dd>If this is specified, the first argument is optional, and
<code>default</code> gives the default value for that
argument.</dd>
<dt><code>begdef</code></dt>
<dd>The text substituted for every occurrence of
<code>\begin{nam}</code>; a parameter of the form <code>#n</code>
in <code>cmd</code> is replaced by the text of the nth argument
when this substitution takes place.</dd>
<dt><code>enddef</code></dt>
<dd>The text substituted for every occurrence of
<code>\end{nam}</code>. It may not contain any argument
parameters.</dd>
</dl>
<h3><a name="SEC22" href="#TOC22">\newtheorem</a></h3>
<pre>
 \newtheorem{env_name}{caption}[within]
 \newtheorem{env_name}[numbered_like]{caption}
</pre>
<p>This command defines a theorem-like environment.</p>
<dl>
<dt><code>env_name</code></dt>
<dd>The name of the environment to be defined. A string of letters.
It must not be the name of an existing environment or counter.</dd>
<dt><code>caption</code></dt>
<dd>The text printed at the beginning of the environment, right
before the number. This may simply say "Theorem", for example.</dd>
<dt><code>within</code></dt>
<dd>The name of an already defined counter, usually of a sectional
unit. Provides a means of resetting the new theorem counter
<strong>within</strong> the sectional unit.</dd>
<dt><code>numbered_like</code></dt>
<dd>The name of an already defined theorem-like environment.</dd>
</dl>
<p>The <code>\newtheorem</code> command may have at most one
optional argument.</p>
<h3><a name="SEC23" href="#TOC23">\newfont</a></h3>
<p><code>\newfont{cmd}{font_name}</code></p>
<p>Defines the command name <code>cmd</code>, which must not be
currently defined, to be a declaration that selects the font named
<code>font_name</code> to be the current font.</p>
<table width="100%">
<tr bgcolor="#3F5881">
<td align="left"><b><font size="+2" color="white"> <a name=
"SEC24">Document Classes</a></font></b></td>
</tr>
</table>
<p>Valid LaTeX document classes include:</p>
<ul>
<li>article</li>
<li>report</li>
<li>letter</li>
<li>book</li>
<li>slides</li>
</ul>
<p>Other document classes are often available. They are selected
with the following command:</p>
<p><code>\documentclass [options] {class}</code></p>
<p>All the standard classes (except slides) accept the following
options for selecting the typeface size (10 pt is default):</p>
<p>10pt, 11pt, 12pt</p>
<p>All classes accept these options for selecting the paper size
(default is letter):</p>
<p>a4paper, a5paper, b5paper, letterpaper, legalpaper,
executivepaper</p>
<p>Miscellaneous options:</p>
<ul>
<li>landscape -- selects landscape format. Default is
portrait.</li>
<li>titlepage, notitlepage -- selects if there should be a separate
title page.</li>
<li>leqno -- equation number on left side of equations. Default is
right side.</li>
<li>fleqn -- displayed formulas flush left. Default is
centred.</li>
<li>openbib -- use "open" bibliography format.</li>
<li>draft, final -- mark/do not mark overfull boxes with a rule.
Default is final.</li>
</ul>
<p>These options are not available with the slides class:</p>
<ul>
<li>oneside, twoside -- selects one- or twosided layout. Default is
oneside, except for the book class.</li>
<li>openright, openany -- determines if a chapter should start on a
right-hand page. Default is openright for book.</li>
<li>onecolumn, twocolumn -- one or two columns. Defaults to one
column.</li>
</ul>
<p>The slides class offers the option <code>clock</code> for
printing the time at the bottom of each note.</p>
<p>If you specify more than one option, they must be separated by a
comma.</p>
<p>Additional packages are loaded by a</p>
<p><code><a name="IDX46">\usepackage[options]{pkg}</a></code></p>
<p>command. If you specify more than one package, they must be
separated by a comma.</p>
<p>Any options given in the <code>\documentclass</code> command
that are unknown by the selected document class are passed on to
the packages loaded with <code>\usepackage</code>.</p>
<table width="100%">
<tr bgcolor="#3F5881">
<td align="left"><b><font size="+2" color="white"> <a name=
"SEC25">Layout</a></font></b></td>
</tr>
</table>
<p>Miscellaneous commands for controlling the general layout of the
page.</p>
<ul>
<li><a href="#SEC26">\flushbottom</a>: Make all text pages the same
height.</li>
<li><a href="#SEC27">\onecolumn</a>: Use one-column layout.</li>
<li><a href="#SEC28">\raggedbottom</a>: Allow text pages of
differing height.</li>
<li><a href="#SEC29">\twocolumn</a>: Use two-column layout.</li>
</ul>
<h3><a name="SEC26" href="#TOC26">\flushbottom</a></h3>
<p>The <code>\flushbottom</code> declaration makes all text pages
the same height, adding extra vertical space when necessary to fill
out the page.</p>
<p>This is the standard if twocolumn mode is selected.</p>
<h3><a name="SEC27" href="#TOC27">\onecolumn</a></h3>
<p>The <code>\onecolumn</code> declaration starts a new page and
produces single-column output.</p>
<h3><a name="SEC28" href="#TOC28">\raggedbottom</a></h3>
<p>The <code>\raggedbottom</code> declaration makes all pages the
height of the text on that page. No extra vertical space is
added.</p>
<h3><a name="SEC29" href="#TOC29">\twocolumn</a></h3>
<p><code>\twocolumn[text]</code></p>
<p>The <code>\twocolumn</code> declaration starts a new page and
produces two-column output. If the optional <code>text</code>
argument is present, it is typeset in one-column mode.</p>
<table width="100%">
<tr bgcolor="#3F5881">
<td align="left"><b><font size="+2" color="white"> <a name=
"SEC30">Environments</a></font></b></td>
</tr>
</table>
<p>LaTeX provides a number of different paragraph-making
environments. Each environment begins and ends in the same
manner.</p>
<pre>
        \begin{environment-name}
        .
        .
        .
        \end{environment-name}
</pre>
<ul>
<li><a href="#SEC31">array</a>: Math arrays.</li>
<li><a href="#SEC32">center</a>: Centred lines.</li>
<li><a href="#SEC34">description</a>: Labelled lists.</li>
<li><a href="#SEC35">enumerate</a>: Numbered lists.</li>
<li><a href="#SEC36">eqnarray</a>: Sequences of aligned
equations.</li>
<li><a href="#SEC37">equation</a>: Displayed equation.</li>
<li><a href="#SEC38">figure</a>: Floating figures.</li>
<li><a href="#SEC39">flushleft</a>: Flushed left lines.</li>
<li><a href="#SEC41">flushright</a>: Flushed right lines.</li>
<li><a href="#SEC43">itemize</a>: Bulleted lists.</li>
<li><a href="#SEC44">letter</a>: Letters.</li>
<li><a href="#SEC45">list</a>: Generic list environment.</li>
<li><a href="#SEC46">minipage</a>: Miniature page.</li>
<li><a href="#SEC47">picture</a>: Picture with text, arrows, lines
and circles.</li>
<li><a href="#SEC60">quotation</a>: Indented environment with
paragraph indentation.</li>
<li><a href="#SEC61">quote</a>: Indented environment with no
paragraph indentation.</li>
<li><a href="#SEC62">tabbing</a>: Align text arbitrarily.</li>
<li><a href="#SEC63">table</a>: Floating tables.</li>
<li><a href="#SEC64">tabular</a>: Align text in columns.</li>
<li><a href="#SEC69">thebibliography</a>: Bibliography or reference
list.</li>
<li><a href="#SEC74">theorem</a>: Theorems, lemmas, etc.</li>
<li><a href="#SEC75">titlepage</a>: For hand crafted title
pages.</li>
<li><a href="#SEC76">verbatim</a>: Simulating typed input.</li>
<li><a href="#SEC78">verse</a>: For poetry and other things.</li>
</ul>
<h3><a name="SEC31" href="#TOC31">array</a></h3>
<pre>
\begin{array}{col1col2...coln}
column 1 entry &amp; column 2 entry ... &amp; column n entry \\
 .
 .
 .
\end{array}
</pre>
<p>Math arrays are produced with the array environment. It has a
single mandatory argument describing the number of columns and the
alignment within them. Each column, <code>coln</code>, is specified
by a single letter that tells how items in that row should be
formatted.</p>
<ul>
<li><code>c</code> -- for centred</li>
<li><code>l</code> -- for flush left</li>
<li><code>r</code> -- for flush right</li>
</ul>
<p>Column entries must be separated by an <code>&amp;</code>.
Column entries may include other LaTeX commands. Each row of the
array must be terminated with the string <code>\\</code>.</p>
<p>Note that the <code>array</code> environment can only be used in
math mode, so normally it is used inside an <code>equation</code>
environment.</p>
<h3><a name="SEC32" href="#TOC32">center</a></h3>
<pre>
 \begin{center}
 Text on line 1 \\
 Text on line 2 \\
 .
 .
 .
 \end{center}
</pre>
<p>The <code>center</code> environment allows you to create a
paragraph consisting of lines that are centred within the left and
right margins on the current page. Each line must be terminated
with the string <code>\\</code>.</p>
<ul>
<li><a href="#SEC33">\centering</a>: The declaration form of the
<code>center</code> environment.</li>
</ul>
<h4><a name="SEC33" href="#TOC33">\centering</a></h4>
<p>This declaration corresponds to the <code>center</code>
environment. This declaration can be used inside an environment
such as <code>quote</code> or in a <code>parbox</code>. The text of
a figure or table can be centred on the page by putting a
<code>\centering</code> command at the beginning of the figure or
table environment.</p>
<p>Unlike the <code>center</code> environment, the
<code>\centering</code> command does not start a new paragraph; it
simply changes how LaTeX formats paragraph units. To affect a
paragraph unit's format, the scope of the declaration must contain
the blank line or <code>\end</code> command (of an environment like
quote) that ends the paragraph unit.</p>
<h3><a name="SEC34" href="#TOC34">description</a></h3>
<pre>
 \begin{description}
 \item [label] First item
 \item [label] Second item
 .
 .
 .
 \end{description}
</pre>
<p>The <code>description</code> environment is used to make
labelled lists. The <code>label</code> is bold face and flushed
right.</p>
<h3><a name="SEC35" href="#TOC35">enumerate</a></h3>
<p><a name="IDX69"></a> <a name="IDX70"></a></p>
<pre>
 \begin{enumerate}
 \item First item
 \item Second item
 .
 .
 .
 \end{enumerate}
</pre>
<p>The <code>enumerate</code> environment produces a numbered list.
Enumerations can be nested within one another, up to four levels
deep. They can also be nested within other paragraph-making
environments.</p>
<p>Each item of an enumerated list begins with an
<code>\item</code> command. There must be at least one
<code>\item</code> command within the environment.</p>
<p>The <code>enumerate</code> environment uses the
<code>enumi</code> through <code>enumiv</code> counters (see
section <a href="#SEC3">Counters</a>). The type of numbering can be
changed by redefining <code>\theenumi</code> etc.</p>
<h3><a name="SEC36" href="#TOC36">eqnarray</a></h3>
<p><a name="IDX71"></a> <a name="IDX72"></a> <a name=
"IDX73"></a></p>
<pre>
 \begin{eqnarray}
 math formula 1 \\
 math formula 2 \\
 .
 .
 .
 \end{eqnarray}
</pre>
<p>The <code>eqnarray</code> environment is used to display a
sequence of equations or inequalities. It is very much like a
three-column <code>array</code> environment, with consecutive rows
separated by <code>\\</code> and consecutive items within a row
separated by an <code>&amp;</code>.</p>
<p>An equation number is placed on every line unless that line has
a <code>\nonumber</code> command.</p>
<p>The command <code><a name="IDX74">\lefteqn</a></code> is used
for splitting long formulas across lines. It typesets its argument
in display style flush left in a box of zero width.</p>
<h3><a name="SEC37" href="#TOC37">equation</a></h3>
<p><a name="IDX75"></a> <a name="IDX76"></a> <a name=
"IDX77"></a></p>
<pre>
 \begin{equation}
  math formula
 \end{equation}
</pre>
<p>The <code>equation</code> environment centres your equation on
the page and places the equation number in the right margin.</p>
<h3><a name="SEC38" href="#TOC38">figure</a></h3>
<p><a name="IDX78"></a> <a name="IDX79"></a></p>
<pre>
 \begin{figure}[placement]

  body of the figure

 <a name="IDX80">\caption{figure title}</a>
 \end{figure}
</pre>
<p>Figures are objects that are not part of the normal text, and
are usually "floated" to a convenient place, like the top of a
page. Figures will not be split between two pages.</p>
<p>The optional argument <code>[placement]</code> determines where
LaTeX will try to place your figure. There are four places where
LaTeX can possibly put a float:</p>
<ol>
<li><code>h</code> (Here) - at the position in the text where the
figure environment appears.</li>
<li><code>t</code> (Top) - at the top of a text page.</li>
<li><code>b</code> (Bottom) - at the bottom of a text page.</li>
<li><code>p</code> (Page of floats) - on a separate float page,
which is a page containing no text, only floats.</li>
</ol>
<p>The standard report and article classes use the default
placement <code>tbp</code>.</p>
<p>The body of the figure is made up of whatever text, LaTeX
commands, etc. you wish. The <code>\caption</code> command allows
you to title your figure.</p>
<h3><a name="SEC39" href="#TOC39">flushleft</a></h3>
<p><a name="IDX81"></a> <a name="IDX82"></a> <a name=
"IDX83"></a></p>
<pre>
 \begin{flushleft}
 Text on line 1 \\
 Text on line 2 \\
 .
 .
 .
 \end{flushleft}
</pre>
<p>The <code>flushleft</code> environment allows you to create a
paragraph consisting of lines that are flushed left, to the
left-hand margin. Each line must be terminated with the string
<code>\\</code>.</p>
<ul>
<li><a href="#SEC40">\raggedright</a>: The declaration form of the
<code>flushleft</code> environment.</li>
</ul>
<h4><a name="SEC40" href="#TOC40">\raggedright</a></h4>
<p><a name="IDX84"></a> <a name="IDX85"></a> <a name="IDX86"></a>
<a name="IDX87"></a></p>
<p>This declaration corresponds to the <code>flushleft</code>
environment. This declaration can be used inside an environment
such as <code>quote</code> or in a <code>parbox</code>.</p>
<p>Unlike the <code>flushleft</code> environment, the
<code>\raggedright</code> command does not start a new paragraph;
it simply changes how LaTeX formats paragraph units. To affect a
paragraph unit's format, the scope of the declaration must contain
the blank line or <code>\end</code> command (of an environment like
quote) that ends the paragraph unit.</p>
<h3><a name="SEC41" href="#TOC41">flushright</a></h3>
<p><a name="IDX88"></a> <a name="IDX89"></a> <a name=
"IDX90"></a></p>
<pre>
 \begin{flushright}
 Text on line 1 \\
 Text on line 2 \\
 .
 .
 .
 \end{flushright}
</pre>
<p>The <code>flushright</code> environment allows you to create a
paragraph consisting of lines that are flushed right, to the
right-hand margin. Each line must be terminated with the string
<code>\\</code>.</p>
<ul>
<li><a href="#SEC42">\raggedleft</a>: The declaration form of the
<code>flushright</code> environment.</li>
</ul>
<h4><a name="SEC42" href="#TOC42">\raggedleft</a></h4>
<p><a name="IDX91"></a> <a name="IDX92"></a> <a name="IDX93"></a>
<a name="IDX94"></a></p>
<p>This declaration corresponds to the <code>flushright</code>
environment. This declaration can be used inside an environment
such as <code>quote</code> or in a <code>parbox</code>.</p>
<p>Unlike the <code>flushright</code> environment, the
<code>\raggedleft</code> command does not start a new paragraph; it
simply changes how LaTeX formats paragraph units. To affect a
paragraph unit's format, the scope of the declaration must contain
the blank line or <code>\end</code> command (of an environment like
quote) that ends the paragraph unit.</p>
<h3><a name="SEC43" href="#TOC43">itemize</a></h3>
<p><a name="IDX95"></a> <a name="IDX96"></a> <a name=
"IDX97"></a></p>
<pre>
 \begin{itemize}
 \item First item
 \item Second item
 .
 .
 .
 \end{itemize}
</pre>
<p>The <code>itemize</code> environment produces a "bulleted" list.
Itemizations can be nested within one another, up to four levels
deep. They can also be nested within other paragraph-making
environments.</p>
<p>Each item of an <code>itemized</code> list begins with an
<code>\item</code> command. There must be at least one
<code>\item</code> command within the environment.</p>
<p>The <code>itemize</code> environment uses the <code>itemi</code>
through <code>itemiv</code> counters (see section <a href=
"#SEC3">Counters</a>). The type of numbering can be changed by
redefining <code>\theitemi</code> etc.</p>
<h3><a name="SEC44" href="#TOC44">letter</a></h3>
<p><a name="IDX98"></a></p>
<p>This environment is used for creating letters. See section
<a href="#SEC91">Letters</a>.</p>
<h3><a name="SEC45" href="#TOC45">list</a></h3>
<p><a name="IDX99"></a> <a name="IDX100"></a></p>
<p>The <code>list</code> environment is a generic environment which
is used for defining many of the more specific environments. It is
seldom used in documents, but often in macros.</p>
<pre>
 \begin{list}{label}{spacing}
 \item First item
 \item Second item
 .
 .
 .
 \end{list}
</pre>
<p>The <code>{label}</code> argument specifies how items should be
labelled. This argument is a piece of text that is inserted in a
box to form the label. This argument can and usually does contain
other LaTeX commands.</p>
<p>The <code>{spacing}</code> argument contains commands to change
the spacing parameters for the list. This argument will most often
be null, i.e., <code>{}</code>. This will select all default
spacing which should suffice for most cases.</p>
<h3><a name="SEC46" href="#TOC46">minipage</a></h3>
<p><a name="IDX101"></a> <a name="IDX102"></a> <a name=
"IDX103"></a> <a name="IDX104"></a></p>
<pre>
 \begin{minipage}[position]{width}
  text
 \end{minipage}
</pre>
<p>The <code>minipage</code> environment is similar to a
<code>\parbox</code> command. It takes the same optional
<code>position</code> argument and mandatory <code>width</code>
argument. You may use other paragraph-making environments inside a
minipage.</p>
<p>Footnotes in a <code>minipage</code> environment are handled in
a way that is particularly useful for putting footnotes in figures
or tables. A <code>\footnote</code> or <code>\footnotetext</code>
command puts the footnote at the bottom of the minipage instead of
at the bottom of the page, and it uses the <code>mpfootnote</code>
counter instead of the ordinary <code>footnote</code> counter See
section <a href="#SEC3">Counters</a>.</p>
<p>NOTE: Don't put one minipage inside another if you are using
footnotes; they may wind up at the bottom of the wrong
minipage.</p>
<h3><a name="SEC47" href="#TOC47">picture</a></h3>
<p><a name="IDX105"></a> <a name="IDX106"></a> <a name=
"IDX107"></a></p>
<pre>
 \begin{picture}(width,height)(x offset,y offset)
  .
  .
  picture commands
  .
  .
 \end{picture}
</pre>
<p>The <code>picture</code> environment allows you to create just
about any kind of picture you want containing text, lines, arrows
and circles. You tell LaTeX where to put things in the picture by
specifying their coordinates. A coordinate is a number that may
have a decimal point and a minus sign -- a number like
<code>5</code>, <code>2.3</code> or <code>-3.1416</code>. A
coordinate specifies a length in multiples of the unit length
<code>\unitlength</code>, so if <code>\unitlength</code> has been
set to <code>1cm</code>, then the coordinate 2.54 specifies a
length of 2.54 centimetres. You can change the value of
<code>\unitlength</code> anywhere you want, using the
<code>\setlength</code> command, but strange things will happen if
you try changing it inside the picture environment.</p>
<p>A position is a pair of coordinates, such as
<code>(2.4,-5)</code>, specifying the point with x-coordinate
<code>2.4</code> and y-coordinate <code>-5</code>. Coordinates are
specified in the usual way with respect to an origin, which is
normally at the lower-left corner of the picture. Note that when a
position appears as an argument, it is not enclosed in braces; the
parentheses serve to delimit the argument.</p>
<p>The <code>picture</code> environment has one mandatory argument,
which is a <code>position</code>. It specifies the size of the
picture. The environment produces a rectangular box with width and
height determined by this argument's x- and y-coordinates.</p>
<p>The <code>picture</code> environment also has an optional
<code>position</code> argument, following the <code>size</code>
argument, that can change the origin. (Unlike ordinary optional
arguments, this argument is not contained in square brackets.) The
optional argument gives the coordinates of the point at the
lower-left corner of the picture (thereby determining the origin).
For example, if <code>\unitlength</code> has been set to
<code>1mm</code>, the command</p>
<pre>
   \begin{picture}(100,200)(10,20)
</pre>
<p>produces a picture of width 100 millimeters and height 200
millimeters, whose lower-left corner is the point (10,20) and whose
upper-right corner is therefore the point (110,220). When you first
draw a picture, you will omit the optional argument, leaving the
origin at the lower-left corner. If you then want to modify your
picture by shifting everything, you just add the appropriate
optional argument.</p>
<p>The environment's mandatory argument determines the nominal size
of the picture. This need bear no relation to how large the picture
really is; LaTeX will happily allow you to put things outside the
picture, or even off the page. The picture's nominal size is used
by LaTeX in determining how much room to leave for it.</p>
<p>Everything that appears in a picture is drawn by the
<code>\put</code> command. The command</p>
<pre>
   \put (11.3,-.3){...}
</pre>
<p>puts the object specified by <code>...</code> in the picture,
with its reference point at coordinates (11.3,-.3). The reference
points for various objects will be described below.</p>
<p>The <code>\put</code> command creates an <strong>LR
box</strong>. You can put anything in the text argument of the
<code>\put</code> command that you'd put into the argument of an
<code>\mbox</code> and related commands. When you do this, the
reference point will be the lower left corner of the box.</p>
<p>Picture commands:</p>
<ul>
<li><a href="#SEC48">\circle</a>: Draw a circle.</li>
<li><a href="#SEC49">\dashbox</a>: Draw a dashed box.</li>
<li><a href="#SEC50">\frame</a>: Draw a frame around an
object.</li>
<li><a href="#SEC51">\framebox (picture)</a>: Draw a box with a
frame around it.</li>
<li><a href="#SEC52">\line</a>: Draw a straight line.</li>
<li><a href="#SEC53">\linethickness</a>: Set the line
thickness.</li>
<li><a href="#SEC54">\makebox (picture)</a>: Draw a box of the
specified size.</li>
<li><a href="#SEC55">\multiput</a>: Draw multiple instances of an
object.</li>
<li><a href="#SEC56">\oval</a>: Draw an ellipse.</li>
<li><a href="#SEC57">\put</a>: Place an object at a specified
place.</li>
<li><a href="#SEC58">\shortstack</a>: Make a pile of objects.</li>
<li><a href="#SEC59">\vector</a>: Draw a line with an arrow.</li>
</ul>
<h4><a name="SEC48" href="#TOC48">\circle</a></h4>
<p><a name="IDX108"></a></p>
<p><code>\circle[*]{diameter}</code></p>
<p>The <code>\circle</code> command produces a circle with a
diameter as close to the specified one as possible. If the
<code>*</code>-form of the command is used, LaTeX draws a solid
circle.</p>
<p>Note that only circles up to 40 pt can be drawn.</p>
<h4><a name="SEC49" href="#TOC49">\dashbox</a></h4>
<p><a name="IDX109"></a></p>
<p>Draws a box with a dashed line.</p>
<p><code>\dashbox{dash_length}(width,height){...}</code></p>
<p>The <code>\dashbox</code> has an extra argument which specifies
the width of each dash. A dashed box looks best when the
<code>width</code> and <code>height</code> are multiples of the
<code>dash_length</code>.</p>
<h4><a name="SEC50" href="#TOC50">\frame</a></h4>
<p><a name="IDX110"></a></p>
<p><code>\frame{...}</code></p>
<p>The <code>\frame</code> command puts a rectangular frame around
the object specified in the argument. The reference point is the
bottom left corner of the frame. No extra space is put between the
frame and the object.</p>
<h4><a name="SEC51" href="#TOC51">\framebox</a></h4>
<p><a name="IDX111"></a></p>
<p><code>\framebox(width,height)[position]{...}</code></p>
<p>The <code>\framebox</code> command is exactly the same as the
<code>\makebox</code> command, except that it puts a frame around
the outside of the box that it creates.</p>
<p>The <code>framebox</code> command produces a rule of thickness
<code>\fboxrule</code>, and leaves a space <code>\fboxsep</code>
between the rule and the contents of the box.</p>
<h4><a name="SEC52" href="#TOC52">\line</a></h4>
<p><a name="IDX112"></a></p>
<p><code>\line(x slope,y slope){length}</code></p>
<p>The <code>\line</code> command draws a line of the specified
<code>length</code> and <code>slope</code>.</p>
<p>Note that LaTeX can only draw lines with slope = x/y, where x
and y have integer values from -6 through 6.</p>
<h4><a name="SEC53" href="#TOC53">\linethickness</a></h4>
<p><a name="IDX113"></a></p>
<p><code>\linethickness{dimension}</code></p>
<p>Declares the thickness of horizontal and vertical lines in a
picture environment to be <code>dimension</code>, which must be a
positive length. It does not affect the thickness of slanted lines
and circles, or the quarter circles drawn by <code>\oval</code> to
form the corners of an oval.</p>
<h4><a name="SEC54" href="#TOC54">\makebox</a></h4>
<p><a name="IDX114"></a></p>
<p><code>\makebox(width,height)[position]{...}</code></p>
<p>The <code>\makebox</code> command for the picture environment is
similar to the normal <code>\makebox</code> command except that you
must specify a <code>width</code> and <code>height</code> in
multiples of <code>\unitlength</code>.</p>
<p>The optional argument, <code>[position]</code>, specifies the
quadrant that your text appears in. You may select up to two of the
following:</p>
<ul>
<li><code>t</code> - Moves the item to the top of the
rectangle</li>
<li><code>b</code> - Moves the item to the bottom</li>
<li><code>l</code> - Moves the item to the left</li>
<li><code>r</code> - Moves the item to the right</li>
</ul>
<p>See section <a href="#SEC157">\makebox</a>.</p>
<h4><a name="SEC55" href="#TOC55">\multiput</a></h4>
<p><a name="IDX115"></a></p>
<p><code>\multiput(x coord,y coord)(delta x,delta y){number of
copies}{object}</code></p>
<p>The <code>\multiput</code> command can be used when you are
putting the same object in a regular pattern across a picture.</p>
<h4><a name="SEC56" href="#TOC56">\oval</a></h4>
<p><a name="IDX116"></a></p>
<p><code>\oval(width,height)[portion]</code></p>
<p>The <code>\oval</code> command produces a rectangle with rounded
corners. The optional argument, <code>[portion]</code>, allows you
to select part of the oval.</p>
<ul>
<li><code>t</code> - Selects the top portion</li>
<li><code>b</code> - Selects the bottom portion</li>
<li><code>r</code> - Selects the right portion</li>
<li><code>l</code> - Selects the left portion</li>
</ul>
<p>Note that the "corners" of the oval are made with quarter
circles with a maximum radius of 20 pt, so large "ovals" will look
more like boxes with rounded corners.</p>
<h4><a name="SEC57" href="#TOC57">\put</a></h4>
<p><a name="IDX117"></a></p>
<p><code>\put(x coord,y coord){ ... }</code></p>
<p>The <code>\put</code> command places the item specified by the
mandatory argument at the given coordinates.</p>
<h4><a name="SEC58" href="#TOC58">\shortstack</a></h4>
<p><a name="IDX118"></a></p>
<p><code>\shortstack[position]{... \\ ... \\ ...}</code></p>
<p>The <code>\shortstack</code> command produces a stack of
objects. The valid positions are:</p>
<ul>
<li><code>r</code> - Moves the objects to the right of the
stack</li>
<li><code>l</code> - Moves the objects to the left of the
stack</li>
<li><code>c</code> - Moves the objects to the center of the stack
(default)</li>
</ul>
<h4><a name="SEC59" href="#TOC59">\vector</a></h4>
<p><a name="IDX119"></a></p>
<p><code>\vector(x slope,y slope){length}</code></p>
<p>The <code>\vector</code> command draws a line with an arrow of
the specified length and slope. The <code>x</code> and
<code>y</code> values must lie between -4 and +4, inclusive.</p>
<h3><a name="SEC60" href="#TOC60">quotation</a></h3>
<p><a name="IDX120"></a> <a name="IDX121"></a> <a name=
"IDX122"></a></p>
<pre>
 \begin{quotation}
  text
 \end{quotation}
</pre>
<p>The margins of the <code>quotation</code> environment are
indented on the left and the right. The text is justified at both
margins and there is paragraph indentation. Leaving a blank line
between text produces a new paragraph.</p>
<h3><a name="SEC61" href="#TOC61">quote</a></h3>
<p><a name="IDX123"></a> <a name="IDX124"></a> <a name=
"IDX125"></a></p>
<pre>
 \begin{quote}
  text
 \end{quote}
</pre>
<p>The margins of the <code>quote</code> environment are indented
on the left and the right. The text is justified at both margins.
Leaving a blank line between text produces a new paragraph.</p>
<h3><a name="SEC62" href="#TOC62">tabbing</a></h3>
<p><a name="IDX126"></a> <a name="IDX127"></a> <a name=
"IDX128"></a></p>
<pre>
 \begin{tabbing}
 text \= more text \= still more text \= last text \\
 second row \&gt;  \&gt; more \\
 .
 .
 .
 \end{tabbing}
</pre>
<p>The <code>tabbing</code> environment provides a way to align
text in columns. It works by setting tab stops and tabbing to them
much the way you do with an ordinary typewriter.</p>
<p>It is best suited for cases where the width of each column is
constant and known in advance.</p>
<p>This environment can be broken across pages, unlike the
<code>tabular</code> environment.</p>
<p>The following commands can be used inside a <code>tabbing</code>
environment:</p>
<dl>
<dt><code><a name="IDX129">\=</a></code></dt>
<dd>Sets a tab stop at the current position.</dd>
<dt><code><a name="IDX130">\&gt;</a></code></dt>
<dd>Advances to the next tab stop.</dd>
<dt><code><a name="IDX131">\&lt;</a></code></dt>
<dd>This command allows you to put something to the left of the
local margin without changing the margin. Can only be used at the
start of the line.</dd>
<dt><code><a name="IDX132">\+</a></code></dt>
<dd>Moves the left margin of the next and all the following
commands one tab stop to the right.</dd>
<dt><code><a name="IDX133">\-</a></code></dt>
<dd>Moves the left margin of the next and all the following
commands one tab stop to the left.</dd>
<dt><code><a name="IDX134">\'</a></code></dt>
<dd>Moves everything that you have typed so far in the current
column, i.e. everything from the most recent <code>\&gt;</code>,
<code>\&lt;</code>, <code>\'</code>, <code>\\</code>, or
<code>\kill</code> command, to the right of the previous column,
flush against the current column's tab stop.</dd>
<dt><code><a name="IDX135">\`</a></code></dt>
<dd>Allows you to put text flush right against any tab stop,
including tab stop 0. However, it can't move text to the right of
the last column because there's no tab stop there. The
<code>\`</code> command moves all the text that follows it, up to
the <code>\\</code> or <code>\end{tabbing}</code> command that ends
the line, to the right margin of the tabbing environment. There
must be no <code>\&gt;</code> or <code>\'</code> command between
the <code>\`</code> and the command that ends the line.</dd>
<dt><code><a name="IDX136">\kill</a></code></dt>
<dd>Sets tab stops without producing text. Works just like
<code>\\</code> except that it throws away the current line instead
of producing output for it. The effect of any <code>\=</code>,
<code>\+</code> or <code>\-</code> commands in that line remain in
effect.</dd>
<dt><code><a name="IDX137">\pushtabs</a></code></dt>
<dd>Saves all current tab stop positions. Useful for temporarily
changing tab stop positions in the middle of a <code>tabbing</code>
environment.</dd>
<dt><code><a name="IDX138">\pushtabs</a></code></dt>
<dd>Restores the tab stop positions saved by the last
<code>\pushtabs</code>.</dd>
<dt><code><a name="IDX139">\a</a></code></dt>
<dd>In a <code>tabbing</code> environment, the commands
<code>\=</code>, <code>\'</code> and <code>\`</code> do not produce
accents as normal. Instead, the commands <code>\a=</code>,
<code>\a'</code> and <code>\a`</code> are used.</dd>
</dl>
<p>This example typesets a Pascal function in a traditional
format:</p>
<pre>
        \begin{tabbing}
        function \= fact(n : integer) : integer;\\
                 \&gt; begin \= \+ \\
                       \&gt; if \= n $&gt;$ 1 then \+ \\
                                fact := n * fact(n-1) \- \\
                          else \+ \\
                                fact := 1; \-\- \\
                    end;\\
        \end{tabbing}
</pre>
<h3><a name="SEC63" href="#TOC63">table</a></h3>
<p><a name="IDX140"></a> <a name="IDX141"></a> <a name=
"IDX142"></a></p>
<pre>
 \begin{table}[placement]

  body of the table

 \caption{table title}
 \end{table}
</pre>
<p>Tables are objects that are not part of the normal text, and are
usually "floated" to a convenient place, like the top of a page.
Tables will not be split between two pages.</p>
<p>The optional argument <code>[placement]</code> determines where
LaTeX will try to place your table. There are four places where
LaTeX can possibly put a float:</p>
<ul>
<li><code>h</code> : Here - at the position in the text where the
table environment appears.</li>
<li><code>t</code> : Top - at the top of a text page.</li>
<li><code>b</code> : Bottom - at the bottom of a text page.</li>
<li><code>p</code> : Page of floats - on a separate float page,
which is a page containing no text, only floats.</li>
</ul>
<p>The standard <code>report</code> and <code>article</code>
classes use the default placement <code>[tbp]</code>.</p>
<p>The body of the table is made up of whatever text, LaTeX
commands, etc., you wish. The <code>\caption</code> command allows
you to title your table.</p>
<h3><a name="SEC64" href="#TOC64">tabular</a></h3>
<p><a name="IDX143"></a> <a name="IDX144"></a> <a name=
"IDX145"></a></p>
<pre>
 \begin{tabular}[pos]{cols}
 column 1 entry &amp; column 2 entry ... &amp; column n entry \\
 .
 .
 .
 \end{tabular}
</pre>
<p>or</p>
<pre>
 \begin{tabular*}{width}[pos]{cols}
 column 1 entry &amp; column 2 entry ... &amp; column n entry \\
 .
 .
 .
 \end{tabular*}
</pre>
<p>These environments produce a box consisting of a sequence of
rows of items, aligned vertically in columns. The mandatory and
optional arguments consist of:</p>
<dl>
<dt><code>width</code></dt>
<dd>Specifies the width of the <code>tabular*</code> environment.
There must be rubber space between columns that can stretch to fill
out the specified width.</dd>
<dt><code>pos</code></dt>
<dd>Specifies the vertical position; default is alignment on the
center of the environment.
<ul>
<li><code>t</code> - align on top row</li>
<li><code>b</code> - align on bottom row</li>
</ul>
</dd>
<dt><code>cols</code></dt>
<dd>Specifies the column formatting. It consists of a sequence of
the following specifiers, corresponding to the sequence of columns
and intercolumn material.
<ul>
<li><code>l</code> - A column of left-aligned items.</li>
<li><code>r</code> - A column of right-aligned items.</li>
<li><code>c</code> - A column of centred items.</li>
<li><code>|</code> - A vertical line the full height and depth of
the environment.</li>
<li><code>@{text}</code> - This inserts <code>text</code> in every
row. An @-expression suppresses the intercolumn space normally
inserted between columns; any desired space between the inserted
text and the adjacent items must be included in text. An
<code>\extracolsep{wd}</code> command in an @-expression causes an
extra space of width <code>wd</code> to appear to the left of all
subsequent columns, until countermanded by another
<code>\extracolsep</code> command. Unlike ordinary intercolumn
space, this extra space is not suppressed by an @-expression. An
<code>\extracolsep</code> command can be used only in an
@-expression in the <code>cols</code> argument.</li>
<li><code>p{wd}</code> - Produces a column with each item typeset
in a parbox of width <code>wd</code>, as if it were the argument of
a <code>\parbox[t]{wd}</code> command. However, a <code>\\</code>
may not appear in the item, except in the following situations:
<ol>
<li>inside an environment like <code>minipage</code>,
<code>array</code>, or <code>tabular</code>.</li>
<li>inside an explicit <code>\parbox</code>.</li>
<li>in the scope of a <code>\centering</code>,
<code>\raggedright</code>, or <code>\raggedleft</code> declaration.
The latter declarations must appear inside braces or an environment
when used in a <code>p</code>-column element.</li>
</ol>
</li>
<li><code>*{num}{cols}</code> - Equivalent to <code>num</code>
copies of <code>cols</code>, where <code>num</code> is any positive
integer and <code>cols</code> is any list of column-specifiers,
which may contain another <code>*-expression</code>.</li>
</ul>
</dd>
</dl>
<p>These commands can be used inside a <code>tabular</code>
environment:</p>
<ul>
<li><a href="#SEC65">\cline</a>: Draw a horizontal line spanning
some columns.</li>
<li><a href="#SEC66">\hline</a>: Draw a horizontal line spanning
all columns.</li>
<li><a href="#SEC67">\multicolumn</a>: Make an item spanning
several columns.</li>
<li><a href="#SEC68">\vline</a>: Draw a vertical line.</li>
</ul>
<h4><a name="SEC65" href="#TOC65">\cline</a></h4>
<p><a name="IDX146"></a></p>
<p><code>\cline{i-j}</code></p>
<p>The <code>\cline</code> command draws horizontal lines across
the columns specified, beginning in column <code>i</code> and
ending in column <code>j</code>, which are identified in the
mandatory argument.</p>
<h4><a name="SEC66" href="#TOC66">\hline</a></h4>
<p><a name="IDX147"></a></p>
<p>The <code>\hline</code> command will draw a horizontal line the
width of the table. It's most commonly used to draw a line at the
top, bottom, and between the rows of the table.</p>
<h4><a name="SEC67" href="#TOC67">\multicolumn</a></h4>
<p><a name="IDX148"></a></p>
<p><code>\multicolumn{cols}{pos}{text}</code></p>
<p>The <code>\multicolumn</code> is used to make an entry that
spans several columns. The first mandatory argument,
<code>cols</code>, specifies the number of columns to span. The
second mandatory argument, <code>pos</code>, specifies the
formatting of the entry; <code>c</code> for centred, <code>l</code>
for flushleft, <code>r</code> for flushright. The third mandatory
argument, <code>text</code>, specifies what text is to make up the
entry.</p>
<h4><a name="SEC68" href="#TOC68">\vline</a></h4>
<p><a name="IDX149"></a></p>
<p>The <code>\vline</code> command will draw a vertical line
extending the full height and depth of its row. An
<code>\hfill</code> command can be used to move the line to the
edge of the column. It can also be used in an @-expression.</p>
<h3><a name="SEC69" href="#TOC69">thebibliography</a></h3>
<p><a name="IDX150"></a> <a name="IDX151"></a></p>
<pre>
 \begin{thebibliography}{widest-label}
 \bibitem[label]{cite_key}
 .
 .
 .
 \end{thebibliography}
</pre>
<p>The <code>thebibliography</code> environment produces a
bibliography or reference list. In the <code>article</code> class,
this reference list is labelled "References"; in the
<code>report</code> class, it is labelled "Bibliography".</p>
<ul>
<li><code>widest-label</code>: Text that, when printed, is
approximately as wide as the widest item label produces by the
<code>\bibitem</code> commands.</li>
</ul>
<ul>
<li><a href="#SEC70">\bibitem</a>: Specify a bibliography
item.</li>
<li><a href="#SEC71">\cite</a>: Refer to a bibliography item.</li>
<li><a href="#SEC72">\nocite</a>: Include an item in the
bibliography.</li>
<li><a href="#SEC73">Using BibTeX</a>: Automatic generation of
bibliographies.</li>
</ul>
<h4><a name="SEC70" href="#TOC70">\bibitem</a></h4>
<p><a name="IDX152"></a></p>
<p><code>\bibitem[label]{cite_key}</code></p>
<p>The <code>\bibitem</code> command generates an entry labelled by
<code>label</code>. If the <code>label</code> argument is missing,
a number is generated as the <code>label</code>, using the
<code>enumi</code> counter. The <code>cite_key</code> is any
sequence of letters, numbers, and punctuation symbols not
containing a comma. This command writes an entry on the
<tt>`.aux'</tt> file containing <code>cite_key</code> and the
item's <code>label</code>. When this <tt>`.aux'</tt> file is read
by the <code>\begin{document}</code> command, the item's
<code>label</code> is associated with <code>cite_key</code>,
causing the reference to <code>cite_key</code> by a
<code>\cite</code> command to produce the associated
<code>label</code>.</p>
<h4><a name="SEC71" href="#TOC71">\cite</a></h4>
<p><a name="IDX153"></a></p>
<p><code>\cite[text]{key_list}</code></p>
<p>The <code>key_list</code> argument is a list of citation keys.
This command generates an in-text citation to the references
associated with the keys in <code>key_list</code> by entries on the
<tt>`.aux'</tt> file read by the <code>\begin{document}</code>
command.</p>
<p>The optional <code>text</code> argument will appear after the
citation, i.e. <code>\cite[p. 2]{knuth}</code> might produce
`[Knuth, p. 2]'.</p>
<h4><a name="SEC72" href="#TOC72">\nocite</a></h4>
<p><a name="IDX154"></a></p>
<p><code>\nocite{key_list}</code></p>
<p>The <code>\nocite</code> command produces no text, but writes
<code>key_list</code>, which is a list of one or more citation
keys, on the <tt>`.aux'</tt> file.</p>
<h4><a name="SEC73" href="#TOC73">Using BibTeX</a></h4>
<p><a name="IDX155"></a> <a name="IDX156"></a> <a name=
"IDX157"></a> <a name="IDX158"></a> <a name="IDX159"></a></p>
<p>If you use the BibTeX program by Oren Patashnik (highly
recommended if you need a bibliography of more than a couple of
titles) to maintain your bibliography, you don't use the
<code>thebibliography</code> environment. Instead, you include the
lines</p>
<pre>
        \bibliographystyle{style}
        \bibliography{bibfile}
</pre>
<p>where <code>style</code> refers to a file
<code>style.bst</code>, which defines how your citations will look.
The standard styles distributed with BibTeX are:</p>
<dl>
<dt><code>alpha</code></dt>
<dd>Sorted alphabetically. Labels are formed from name of author
and year of publication.</dd>
<dt><code>plain</code></dt>
<dd>Sorted alphabetically. Labels are numeric.</dd>
<dt><code>unsrt</code></dt>
<dd>Like <code>plain</code>, but entries are in order of
citation.</dd>
<dt><code>abbrv</code></dt>
<dd>Like <code>plain</code>, but more compact labels.</dd>
</dl>
<p>In addition, numerous other BibTeX style files exist tailored to
the demands of various publications.</p>
<p>The argument to <code>\bibliography</code> refers to the file
<code>bibfile.bib</code>, which should contain your database in
BibTeX format. Only the entries referred to via <code>\cite</code>
and <code>\nocite</code> will be listed in the bibliography.</p>
<h3><a name="SEC74" href="#TOC74">theorem</a></h3>
<p><a name="IDX160"></a> <a name="IDX161"></a></p>
<pre>
 \begin{theorem}
  theorem text
 \end{theorem}
</pre>
<p>The <code>theorem</code> environment produces "Theorem x" in
boldface followed by your theorem text.</p>
<h3><a name="SEC75" href="#TOC75">titlepage</a></h3>
<p><a name="IDX162"></a> <a name="IDX163"></a> <a name=
"IDX164"></a></p>
<pre>
 \begin{titlepage}
  text
 \end{titlepage}
</pre>
<p>The <code>titlepage</code> environment creates a title page,
i.e. a page with no printed page number or heading. It also causes
the following page to be numbered page one. Formatting the title
page is left to you. The <code><a name="IDX165">\today</a></code>
command comes in handy for title pages.</p>
<p>Note that you can use the <code>\maketitle</code> (see section
<a href="#SEC132">\maketitle</a>) command to produce a standard
title page.</p>
<h3><a name="SEC76" href="#TOC76">verbatim</a></h3>
<p><a name="IDX166"></a> <a name="IDX167"></a> <a name=
"IDX168"></a> <a name="IDX169"></a> <a name="IDX170"></a></p>
<pre>
 \begin{verbatim}
  text
 \end{verbatim}
</pre>
<p>The <code>verbatim</code> environment is a paragraph-making
environment that gets LaTeX to print exactly what you type in. It
turns LaTeX into a typewriter with carriage returns and blanks
having the same effect that they would on a typewriter.</p>
<ul>
<li><a href="#SEC77">\verb</a>: The macro form of the
<code>verbatim</code> environment.</li>
</ul>
<h4><a name="SEC77" href="#TOC77">\verb</a></h4>
<p><a name="IDX171"></a> <a name="IDX172"></a></p>
<p><code>\verb char literal_text char</code></p>
<p><code>\verb*char literal_text char</code></p>
<p>Typesets <code>literal_text</code> exactly as typed, including
special characters and spaces, using a typewriter
(<code>\tt</code>) type style. There may be no space between
<code>\verb</code> or <code>\verb*</code> and <code>char</code>
(space is shown here only for clarity). The <code>*-form</code>
differs only in that spaces are printed as `\verb*| |'.</p>
<h3><a name="SEC78" href="#TOC78">verse</a></h3>
<p><a name="IDX173"></a> <a name="IDX174"></a></p>
<pre>
 \begin{verse}
  text
 \end{verse}
</pre>
<p>The <code>verse</code> environment is designed for poetry,
though you may find other uses for it.</p>
<p>The margins are indented on the left and the right. Separate the
lines of each stanza with <code>\\</code>, and use one or more
blank lines to separate the stanzas.</p>
<table width="100%">
<tr bgcolor="#3F5881">
<td align="left"><b><font size="+2" color="white"> <a name=
"SEC79">Footnotes</a></font></b></td>
</tr>
</table>
<p><a name="IDX175"></a></p>
<p>Footnotes can be produced in one of two ways. They can be
produced with one command, the <code>\footnote</code> command. They
can also be produced with two commands, the
<code>\footnotemark</code> and the <code>\footnotetext</code>
commands. See the specific command for information on why you would
use one over the other.</p>
<ul>
<li><a href="#SEC80">\footnote</a>: Insert a footnote.</li>
<li><a href="#SEC81">\footnotemark</a>: Insert footnote mark
only.</li>
<li><a href="#SEC82">\footnotetext</a>: Insert footnote text
only.</li>
</ul>
<h3><a name="SEC80" href="#TOC80">\footnote</a></h3>
<p><a name="IDX176"></a></p>
<p><code>\footnote[number]{text}</code></p>
<p>The <code>\footnote</code> command places the numbered footnote
<code>text</code> at the bottom of the current page. The optional
argument, <code>number</code>, is used to change the default
footnote number. This command can only be used in outer paragraph
mode; i.e., you cannot use it in sectioning commands like
<code>\chapter</code>, in figures, tables or in a
<code>tabular</code> environment.</p>
<h3><a name="SEC81" href="#TOC81">\footnotemark</a></h3>
<p><a name="IDX177"></a></p>
<p>The <code>\footnotemark</code> command puts the footnote
<code>number</code> in the text. This command can be used in inner
paragraph mode. The text of the footnote is supplied by the
<code>\footnotetext</code> command.</p>
<p>This command can be used to produce several consecutive footnote
markers referring to the same footnote by using</p>
<p><code>\footnotemark[\value{footnote}]</code></p>
<p>after the first <code>\footnote</code> command.</p>
<h3><a name="SEC82" href="#TOC82">\footnotetext</a></h3>
<p><a name="IDX178"></a></p>
<p><code>\footnotetext[number]{text}</code></p>
<p>The <code>\footnotetext</code> command produces the
<code>text</code> to be placed at the bottom of the page. This
command can come anywhere after the <code>\footnotemark</code>
command. The <code>\footnotetext</code> command must appear in
outer paragraph mode.</p>
<p>The optional argument, <code>number</code>, is used to change
the default footnote number.</p>
<table width="100%">
<tr bgcolor="#3F5881">
<td align="left"><b><font size="+2" color="white"> <a name=
"SEC83">Lengths</a></font></b></td>
</tr>
</table>
<p><a name="IDX179"></a></p>
<p>A <code>length</code> is a measure of distance. Many LaTeX
commands take a length as an argument.</p>
<ul>
<li><a href="#SEC84">\newlength</a>: Define a new length.</li>
<li><a href="#SEC85">\setlength</a>: Set the value of a
length.</li>
<li><a href="#SEC86">\addtolength</a>: Add a quantity to a
length.</li>
<li><a href="#SEC87">\settodepth</a>: Set a length to the depth of
something.</li>
<li><a href="#SEC88">\settoheight</a>: Set a length to the height
of something.</li>
<li><a href="#SEC89">\settowidth</a>: Set a length to the width of
something.</li>
<li><a href="#SEC90">Predefined lengths</a>: Lengths that are,
like, predefined.</li>
</ul>
<h3><a name="SEC84" href="#TOC84">\newlength</a></h3>
<p><a name="IDX180"></a> <a name="IDX181"></a></p>
<p><code>\newlength{\gnat}</code></p>
<p>The <code>\newlength</code> command defines the mandatory
argument, <code>\gnat</code>, as a <code>length</code> command with
a value of <code>0in</code>. An error occurs if a
<code>\gnat</code> command already exists.</p>
<h3><a name="SEC85" href="#TOC85">\setlength</a></h3>
<p><a name="IDX182"></a> <a name="IDX183"></a></p>
<p><code>\setlength{\gnat}{length}</code></p>
<p>The <code>\setlength</code> command is used to set the value of
a <code>length</code> command. The <code>length</code> argument can
be expressed in any terms of length LaTeX understands, i.e., inches
(<code>in</code>), millimeters (<code>mm</code>), points
(<code>pt</code>), etc.</p>
<h3><a name="SEC86" href="#TOC86">\addtolength</a></h3>
<p><a name="IDX184"></a> <a name="IDX185"></a></p>
<p><code>\addtolength{\gnat}{length}</code></p>
<p>The <code>\addtolength</code> command increments a "length
command" by the amount specified in the <code>length</code>
argument. It can be a negative amount.</p>
<h3><a name="SEC87" href="#TOC87">\settodepth</a></h3>
<p><a name="IDX186"></a></p>
<p><code>\settodepth{\gnat}{text}</code></p>
<p>The <code>\settodepth</code> command sets the value of a
<code>length</code> command equal to the depth of the
<code>text</code> argument.</p>
<h3><a name="SEC88" href="#TOC88">\settoheight</a></h3>
<p><a name="IDX187"></a></p>
<p><code>\settoheight{\gnat}{text}</code></p>
<p>The <code>\settoheight</code> command sets the value of a
<code>length</code> command equal to the height of the
<code>text</code> argument.</p>
<h3><a name="SEC89" href="#TOC89">\settowidth</a></h3>
<p><a name="IDX188"></a></p>
<p><code>\settowidth{\gnat}{text}</code></p>
<p>The <code>\settowidth</code> command sets the value of a
<code>length</code> command equal to the width of the
<code>text</code> argument.</p>
<h3><a name="SEC90" href="#TOC90">Predefined lengths</a></h3>
<p><a name="IDX189"></a> <a name="IDX190"></a></p>
<p><code><a name="IDX191">\width</a></code></p>
<p><code><a name="IDX192">\height</a></code></p>
<p><code><a name="IDX193">\depth</a></code></p>
<p><code><a name="IDX194">\totalheight</a></code></p>
<p>These length parameters can be used in the arguments of the
box-making commands See section <a href="#SEC143">Spaces &amp;
Boxes</a>. They specify the natural width etc. of the text in the
box. <code>\totalheight</code> equals <code>\height</code> +
<code>\depth</code>. To make a box with the text stretched to
double the natural size, e.g., say</p>
<p><code>\makebox[2\width]{Get a stretcher}</code></p>
<table width="100%">
<tr bgcolor="#3F5881">
<td align="left"><b><font size="+2" color="white"> <a name=
"SEC91">Letters</a></font></b></td>
</tr>
</table>
<p><a name="IDX195"></a> <a name="IDX196"></a></p>
<p>You can use LaTeX to typeset letters, both personal and
business. The <code>letter</code> document class is designed to
make a number of letters at once, although you can make just one if
you so desire.</p>
<p>Your <tt>`.tex'</tt> source file has the same minimum commands
as the other document classes, i.e., you must have the following
commands as a minimum:</p>
<pre>
 \documentclass{letter}
 \begin{document}
  ... letters ...
 \end{document}
</pre>
<p>Each letter is a <code>letter</code> environment, whose argument
is the name and address of the recipient. For example, you might
have:</p>
<pre>
 \begin{letter}{Mr. Joe Smith\\ 2345 Princess St.
      \\ Edinburgh, EH1 1AA}
   ...
 \end{letter}
</pre>
<p>The letter itself begins with the <code>\opening</code> command.
The text of the letter follows. It is typed as ordinary LaTeX
input. Commands that make no sense in a letter, like
<code>\chapter</code>, do not work. The letter closes with a
<code>\closing</code> command.</p>
<p>After the <code>closing</code>, you can have additional
material. The <code>\cc</code> command produces the usual "cc:
...". There's also a similar <code>\encl</code> command for a list
of enclosures. With both these commands, use <code>\\</code> to
separate the items.</p>
<p>These commands are used with the <code>letter</code> class:</p>
<ul>
<li><a href="#SEC92">\address</a>: Your return address.</li>
<li><a href="#SEC93">\cc</a>: Cc list.</li>
<li><a href="#SEC94">\closing</a>: Saying goodbye.</li>
<li><a href="#SEC95">\encl</a>: List of enclosed material.</li>
<li><a href="#SEC96">\location</a>: Your organization's
address.</li>
<li><a href="#SEC97">\makelabels</a>: Making address labels.</li>
<li><a href="#SEC98">\name</a>: Your name, for the return
address.</li>
<li><a href="#SEC99">\opening</a>: Saying hello.</li>
<li><a href="#SEC100">\ps</a>: Adding a postscript.</li>
<li><a href="#SEC101">\signature</a>: Your signature.</li>
<li><a href="#SEC102">\startbreaks</a>: Allow page breaks.</li>
<li><a href="#SEC103">\stopbreaks</a>: Disallow page breaks.</li>
<li><a href="#SEC104">\telephone</a>: Your phone number.</li>
</ul>
<h3><a name="SEC92" href="#TOC92">\address</a></h3>
<p><a name="IDX197"></a></p>
<p><code>\address{Return address}</code></p>
<p>The return address, as it should appear on the letter and the
envelope. Separate lines of the address should be separated by
<code>\\</code> commands. If you do not make an
<code>\address</code> declaration, then the letter will be
formatted for copying onto your organization's standard letterhead.
If you give an <code>\address</code> declaration, then the letter
will be formatted as a personal letter.</p>
<h3><a name="SEC93" href="#TOC93">\cc</a></h3>
<p><a name="IDX198"></a> <a name="IDX199"></a></p>
<p><code>\cc{Kate Schechter\\Rob McKenna}</code></p>
<p>Generate a list of other persons the letter was sent to. Each
name is printed on a separate line.</p>
<h3><a name="SEC94" href="#TOC94">\closing</a></h3>
<p><a name="IDX200"></a> <a name="IDX201"></a></p>
<p><code>\closing{text}</code></p>
<p>The letter closes with a <code>\closing</code> command,
i.e.,</p>
<pre>
 \closing{Best Regards,}
</pre>
<h3><a name="SEC95" href="#TOC95">\encl</a></h3>
<p><a name="IDX202"></a> <a name="IDX203"></a></p>
<p><code>\encl{CV\\Certificates}</code></p>
<p>Generate a list of enclosed material.</p>
<h3><a name="SEC96" href="#TOC96">\location</a></h3>
<p><a name="IDX204"></a></p>
<p><code>\location{address}</code></p>
<p>This modifies your organization's standard address. This only
appears if the <code>firstpage</code> pagestyle is selected.</p>
<h3><a name="SEC97" href="#TOC97">\makelabels</a></h3>
<p><a name="IDX205"></a></p>
<p><code>\makelabels{number}</code></p>
<p>If you issue this command in the preamble, LaTeX will create a
sheet of address labels. This sheet will be output before the
letters.</p>
<h3><a name="SEC98" href="#TOC98">\name</a></h3>
<p><a name="IDX206"></a></p>
<p><code>\name{June Davenport}</code></p>
<p>Your name, used for printing on the envelope together with the
return address.</p>
<h3><a name="SEC99" href="#TOC99">\opening</a></h3>
<p><a name="IDX208"></a></p>
<p><code>\opening{text}</code></p>
<p>The letter begins with the <code>\opening</code> command. The
mandatory argument, <code>text</code>, is whatever text you wish to
start your letter, i.e.,</p>
<pre>
 \opening{Dear Joe,}
</pre>
<h3><a name="SEC100" href="#TOC100">\ps</a></h3>
<p><a name="IDX209"></a></p>
<p><code>\ps</code></p>
<p>Use this command before a postscript.</p>
<h3><a name="SEC101" href="#TOC101">\signature</a></h3>
<p><a name="IDX210"></a></p>
<p><code>\signature{Harvey Swick}</code></p>
<p>Your name, as it should appear at the end of the letter
underneath the space for your signature. Items that should go on
separate lines should be separated by <code>\\</code> commands.</p>
<h3><a name="SEC102" href="#TOC102">\startbreaks</a></h3>
<p><a name="IDX211"></a></p>
<p><code>\startbreaks</code></p>
<p>Used after a <code>\stopbreaks</code> command to allow page
breaks again.</p>
<h3><a name="SEC103" href="#TOC103">\stopbreaks</a></h3>
<p><a name="IDX212"></a></p>
<p><code>\stopbreaks</code></p>
<p>Inhibit page breaks until a <code>\startbreaks</code> command
occurs.</p>
<h3><a name="SEC104" href="#TOC104">\telephone</a></h3>
<p><a name="IDX213"></a></p>
<p><code>\telephone{number}</code></p>
<p>This is your telephone number. This only appears if the
<code>firstpage</code> pagestyle is selected.</p>
<table width="100%">
<tr bgcolor="#3F5881">
<td align="left"><b><font size="+2" color="white"> <a name=
"SEC105">Line &amp; Page Breaking</a></font></b></td>
</tr>
</table>
<p><a name="IDX214"></a> <a name="IDX215"></a> <a name=
"IDX216"></a></p>
<p>The first thing LaTeX does when processing ordinary text is to
translate your input file into a string of glyphs and spaces. To
produce a printed document, this string must be broken into lines,
and these lines must be broken into pages. In some environments,
you do the line breaking yourself with the <code>\\</code> command,
but LaTeX usually does it for you.</p>
<ul>
<li><a href="#SEC106">\\</a>: Start a new line.</li>
<li><a href="#SEC107">\- (hyphenation)</a>: Insert explicit
hyphenation.</li>
<li><a href="#SEC108">\cleardoublepage</a>: Start a new right-hand
page.</li>
<li><a href="#SEC109">\clearpage</a>: Start a new page.</li>
<li><a href="#SEC110">\enlargethispage</a>: Enlarge the current
page a bit.</li>
<li><a href="#SEC111">\fussy</a>: Be fussy about line
breaking.</li>
<li><a href="#SEC112">\hyphenation</a>: Tell LaTeX how to hyphenate
a word.</li>
<li><a href="#SEC113">\linebreak</a>: Break the line.</li>
<li><a href="#SEC114">\newline</a>: Break the line
prematurely.</li>
<li><a href="#SEC115">\newpage</a>: Start a new page.</li>
<li><a href="#SEC116">\nolinebreak</a>: Don't break the current
line.</li>
<li><a href="#SEC117">\nopagebreak</a>: Don't make a page break
here.</li>
<li><a href="#SEC118">\pagebreak</a>: Please make a page break
here.</li>
<li><a href="#SEC119">\sloppy</a>: Be sloppy about line
breaking.</li>
</ul>
<h3><a name="SEC106" href="#TOC106">\\</a></h3>
<p><a name="IDX217"></a> <a name="IDX218"></a></p>
<p><code>\\[*][extra-space]</code></p>
<p>The <code>\\</code> command tells LaTeX to start a new line. It
has an optional argument, <code>extra-space</code>, that specifies
how much extra vertical space is to be inserted before the next
line. This can be a negative amount.</p>
<p>The <code>\\*</code> command is the same as the ordinary
<code>\\</code> command except that it tells LaTeX not to start a
new page after the line.</p>
<h3><a name="SEC107" href="#TOC107">\-</a></h3>
<p><a name="IDX219"></a> <a name="IDX220"></a></p>
<p>The <code>\-</code> command tells LaTeX that it may hyphenate
the word at that point. LaTeX is very good at hyphenating, and it
will usually find all correct hyphenation points. The
<code>\-</code> command is used for the exceptional cases.</p>
<p>Note that when you insert <code>\-</code> commands in a word,
the word will only be hyphenated at those points and not at any of
the hyphenation points that LaTeX might otherwise have chosen.</p>
<h3><a name="SEC108" href="#TOC108">\cleardoublepage</a></h3>
<p><a name="IDX221"></a> <a name="IDX222"></a></p>
<p>The <code>\cleardoublepage</code> command ends the current page
and causes all figures and tables that have so far appeared in the
input to be printed. In a two-sided printing style, it also makes
the next page a right-hand (odd-numbered) page, producing a blank
page if necessary.</p>
<h3><a name="SEC109" href="#TOC109">\clearpage</a></h3>
<p><a name="IDX223"></a> <a name="IDX224"></a></p>
<p>The <code>\clearpage</code> command ends the current page and
causes all figures and tables that have so far appeared in the
input to be printed.</p>
<h3><a name="SEC110" href="#TOC110">\enlargethispage</a></h3>
<p><a name="IDX225"></a> <a name="IDX226"></a></p>
<p><code>\enlargethispage{size}</code></p>
<p><code>\enlargethispage*{size}</code></p>
<p>Enlarge the <code>\textheight</code> for the current page by the
specified amount; e.g. <code>\enlargethispage{\baselineskip}</code>
will allow one additional line.</p>
<p>The starred form tries to squeeze the material together on the
page as much as possible. This is normally used together with an
explicit <code>\pagebreak</code>.</p>
<h3><a name="SEC111" href="#TOC111">\fussy</a></h3>
<p><a name="IDX227"></a></p>
<p><code>\fussy</code></p>
<p>This declaration (which is the default) makes TeX more fussy
about line breaking. This can avoids too much space between words,
but may produce overfull boxes.</p>
<p>This command cancels the effect of a previous
<code>\sloppy</code> command. section <a href=
"#SEC119">\sloppy</a></p>
<h3><a name="SEC112" href="#TOC112">\hyphenation</a></h3>
<p><a name="IDX228"></a> <a name="IDX229"></a></p>
<p><code>\hyphenation{words}</code></p>
<p>The <code>\hyphenation</code> command declares allowed
hyphenation points, where <code>words</code> is a list of words,
separated by spaces, in which each hyphenation point is indicated
by a <code>-</code> character.</p>
<h3><a name="SEC113" href="#TOC113">\linebreak</a></h3>
<p><a name="IDX230"></a> <a name="IDX231"></a></p>
<p><code>\linebreak[number]</code></p>
<p>The <code>\linebreak</code> command tells LaTeX to break the
current line at the point of the command. With the optional
argument, <code>number</code>, you can convert the
<code>\linebreak</code> command from a demand to a request. The
number must be a number from 0 to 4. The higher the number, the
more insistent the request is.</p>
<p>The <code>\linebreak</code> command causes LaTeX to stretch the
line so it extends to the right margin.</p>
<h3><a name="SEC114" href="#TOC114">\newline</a></h3>
<p><a name="IDX232"></a> <a name="IDX233"></a></p>
<p>The <code>\newline</code> command breaks the line right where it
is. It can only be used in paragraph mode.</p>
<h3><a name="SEC115" href="#TOC115">\newpage</a></h3>
<p><a name="IDX234"></a> <a name="IDX235"></a></p>
<p>The <code>\newpage</code> command ends the current page.</p>
<h3><a name="SEC116" href="#TOC116">\nolinebreak</a></h3>
<p><a name="IDX236"></a></p>
<p><code>\nolinebreak[number]</code></p>
<p>The <code>\nolinebreak</code> command prevents LaTeX from
breaking the current line at the point of the command. With the
optional argument, <code>number</code>, you can convert the
<code>\nolinebreak</code> command from a demand to a request. The
number must be a number from 0 to 4. The higher the number, the
more insistent the request is.</p>
<h3><a name="SEC117" href="#TOC117">\nopagebreak</a></h3>
<p><a name="IDX237"></a></p>
<p><code>\nopagebreak[number]</code></p>
<p>The <code>\nopagebreak</code> command prevents LaTeX from
breaking the current page at the point of the command. With the
optional argument, <code>number</code>, you can convert the
<code>\nopagebreak</code> command from a demand to a request. The
number must be a number from 0 to 4. The higher the number, the
more insistent the request is.</p>
<h3><a name="SEC118" href="#TOC118">\pagebreak</a></h3>
<p><a name="IDX238"></a> <a name="IDX239"></a></p>
<p><code>\pagebreak[number]</code></p>
<p>The <code>\pagebreak</code> command tells LaTeX to break the
current page at the point of the command. With the optional
argument, <code>number</code>, you can convert the
<code>\pagebreak</code> command from a demand to a request. The
number must be a number from 0 to 4. The higher the number, the
more insistent the request is.</p>
<h3><a name="SEC119" href="#TOC119">\sloppy</a></h3>
<p><a name="IDX240"></a></p>
<p><code>\sloppy</code></p>
<p>This declaration makes TeX less fussy about line breaking. This
can prevent overfull boxes, but may leave too much space between
words.</p>
<p>Lasts until a <code>\fussy</code> command is issued. section
<a href="#SEC111">\fussy</a>.</p>
<table width="100%">
<tr bgcolor="#3F5881">
<td align="left"><b><font size="+2" color="white"> <a name=
"SEC120">Making Paragraphs</a></font></b></td>
</tr>
</table>
<p><a name="IDX241"></a> <a name="IDX242"></a></p>
<p>A paragraph is ended by one or more completely blank lines --
lines not containing even a <code>%</code>. A blank line should not
appear where a new paragraph cannot be started, such as in math
mode or in the argument of a sectioning command.</p>
<ul>
<li><a href="#SEC121">\indent</a>: Indent this paragraph.</li>
<li><a href="#SEC122">\noindent</a>: Do not indent this
paragraph.</li>
<li><a href="#SEC123">\par</a>: Another way of writing a blank
line.</li>
</ul>
<h3><a name="SEC121" href="#TOC121">\indent</a></h3>
<p><a name="IDX243"></a> <a name="IDX244"></a></p>
<p><code>\indent</code></p>
<p>This produces a horizontal space whose width equals the width of
the paragraph indentation. It is used to add paragraph indentation
where it would otherwise be suppressed.</p>
<h3><a name="SEC122" href="#TOC122">\noindent</a></h3>
<p><a name="IDX245"></a> <a name="IDX246"></a></p>
<p><code>\noindent</code></p>
<p>When used at the beginning of the paragraph, it suppresses the
paragraph indentation. It has no effect when used in the middle of
a paragraph.</p>
<h3><a name="SEC123" href="#TOC123">\par</a></h3>
<p><a name="IDX247"></a> <a name="IDX248"></a></p>
<p>Equivalent to a blank line; often used to make command or
environment definitions easier to read.</p>
<table width="100%">
<tr bgcolor="#3F5881">
<td align="left"><b><font size="+2" color="white"> <a name=
"SEC124">Margin Notes</a></font></b></td>
</tr>
</table>
<p><a name="IDX249"></a> <a name="IDX250"></a> <a name=
"IDX251"></a></p>
<p>The command <code>\marginpar[left]{right}</code> creates a note
in the margin. The first line will be at the same height as the
line in the text where the <code>\marginpar</code> occurs.</p>
<p>When you only specify the mandatory argument <code>right</code>,
the text will be placed</p>
<ul>
<li>in the right margin for one-sided layout</li>
<li>in the outside margin for two-sided layout</li>
<li>in the nearest margin for two-column layout.</li>
</ul>
<p>By issuing the command <code>\reversemarginpar</code>, you can
force the marginal notes to go into the opposite (inside)
margin.</p>
<p>When you specify both arguments, <code>left</code> is used for
the left margin, and <code>right</code> is used for the right
margin.</p>
<p>The first word will normally not be hyphenated; you can enable
hyphenation by prefixing the first word with a
<code>\hspace{0pt}</code> command.</p>
<table width="100%">
<tr bgcolor="#3F5881">
<td align="left"><b><font size="+2" color="white"> <a name=
"SEC125">Math Formulae</a></font></b></td>
</tr>
</table>
<p><a name="IDX252"></a> <a name="IDX253"></a> <a name=
"IDX254"></a> <a name="IDX255"></a> <a name="IDX256"></a> <a name=
"IDX257"></a> <a name="IDX258"></a> <a name="IDX259"></a></p>
<p>There are three environments that put LaTeX in math mode:</p>
<dl>
<dt><code>math</code></dt>
<dd>For Formulae that appear right in the text.</dd>
<dt><code>displaymath</code></dt>
<dd>For Formulae that appear on their own line.</dd>
<dt><code>equation</code></dt>
<dd>The same as the displaymath environment except that it adds an
equation number in the right margin.</dd>
</dl>
<p>The <code>math</code> environment can be used in both paragraph
and LR mode, but the <code>displaymath</code> and
<code>equation</code> environments can be used only in paragraph
mode. The <code>math</code> and <code>displaymath</code>
environments are used so often that they have the following short
forms:</p>
<pre>
    \(...\)     instead of     \begin{math}...\end{math}

    \[...\]     instead of     \begin{displaymath}...\end{displaymath}
</pre>
<p>In fact, the <code>math</code> environment is so common that it
has an even shorter form:</p>
<pre>
    $ ... $     instead of     \(...\)
</pre>
<p><a name="IDX260"></a></p>
<ul>
<li><a href="#SEC126">Subscripts &amp; Superscripts</a>: Also known
as exponent or index.</li>
<li><a href="#SEC127">Math Symbols</a>: Various mathematical
squiggles.</li>
<li><a href="#SEC128">Spacing in Math Mode</a>: Thick, medium, thin
and negative spaces.</li>
<li><a href="#SEC129">Math Miscellany</a>: Stuff that doesn't fit
anywhere else.</li>
</ul>
<h3><a name="SEC126" href="#TOC126">Subscripts &amp;
Superscripts</a></h3>
<p><a name="IDX261"></a> <a name="IDX262"></a> <a name=
"IDX263"></a> <a name="IDX264"></a></p>
<p>To get an expression <i>exp</i> to appear as a subscript, you
just type <code>_{</code><i>exp</i><code>}</code>. To get
<i>exp</i> to appear as a superscript, you type
<code>^{</code><i>exp</i><code>}</code>. LaTeX handles
superscripted superscripts and all of that stuff in the natural
way. It even does the right thing when something has both a
subscript and a superscript.</p>
<h3><a name="SEC127" href="#TOC127">Math Symbols</a></h3>
<p><a name="IDX265"></a> <a name="IDX266"></a> <a name=
"IDX267"></a></p>
<p>LaTeX provides almost any mathematical symbol you're likely to
need. The commands for generating them can be used only in math
mode. For example, if you include <code>$\pi$</code> in your
source, you will get the symbol in your output.</p>
<h3><a name="SEC128" href="#TOC128">Spacing in Math Mode</a></h3>
<p><a name="IDX268"></a> <a name="IDX269"></a></p>
<p>In a <code>math</code> environment, LaTeX ignores the spaces you
type and puts in the spacing that it thinks is best. LaTeX formats
mathematics the way it's done in mathematics texts. If you want
different spacing, LaTeX provides the following four commands for
use in math mode:</p>
<p><a name="IDX270"></a> <a name="IDX271"></a> <a name=
"IDX272"></a> <a name="IDX273"></a></p>
<ol>
<li><code>\;</code> - a thick space</li>
<li><code>\:</code> - a medium space</li>
<li><code>\,</code> - a thin space</li>
<li><code>\!</code> - a negative thin space</li>
</ol>
<h3><a name="SEC129" href="#TOC129">Math Miscellany</a></h3>
<p><a name="IDX274"></a></p>
<dl>
<dt><code><a name="IDX275">\cdots</a></code></dt>
<dd>Produces a horizontal ellipsis where the dots are raised to the
center of the line. eg.</dd>
<dt><code><a name="IDX276">\ddots</a></code></dt>
<dd>Produces a diagonal ellipsis. eg.</dd>
<dt><code><a name="IDX277">\frac{num}{den}</a></code></dt>
<dd>Produces the fraction <code>num</code> divided by
<code>den</code>. eg.</dd>
<dt><code><a name="IDX278">\ldots</a></code></dt>
<dd>Produces an ellipsis. This command works in any mode, not just
math mode. eg.</dd>
<dt><code><a name="IDX279">\overbrace{text}</a></code></dt>
<dd>Generates a brace over text. eg.</dd>
<dt><code><a name="IDX280">\overline{text}</a></code></dt>
<dd>Causes the argument text to be overlined. eg.</dd>
<dt><code><a name="IDX281">\sqrt[root]{arg}</a></code></dt>
<dd>Produces the square root of its argument. The optional
argument, <code>root</code>, determines what root to produce, i.e.,
the cube root of <code>x+y</code> would be typed as
<code>$\sqrt[3]{x+y}$</code>. eg.</dd>
<dt><code><a name="IDX282">\underbrace{text}</a></code></dt>
<dd>Generates text with a brace underneath. eg.</dd>
<dt><code><a name="IDX283">\underline{text}</a></code></dt>
<dd>Causes the argument text to be underlined. This command can
also be used in paragraph and LR modes. eg.</dd>
<dt><code><a name="IDX284">\vdots</a></code></dt>
<dd>Produces a vertical ellipsis. eg.</dd>
</dl>
<table width="100%">
<tr bgcolor="#3F5881">
<td align="left"><b><font size="+2" color="white"> <a name=
"SEC130">Modes</a></font></b></td>
</tr>
</table>
<p><a name="IDX285"></a> <a name="IDX286"></a> <a name=
"IDX287"></a> <a name="IDX288"></a> <a name="IDX289"></a></p>
<p>When LaTeX is processing your input text, it is always in one of
three modes:</p>
<ul>
<li>Paragraph mode</li>
<li>Math mode</li>
<li>Left-to-right mode, called LR mode for short</li>
</ul>
<p>LaTeX changes mode only when it goes up or down a staircase to a
different level, though not all level changes produce mode changes.
Mode changes occur only when entering or leaving an environment, or
when LaTeX is processing the argument of certain text-producing
commands.</p>
<p>"Paragraph mode" is the most common; it's the one LaTeX is in
when processing ordinary text. In that mode, LaTeX breaks your text
into lines and breaks the lines into pages. LaTeX is in "math mode"
when it's generating a mathematical formula. In "LR mode", as in
paragraph mode, LaTeX considers the output that it produces to be a
string of words with spaces between them. However, unlike paragraph
mode, LaTeX keeps going from left to right; it never starts a new
line in LR mode. Even if you put a hundred words into an
<code>\mbox</code>, LaTeX would keep typesetting them from left to
right inside a single box, and then complain because the resulting
box was too wide to fit on the line.</p>
<p>LaTeX is in LR mode when it starts making a box with an
<code>\mbox</code> command. You can get it to enter a different
mode inside the box - for example, you can make it enter math mode
to put a formula in the box. There are also several text-producing
commands and environments for making a box that put LaTeX in
paragraph mode. The box make by one of these commands or
environments will be called a <code>parbox</code>. When LaTeX is in
paragraph mode while making a box, it is said to be in "inner
paragraph mode". Its normal paragraph mode, which it starts out in,
is called "outer paragraph mode".</p>
<table width="100%">
<tr bgcolor="#3F5881">
<td align="left"><b><font size="+2" color="white"> <a name=
"SEC131">Page Styles</a></font></b></td>
</tr>
</table>
<p><a name="IDX290"></a> <a name="IDX291"></a></p>
<p>The <code>\documentclass</code> command determines the size and
position of the page's head and foot. The page style determines
what goes in them.</p>
<ul>
<li><a href="#SEC132">\maketitle</a>: Generate a title page.</li>
<li><a href="#SEC137">\pagenumbering</a>: Set the style used for
page numbers.</li>
<li><a href="#SEC138">\pagestyle</a>: Change the headings/footings
style.</li>
<li><a href="#SEC141">\thispagestyle</a>: Change the
headings/footings style for this page.</li>
</ul>
<h3><a name="SEC132" href="#TOC132">\maketitle</a></h3>
<p><a name="IDX292"></a> <a name="IDX293"></a></p>
<p><code>\maketitle</code></p>
<p>The <code>\maketitle</code> command generates a title on a
separate title page - except in the <code>article</code> class,
where the title normally goes at the top of the first page.
Information used to produce the title is obtained from the
following declarations:</p>
<p>See section <a href="#SEC131">Page Styles</a> for the commands
to give the information.</p>
<ul>
<li><a href="#SEC133">\author</a>: Who wrote this stuff?</li>
<li><a href="#SEC134">\date</a>: The date the document was
created.</li>
<li><a href="#SEC135">\thanks</a>: A special form of footnote.</li>
<li><a href="#SEC136">\title</a>: How to set the document
title.</li>
</ul>
<h3><a name="SEC133" href="#TOC133">\author</a></h3>
<p><a name="IDX294"></a> <a name="IDX295"></a></p>
<p><code>\author{names}</code></p>
<p>The <code>\author</code> command declares the author(s), where
<code>names</code> is a list of authors separated by
<code>\and</code> commands. Use <code>\\</code> to separate lines
within a single author's entry -- for example, to give the author's
institution or address.</p>
<h3><a name="SEC134" href="#TOC134">\date</a></h3>
<p><a name="IDX296"></a> <a name="IDX297"></a></p>
<p><code>\date{text}</code></p>
<p>The <code>\date</code> command declares <i>text</i> to be the
document's date. With no <code>\date</code> command, the current
date is used.</p>
<h3><a name="SEC135" href="#TOC135">\thanks</a></h3>
<p><a name="IDX298"></a> <a name="IDX299"></a></p>
<p><code>\thanks{text}</code></p>
<p>The <code>\thanks</code> command produces a
<code>\footnote</code> to the title.</p>
<h3><a name="SEC136" href="#TOC136">\title</a></h3>
<p><a name="IDX300"></a> <a name="IDX301"></a></p>
<p><code>\title{text}</code></p>
<p>The <code>\title</code> command declares <code>text</code> to be
the title. Use <code>\\</code> to tell LaTeX where to start a new
line in a long title.</p>
<h3><a name="SEC137" href="#TOC137">\pagenumbering</a></h3>
<p><a name="IDX302"></a> <a name="IDX303"></a></p>
<p><code>\pagenumbering{num_style}</code></p>
<p>Specifies the style of page numbers. Possible values of
<code>num_style</code> are:</p>
<ul>
<li><code>arabic</code> - Arabic numerals</li>
<li><code>roman</code> - Lowercase Roman numerals</li>
<li><code>Roman</code> - Uppercase Roman numerals</li>
<li><code>alph</code> - Lowercase letters</li>
<li><code>Alph</code> - Uppercase letters</li>
</ul>
<h3><a name="SEC138" href="#TOC138">\pagestyle</a></h3>
<p><a name="IDX304"></a></p>
<p><code>\pagestyle{option}</code></p>
<p>The <code>\pagestyle</code> command changes the style from the
current page on throughout the remainder of your document.</p>
<p>The valid options are:</p>
<ul>
<li><code>plain</code> - Just a plain page number.</li>
<li><code>empty</code> - Produces empty heads and feet - no page
numbers.</li>
<li><code>headings</code> - Puts running headings on each page. The
document style specifies what goes in the headings.</li>
<li><code>myheadings</code> - You specify what is to go in the
heading with the <code>\markboth</code> or the
<code>\markright</code> commands.</li>
</ul>
<ul>
<li><a href="#SEC139">\markboth</a>: Set left and right
headings.</li>
<li><a href="#SEC140">\markright</a>: Set right heading only.</li>
</ul>
<h3><a name="SEC139" href="#TOC139">\markboth</a></h3>
<p><a name="IDX305"></a></p>
<pre>
\markboth{left head}{right head}
</pre>
<p>The <code>\markboth</code> command is used in conjunction with
the page style <code>myheadings</code> for setting both the left
and the right heading. You should note that a "left-hand heading"
is generated by the last <code>\markboth</code> command before the
end of the page, while a "right-hand heading" is generated by the
first <code>\markboth</code> or <code>\markright</code> that comes
on the page if there is one, otherwise by the last one before the
page.</p>
<h3><a name="SEC140" href="#TOC140">\markright</a></h3>
<p><a name="IDX306"></a></p>
<pre>
\markright{right head}
</pre>
<p>The <code>\markright</code> command is used in conjunction with
the page style <code>myheadings</code> for setting the right
heading, leaving the left heading unchanged. You should note that a
"left-hand heading" is generated by the last <code>\markboth</code>
command before the end of the page, while a "right-hand heading" is
generated by the first <code>\markboth</code> or
<code>\markright</code> that comes on the page if there is one,
otherwise by the last one before the page.</p>
<h3><a name="SEC141" href="#TOC141">\thispagestyle</a></h3>
<p><a name="IDX307"></a></p>
<p><code>\thispagestyle{option}</code></p>
<p>The <code>\thispagestyle</code> command works in the same manner
as the <code>\pagestyle</code> command except that it changes the
style for the current page only.</p>
<table width="100%">
<tr bgcolor="#3F5881">
<td align="left"><b><font size="+2" color="white"> <a name=
"SEC142">Sectioning</a></font></b></td>
</tr>
</table>
<p><a name="IDX308"></a> <a name="IDX309"></a> <a name=
"IDX310"></a> <a name="IDX311"></a> <a name="IDX312"></a> <a name=
"IDX313"></a></p>
<p>Sectioning commands provide the means to structure your text
into units.</p>
<ul>
<li><code>\part</code></li>
<li><code>\chapter</code> (report and book class only)</li>
<li><code>\section</code></li>
<li><code>\subsection</code></li>
<li><code>\subsubsection</code></li>
<li><code>\paragraph</code></li>
<li><code>\subparagraph</code></li>
</ul>
<p>All sectioning commands take the same general form, i.e.,</p>
<p><code>\chapter[optional]{title}</code></p>
<p>In addition to providing the heading in the text, the mandatory
argument of the sectioning command can appear in two other
places:</p>
<ol>
<li>The table of contents</li>
<li>The running head at the top of the page</li>
</ol>
<p>You may not want the same thing to appear in these other two
places as appears in the text heading. To handle this situation,
the sectioning commands have an <code>optional</code> argument that
provides the text for these other two purposes.</p>
<p>All sectioning commands have <code>*</code>-forms that print a
<i>title</i>, but do not include a number and do not make an entry
in the table of contents.</p>
<p><a name="IDX315"></a></p>
<p><code><a name="IDX314">\appendix</a></code></p>
<p>The <code>\appendix</code> command changes the way sectional
units are numbered. The <code>\appendix</code> command generates no
text and does not affect the numbering of parts. The normal use of
this command is something like</p>
<pre>
\chapter{The First Chapter}
...
\appendix
\chapter{The First Appendix}
</pre>
<table width="100%">
<tr bgcolor="#3F5881">
<td align="left"><b><font size="+2" color="white"> <a name=
"SEC143">Spaces &amp; Boxes</a></font></b></td>
</tr>
</table>
<p><a name="IDX316"></a> <a name="IDX317"></a></p>
<p>All the predefined length parameters See section <a href=
"#SEC90">Predefined lengths</a> can be used in the arguments of the
box-making commands.</p>
<ul>
<li style="list-style: none">Horizontal space</li>
<li><a href="#SEC144">\dotfill</a>: Stretchable horizontal
dots.</li>
<li><a href="#SEC145">\hfill</a>: Stretchable horizontal
space.</li>
<li><a href="#SEC146">\hrulefill</a>: Stretchable horizontal
rule.</li>
<li><a href="#SEC147">\hspace</a>: Fixed horizontal space. Vertical
space</li>
<li><a href="#SEC148">\addvspace</a>: Fixed vertical space.</li>
<li><a href="#SEC149">\bigskip</a>: Fixed vertical space.</li>
<li><a href="#SEC150">\medskip</a>: Fixed vertical space.</li>
<li><a href="#SEC151">\smallskip</a>: Fixed vertical space.</li>
<li><a href="#SEC152">\vfill</a>: Stretchable vertical space.</li>
<li><a href="#SEC153">\vspace</a>: Fixed vertical space. Boxes</li>
<li><a href="#SEC154">\fbox</a>: Framebox.</li>
<li><a href="#SEC155">\framebox</a>: Framebox, adjustable
position.</li>
<li><a href="#SEC156">lrbox</a>: An environment like \sbox.</li>
<li><a href="#SEC157">\makebox</a>: Box, adjustable position.</li>
<li><a href="#SEC158">\mbox</a>: Box.</li>
<li><a href="#SEC159">\newsavebox</a>: Declare a name for saving a
box.</li>
<li><a href="#SEC160">\parbox</a>: Box with text in paragraph
mode.</li>
<li><a href="#SEC161">\raisebox</a>: Raise or lower text.</li>
<li><a href="#SEC162">\rule</a>: Lines and squares.</li>
<li><a href="#SEC163">\savebox</a>: Like \makebox, but save the
text for later use.</li>
<li><a href="#SEC164">\sbox</a>: Like \mbox, but save the text for
later use.</li>
<li><a href="#SEC165">\usebox</a>: Print saved text.</li>
</ul>
<h3><a name="SEC144" href="#TOC144">\dotfill</a></h3>
<p><a name="IDX318"></a></p>
<p>The <code>\dotfill</code> command produces a "rubber length"
that produces dots instead of just spaces.</p>
<h3><a name="SEC145" href="#TOC145">\hfill</a></h3>
<p><a name="IDX319"></a></p>
<p>The <code>\hfill</code> fill command produces a "rubber length"
which can stretch or shrink horizontally. It will be filled with
spaces.</p>
<h3><a name="SEC146" href="#TOC146">\hrulefill</a></h3>
<p><a name="IDX320"></a></p>
<p>The <code>\hrulefill</code> fill command produces a "rubber
length" which can stretch or shrink horizontally. It will be filled
with a horizontal rule.</p>
<h3><a name="SEC147" href="#TOC147">\hspace</a></h3>
<p><a name="IDX321"></a></p>
<p><code>\hspace[*]{length}</code></p>
<p>The <code>\hspace</code> command adds horizontal space. The
length of the space can be expressed in any terms that LaTeX
understands, i.e., points, inches, etc. You can add negative as
well as positive space with an <code>\hspace</code> command. Adding
negative space is like backspacing.</p>
<p>LaTeX removes horizontal space that comes at the end of a line.
If you don't want LaTeX to remove this space, include the optional
<code>*</code> argument. Then the space is never removed.</p>
<h3><a name="SEC148" href="#TOC148">\addvspace</a></h3>
<p><a name="IDX322"></a> <a name="IDX323"></a> <a name=
"IDX324"></a></p>
<p><code>\addvspace{length}</code></p>
<p>The <code>\addvspace</code> command normally adds a vertical
space of height length. However, if vertical space has already been
added to the same point in the output by a previous
<code>\addvspace</code> command, then this command will not add
more space than needed to make the natural length of the total
vertical space equal to <code>length</code>.</p>
<h3><a name="SEC149" href="#TOC149">\bigskip</a></h3>
<p><a name="IDX325"></a></p>
<p>The <code>\bigskip</code> command is equivalent to
<code>\vspace{bigskipamount}</code> where
<code>bigskipamount</code> is determined by the document class.</p>
<h3><a name="SEC150" href="#TOC150">\medskip</a></h3>
<p><a name="IDX326"></a></p>
<p>The <code>\medskip</code> command is equivalent to
<code>\vspace{medskipamount}</code> where
<code>medskipamount</code> is determined by the document class.</p>
<h3><a name="SEC151" href="#TOC151">\smallskip</a></h3>
<p><a name="IDX327"></a></p>
<p><code>\smallskip</code></p>
<p>The <code>\smallskip</code> command is equivalent to
<code>\vspace{smallskipamount}</code> where
<code>smallskipamount</code> is determined by the document
class.</p>
<h3><a name="SEC152" href="#TOC152">\vfill</a></h3>
<p><a name="IDX328"></a></p>
<p>The <code>\vfill</code> fill command produces a rubber length
which can stretch or shrink vertically.</p>
<h3><a name="SEC153" href="#TOC153">\vspace</a></h3>
<p><a name="IDX329"></a></p>
<p><code>\vspace[*]{length}</code></p>
<p>The <code>\vspace</code> command adds vertical space. The length
of the space can be expressed in any terms that LaTeX understands,
i.e., points, inches, etc. You can add negative as well as positive
space with an <code>\vspace</code> command.</p>
<p>LaTeX removes vertical space that comes at the end of a page. If
you don't want LaTeX to remove this space, include the optional
<code>*</code> argument. Then the space is never removed.</p>
<h3><a name="SEC154" href="#TOC154">\fbox</a></h3>
<p><a name="IDX330"></a></p>
<p><code>\fbox{text}</code></p>
<p>The <code>\fbox</code> command is exactly the same as the
<code>\mbox</code> command, except that it puts a frame around the
outside of the box that it creates.</p>
<h3><a name="SEC155" href="#TOC155">\framebox</a></h3>
<p><a name="IDX331"></a></p>
<p><code>\framebox[width][position]{text}</code></p>
<p>The <code>\framebox</code> command is exactly the same as the
<code>\makebox</code> command, except that it puts a frame around
the outside of the box that it creates.</p>
<p>The framebox command produces a rule of thickness
<code>\fboxrule</code>, and leaves a space <code>\fboxsep</code>
between the rule and the contents of the box.</p>
<h3><a name="SEC156" href="#TOC156">lrbox</a></h3>
<p><a name="IDX332"></a></p>
<p><code>\begin{lrbox}{cmd} text \end{lrbox}</code></p>
<p>This is the environment form of <code>\sbox</code>.</p>
<p>The text inside the environment is saved in the box
<code>cmd</code>, which must have been declared with
<code>\newsavebox</code>.</p>
<h3><a name="SEC157" href="#TOC157">\makebox</a></h3>
<p><a name="IDX333"></a></p>
<p><code>\makebox[width][position]{text}</code></p>
<p>The <code>\makebox</code> command creates a box just wide enough
to contain the <code>text</code> specified. The width of the box is
specified by the optional <code>width</code> argument. The position
of the text within the box is determined by the optional
<code>position</code> argument.</p>
<ul>
<li><code>c</code> -- centred (default)</li>
<li><code>l</code> -- flushleft</li>
<li><code>r</code> -- flushright</li>
<li><code>s</code> -- stretch from left to right margin. The text
must contain stretchable space for this to work.</li>
</ul>
<p>See section <a href="#SEC54">\makebox</a>.</p>
<h3><a name="SEC158" href="#TOC158">\mbox</a></h3>
<p><a name="IDX334"></a></p>
<p><code>\mbox{text}</code></p>
<p>The <code>\mbox</code> command creates a box just wide enough to
hold the text created by its argument.</p>
<p>Use this command to prevent text from being split across
lines.</p>
<h3><a name="SEC159" href="#TOC159">\newsavebox</a></h3>
<p><a name="IDX335"></a></p>
<p><code>\newsavebox{cmd}</code></p>
<p>Declares <code>cmd</code>, which must be a command name that is
not already defined, to be a bin for saving boxes.</p>
<h3><a name="SEC160" href="#TOC160">\parbox</a></h3>
<p><a name="IDX336"></a></p>
<p>
<code>\parbox[position][height][inner-pos]{width}{text}</code></p>
<p>A <code>parbox</code> is a box whose contents are created in
<code>paragraph</code> mode. The <code>\parbox</code> has two
mandatory arguments:</p>
<ul>
<li><code>width</code> - specifies the width of the parbox,
and</li>
<li><code>text</code> - the text that goes inside the parbox.</li>
</ul>
<p>LaTeX will position a <code>parbox</code> so its center lines up
with the center of the text line. The optional <i>position</i>
argument allows you to line up either the top or bottom line in the
parbox (default is top).</p>
<p>If the <i>height</i> argument is not given, the box will have
the natural height of the text.</p>
<p>The <i>inner-pos</i> argument controls the placement of the text
inside the box. If it is not specified, <i>position</i> is
used.</p>
<ul>
<li><code>t</code> -- text is placed at the top of the box.</li>
<li><code>c</code> -- text is centred in the box.</li>
<li><code>b</code> -- text is placed at the bottom of the box.</li>
<li><code>s</code> -- stretch vertically. The text must contain
vertically stretchable space for this to work.</li>
</ul>
<p>A <code>\parbox</code> command is used for a parbox containing a
small piece of text, with nothing fancy inside. In particular, you
shouldn't use any of the paragraph-making environments inside a
<code>\parbox</code> argument. For larger pieces of text, including
ones containing a paragraph-making environment, you should use a
<code>minipage</code> environment See section <a href=
"#SEC46">minipage</a>.</p>
<h3><a name="SEC161" href="#TOC161">\raisebox</a></h3>
<p><a name="IDX337"></a></p>
<p>
<code>\raisebox{distance}[extend-above][extend-below]{text}</code></p>
<p>The <code>\raisebox</code> command is used to raise or lower
text. The first mandatory argument specifies how high the text is
to be raised (or lowered if it is a negative amount). The text
itself is processed in <code>LR mode</code>.</p>
<p>Sometimes it's useful to make LaTeX think something has a
different size than it really does - or a different size than LaTeX
would normally think it has. The <code>\raisebox</code> command
lets you tell LaTeX how tall it is.</p>
<p>The first optional argument, <code>extend-above</code>, makes
LaTeX think that the text extends above the line by the amount
specified. The second optional argument, <code>extend-below</code>,
makes LaTeX think that the text extends below the line by the
amount specified.</p>
<h3><a name="SEC162" href="#TOC162">\rule</a></h3>
<p><a name="IDX338"></a></p>
<p><code>\rule[raise-height]{width}{thickness}</code></p>
<p>The <code>\rule</code> command is used to produce horizontal
lines. The arguments are defined as follows:</p>
<ul>
<li><code>raise-height</code> - specifies how high to raise the
rule (optional)</li>
<li><code>width</code> - specifies the length of the rule
(mandatory)</li>
<li><code>thickness</code> - specifies the thickness of the rule
(mandatory)</li>
</ul>
<h3><a name="SEC163" href="#TOC163">\savebox</a></h3>
<p><a name="IDX339"></a></p>
<pre>
 \savebox{cmd}[width][pos]{text}
</pre>
<p>This command typeset <code>text</code> in a box just as for
<code>\makebox</code>. However, instead of printing the resulting
box, it saves it in bin <code>cmd</code>, which must have been
declared with <code>\newsavebox</code>.</p>
<h3><a name="SEC164" href="#TOC164">\sbox</a></h3>
<p><a name="IDX340"></a></p>
<p><code>\sbox{text}</code></p>
<p>This commands typeset <code>text</code> in a box just as for
<code>\mbox</code>. However, instead of printing the resulting box,
it saves it in bin <code>cmd</code>, which must have been declared
with <code>\newsavebox</code>.</p>
<h3><a name="SEC165" href="#TOC165">\usebox</a></h3>
<p><a name="IDX341"></a></p>
<p><code>\usebox{cmd}</code></p>
<p>Prints the box most recently saved in bin <code>cmd</code> by a
<code>\savebox</code> command.</p>
<table width="100%">
<tr bgcolor="#3F5881">
<td align="left"><b><font size="+2" color="white"> <a name=
"SEC166">Special Characters</a></font></b></td>
</tr>
</table>
<p><a name="IDX342"></a> <a name="IDX343"></a> <a name=
"IDX344"></a> <a name="IDX345"></a></p>
<p>The following characters play a special role in LaTeX and are
called "special printing characters", or simply "special
characters".</p>
<pre>
                       # $ % &amp; ~ _ ^ \ { }
</pre>
<p>Whenever you put one of these special characters into your file,
you are doing something special. If you simply want the character
to be printed just as any other letter, include a <code>\</code> in
front of the character. For example, <code>\$</code> will produce
<code>$</code> in your output.</p>
<p>One exception to this rule is the <code>\</code> itself because
<code>\\</code> has its own special meaning. A <code>\</code> is
produced by typing <code><a name="IDX346">$\backslash$</a></code>
in your file.</p>
<p>Also, <code>\~</code> means `place a tilde accent over the
following letter', so you will probably want to use
<code>\verb</code> instead.</p>
<p><a name="IDX348"></a></p>
<p>In addition, you can access any character of a font once you
know its number by using the <code><a name=
"IDX347">\symbol</a></code> command. For example, the character
used for displaying spaces in the <code>\verb*</code> command has
the code decimal 32, so it can be typed as
<code>\symbol{32}</code>.</p>
<p>You can also specify octal numbers with <code>'</code> or
hexadecimal numbers with <code>"</code>, so the previous example
could also be written as <code>\symbol{'40}</code> or
<code>\symbol{"20}</code>.</p>
<table width="100%">
<tr bgcolor="#3F5881">
<td align="left"><b><font size="+2" color="white"> <a name=
"SEC167">Splitting the Input</a></font></b></td>
</tr>
</table>
<p><a name="IDX349"></a> <a name="IDX350"></a></p>
<p>A large document requires a lot of input. Rather than putting
the whole input in a single large file, it's more efficient to
split it into several smaller ones. Regardless of how many separate
files you use, there is one that is the root file; it is the one
whose name you type when you run LaTeX.</p>
<ul>
<li><a href="#SEC168">\include</a>: Conditionally include a
file.</li>
<li><a href="#SEC169">\includeonly</a>: Determine which files are
included.</li>
<li><a href="#SEC170">\input</a>: Unconditionally include a
file.</li>
</ul>
<h3><a name="SEC168" href="#TOC168">\include</a></h3>
<p><a name="IDX351"></a></p>
<p><code>\include{file}</code></p>
<p>The <code>\include</code> command is used in conjunction with
the <code>\includeonly</code> command for selective inclusion of
files. The <code>file</code> argument is the first name of a file,
denoting <tt>`file.tex'</tt>. If <code>file</code> is one the file
names in the file list of the <code>\includeonly</code> command or
if there is no <code>\includeonly</code> command, the
<code>\include</code> command is equivalent to</p>
<pre>
\clearpage \input{file} \clearpage
</pre>
<p>except that if the file <tt>`file.tex'</tt> does not exist, then
a warning message rather than an error is produced. If the file is
not in the file list, the <code>\include</code> command is
equivalent to <code>\clearpage</code>.</p>
<p>The <code>\include</code> command may not appear in the preamble
or in a file read by another <code>\include</code> command.</p>
<h3><a name="SEC169" href="#TOC169">\includeonly</a></h3>
<p><a name="IDX352"></a></p>
<p><code>\includeonly{</code><i>file_list</i><code>}</code></p>
<p>The <code>\includeonly</code> command controls which files will
be read in by an <code>\include</code> command. <i>file_list</i>
should be a comma-separated list of filenames. Each filename must
match exactly a filename specified in a <code>\include</code>
command. This command can only appear in the preamble.</p>
<h3><a name="SEC170" href="#TOC170">\input</a></h3>
<p><a name="IDX353"></a></p>
<p><code>\input{file}</code></p>
<p>The <code>\input</code> command causes the indicated
<code>file</code> to be read and processed, exactly as if its
contents had been inserted in the current file at that point. The
file name may be a complete file name with extension or just a
first name, in which case the file <tt>`file.tex'</tt> is used.</p>
<table width="100%">
<tr bgcolor="#3F5881">
<td align="left"><b><font size="+2" color="white"> <a name=
"SEC171">Starting &amp; Ending</a></font></b></td>
</tr>
</table>
<p><a name="IDX354"></a> <a name="IDX355"></a></p>
<p>Your input file must contain the following commands as a
minimum:</p>
<pre>
 \documentclass{class}
 \begin{document}
   ... your text goes here ...
 \end{document}
</pre>
<p>where the <code>class</code> selected is one of the valid
classes for LaTeX. See section <a href="#SEC24">Document
Classes</a> for details of the various document classes available
locally.</p>
<p>You may include other LaTeX commands between the
<code>\documentclass</code> and the <code>\begin{document}</code>
commands (i.e., in the `preamble').</p>
<table width="100%">
<tr bgcolor="#3F5881">
<td align="left"><b><font size="+2" color="white"> <a name=
"SEC172">Table of Contents</a></font></b></td>
</tr>
</table>
<p><a name="IDX356"></a></p>
<p>A table of contents is produced with the <code><a name=
"IDX357">\tableofcontents</a></code> command. You put the command
right where you want the table of contents to go; LaTeX does the
rest for you. It produces a heading, but it does not automatically
start a new page. If you want a new page after the table of
contents, include a <code>\newpage</code> command after the
<code>\tableofcontents</code> command.</p>
<p>There are similar commands <code><a name=
"IDX358">\listoffigures</a></code> and <code><a name=
"IDX359">\listoftables</a></code> for producing a list of figures
and a list of tables, respectively. Everything works exactly the
same as for the table of contents.</p>
<p>NOTE: If you want any of these items to be generated, you cannot
have the <code><a name="IDX360">\nofiles</a></code> command in your
document.</p>
<ul>
<li><a href="#SEC173">\addcontentsline</a>: Add an entry to table
of contents etc.</li>
<li><a href="#SEC174">\addtocontents</a>: Add text directly to
table of contents file etc.</li>
</ul>
<h3><a name="SEC173" href="#TOC173">\addcontentsline</a></h3>
<p><a name="IDX361"></a></p>
<p><code>\addcontentsline{file}{sec_unit}{entry}</code></p>
<p>The <code>\addcontentsline</code> command adds an entry to the
specified list or table where:</p>
<ul>
<li><code>file</code> is the extension of the file on which
information is to be written: <code>toc</code> (table of contents),
<code>lof</code> (list of figures), or <code>lot</code> (list of
tables).</li>
<li><code>sec_unit</code> controls the formatting of the entry. It
should be one of the following, depending upon the value of the
file argument:
<ol>
<li><code>toc</code> -- the name of the sectional unit, such as
part or subsection.</li>
<li><code>lof</code> -- figure</li>
<li><code>lot</code> -- table</li>
</ol>
</li>
<li><code>entry</code> is the text of the entry.</li>
</ul>
<h3><a name="SEC174" href="#TOC174">\addtocontents</a></h3>
<p><a name="IDX362"></a></p>
<p><code>\addtocontents{file}{text}</code></p>
<p>The <code>\addtocontents</code> command adds text (or formatting
commands) directly to the file that generates the table of contents
or list of figures or tables.</p>
<ul>
<li><code>file</code> is the extension of the file on which
information is to be written: <code>toc</code> (table of contents),
<code>lof</code> (list of figures), or <code>lot</code> (list of
tables).</li>
<li><code>text</code> is the information to be written.</li>
</ul>
<table width="100%">
<tr bgcolor="#3F5881">
<td align="left"><b><font size="+2" color="white"> <a name=
"SEC175">Terminal Input/Output</a></font></b></td>
</tr>
</table>
<p><a name="IDX363"></a> <a name="IDX364"></a></p>
<ul>
<li><a href="#SEC176">\typein</a>: Read text from the
terminal.</li>
<li><a href="#SEC177">\typeout</a>: Write text to the
terminal.</li>
</ul>
<h3><a name="SEC176" href="#TOC176">\typein</a></h3>
<p><a name="IDX365"></a></p>
<p><code>\typein[cmd]{msg}</code></p>
<p>Prints <code>msg</code> on the terminal and causes LaTeX to stop
and wait for you to type a line of input, ending with return. If
the <code>cmd</code> argument is missing, the typed input is
processed as if it had been included in the input file in place of
the <code>\typein</code> command. If the <code>cmd</code> argument
is present, it must be a command name. This command name is then
defined or redefined to be the typed input.</p>
<h3><a name="SEC177" href="#TOC177">\typeout</a></h3>
<p><a name="IDX366"></a></p>
<p><code>\typeout{msg}</code></p>
<p>Prints <code>msg</code> on the terminal and in the
<code>log</code> file. Commands in <code>msg</code> that are
defined with <code>\newcommand</code> or <code>\renewcommand</code>
are replaced by their definitions before being printed.</p>
<p>LaTeX's usual rules for treating multiple spaces as a single
space and ignoring spaces after a command name apply to
<code>msg</code>. A <code>\space</code> command in <code>msg</code>
causes a single space to be printed. A <code>^^J</code> in
<code>msg</code> prints a newline.</p>
<table width="100%">
<tr bgcolor="#3F5881">
<td align="left"><b><font size="+2" color="white"> <a name=
"SEC178">Typefaces</a></font></b></td>
</tr>
</table>
<p><a name="IDX367"></a> <a name="IDX368"></a></p>
<p>The <code>typeface</code> is specified by giving the "size" and
"style". A typeface is also called a "font".</p>
<ul>
<li><a href="#SEC179">Styles</a>: Select roman, italics etc.</li>
<li><a href="#SEC180">Sizes</a>: Select point size.</li>
<li><a href="#SEC181">Low-level font commands</a>: Commands for
wizards.</li>
</ul>
<h3><a name="SEC179" href="#TOC179">\Styles</a></h3>
<p><a name="IDX369"></a> <a name="IDX370"></a> <a name=
"IDX371"></a></p>
<p>The following type style commands are supported by LaTeX.</p>
<p>These commands are used like <code>\textit{italics text}</code>.
The corresponding command in parenthesis is the "declaration form",
which takes no arguments. The scope of the declaration form lasts
until the next type style command or the end of the current
group.</p>
<p>The declaration forms are cumulative; i.e., you can say
<code>\sffamily\bfseries</code> to get sans serif boldface.</p>
<p>You can also use the environment form of the declaration forms;
e.g. <code>\begin{ttfamily}...\end{ttfamily}</code>.</p>
<dl>
<dt><code><a name="IDX373">\textrm (\rmfamily)</a></code></dt>
<dd><a name="IDX372"></a> Roman.</dd>
<dt><code><a name="IDX375">\textit (\itshape)</a></code></dt>
<dd><a name="IDX374"></a></dd>
<dt><code><a name="IDX376">\emph</a></code></dt>
<dd>Emphasis (toggles between \textit and \textrm).</dd>
<dt><code><a name="IDX378">\textmd (\mdseries)</a></code></dt>
<dd><a name="IDX377"></a> Medium weight (default). The opposite of
boldface.</dd>
<dt><code><a name="IDX380">\textbf (\bfseries)</a></code></dt>
<dd><a name="IDX379"></a> Boldface.</dd>
<dt><code><a name="IDX381">\textup (\upshape)</a></code></dt>
<dd><a name="IDX382"></a> Upright (default). The opposite of
slanted.</dd>
<dt><code><a name="IDX384">\textsl (\slshape)</a></code></dt>
<dd><a name="IDX383"></a> Slanted.</dd>
<dt><code><a name="IDX386">\textsf (\sffamily)</a></code></dt>
<dd><a name="IDX385"></a> Sans serif.</dd>
<dt><code><a name="IDX388">\textsc (\scshape)</a></code></dt>
<dd><a name="IDX387"></a> Small caps.</dd>
<dt><code><a name="IDX389">\texttt (\ttfamily)</a></code></dt>
<dd><a name="IDX390"></a> Typewriter.</dd>
<dt><code><a name="IDX392">\textnormal
(\normalfont)</a></code></dt>
<dd><a name="IDX391"></a> Main document font.</dd>
<dt><code><a name="IDX393">\mathrm</a></code></dt>
<dd>Roman, for use in math mode.</dd>
<dt><code><a name="IDX394">\mathbf</a></code></dt>
<dd>Boldface, for use in math mode.</dd>
<dt><code><a name="IDX395">\mathsf</a></code></dt>
<dd>Sans serif, for use in math mode.</dd>
<dt><code><a name="IDX396">\mathtt</a></code></dt>
<dd>Typewriter, for use in math mode.</dd>
<dt><code><a name="IDX397">\mathit</a></code></dt>
<dd>Italics, for use in math mode, e.g. variable names with several
letters.</dd>
<dt><code><a name="IDX398">\mathnormal</a></code></dt>
<dd>For use in math mode, e.g. inside another type style
declaration.</dd>
<dt><code><a name="IDX399">\mathcal</a></code></dt>
<dd>`Calligraphic' letters, for use in math mode.</dd>
</dl>
<p>In addition, the command <code><a name=
"IDX400">\mathversion{bold}</a></code> can be used for switching to
bold letters and symbols in formulas.
<code>\mathversion{normal}</code> restores the default.</p>
<h3><a name="SEC180" href="#TOC180">Sizes</a></h3>
<p><a name="IDX401"></a> <a name="IDX402"></a> <a name=
"IDX403"></a></p>
<p>The following standard type size commands are supported by
LaTeX.</p>
<p>The commands as listed here are "declaration forms". The scope
of the declaration form lasts until the next type style command or
the end of the current group.</p>
<p>You can also use the environment form of these commands; e.g.
<code>\begin{tiny}...\end{tiny}</code>.</p>
<dl>
<dt><code><a name="IDX404">\tiny</a></code></dt>
<dt><code><a name="IDX405">\scriptsize</a></code></dt>
<dt><code><a name="IDX406">\footnotesize</a></code></dt>
<dt><code><a name="IDX407">\small</a></code></dt>
<dt><code><a name="IDX408">\normalsize</a></code></dt>
<dd>(default)</dd>
<dt><code><a name="IDX409">\large</a></code></dt>
<dt><code><a name="IDX410">\Large</a></code></dt>
<dt><code><a name="IDX411">\LARGE</a></code></dt>
<dt><code><a name="IDX412">\huge</a></code></dt>
<dt><code><a name="IDX413">\Huge</a></code></dt>
</dl>
<h3><a name="SEC181" href="#TOC181">Low-level font
commands</a></h3>
<p><a name="IDX414"></a> <a name="IDX415"></a></p>
<p>These commands are primarily intended for writers of macros and
packages. The commands listed here are only a subset of the
available ones. For full details, you should consult Chapter 7 of
<cite>The LaTeX Companion</cite>.</p>
<dl>
<dt><code><a name="IDX416">\fontencoding{enc}</a></code></dt>
<dd>Select font encoding. Valid encodings include <code>OT1</code>
and <code>T1</code>.</dd>
<dt><code><a name="IDX417">\fontfamily{family}</a></code></dt>
<dd>Select font family. Valid families include:
<ul>
<li><code>cmr</code> for Computer Modern Roman</li>
<li><code>cmss</code> for Computer Modern Sans Serif</li>
<li><code>cmtt</code> for Computer Modern Typewriter</li>
</ul>
and numerous others.</dd>
<dt><code><a name="IDX418">\fontseries{series}</a></code></dt>
<dd>Select font series. Valid series include:
<ul>
<li><code>m</code> Medium (normal)</li>
<li><code>b</code> Bold</li>
<li><code>c</code> Condensed</li>
<li><code>bc</code> Bold condensed</li>
<li><code>bx</code> Bold extended</li>
</ul>
and various other combinations.</dd>
<dt><code><a name="IDX419">\fontshape{shape}</a></code></dt>
<dd>Select font shape. Valid shapes are:
<ul>
<li><code>n</code> Upright (normal)</li>
<li><code>it</code> Italic</li>
<li><code>sl</code> Slanted (oblique)</li>
<li><code>sc</code> Small caps</li>
<li><code>ui</code> Upright italics</li>
<li><code>ol</code> Outline</li>
</ul>
The two last shapes are not available for most font families.</dd>
<dt><code><a name="IDX420">\fontsize{size}{skip}</a></code></dt>
<dd>Set font size. The first parameter is the font size to switch
to; the second is the <code>\baselineskip</code> to use. The unit
of both parameters defaults to pt. A rule of thumb is that the
baselineskip should be 1.2 times the font size.</dd>
<dt><code><a name="IDX421">\selectfont</a></code></dt>
<dd>The changes made by calling the four font commands described
above do not come into effect until <code>\selectfont</code> is
called.</dd>
<dt><code><a name=
"IDX422">\usefont{enc}{family}{series}{shape}</a></code></dt>
<dd>Equivalent to calling <code>\fontencoding</code>,
<code>\fontfamily</code>, <code>\fontseries</code> and
<code>\fontshape</code> with the given parameters, followed by
<code>\selectfont</code>.</dd>
</dl>
<address>
<hr>
<div align="center">
<table width="100%" cellspacing="0" border="0">
<tr>
<td>LaTeX Reference</td>
<td></td>
<td align="right">
<div align="right">Kile</div>
</td>
</tr>
</table>
</div>
</address>
</body>
</html>