[latex3-commits] [git/LaTeX3-latex3-mathtools] master: fixed typo that caused an error, issue #25 (a8aa805)

daleif daleif at math.au.dk
Mon Apr 12 17:07:09 CEST 2021


Repository : https://github.com/latex3/mathtools
On branch  : master
Link       : https://github.com/latex3/mathtools/commit/a8aa805d3505672c7a27ee2be99ebd02cbfabf00

>---------------------------------------------------------------

commit a8aa805d3505672c7a27ee2be99ebd02cbfabf00
Author: daleif <daleif at math.au.dk>
Date:   Mon Apr 12 17:07:09 2021 +0200

    fixed typo that caused an error, issue #25


>---------------------------------------------------------------

a8aa805d3505672c7a27ee2be99ebd02cbfabf00
 ANNOUNCEMENT  |  7 +++++++
 mathtools.dtx | 14 ++++++++++----
 2 files changed, 17 insertions(+), 4 deletions(-)

diff --git a/ANNOUNCEMENT b/ANNOUNCEMENT
index 0a823f2..df7dca5 100644
--- a/ANNOUNCEMENT
+++ b/ANNOUNCEMENT
@@ -1,3 +1,10 @@
+Announcement release 2021/04/12
+
+For mathtools.dtx v1.27:
+
+* fixed issue #25: Two typos in \MultlinedHook.
+
+
 Announcement release 2021/03/28
 
 For mathtools.dtx v1.26:
diff --git a/mathtools.dtx b/mathtools.dtx
index 4078ac8..eadec00 100644
--- a/mathtools.dtx
+++ b/mathtools.dtx
@@ -69,7 +69,7 @@
 \input docstrip.tex
 \Msg{************************************************************************}
 \Msg{* Installation}
-\Msg{* Package: mathtools 2021/03/28 v1.26}
+\Msg{* Package: mathtools 2021/04/12 v1.27}
 \Msg{************************************************************************}
 
 \keepsilent
@@ -2982,7 +2982,7 @@ colorlinks,
 %    \begin{macrocode}
 %<*package>
 \ProvidesPackage{mathtools}%
-  [2021/03/28 v1.26 mathematical typesetting tools]
+  [2021/04/12 v1.27 mathematical typesetting tools]
 %    \end{macrocode}
 % \changes{v1.10}{2011/02/12}{Might as well make sure that we need the
 % latest version of \texttt{mhsetup}}
@@ -4198,7 +4198,10 @@ colorlinks,
   % THIS IS LUALATEX
   \newcommand\MultlinedHook{
     % from amsmath
-    \newenvironment{subarray}[1]{%
+%    \end{macrocode}
+% \changes{1.27}{2021/04/12}{need to be \cs{renewenvironment}}
+%    \begin{macrocode}
+    \renewenvironment{subarray}[1]{%
       \vcenter\bgroup
       \Let@ \restore at math@cr \default at tag
       \let\math at cr@@\AMS at math@cr@@  % <--- the fix
@@ -4215,7 +4218,10 @@ colorlinks,
       \crcr\egroup\egroup
     }
     % from mathtools
-    \newenvironment{crampedsubarray}[1]{%
+%    \end{macrocode}
+% \changes{1.27}{2021/04/12}{need to be \cs{renewenvironment}}
+%    \begin{macrocode}
+    \renewenvironment{crampedsubarray}[1]{%
       \vcenter\bgroup
       \Let@ \restore at math@cr \default at tag
       \let\math at cr@@\AMS at math@cr@@  % <--- the fix





More information about the latex3-commits mailing list.