packages feed

texmath-0.12.5: test/writer/mml/mfracZcomp-22.test

<<< native
[ EText TextNormal "Inline, styles auto, display and text\160"
, EGrouped
    [ EFraction NormalFrac (ENumber "1") (ENumber "2")
    , ESymbol Bin "-"
    , EFraction NormalFrac (ENumber "1") (ENumber "2")
    , ESymbol Bin "+"
    , EFraction NormalFrac (ENumber "1.23456") (ENumber "7890")
    ]
, EText
    TextNormal
    ", the rendering should be script-size, normal-size and script-size in this example. Fraction lines should align vertically with the math axis."
]
>>> mml
<?xml version='1.0' ?>
<math display="block" xmlns="http://www.w3.org/1998/Math/MathML">
  <mrow>
    <mtext mathvariant="normal">Inline, styles auto, display and text </mtext>
    <mrow>
      <mfrac>
        <mn>1</mn>
        <mn>2</mn>
      </mfrac>
      <mo>-</mo>
      <mfrac>
        <mn>1</mn>
        <mn>2</mn>
      </mfrac>
      <mo>+</mo>
      <mfrac>
        <mn>1.23456</mn>
        <mn>7890</mn>
      </mfrac>
    </mrow>
    <mtext mathvariant="normal">, the rendering should be script-size, normal-size and script-size in this example. Fraction lines should align vertically with the math axis.</mtext>
  </mrow>
</math>