From e1238f63de756e285c4f01ad87fee381d083116a Mon Sep 17 00:00:00 2001 From: Justin Gassner Date: Fri, 15 Sep 2023 20:18:24 +0200 Subject: Initial commit --- src/tex/mathtools | 182 ++++++++++++++++++++++++++++++++++++++++++++++++++++++ 1 file changed, 182 insertions(+) create mode 100644 src/tex/mathtools (limited to 'src/tex/mathtools') diff --git a/src/tex/mathtools b/src/tex/mathtools new file mode 100644 index 0000000..ceb3d69 --- /dev/null +++ b/src/tex/mathtools @@ -0,0 +1,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}<+++>\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 ~\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}<++>\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{<+++>} <++> -- cgit v1.2.3-54-g00ecf