moving gathered

This commit is contained in:
Ulrike Fischer 2025-02-01 01:15:22 +01:00
parent e1741b13d5
commit bdd3cd7480

View File

@ -58,7 +58,10 @@
\crcr \crcr
\ams@return@opt@arg \ams@return@opt@arg
} }
\IfPackageAtLeastTF{latex-lab-testphase-math}{2025-01-24}
{}
{
\PackageInfo{luamml}{patching~gathered}
\renewcommand \gathered [1] [c] { \renewcommand \gathered [1] [c] {
\RIfM@ \RIfM@
\else \else
@ -84,6 +87,7 @@
\crcr \crcr
\ams@return@opt@arg \ams@return@opt@arg
} }
}
\cs_set:Npn \endaligned { \cs_set:Npn \endaligned {
\crcr \crcr
@ -257,8 +261,7 @@
\UseTaggingSocket{math/luamml/mtable/tag/save} \UseTaggingSocket{math/luamml/mtable/tag/save}
} }
} }
} % this handled in latex-lab through \common@align@ending
\cs_set:Npn \endalign { \cs_set:Npn \endalign {
\math@cr \math@cr
\black@ \totwidth@ \black@ \totwidth@
@ -274,6 +277,7 @@
\fi \fi
\ignorespacesafterend \ignorespacesafterend
} }
}
% For a more interesting one, let's consider multline: % For a more interesting one, let's consider multline:
\cs_new_eq:NN \__luamml_amsmath_original_multline:n \multline@ \cs_new_eq:NN \__luamml_amsmath_original_multline:n \multline@