texmath-0.12.5: test/reader/mml/mfracZcomp-06.test
<<< mml
<?xml version="1.0" encoding="UTF-8"?>
<math xmlns="http://www.w3.org/1998/Math/MathML">
<mtext>Inline, text style, thick line </mtext>
<mstyle displaystyle="false" scriptlevel="0">
<mstyle displaystyle="true" scriptlevel="0">
<mfrac linethickness="1pt">
<mrow>
<msup>
<mi>x</mi>
<mn>2</mn>
</msup>
<mo form="infix">+</mo>
<mn>1</mn>
</mrow>
<mi>x</mi>
</mfrac>
</mstyle>
<mstyle displaystyle="false" scriptlevel="0">
<mfrac linethickness="1pt">
<mrow>
<msup>
<mi>x</mi>
<mn>2</mn>
</msup>
<mo form="infix">+</mo>
<mn>1</mn>
</mrow>
<mi>x</mi>
</mfrac>
</mstyle>
</mstyle>
<mtext> the end.</mtext> </math>
>>> native
[ EText TextNormal "Inline, text style, thick line\160"
, EGrouped
[ EFraction
NormalFrac
(EGrouped
[ ESuper (EIdentifier "x") (ENumber "2")
, ESymbol Bin "+"
, ENumber "1"
])
(EIdentifier "x")
, EFraction
NormalFrac
(EGrouped
[ ESuper (EIdentifier "x") (ENumber "2")
, ESymbol Bin "+"
, ENumber "1"
])
(EIdentifier "x")
]
, EText TextNormal "\160the end."
]