Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
1 parent
0d3aeba
commit b31226e
Showing
5 changed files
with
96 additions
and
0 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,28 @@ | ||
# MathML | ||
|
||
## What is MathML? | ||
|
||
"Mathematical Markup Language (MathML) is a mathematical markup language, | ||
an application of XML for describing mathematical notations and capturing | ||
both its structure and content. It aims at integrating mathematical | ||
formulae into World Wide Web pages and other documents. It is a | ||
recommendation of the W3C math working group and part of HTML5." | ||
(https://en.wikipedia.org/wiki/MathML) | ||
|
||
## Reference sites | ||
|
||
- Renference (W3C): http://www.w3.org/Math/ | ||
- MathML reference (on Mozilla): https://developer.mozilla.org/en-US/docs/Web/MathML | ||
- Mozilla MathML Project: https://developer.mozilla.org/en-US/docs/Mozilla/MathML_Project | ||
- On wikipedia: | ||
- https://en.wikipedia.org/wiki/MathML | ||
- https://en.wikipedia.org/wiki/OpenMath | ||
- The OpenMath Standard: http://www.openmath.org/standard/ (describes the semantic of formulae) | ||
- MathML tutorials: | ||
- http://danielscully.co.uk/projects/mathml-guide/ | ||
- http://rypress.com/tutorials/mathml/index | ||
|
||
## Main alternative | ||
|
||
- [MathJax](https://www.mathjax.org/) | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,24 @@ | ||
<!DOCTYPE html> | ||
<html lang="en"> | ||
<head> | ||
<meta charset="utf-8"> | ||
<title>Example of MathML embedded in an HTML5 file</title> | ||
</head> | ||
<body> | ||
<h1>Example of MathML embedded in an HTML5 file</h1> | ||
<p> | ||
The area of a circle is | ||
<math> | ||
<mi>π</mi> | ||
<mo>⁢</mo> | ||
<msup> | ||
<mi>r</mi> | ||
<mn>2</mn> | ||
</msup> | ||
</math>. | ||
</p> | ||
<p> | ||
Source: https://en.wikipedia.org/wiki/MathML | ||
</p> | ||
</body> | ||
</html> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,25 @@ | ||
<?xml version="1.0" encoding="UTF-8"?> | ||
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.1 plus MathML 2.0//EN" "http://www.w3.org/Math/DTD/mathml2/xhtml-math11-f.dtd"> | ||
<html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en"> | ||
<head> | ||
<title>Example of MathML embedded in an XHTML file</title> | ||
<meta name="description" content="Example of MathML embedded in an XHTML file"/> | ||
</head> | ||
<body> | ||
<h1>Example of MathML embedded in an XHTML file</h1> | ||
<p> | ||
The area of a circle is | ||
<math xmlns="http://www.w3.org/1998/Math/MathML"> | ||
<mi>π<!-- π --></mi> | ||
<mo>⁢<!-- ⁢ --></mo> | ||
<msup> | ||
<mi>r</mi> | ||
<mn>2</mn> | ||
</msup> | ||
</math>. | ||
</p> | ||
<p> | ||
Source: https://en.wikipedia.org/wiki/MathML | ||
</p> | ||
</body> | ||
</html> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,18 @@ | ||
<?xml version="1.0" encoding="UTF-8"?> | ||
<!DOCTYPE math PUBLIC "-//W3C//DTD MathML 2.0//EN" "http://www.w3.org/Math/DTD/mathml2/mathml2.dtd"> | ||
<math xmlns="http://www.w3.org/1998/Math/MathML"> | ||
<mrow> | ||
<mi>a</mi> | ||
<mo>⁢</mo> | ||
<msup> | ||
<mi>x</mi> | ||
<mn>2</mn> | ||
</msup> | ||
<mo>+</mo> | ||
<mi>b</mi> | ||
<mo>⁢ </mo> | ||
<mi>x</mi> | ||
<mo>+</mo> | ||
<mi>c</mi> | ||
</mrow> | ||
</math> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1 @@ | ||
../mathml |