fix: Support MathML \oiint and \oiiint (#2461)

* fix: Support MathML \oiint and \oiiint

* Update direct input section of docs
This commit is contained in:
Ron Kok
2020-08-30 15:44:34 -07:00
committed by GitHub
parent ae90dbb78e
commit 010b267dd6
4 changed files with 63 additions and 1 deletions

View File

@@ -688,6 +688,61 @@ exports[`A MathML builder should use <mpadded> for raisebox 1`] = `
</math>
`;
exports[`A MathML builder should use <msupsub> for integrals 1`] = `
<math xmlns="http://www.w3.org/1998/Math/MathML">
<semantics>
<mrow>
<mstyle scriptlevel="0"
displaystyle="true"
>
<msubsup>
<mo>
</mo>
<mi>
a
</mi>
<mi>
b
</mi>
</msubsup>
<mo>
+
</mo>
<msubsup>
<mo>
</mo>
<mi>
a
</mi>
<mi>
b
</mi>
</msubsup>
<mo>
+
</mo>
<msubsup>
<mo>
</mo>
<mi>
a
</mi>
<mi>
b
</mi>
</msubsup>
</mstyle>
</mrow>
<annotation encoding="application/x-tex">
\\displaystyle\\int_a^b + \\oiint_a^b + \\oiiint_a^b
</annotation>
</semantics>
</math>
`;
exports[`A MathML builder should use <msupsub> for regular operators 1`] = `
<math xmlns="http://www.w3.org/1998/Math/MathML">
<semantics>