move smallmatrix patch

This commit is contained in:
Ulrike Fischer 2025-02-02 01:27:50 +01:00
parent cfeb408332
commit 3d4d7ecd22

View File

@ -359,6 +359,11 @@
% Finally some slightly different stuff.
% While {matrix} is covered by {array}, we still have {smallmatrix}:
\IfPackageAtLeastTF{latex-lab-testphase-math}{2025-01-24}
{}
{ \PackageInfo{luamml}{patching~smallmatrix}
\renewenvironment {smallmatrix} {
\UseTaggingSocket{ math/luamml/annotate/false } {} { \null\, }
\vcenter \bgroup
@ -400,6 +405,7 @@
\UseTaggingSocket{math/luamml/mtable/innertable/finalize}
\UseTaggingSocket{ math/luamml/annotate/false } {}{ \, }
}
}
% {cases} is defined by the kernel, but we patch the overwritten version by amsmath.
\cs_set:Npn \env@cases {