mo accent attribute

Hi All,

I have some few questions regarding the accent attribute of mo.

accent"true" | "false" *set by dictionary* (false)Specifies whether this
operator should be treated as an accent (diacritical mark) when used as an
underscript or overscript; see
munder<http://www.w3.org/TR/MathML3/chapter3.html#presm.munder>
, mover <http://www.w3.org/TR/MathML3/chapter3.html#presm.mover> and
munderover <http://www.w3.org/TR/MathML3/chapter3.html#presm.munderover>.
accentunder "true" | "false"*automatic* Specifies whether *underscript* is
drawn as an "accent" or as a limit. An accent is drawn the same size as the
base (without incrementing scriptlevel) and is drawn closer to the base.
1 ) So how can we achieve this? :  The mo is accent false we can make it
smaller by reducing the font size and try shift it up incase it is on mover
and shift it down incase it is on munder.
2) Or do we need to play around the font-family or fonts?
3) There are some special gylphs such as ^, ' , " , how do we handle these?

Mathmlplayer i tested the below content

<math xmlns="http://www.w3.org/1998/Math/MathML">
  <mstyle mathsize="200%" displaystyle="false">

<mover>
        <mi>x</mi>
        <mo accent="true"> &#x21D0; </mo>
    </mover>
<mover>
        <mi>x</mi>
        <mo accent="false"> &#x21D0; </mo>
    </mover>
</math>

As I can see and understand it only changing the font size.

But for characters as such ^, '  , "  there is no difference incase accent
is true and false. They donot handle it. Mozilla is doing it pretty well.

Regards,
Gurpreet

Received on Thursday, 31 January 2013 10:07:45 UTC