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

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 UTC