extend common@align@ending

This commit is contained in:
Ulrike Fischer 2025-02-23 20:52:02 +01:00
parent 8b4e949008
commit 7b0890ba24

View File

@ -7,6 +7,25 @@
% But they are almost identical to the original and only % But they are almost identical to the original and only
% add luamml commands in appropriate places, so they would % add luamml commands in appropriate places, so they would
% mostly disappear if there were enough hooks in amsmath. % mostly disappear if there were enough hooks in amsmath.
\IfPackageAtLeastTF{latex-lab-testphase-math}{2025-02-24}
{}
{
\def\common@align@ending {
\math@cr \black@\totwidth@
\UseExpandableTaggingSocket {math/luamml/mtable/finalize} {\@currenvir}
\egroup
\ifingather@
\restorealignstate@
\egroup
\nonumber
\ifnum0=`{\fi\iffalse}\fi
\else
$$%
\fi
\ignorespacesafterend
}
}
\IfPackageAtLeastTF{latex-lab-testphase-math}{2025-01-24} \IfPackageAtLeastTF{latex-lab-testphase-math}{2025-01-24}
{} {}
{ {