diff --git a/lib/LaTeXML/Package/amsmath.sty.ltxml b/lib/LaTeXML/Package/amsmath.sty.ltxml index f2962d642..a78f863aa 100644 --- a/lib/LaTeXML/Package/amsmath.sty.ltxml +++ b/lib/LaTeXML/Package/amsmath.sty.ltxml @@ -672,7 +672,7 @@ sub rearrangeLoneAMSAligned { # and synthesize a box from the lhs & rhs. $document->setNodeBox($main, MathWhatsit(map { $document->getNodeBox($_) } @cells)); closeMathFork($document, $eqn, $main, $branch); - } } } } + } } } } return; } #====================================================================== @@ -749,7 +749,7 @@ DefPrimitive('\numberwithin[]{}{}', sub { # Section 3.11.2 Cross references to equation numbers DefConstructor('\eqref Semiverbatim', "()", - mode => 'restricted_horizontal', enterHorizontal => 1, + mode => 'restricted_horizontal', enterHorizontal => 1, properties => sub { (label => CleanLabel($_[1])); }); DefMacro('\thetag{}', '{\rm #1}'); @@ -954,7 +954,14 @@ DefConstructor('\underset{}{}', . "#1" . "#2" . ""); - +DefConstructor('\overunderset{}{}{}', + "" + . "#1" + . "" + . "#2" + . "#3" + . "" + . ""); #====================================================================== # Section 4.11 Fractions and related commands @@ -1189,7 +1196,7 @@ DefConstructor('\sideset{}{}{}', sub { if (my $scriptop = IsScript($script)) { $node = sidesetWrap($document, $node, 'pre', $$scriptop[1], $level, $script); $level++ if $$scriptop[0] eq 'FLOATING'; # After node is seen! - } } + } } my @after = (); foreach my $script ($post->unlist) { # If it's a script, handle it (non-scripts dealt with above & below)