The best method for displaying mathematics on the web is a controversial issue, and several alternatives to using MathML have been developed. A possible approach to displaying mathematical equations is the combination of XHTML and CSS. In this field a major effort is being undertaken by George Chavchanidze who offers the XML-MAIDEN DTD, along with core math stylesheets and JavaScripts that transform, for example, LaTeX syntax into XML+CSS equivalents.
An important requirement is the ability to display matrices correctly. Using CSS and XML I developed a technique for creating matrices and vectors. At the time of the experiment it was unique in the sense that it also supports the corners which are used for notating matrices on paper. However, the method later developed by George Chavchanidze is more elegant as it makes smart use of table border-collapsing (annotated stylesheet). My approach is still interesting in the way the desired visual effect is achieved: position generated content as to obscure part of the border of the parent element.
The XML page makes use of practically the same code as the XHTML one, only the sections with matrices uses custom tags. To give the page a proper layout though, I have created an XML-to-XHTML stylesheet which emulates Opera's internal UA stylesheet.
display:inline-table;
and CSS generated content, and consequently the design is severely broken in other browsers. The required CSS depends on the background-color of the page and is therefore not applicable in a core math stylesheet.© 2003-2006, Mark Schenk.