Re: mrow - child vertical align

David Carlisle writes in part:

> I attach the rendering of firefox and mathplayer with the following
> example, which shows fractions of different sizes aligning such that
> their bars match that of + (which is also what TeX would do).
>
> ...
>
> <!DOCTYPE html>
> <html>
> <title>test</title>
> <body>
> <math xmlns="http://www.w3.org/1998/Math/MathML">
> <mrow>
> <mtext>aaa</mtext>
> <mo>+</mo>
> <mfrac><mn>1</mn><mn>2</mn></mfrac>
> <mtext>aaa</mtext>
> <mo>+</mo>
> <mfrac><msup><mi>A</mi><mi>A</mi></msup><mi>b</mi></mfrac>
> </mrow>
> </math>
> </body>
> </html>

Of course, the semantics are not defined, but, relative to default
semantics, you've used mtext where I think it would have been better
to use mi (without, for correct user agents, changing the rendered
appearance).  Thus, the mrow might be:

<mrow>
<mtext>An example:&nbsp;</mtext>
<mi>aaa</mi>
<mo>+</mo>
<mfrac><mn>1</mn><mn>2</mn></mfrac>
<mi>aaa</mi>
<mo>+</mo>
<mfrac><msup><mi>A</mi><mi>A</mi></msup><mi>b</mi></mfrac>
</mrow>


                                    -- Bill

Received on Monday, 18 February 2013 19:33:12 UTC