W3C home > Mailing lists > Public > www-math@w3.org > January 2013

mo accent attribute

From: Gurpreet Kaur <gur.trio@gmail.com>
Date: Thu, 31 Jan 2013 15:36:58 +0530
Message-ID: <CAKO=q7EJwgRzkxT9eetKGwMZVsis7-LeUz78+4jyiZW0tfFvAw@mail.gmail.com>
To: www-math@w3.org
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
, 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">

        <mo accent="true"> &#x21D0; </mo>
        <mo accent="false"> &#x21D0; </mo>

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.

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

This archive was generated by hypermail 2.3.1 : Tuesday, 6 January 2015 21:27:45 UTC