summaryrefslogtreecommitdiff
path: root/Master/texmf-dist/tex/latex/mathtools/mathtools.sty
diff options
context:
space:
mode:
Diffstat (limited to 'Master/texmf-dist/tex/latex/mathtools/mathtools.sty')
-rw-r--r--Master/texmf-dist/tex/latex/mathtools/mathtools.sty18
1 files changed, 15 insertions, 3 deletions
diff --git a/Master/texmf-dist/tex/latex/mathtools/mathtools.sty b/Master/texmf-dist/tex/latex/mathtools/mathtools.sty
index 42740d26db8..7128d19c504 100644
--- a/Master/texmf-dist/tex/latex/mathtools/mathtools.sty
+++ b/Master/texmf-dist/tex/latex/mathtools/mathtools.sty
@@ -30,8 +30,9 @@
%% and the derived files
%% mathtools.sty, mathtools.pdf, mathtools.ins, mathtools.drv.
%%
+
\ProvidesPackage{mathtools}%
- [2022/06/29 v1.29 mathematical typesetting tools]
+ [2024/03/11 v1.30 mathematical typesetting tools]
\RequirePackage{keyval,calc}
\RequirePackage{mhsetup}[2021/03/18]
\MHInternalSyntaxOn
@@ -133,7 +134,7 @@
}
\def\MT_define_tagform:nwnn #1[#2]#3#4{
\@namedef{MT_tagform_#1:n}##1
- {\maketag@@@{#3\ignorespaces#2{##1}\unskip\@@italiccorr#4}}
+ {\maketag@@@{#3\ignorespaces{#2{##1}}\unskip\@@italiccorr#4}}
}
\providecommand*\newtagform[1]{%
\@ifundefined{MT_tagform_#1:n}
@@ -377,6 +378,16 @@
\ext@arrow 0395\MT_mapsto_fill:{#1}{#2}}
\def\MT_mapsto_fill:{%
\arrowfill@{\mapstochar\relbar}\relbar\rightarrow}
+\def\MT_Longrightarrow_fill:{%
+ \arrowfill@\Relbar\Relbar\Longrightarrow}
+\def\MT_Longleftarrow_fill:{%
+ \arrowfill@\Longleftarrow\Relbar\Relbar}
+
+\providecommand*\xLongrightarrow[2][]{%
+ \ext@arrow 0359\MT_Longrightarrow_fill:{#1\ }{#2\ }}
+\providecommand*\xLongleftarrow[2][]{%
+ \ext@arrow 3095\MT_Longleftarrow_fill:{\ #1}{\ #2}}
+
\providecommand*\underbracket{
\@ifnextchar[
{\MT_underbracket_I:w}
@@ -471,6 +482,7 @@
\mathcode`\:=32768
}
}
+\def\MT_active_colon_false:{}
\newcommand*\MATHT@dblcolon{\vcentcolon\mathrel{\mkern-.9mu}\vcentcolon}
\newcommand*\MATHT@coloneq{\vcentcolon\mathrel{\mkern-1.2mu}=}
\newcommand*\MATHT@dblcoloneq{\dblcolon\mathrel{\mkern-1.2mu}=}
@@ -822,7 +834,7 @@
\mathopen{##1}##2\mathclose{##3}
}
\@namedef{MT_delim_\MH_cs_to_str:N #1 _nostarnonscaled_wrapper:nnn}##1##2##3{
- \mathopen##1##2\mathclose##3
+ \ifx.##1\else\mathopen##1\fi##2\ifx.##3\else\mathclose##3\fi
}
}