Skip to content

Commit 1f1a1a0

Browse files
Omikhleiaalerque
authored andcommitted
fix(math): Top-level math element must behave as an (horizontally stacked) mrow
Closes #1293
1 parent 6827eb9 commit 1f1a1a0

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

packages/math/typesetter.lua

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -51,7 +51,7 @@ function ConvertMathML (_, content)
5151
return nil
5252
end
5353
if content.command == "math" or content.command == "mathml" then -- toplevel
54-
return b.stackbox("V", convertChildren(content))
54+
return b.stackbox("H", convertChildren(content))
5555
elseif content.command == "mrow" then
5656
return b.stackbox("H", convertChildren(content))
5757
elseif content.command == "mphantom" then

0 commit comments

Comments
 (0)