Access Keys:
Skip to content (Access Key - 0)

Web Publishing - Display Math Equations

There are various ways to include mathematical equations in web-published documents.

  • HTML from latex2html
    By default, latex2html creates GIF images of most equations (as well as special accents, external PostScript files, and any LaTeX environments it cannot directly translate into HTML). In the \equations*.html files on the left, all but the first equation are GIF images, whereas the *sample*.html files consist solely of HTML text.
  • HTML from TtH
    Unlike latex2html, TtH does not use images to display equations; instead, it translates all equations into HTML, relying on symbol fonts supported by common browsers to display equations. It may be necessary to configure your browser to display these fonts correctly. See: TtHMML, a TeX-to-MathML translator from the TtH author.
  • HTML with WebEQ
    WebEQ is designed to produce web-ready equations for inclusion in HTML files. It supports the emerging MathML specification, and can output equations as JPEG or PNG images, Java applets, and/or MathML code. MathML is a markup language which cannot yet be rendered directly by commercial web browsers, but can be used by other conversion tools.
  • PDF
    If you are starting with latex (or tex) source, you can generate PDF directly on Athena using pdflatex (pdftex). This is currently beta software, but generally produces good results; it does not require the intermediate processing of a DVI file with special handling of mathematical fonts as is otherwise recommended.
  • MathML
    MathML 2.0 is a product of the W3C Math working group. MathML is a low-level specification for describing mathematics as a basis for machine to machine communication. It provides a much needed foundation for the inclusion of mathematical expressions in web pages.
    Several implementations of MathML browsers and authoring tools are available, and many are open source software. Go to the MathML software list for descriptions and pointers, or read the Implementation and interoperability report.

IS&T Contributions

Documentation and information provided by IS&T staff members

Last Modified:

January 14, 2013

Get Help

Request help
from the Help Desk
Report a security incident
to the Security Team
c-web-publishing c-web-publishing Delete
web web Delete
publishing publishing Delete
math math Delete
equations equations Delete
html html Delete
latex latex Delete
tex tex Delete
pdf pdf Delete
Enter labels to add to this page:
Please wait 
Looking for a label? Just start typing.
This product/service is:
Easy to use
Difficult to use

This article is:
Adaptavist Theme Builder (4.2.3) Powered by Atlassian Confluence 3.5.13, the Enterprise Wiki