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

Re: Best way to implement sup/sub???

From: Robert Miner <RobertM@dessci.com>
Date: Thu, 11 Apr 2002 22:53:13 -0500
Message-Id: <200204120353.WAA07627@wisdom.geomtech.com>
To: jimbofc@yahoo.com
CC: www-math@w3.org

Hi.

> I'm writing a JavaScript program to translate MathML(1.01)-Presentation
> into HTML4, with backwards compatibility for HTML3 (so that all browsers
> down to NS3 can see & print MathML, in addition to better support for
> alternate formats).  I'm pretty satisfied with my progress so far, but I
> would like some help with a design decision:

Interesting project.  I'll be very interested in seeing it when you're
ready to show it.

> Superscripts and Subscripts can be represented using tables or the
> sup/sub elements in HTML.  When an MathML element uses both Superscripts
> and subscripts, then tables are the way to go.  However, should I use
> the sup/sub elements for simple subscripts and superscripts instead of a
> complicated table???

My vote would be yes.  Simple superscripts are so common, and HTML
tables are pretty heavy weight. 

--Robert

------------------------------------------------------------------
Robert Miner                                    RobertM@dessci.com
MathML 2.0 Specification Co-editor                    651-223-2883
Design Science, Inc.   "How Science Communicates"   www.dessci.com
------------------------------------------------------------------
Received on Thursday, 11 April 2002 23:53:26 GMT

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