Re: Shortref [was: Re: Super and Subscripts]

Dave Raggett (dsr@hplb.hpl.hp.com)
Mon, 23 Jan 95 13:38:33 EST

> For double superscripts 3
> 2
> x = c m

> <math> x = c^2^3^^m </math> - this does not work (apparently)

It is interpreted by the parser as:

<math> x = c<sup>2</sup>3<sup></sup></math>

because the second ^ closes the sup element, rather than opening
a nested one.

> <math> x = c^2<sup>3</sup>^m </math> - but will this?

Yup. This works fine, as is confirmed by sgmls.

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