Re: Super and Subscripts

Dave Raggett (dsr@hplb.hpl.hp.com)
Mon, 16 Jan 95 12:42:32 EST

> <SUB> and <SUP> can be used on their own in running text (I don't know
> what they are useful for, but anyway). But in a formula, I would like
> to see less ambiguous markup. Consider:

> 2
> E=c m <MATH>E=c<SUP>2</SUP>m</MATH>

> Does the `2' belong to the `c' or to the `m'?

The way the spec is written right now, this is a matter for convention,
and indeed works the way you expect. You could make it explicit, however,
with the ALIGN attribute, as in:

2
E=c m <MATH>E=c<SUP ALIGN=RIGHT>2</SUP>m</MATH>

-- Dave Raggett <dsr@w3.org> tel: +44 272 228046 fax: +44 272 228003
Hewlett Packard Laboratories, Filton Road, Bristol BS12 6QZ, United Kingdom