move align commands to latex-lab

This commit is contained in:
Ulrike Fischer 2025-02-04 01:09:22 +01:00
parent 36cfb020d2
commit 28d2b57997

View File

@ -164,9 +164,10 @@
$$ $$
\ignorespacesafterend \ignorespacesafterend
} }
}
% align and friends % align and friends
\PackageInfo{luamml}{patching~\string\align@preamble}
\cs_set:Npn \align@preamble { \cs_set:Npn \align@preamble {
& &
\hfil \hfil
@ -217,7 +218,7 @@
\hfil \hfil
\tabskip\alignsep@ \tabskip\alignsep@
} }
\PackageInfo{luamml}{patching~\string\math@cr@@@align}
\cs_set:Npn \math@cr@@@align { \cs_set:Npn \math@cr@@@align {
\ifst@rred \ifst@rred
\nonumber \nonumber
@ -245,7 +246,7 @@
\global \lineht@ \z@ \global \lineht@ \z@
\cr \cr
} }
}
% This was lost anyway, as the latex-lab code overwrites % This was lost anyway, as the latex-lab code overwrites
% the definition again. % the definition again.
\IfPackageAtLeastTF{latex-lab-testphase-math}{2025-01-24} \IfPackageAtLeastTF{latex-lab-testphase-math}{2025-01-24}