W3C home > Mailing lists > Public > www-math@w3.org > March 2000

Re: incremental change in MathML

From: Neil Soiffer <soiffer@wolfram.com>
Date: Fri, 31 Mar 2000 10:15:37 -0800 (PST)
Message-Id: <200003311815.KAA00671@wolfram.com>
To: lpadovan@cs.unibo.it
Cc: www-math@w3.org
> Hi everyone,
> I'm studying the latest Working Draft of MathML. In section 3.3.4.1 (style
> change) it says that the only exception to the inheritance mechanism of
> attribute values "is when the value given on the begin tag is documented as
> specifying an incremental change to the value inherited".
> Indeed, the "scriptlevel" attribute in mstyle can specify an incremental
> change. Are there any other attributes such this one?
> I believe that the % (percentage) unit in a unit-value is not to be
> considered an incremental change, is this correct?
> Thanks in advance,
> regards,
> 
> luca p.

In most cases, '%' is an incremental change.  Eg,

<mstyle fontsize='20pt'>
	<mi fontsize='50%'> x </mi>
</mstyle>

The 'x' would be rendered in 10pt.

mstyle is used to override default and inherited values. Anytime a
percentage refers to the inherited value (which might be inherited from
some global default such as a possible operator dictionary), then mstyle
can be used to change the value that is inherited, and hence the value
used by the '%'.

	Neil Soiffer
Received on Friday, 31 March 2000 13:15:16 GMT

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