moving gathered

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

View File

@ -58,8 +58,11 @@
\crcr
\ams@return@opt@arg
}
\renewcommand \gathered [1] [c] {
\IfPackageAtLeastTF{latex-lab-testphase-math}{2025-01-24}
{}
{
\PackageInfo{luamml}{patching~gathered}
\renewcommand \gathered [1] [c] {
\RIfM@
\else
\nonmatherr@ { \begin {gathered} }
@ -83,7 +86,8 @@
\hfil
\crcr
\ams@return@opt@arg
}
}
}
\cs_set:Npn \endaligned {
\crcr
@ -257,9 +261,8 @@
\UseTaggingSocket{math/luamml/mtable/tag/save}
}
}
}
\cs_set:Npn \endalign {
% this handled in latex-lab through \common@align@ending
\cs_set:Npn \endalign {
\math@cr
\black@ \totwidth@
\UseTaggingSocket{math/luamml/mtable/finalize} {align}
@ -273,6 +276,7 @@
$$
\fi
\ignorespacesafterend
}
}
% For a more interesting one, let's consider multline: