Re: mrow - child vertical align

Hi,

thank you,
But what would be the rendering if I have (default mathsize=25).

<mrow>
<mtext>An example:&nbsp;</mtext>
<mi mathsize="50">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>

How would be displayed "aaa" ? Centered ?
It seems better to be aligned to baseline both texts like: An example: aaa

thank you for your time
Ionel Alexandru
www.fmath.info


On Mon, Feb 18, 2013 at 2:32 PM, William F Hammond
<hammond@csc.albany.edu>wrote:

> 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 20:44:14 UTC