move smallmatrix patch
This commit is contained in:
parent
cfeb408332
commit
3d4d7ecd22
@ -359,47 +359,53 @@
|
|||||||
|
|
||||||
% Finally some slightly different stuff.
|
% Finally some slightly different stuff.
|
||||||
% While {matrix} is covered by {array}, we still have {smallmatrix}:
|
% While {matrix} is covered by {array}, we still have {smallmatrix}:
|
||||||
\renewenvironment {smallmatrix} {
|
|
||||||
\UseTaggingSocket{ math/luamml/annotate/false } {} { \null\, }
|
\IfPackageAtLeastTF{latex-lab-testphase-math}{2025-01-24}
|
||||||
\vcenter \bgroup
|
{}
|
||||||
\Let@
|
{ \PackageInfo{luamml}{patching~smallmatrix}
|
||||||
\restore@math@cr
|
|
||||||
\default@tag
|
\renewenvironment {smallmatrix} {
|
||||||
\baselineskip 6 \ex@
|
\UseTaggingSocket{ math/luamml/annotate/false } {} { \null\, }
|
||||||
\lineskip 1.5 \ex@
|
\vcenter \bgroup
|
||||||
\lineskiplimit \lineskip
|
\Let@
|
||||||
\ialign \bgroup
|
\restore@math@cr
|
||||||
\hfil
|
\default@tag
|
||||||
$
|
\baselineskip 6 \ex@
|
||||||
\m@th
|
\lineskip 1.5 \ex@
|
||||||
\scriptstyle
|
\lineskiplimit \lineskip
|
||||||
##
|
\ialign \bgroup
|
||||||
% No \scriptsize here since we want to add the mstyle nodes
|
\hfil
|
||||||
\UseTaggingSocket{math/luamml/save/nn}{ {} {mtd}}
|
$
|
||||||
$
|
\m@th
|
||||||
\UseTaggingSocket{math/luamml/mtable/finalizecol}{last}
|
\scriptstyle
|
||||||
\hfil
|
##
|
||||||
&&
|
% No \scriptsize here since we want to add the mstyle nodes
|
||||||
\thickspace
|
\UseTaggingSocket{math/luamml/save/nn}{ {} {mtd}}
|
||||||
\hfil
|
$
|
||||||
$
|
\UseTaggingSocket{math/luamml/mtable/finalizecol}{last}
|
||||||
\m@th
|
\hfil
|
||||||
\scriptstyle
|
&&
|
||||||
##
|
\thickspace
|
||||||
% No \scriptsize here since we want to add the mstyle nodes
|
\hfil
|
||||||
\UseTaggingSocket{math/luamml/save/nn}{ {} {mtd}}
|
$
|
||||||
$
|
\m@th
|
||||||
\UseTaggingSocket{math/luamml/mtable/finalizecol}{last}
|
\scriptstyle
|
||||||
\hfil
|
##
|
||||||
\crcr
|
% No \scriptsize here since we want to add the mstyle nodes
|
||||||
}{%
|
\UseTaggingSocket{math/luamml/save/nn}{ {} {mtd}}
|
||||||
\crcr
|
$
|
||||||
\UseExpandableTaggingSocket{math/luamml/mtable/smallmatrix/save}
|
\UseTaggingSocket{math/luamml/mtable/finalizecol}{last}
|
||||||
\egroup
|
\hfil
|
||||||
\egroup
|
\crcr
|
||||||
\UseTaggingSocket{math/luamml/mtable/innertable/finalize}
|
}{%
|
||||||
\UseTaggingSocket{ math/luamml/annotate/false } {}{ \, }
|
\crcr
|
||||||
}
|
\UseExpandableTaggingSocket{math/luamml/mtable/smallmatrix/save}
|
||||||
|
\egroup
|
||||||
|
\egroup
|
||||||
|
\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.
|
% {cases} is defined by the kernel, but we patch the overwritten version by amsmath.
|
||||||
\cs_set:Npn \env@cases {
|
\cs_set:Npn \env@cases {
|
||||||
|
Loading…
x
Reference in New Issue
Block a user