summaryrefslogtreecommitdiffstats
path: root/src/tex/mathtools
blob: ceb3d69c5e032f77e554813a034ddf969c048c08 (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
# QuickTeX keywords for mathtools

# 1 Introduction
# none

# 2 Package loading
# none

# 3 Tools for mathematical typesetting
mathtoolsset \mathtoolsset{<+++>}

# 3.1 Fine-tuning mathematical layout

# 3.1.1 A complement to \smash, \llap, and \rlap
MATH mathllap \mathllap{<+++>} <++>
MATH mathclap \mathrlap{<+++>} <++>
MATH mathrlap \mathclap{<+++>} <++>
clap \clap{<+++>} <++>
MATH mathmbox \mathmbox{<+++>} <++>
MATH mathmakebox \mathmakebox{<+++>} <++>

# 3.1.2 Forcing a cramped style
MATH cramped \cramped{<+++>} <++>
MATH crampedllap \crampedllap{<+++>} <++>
MATH crampedclap \crampedclap{<+++>} <++>
MATH crampedrlap \crampedrlap{<+++>} <++>
MATH crampedsubarray \begin{crampedsubarray}{l}<CR><+++><CR>\end{crampedsubarray}
MATH crampedsubstack \crampedsubstack{<+++>} <++>

# 3.1.3 Smashing an operator
MATH smashoperator \smashoperator{<+++>} <++>

# 3.1.4 Adjusting limits of operators
MATH adjustlimits

# 3.1.5 Swapping space above AMS display math environments
MATH sads \SwapAboveDisplaySkip

# 3.2 Controlling tags

# 3.2.1 The appearance of tags
MATH newtagform \newtagform{<+++>}[<++>]{<++>}{<++>}
MATH renewtagform \renewtagform{<+++>}[<++>]{<++>}{<++>}
MATH usetagform \usetagform{<+++>}

# 3.2.2 Showing only referenced tags
refeq <BS>~\refeq{<+++>} <++>
noeqref \noeqref{<+++>}

# 3.3 Extensible symbols

# 3.3.1 Arrow-like symbols
MATH xleftrightarrow \xleftrightarrow{<+++>}
MATH xRightarrow \xRightarrow{<+++>}
MATH xLeftarrow \xLeftarrow{<+++>}
MATH xLeftrightarrow \xLeftrightarrow{<+++>}
MATH xhookleftarrow \xhookleftarrow{<+++>}
MATH xhookrightarrow \xhookrightarrow{<+++>}
MATH xmapsto \xmapsto{<+++>}
MATH xrightharpoondown \xrightharpoondown{<+++>}
MATH xrightharpoonup \xrightharpoonup{<+++>}
MATH xleftharpoondown \xleftharpoondown{<+++>}
MATH xleftharpoonup \xleftharpoonup{<+++>}
MATH xrightleftharpoons \xrightleftharpoons{<+++>}
MATH xleftrightharpoons \xleftrightharpoons{<+++>}
MATH xlongrightarrow \xlongrightarrow{<+++>}
MATH xlongleftarrow \xlongleftarrow{<+++>}

# 3.3.2 Braces and brackets
MATH underbracket \underbracket{<+++>}_{<++>} <++>
MATH overbracket \overbracket{<+++>}^{<++>} <++>
MATH underbrace \underbrace{<+++>}_{<++>} <++>
MATH overbrace \overbrace{<+++>}^{<++>} <++>
MATH LaTeXunderbrace \LaTeXunderbrace{<+++>}_{<++>} <++>
MATH LaTeXoverbrace \LaTeXoverbrace{<+++>}^{<++>} <++>

# 3.4 New mathematical building blocks

# 3.4.1 Matrices
MATH ENV psmallmatrix
MATH ENV bsmallmatrix
MATH ENV Bsmallmatrix
MATH ENV vsmallmatrix
MATH ENV Vsmallmatrix

# 3.4.2 The multlined environment
MATH ENV multlined

# 3.4.3 More cases-like environments
MATH ENV dcases
MATH ENV rcases
MATH ENV drcases

# 3.4.4 Emulating indented lines in alignments
MATH MoveEqLeft

# 3.4.5 Boxing a single line in an alignment
MATH Aboxed \Aboxed{<+++>} <++>

# 3.4.6 Adding arrows between lines in an alignment
MATH ArrowBetweenLines

# 3.4.7 Centered \vdots
MATH vdotswithin \vdotswithin{<+++>} <++>
MATH shortvdotswithin \shortvdotswithin{<+++>} <++>
MATH MTFlushSpaceAbove
MATH MTFlushSpaceBelow

# 3.5 Intertext and short intertext
MATH sitext \shortintertext{<+++>}

# 3.6 Paired delimiters
dpd \DeclarePairedDelimiter{<+++>}{<++>}{<++>}
dpdx \DeclarePairedDelimiterX{<+++>}[<++>]{<++>}{<++>}{<++>}
MATH delimsize
dpdxpp \DeclarePairedDelimiterXPP{<+++>}[<++>]{<++>}{<++>}{<++>}{<++>}{<++>}

# 3.6.1 Expert use
# TODO

# 3.7 Special symbols

# 3.7.1 Left and right parentheses
MATH lparen
MATH rparen

# 3.7.2 Vertically centered colon
MATH vcentcolon
MATH ordinarycolon

# 3.7.3 Some extra symbols involving vertically centered colon
MATH dblcolon
MATH coloneq
MATH Coloneq
MATH eqcolon
MATH Eqcolon
MATH colonapprox
MATH Colonapprox
MATH approxcolon
MATH Approxcolon
MATH colonsim
MATH Colonsim
MATH simcolon
MATH Simcolon
MATH colondash
MATH Colondash
MATH dashcolon
MATH Dashcolon

# 3.7.4 A few additional symbols
MATH nuparrow
MATH ndownarrow
MATH bigtimes

# 4 A tribute to Michael J. Downes

# 4.1 Mathematics within italic text
# none

# 4.2 Left sub/superscripts
MATH prescript \prescript{<+++>}{<++>}{<++>} <++>

# 4.3 Declaring math sizes
# none

# 4.4 Spreading equations
MATH spreadlines \begin{spreadlines}{<+++>pt}<CR><++><CR>\end{spreadlines}

# 4.5 Gathered environments
MATH ENV lgathered
MATH ENV rgathered
newgathered \newgathered{<+++>}{<++>}{<++>}{<++>}
renewgathered \renewgathered{<+++>}{<++>}{<++>}{<++>}

# 4.6 Split fractions
MATH splitfrac \splitfrac{<+++>}{<++>} <++>
MATH splitdfrac \splitdfrac{<+++>}{<++>} <++>

# 5 New additions

# 5.1 Variable math strut
MATH xmathstrut \xmathstrut{<+++>} <++>