W3C home > Mailing lists > Public > www-math@w3.org > April 2003

Re: About MathML

From: Max Froumentin <mf@w3.org>
Date: Wed, 30 Apr 2003 13:35:52 +0200
To: "Antonietta Fortunato" <fortunato@gauss.crmpa.unisa.it>
Cc: <www-math@w3.org>
Message-ID: <86d6j4jjzb.fsf@sophia.inria.fr>

Hi Antonietta,

"Antonietta Fortunato" <fortunato@gauss.crmpa.unisa.it> wrote:

> I would like to change the colors and the format of the text.

This is normally done through CSS. Like the spec shows [1], you 
can have a CSS style sheet that has statements such as:

math { font-size: 80% }
mi { color: blue }

Otherwise you can use the mathml-specific style attributes:
mathvariant, mathsize, mathcolor, mathbackground, as described in [2]

But perhaps your problems come from lack of support in the rendered
you're using. If the above doesn't work can you tell us what you are
using as well as examples?

Cheers,

Max.

[1] http://www.w3.org/TR/2003/WD-MathML2-20030411/chapter7.html#interf.style
[2] http://www.w3.org/TR/2003/WD-MathML2-20030411/chapter3.html#presm.commatt
Received on Wednesday, 30 April 2003 07:36:01 GMT

This archive was generated by hypermail 2.2.0+W3C-0.50 : Saturday, 20 February 2010 06:12:54 GMT