mirror of
https://github.com/Smaug123/KaTeX
synced 2025-10-12 06:28:40 +00:00
* Implement correct macros for liminf and limsup, fixes #111 * fix nits
This commit is contained in:
@@ -77,6 +77,76 @@ exports[`A MathML builder should make prime operators into <mo> nodes 1`] = `
|
||||
|
||||
`;
|
||||
|
||||
exports[`A MathML builder should output \\limsup_{x \\rightarrow \\infty} correctly in \\textstyle 1`] = `
|
||||
|
||||
<math>
|
||||
<semantics>
|
||||
<mrow>
|
||||
<msub>
|
||||
<mo>
|
||||
<mi mathvariant="normal">
|
||||
lim sup
|
||||
</mi>
|
||||
<mo>
|
||||
|
||||
</mo>
|
||||
</mo>
|
||||
<mrow>
|
||||
<mi>
|
||||
x
|
||||
</mi>
|
||||
<mo>
|
||||
→
|
||||
</mo>
|
||||
<mi mathvariant="normal">
|
||||
∞
|
||||
</mi>
|
||||
</mrow>
|
||||
</msub>
|
||||
</mrow>
|
||||
<annotation encoding="application/x-tex">
|
||||
\\limsup_{x \\rightarrow \\infty}
|
||||
</annotation>
|
||||
</semantics>
|
||||
</math>
|
||||
|
||||
`;
|
||||
|
||||
exports[`A MathML builder should output \\limsup_{x \\rightarrow \\infty} in displaymode correctly 1`] = `
|
||||
|
||||
<math>
|
||||
<semantics>
|
||||
<mrow>
|
||||
<munder>
|
||||
<mo>
|
||||
<mi mathvariant="normal">
|
||||
lim sup
|
||||
</mi>
|
||||
<mo>
|
||||
|
||||
</mo>
|
||||
</mo>
|
||||
<mrow>
|
||||
<mi>
|
||||
x
|
||||
</mi>
|
||||
<mo>
|
||||
→
|
||||
</mo>
|
||||
<mi mathvariant="normal">
|
||||
∞
|
||||
</mi>
|
||||
</mrow>
|
||||
</munder>
|
||||
</mrow>
|
||||
<annotation encoding="application/x-tex">
|
||||
\\limsup_{x \\rightarrow \\infty}
|
||||
</annotation>
|
||||
</semantics>
|
||||
</math>
|
||||
|
||||
`;
|
||||
|
||||
exports[`A MathML builder should render boldsymbol with the correct mathvariants 1`] = `
|
||||
|
||||
<math>
|
||||
|
Reference in New Issue
Block a user