MathML (from the English Mathematical Markup Language ) is an XML -based markup language for representing mathematical symbols and formulas in WWW documents. MathML is recommended by the W3C math group.
| (MathML) Mathematical Markup Language | |
|---|---|
| Type of | Computer layout |
| Developer | W3C Consortium |
| Written on | Initially WEB |
| First edition | 1996 [1] |
| condition | Supported by |
| Site | w3.org/Math/ |
MathML considers not only representation , but also the meaning of formula elements. A markup system for mathematical semantics is also being developed to complement MathML. It is called OpenMath .
MathML has 2 versions - Presentation MathML and Content MathML .
Content
Version History
MathML was proposed in 1995 as a <math> tag as part of the HTML 3 standard. However, this standard was not implemented in browsers , and MathML did not find a place in the HTML 3.2 standard [1] .
- July 1999 - version 1.02
- February 2001 - version 2.0
- October 2003 - second edition of version 2.0
- October 2010 - version 3.0
In HTML5, MathML has become part of the markup language [2] [1] .
Example
In tex description
x = \ frac { -b \ pm \ sqrt { b ^ 2 - 4ac }} { 2a }
used to represent the formula
The following is a description of this formula using MathML:
<? xml version = "1.0" encoding = "UTF-8"?> <math xmlns = "http://www.w3.org/1998/Math/MathML" > <mrow> <mi> x </mi> <mo> = </mo> <mfrac> <mrow> <mrow> <mo> - </mo> <mi> b </mi> <mo> ± </mo> </mrow> <msqrt> <mrow > <msup> <mi> b </mi> <mn> 2 </mn> </msup> <mo> - </mo> <mrow> <mn> 4 </mn> <mi> a </ mi > <mi> c </mi> </mrow> </mrow> </msqrt> </mrow> <mrow> <mn> 2 </mn> <mi> a </mi> </mrow> </ mfrac> </mrow> </math> MathML's XML structure provides a wide range of uses and allows you to quickly display formulas in applications such as browsers , as well as easily interpret their meanings in mathematical software products.
Software Support
You should be wary of information that the software product supports MathML, as a rule, the version of supported MathML is not reported.
There are many utilities for converting mathematical expressions to MathML, including converters between TeX and MathML.
The MathML markup language is supported by many modern browsers [3] :
- Mozilla Firefox has supported MathML 2.0 since Firefox 1.5. MathML 3.0 support is currently under development.
- Opera partially [3] supported MathML starting from version 9.5 (build 9656) (dated November 16, 2007 ), but after switching to WebKit support was discontinued.
Google Chrome officially supported MathML in version 24 [4] , but was later discontinued. [5] Many other browsers support this format when installing the appropriate plugins .
MathJax allows you to support MathML in browsers that do not have native format support using JavaScript .
In addition, MathML is supported by major office programs, such as Microsoft Word and OpenOffice.org , as well as mathematical software products, for example, Mathematica , Maple .
Windows 7 supports handwriting for formulas. The recognition result is presented as a MathML expression [6] .
Notes
- ↑ 1 2 3 Peter Krautzberger, MathML Forges On
- ↑ http://www.w3.org/TR/html5/embedded-content-0.html#mathml Archived on June 6, 2013. 4.8.15 MathML]
- ↑ 1 2 Can I use MathML
- ↑ Chromium Blog: A web developer's guide to the latest Chrome Beta
- ↑ Chrome no longer supports MathML | The aperiodical
- ↑ Using the mathematical input panel to enter and correct mathematical equations . Date of treatment October 29, 2012. Archived November 4, 2012.
Literature
- Kleinfeld, S. MathML for Publishers // HTML5 for Publishers. - O'Reilly Media, 2011 .-- 56 p. - ISBN 9781449314613 .
Links
- MathML at W3C - Specifications, FAQ , Supported Software List
- MathML in Mozilla
- Manual for MathML Presentation
- MathML Browser Support
- MathPlayer is a plugin for Internet Explorer .
- OpenMath Standard