Skip to content

Commit

Permalink
test(math): Change greek gamma variant in math-stretchy test
Browse files Browse the repository at this point in the history
One-letter identifiers are in italic as per MathML, but in TeX-like math
the Gamma is upright ("normal"). Thus, change the "normal" math variant in
the MathML example, so tha tboth MathML and TeX-like math end up resulting
in the same output.
  • Loading branch information
Omikhleia authored and Didier Willis committed Oct 23, 2024
1 parent 01c8f48 commit 320efa4
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions tests/math-stretchy.xml
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@
Stretchy parentheses, text, MathML:
<mathml>
<mrow>
<mi>Γ</mi><mo>(</mo><mfrac><mi>ζ</mi><mn>2</mn></mfrac><mo>)</mo>
<mi mathvariant="normal">Γ</mi><mo>(</mo><mfrac><mi>ζ</mi><mn>2</mn></mfrac><mo>)</mo>
<mo>+</mo> <msup><mi>x</mi><mn>2</mn></msup>
<mrow>
<mo>(</mo><mi>x</mi><mo>+</mo><mn>1</mn><mo>)</mo>
Expand All @@ -16,7 +16,7 @@ Stretchy parentheses, text, MathML:
Stretchy parentheses, display, MathML:
<mathml mode="display">
<mrow>
<mi>Γ</mi><mo>(</mo><mfrac><mi>ζ</mi><mn>2</mn></mfrac><mo>)</mo>
<mi mathvariant="normal">Γ</mi><mo>(</mo><mfrac><mi>ζ</mi><mn>2</mn></mfrac><mo>)</mo>
<mo>+</mo> <msup><mi>x</mi><mn>2</mn></msup>
<mrow>
<mo>(</mo><mi>x</mi><mo>+</mo><mn>1</mn><mo>)</mo>
Expand Down

0 comments on commit 320efa4

Please sign in to comment.