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

@@ -44,6 +44,11 @@ describe("A MathML builder", function() {
expect(getMathML("\\displaystyle\\sum_a^b")).toMatchSnapshot();
});
it('should use <msupsub> for integrals', () => {
expect(getMathML("\\displaystyle\\int_a^b + " +
"\\oiint_a^b + \\oiiint_a^b")).toMatchSnapshot();
});
it('should use <msupsub> for regular operators', () => {
expect(getMathML("\\textstyle\\sum_a^b")).toMatchSnapshot();
});