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,10 +164,11 @@
$$ $$
\ignorespacesafterend \ignorespacesafterend
} }
}
% align and friends % align and friends
\cs_set:Npn \align@preamble { \PackageInfo{luamml}{patching~\string\align@preamble}
\cs_set:Npn \align@preamble {
& &
\hfil \hfil
\strut@ \strut@
@ -216,9 +217,9 @@
\set@field \set@field
\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
\fi \fi
@ -244,8 +245,8 @@
\fi \fi
\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}