summaryrefslogtreecommitdiffstats
path: root/src/tex/latex2e
blob: 89c487cbdbc31839949482909892104a65ff9476 (plain) (blame)
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
# QuickTeX keywords for LaTeX2e
# This follows the reference manual in appendix C of Lamports book.

# C.2 The Structure of the Document
ENV document

# C.3 Sentences and Paragraphs

# C.3.1 Making Sentences
frenchspacing
nonfrenchspacing
latex \LaTeX\ 
tex \TeX\ 
today
emph \emph{<+++>} <++>
BOTH mbox \mbox{<+++>} <++>

# C.3.2 Making Paragraphs
noindent
indent
#par
#textwidth
linewidth
parindent
baselineskip
baselinestretch
parskip

# C.3.3 Footnotes
fn <BS>\footnote{<+++>} <++>
footnotemark
footnotetext \footnotetext{<+++>} <++>
footnotesep
footnoterule

# C.3.4 Accents and Special Symbols
#dag
#ddag
#S
#P
BOTH copyright
BOTH pounds

# C.4 Sectioning and Table of Contents

# C.4.1 Sectioning Commands
part \part{<+++>}<CR><CR><++>
chap \chapter{<+++>}<CR><CR><++>
sec \section{<+++>}<CR><CR><++>
ssec \subsection{<+++>}<CR><CR><++>
sssec \subsubsection{<+++>}<CR><CR><++>
para \paragraph{<+++>}<CR><++>
spara \subparagraph{<+++>}<CR><++>

# C.4.2 The Appendix
appendix \appendix<CR><CR>

# C.4.3 Table of Contents
toc \tableofcontents
listoffigures
listoftables
addcontentsline \addcontentsline{toc}{<+++>}{<++>}
addtocontents \addtocontents{toc}{<+++>}

# C.4.4 Style Parameters
secnumdepth
tocdepth

# C.5 Classes, Packages, and Page Styles

# C.5.1 Document Class
dc \documentclass[<++>]{<+++>}
bibindent
columnsep
columnseprule
mathindent

# C.5.2 Packages
usep \usepackage[<++>]{<+++>}

# C.5.3 Page Styles
ps \pagestyle{<+++>}
tps \thispagestyle{<+++>}
markright \markright{<+++>}
markboth \markboth{<+++>}{<+++>}
pagenumbering \pagenumbering{<+++>}
twocolumn
onecolumn
topmargin
headheight
headsep
oddsidemargin
evensidemargin
textheight
textwidth
marginparsep
marginparwidth
footskip
pageheight
pagewidth

# C.5.4 The Title Page and Abstract
mt maketitle
title \title{<+++>}
author \author{<+++>}
date \date{<+++>}
thanks \thanks{<+++>}
ENV abstract
ENV titlepage

# C.6 Displayed Paragraphs

# C.6.1 Quotations and Verse
ENV quote
ENV quotation
ENV verse

# C.6.2 List-Making Environments
itemize \begin{itemize}<CR>\item <+++><CR>\end{itemize}
enum \begin{enumerate}<CR>\item <+++><CR>\end{enumerate}
desc \begin{description}<CR>\item <+++><CR>\end{description}
item

# C.6.3 The list and trivlist Environments
# TODO

# C.6.4 Verbatim
ENV verbatim
verb \verb{<+++>} <++>
ENV alltt

# C.7 Mathematical Formulas

# C.7.1 Math Mode Environments
BOTH m $<+++>$ <++>
#ENV math
ensuremath \ensuremath{<+++>} <++>
ENV displaymath
ENV eq equation
ENV M equation*
ENV eqnarray
jot
#mathindent
abovedisplayskip
belowdisplayskip
abovedisplayshortskip
belowdisplayshortskip

# C.7.2 Common Structures
MATH _ <BS>_{<+++>} <++>
MATH ^ <BS>^{<+++>} <++>
MATH fr \frac{<+++>}{<++>} <++>
MATH rt \sqrt{<+++>} <++>
MATH ld ldots
MATH cdots
MATH vd vdots
MATH dd ddots

# C.7.3 Mathematical Symbols

# Lowercase Greek Letters
MATH al alpha
MATH be beta
MATH ga gamma
MATH de delta
MATH eps epsilon
#varepsilon
MATH ze zeta
MATH eta
MATH th theta
#vartheta
MATH io iota
MATH ka kappa
MATH la lambda
MATH mu
MATH nu
MATH xi
MATH pi
#varpi
MATH rho
#varrho
MATH si sigma
#varsigma
MATH tau
MATH up upsilon
MATH phi
#varphi
MATH chi
MATH psi
MATH om omega

# Uppercase Greek Letters
MATH Ga Gamma
MATH De Delta
MATH Th Theta
MATH La Lambda
MATH Xi
MATH Pi
MATH Si Sigma
MATH Up Upsilon
MATH Phi
MATH Psi
MATH Om Omega

# Binary Operation Symbols
MATH pm
MATH mp
MATH ti times
MATH div
MATH ast
MATH star
MATH ci circ
MATH bu bullet
MATH cd cdot
MATH cap
MATH cup
MATH uplus
MATH sqcap
MATH sqcup
MATH ve vee
MATH we wedge
MATH sm setminus
MATH wr
MATH diamond
MATH bigtriangleup
MATH bigtriangledown
MATH triangleleft
MATH triangleright
#lhd
#rhd
#unlhd
#unrhd
MATH op oplus
MATH ominus
MATH ot otimes
MATH oslash
MATH odot
MATH bigcirc
MATH dag dagger
MATH ddagger
MATH amalg

# Relation Symbols
MATH le
MATH ge
MATH prec
MATH succ
MATH preceq
MATH succeq
MATH ll
MATH gg
MATH sb subset
MATH sp supset
MATH sbe subseteq
MATH spe supseteq
#sqsubset
#sqsupset
MATH sqsubseteq
MATH sqsupseteq
MATH in
MATH ni
MATH vdash
MATH dashv
MATH ev equiv
MATH sim
MATH simeq
MATH asymp
MATH ap approx
MATH cong
MATH ne
MATH doteq
MATH nin notin
MATH models
MATH pp perp
MATH mid
#ll parallel
MATH bowtie
#Join
MATH smile
MATH frown
MATH propto

# Arrow Symbols
MATH leftarrow
MATH longleftarrow
MATH Leftarrow
MATH Longleftarrow
MATH rightarrow
MATH lra longrightarrow
MATH Rightarrow
MATH Longrightarrow
MATH leftrightarrow
MATH longleftrightarrow
MATH Leftrightarrow
MATH Longleftrightarrow
MATH mt mapsto
MATH lmt longmapsto
MATH hookleftarrow
MATH hookrightarrow
MATH leftharpoonup
MATH leftharpoondown
MATH rightharpoonup
MATH rightharpoondown
MATH rightleftharpoons
#leadsto
MATH uparrow
MATH Uparrow
MATH downarrow
MATH Downarrow
MATH updownarrow
MATH Updownarrow
MATH nearrow
MATH searrow
MATH swarrow
MATH nwarrow

# Miscellaneous Symbols
MATH aleph
MATH hbar
MATH imath
MATH jmath
MATH ell
MATH wp
MATH Re
MATH Im
#mho
MATH prime
MATH es emptyset
MATH na nabla
MATH surd
MATH top
MATH bot
#|
MATH angle
MATH fa forall
MATH ex exists
MATH neg
MATH flat
MATH natural
MATH sharp
MATH backslash
MATH pa partial
MATH ii infty
#Box
#Diamond
MATH triangle
MATH clubsuit
MATH diamondsuit
MATH heartsuit
MATH spadesuit

# Variable-sized Symbols
MATH sum
MATH prod
MATH coprod
MATH int
MATH oint
MATH bigcap
MATH bigcup
MATH bigsqcup
MATH bigvee
MATH bigwedge
MATH bigodot
MATH bigotimes
MATH bigoplus
MATH biguplus

# Log-like Functions
MATH arccos
MATH arcsin
MATH arctan
MATH arg
MATH cos
MATH cosh
MATH cot
MATH coth
MATH csc
MATH deg
MATH det
MATH dim
MATH exp
MATH gcd
MATH hom
MATH inf
MATH ker
MATH lg
MATH lim
MATH liminf
MATH limsup
MATH ln
MATH log
MATH max
MATH min
MATH Pr
MATH sec
MATH sin
MATH sinh
MATH sup
MATH tan
MATH tanh

# C.7.4 Arrays

# C.7.5 Delimiters

# C.7.6 Putting One Thing Above Another
MATH ol \overline{<+++>} <++>
MATH ul \underline{<+++>} <++>

# accents
#  
MATH hat <ESC>Bi\hat{<ESC>Ea} <+++>
MATH check <ESC>Bi\check{<ESC>Ea} <+++>
MATH breve <ESC>Bi\breve{<ESC>Ea} <+++>
MATH acute <ESC>Bi\acute{<ESC>Ea} <+++>
MATH grave <ESC>Bi\grave{<ESC>Ea} <+++>
MATH tilde <ESC>Bi\tilde{<ESC>Ea} <+++>
MATH bar <ESC>Bi\bar{<ESC>Ea} <+++>
MATH vec <ESC>Bi\vec{<ESC>Ea} <+++>
MATH dot <ESC>Bi\dot{<ESC>Ea} <+++>
MATH ddot <ESC>Bi\ddot{<ESC>Ea} <+++>
MATH widehat <ESC>Bi\widehat{<ESC>Ea} <+++>
MATH widetilde <ESC>Bi\widetilde{<ESC>Ea} <+++>
#imath
#jmath
MATH sr \stackrel{<+++>}{<++>} <++>

# C.7.7 Spacing

# C.7.8 Changing Style

# Type style
MATH mathrm \mathrm{<+++>} <++>
MATH mathit \mathit{<+++>} <++>
MATH mathbf \mathbf{<+++>} <++>
MATH mathsf \mathsf{<+++>} <++>
MATH mathtt \mathtt{<+++>} <++>
MATH mathcal \mathcal{<+++>} <++>
MATH boldmath
MATH unboldmath

# Math style
MATH displaystyle
MATH textstyle
MATH scriptstyle
MATH scriptscriptstyle

# C.8 Definitions, Numbering, and Programming

# C.8.1 Defining Commands

# C.8.2 Defining Environments

# C.8.3 Theorem-like Environments

# C.8.4 Numbering

# C.8.5 The ifthen Package

# C.9 Figures and Other Floating Bodies

# C.9.1 Figures and Tables
fig \begin{figure}[ht]<CR>\centering<CR>\includegraphics{<+++>}<CR>\caption{<++>}<CR>\label{figure:<++>}<CR>\end{figure}<CR>
tab \begin{table}[ht]<CR>\centering<CR>\includegraphics{<+++>}<CR>\caption{<++>}<CR>\label{table:<++>}<CR>\end{table}<CR>
caption \caption{<+++>}
suppressfloats
# TODO style parameters

# C.9.2 Marginal Notes

# C.10 Lining It Up in Columns

# C.10.1 The tabbing Environment
ENV tabbing

# C.10.2 The array and tabluar Environments

# C.11 Moving Information Around

# C.11.1 Files

# C.11.2 Cross-References
BOTH label \label{<+++>}
ref <BS>~\ref{<+++>} <++>
pageref <BS>~\pageref{<+++>} <++>

# C.11.3 Bibliography and Citation

bib \bibliography{<+++>}
#thebibliography
#bibitem
cite <BS>~\cite{<+++>} <++>
nocite \nocite{<+++>}

# C.11.4 Splitting the Input
input \input{<+++>}
include \include{<+++>}
includeonly \includeonly{<+++>}
ENV filecontents
listfiles

# C.11.5 Index and Glossary
ENV theindex
printindex
makeindex
makeglossary
ind \index{<+++>}
glo \glossary{<+++>}

# C.11.6 Terminal Input and Output
typeout \typeout{<+++>}
typein \typein{<+++>}

# C.12 Line and Page Breaking

# C.12.1 Line Breaking

# C.12.2 Page Breaking

# C.13 Length, Spaces, and Boxes

# C.14 Picture and Color

# C.15 Font Selection