texmath-0.12.5: test/writer/mml/sophomores_dream.test
<<< native
[ ESubsup (ESymbol Op "\8747") (ENumber "0") (ENumber "1")
, ESuper (EIdentifier "x") (EIdentifier "x")
, ESpace (1 % 6)
, EStyled TextNormal [ EIdentifier "d" ]
, EIdentifier "x"
, ESymbol Rel "="
, EUnderover
True
(ESymbol Op "\8721")
(EGrouped [ EIdentifier "n" , ESymbol Rel "=" , ENumber "1" ])
(ESymbol Ord "\8734")
, EGrouped
[ ESuper
(EDelimited
"(" ")" [ Right (ESymbol Op "\8722") , Right (ENumber "1") ])
(EGrouped [ EIdentifier "n" , ESymbol Bin "+" , ENumber "1" ])
, ESpace (1 % 6)
, ESuper
(EIdentifier "n")
(EGrouped [ ESymbol Op "\8722" , EIdentifier "n" ])
]
]
>>> mml
<?xml version='1.0' ?>
<math display="block" xmlns="http://www.w3.org/1998/Math/MathML">
<mrow>
<msubsup>
<mo>∫</mo>
<mn>0</mn>
<mn>1</mn>
</msubsup>
<msup>
<mi>x</mi>
<mi>x</mi>
</msup>
<mspace width="0.167em" />
<mstyle mathvariant="normal">
<mi>d</mi>
</mstyle>
<mi>x</mi>
<mo>=</mo>
<munderover>
<mo>∑</mo>
<mrow>
<mi>n</mi>
<mo>=</mo>
<mn>1</mn>
</mrow>
<mo accent="false">∞</mo>
</munderover>
<mrow>
<msup>
<mrow>
<mo stretchy="true" form="prefix">(</mo>
<mo>−</mo>
<mn>1</mn>
<mo stretchy="true" form="postfix">)</mo>
</mrow>
<mrow>
<mi>n</mi>
<mo>+</mo>
<mn>1</mn>
</mrow>
</msup>
<mspace width="0.167em" />
<msup>
<mi>n</mi>
<mrow>
<mo>−</mo>
<mi>n</mi>
</mrow>
</msup>
</mrow>
</mrow>
</math>