The presentation of this document has been augmented to identify changes from a previous version. Three kinds of changes are highlighted: new, added text, changed text, and deleted text.

# Mathematical Markup Language (MathML) Version 2.0 (2nd Edition)

## W3C Working Draft 11 April 2003

This version:
  http://www.w3.org/TR/2003/WD-MathML2-20030411/
Latest version:
  http://www.w3.org/TR/MathML2/
Previous version:
  http://www.w3.org/TR/2002/WD-MathML2-20021219/
Editors:
  David Carlisle, NAG
  Patrick Ion, Mathematical Reviews, American Mathematical Society
  Robert Miner, Design Science, Inc.
  Nico Poppelier, Penta Scope
Principal Authors:
  Ron Ausbrooks, Stephen Buswell, David Carlisle, Stéphane Dalmas, Stan Devitt, Angel Diaz, Roger Hunter, Patrick Ion, Robert Miner, Nico Poppelier, Bruce Smith, Neil Soiffer, Robert Sutor, Stephen Watt

Please refer to the errata for this document, which may include some normative corrections.

In addition to the HTML version, this document is also available in these non-normative formats: diff marked HTML version, XHTML+MathML version, PDF (paper formatted) version, PDF (screen formatted) version, zip archive of XML sources and stylesheets, and zip archive of (X)HTML documents.

Copyright © 1998-2003 W3C® (MIT, ERCIM, Keio), All Rights Reserved. W3C liability, trademark, document use and software licensing rules apply.

## Abstract

This specification defines the Mathematical Markup Language, or MathML. MathML is an XML application for describing mathematical notation and capturing both its structure and content. The goal of MathML is to enable mathematics to be served, received, and processed on the World Wide Web, just as HTML has enabled this functionality for text.

This specification of the markup language MathML is intended primarily for a readership consisting of those who will be developing or implementing renderers or editors using it, or software that will communicate using MathML as a protocol for input or output. It is not a User's Guide but rather a reference document.

This document begins with background information on mathematical notation, the problems it poses, and the philosophy underlying the solutions MathML 2.0 proposes. MathML can be used to encode both mathematical notation and mathematical content. About thirty of the MathML tags describe abstract notational structures, while another about one hundred and fifty provide a way of unambiguously specifying the intended meaning of an expression. Additional chapters discuss how the MathML content and presentation elements interact, and how MathML renderers might be implemented and should interact with browsers. Finally, this document addresses the issue of MathML characters and their relation to fonts.

While MathML is human-readable, it is anticipated that, in all but the simplest cases, authors will use equation editors, conversion programs, and other specialized software tools to generate MathML. Several early versions of such MathML tools already exist, and a number of others, both freely available software and commercial products, are under development.

## Status of this Document

This section describes the status of this document at the time of its publication. Other documents may supersede this document. The latest status Jof this document series is maintained at the W3C.

This is the W3C Last Call Working Draft of MathML 2.0 2nd Edition for review by W3C members and other interested parties. Comments on this document should be sent to the mailing list www-math@w3.org (list archives). Comments should be sent during the last call review period, which ends on 9 May 2003.

J

This is a revised edition of aJ document thatJ has been reviewed by W3C Members and other interested parties and has been endorsed by the Director as a W3C Recommendation. It is a stable document and may be used as reference material or cited as a normative reference from another document. W3C's role in making the Recommendation is to draw attention to the specification and to promote its widespread deployment. This enhances the functionality and interoperability of the Web.J

This document has been produced by the W3C Math Working Group as part of W3C Math Activity J. The decision to give this document Last Call status is noted in the minutes of Math Working Group teleconference (member only link).J The goals of that W3C Math Working Group are discussed in the W3C Math WG Charter (revised February 2000 and June 2001 from original of 11 June 1998)J. A list of participants in the W3C Math Working Group is available.

The MathML 2.0 specification was reviewed extensively during its development, as provided by the W3C Process. During end of that period the W3C Math Working Group members encouraged implementation using the specification and comment on it; a report on Implementation and Interoperability experiences and issues has been made public. It is intended that this will be updated from time to time by the continuing work of the W3C that oversees the MathML 2.0 Recommendation. The W3C Math Working Group maintains a public Web page http://www.w3.org/Math/ which contains further background information.

The preparation of a Second Edition of the MathML 2.0 Specification allows the revision of that document to provide a coherent whole containing corrections to all the known errata and clarifications of some smaller issues that proved problematic. It is not the occasion for any fundamental changes in the language MathML 2.0.

J

As the changes in this second edition are largely based upon implementation experience and public comment on the existing Recommendation, it is anticipated that after the Last Call review period, the next draft of this document will be a Proposed Recommendation.

J

Public discussion of MathML and issues of support through the W3C for mathematics on the Web takes place on the public mailing list of the Math Working Group (list archives). To subscribe send an email to www-math-request@w3.org with the word `subscribe` in the subject line.

Please report errors in this document to www-math@w3.org. The list of known errors in this document is available at http://www.w3.org/2001/02/MathML2-errata.J

The English version of this specification is the only normative version. Information about translations of this document is available at http://www.w3.org/2001/02/MathML2-translations.

The MathML 2.0 Recommendation is made available in different formats. In case of a discrepancy between any of the derived forms and that found in the W3C's archive of Recommendations the definitive version is naturally the archived Recommendation.

J

A list of all current W3C Technical Reports can be found at http://www.w3.org/TR.

Patent disclosures relevant to this specification may be found on the Math Working Group's patent disclosure page.

J

The basic structure of this document is the same as that of the earlier MathML 2.0 Recommendation.J MathML 2.0 itself was a revision of the earlier W3C Recommendation MathML 1.01. It differed from it in that all chapters were updated and two new ones and some appendices were added.J

Since MathML 1.01, Chapters 1 and 2, which are introductory material, have been revised to reflect the changes elsewhere in the document, and in the rapidly evolving Web environment. Chapters 3 and 4 have been extended to describe new functionalities added as well as smaller improvements of material already proposed. Chapter 5 has been newly written to reflect changes in the technology available. The major tables in Chapter 6 have been regenerated and reorganized to reflect an improved list of characters useful for mathematics, and the text revised to reflect the new situation in regard to Unicode. Chapter 7 has been completely revised since Web technology has changed. A new Chapter 8 on the DOM for MathML 2.0 has been added; the latter points to new appendices D and E for detailed listings.

J

The appendices have been reorganized into normative and non-normative groups. The material in Appendices D, E and G was not present in MathML 1.01.

J