From d6f438a532f06cc378e429af3d674072f78c8a71 Mon Sep 17 00:00:00 2001 From: Ulrike Fischer Date: Fri, 7 Feb 2025 16:44:52 +0100 Subject: [PATCH] move cases --- luamml-patches-amsmath.sty | 18 +++++++++--------- 1 file changed, 9 insertions(+), 9 deletions(-) diff --git a/luamml-patches-amsmath.sty b/luamml-patches-amsmath.sty index c100ee5..6baf949 100644 --- a/luamml-patches-amsmath.sty +++ b/luamml-patches-amsmath.sty @@ -401,17 +401,17 @@ \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. + \PackageInfo{luamml}{patching~\string\env@cases} + \cs_set:Npn \env@cases { + \let \@ifnextchar \new@ifnextchar + \left \lbrace + \def \arraystretch {1.2} + \array {@{}l@{\quad \luamml_ignore:}l@{}} + } } %end package test -% {cases} is defined by the kernel, but we patch the overwritten version by amsmath. -\cs_set:Npn \env@cases { - \let \@ifnextchar \new@ifnextchar - \left \lbrace - \def \arraystretch {1.2} - \array {@{}l@{\quad \luamml_ignore:}l@{}} -} - - \cs_set:Npn \bBigg@ #1 #2 { { \ensuremath {