-
MathType
-
WirisQuizzes
-
Nubric
-
CalcMe
-
MathPlayer
-
Store FAQ
-
MathFlow
-
BF FAQ
-
Miscellaneous
-
Wiris Integrations
Supported MathML elements and attributes
Reading time: 3minReference for the MathML elements and attributes supported by MathType.
Summary
MathType supports a large subset of both Presentation MathML and Content MathML. This reference lists the supported elements and attributes for importing, editing, rendering, and exporting mathematical expressions.
Support may vary depending on the operation being performed. Unsupported elements or attributes may be ignored or simplified during processing.
MathML support
MathType supports three categories of MathML:
| Category | Description |
|---|---|
| Presentation MathML | Describes how mathematical expressions are displayed. |
| Content MathML | Describes the semantic meaning of mathematical expressions. |
| Mixed markup | Combines presentation and semantic information using <semantics>. |
Root element
<math>
Supported attributes
| Attribute | Supported values |
|---|---|
dir |
rtl |
display |
inline |
indentalign |
auto, right
|
xmlns |
http://www.w3.org/1998/Math/MathML |
wrs:positionable |
true, false
|
style |
Supported CSS font and layout properties |
Presentation MathML
The following Presentation MathML elements are supported.
<maction>
Supported attributes
| Attribute | Values |
|---|---|
actiontype |
argument |
<menclose>
Supported attributes
| Attribute | Values |
|---|---|
notation |
box, circle, roundedbox, radical, longdiv, horizontalstrike, verticalstrike, updiagonalstrike, downdiagonalstrike, phasorangle, northeastarrow, and other supported MathML notations. |
<mfenced>
Supported attributes
| Attribute | Values |
|---|---|
open |
Supported fence characters |
close |
Supported fence characters |
separators |
Supported separators characters |
mathbackground |
CSS color values |
mathcolor |
CSS color values |
<mfrac>
Supported attributes
| Attribute | Supported values |
|---|---|
bevelled |
true |
displaystyle |
true, false
|
linethickness |
Numeric values |
mathbackground |
CSS color values |
mathvariant |
Supported MathML variants |
<mi>
Supported attributes
| Attribute | Supported values |
|---|---|
mathbackground |
CSS color values |
mathcolor |
CSS color values |
mathsize |
CSS length values |
mathvariant |
Supported MathML variants |
style |
Supported CSS font and layout properties |
wrs:positionable |
true, false
|
wrs:reserved |
true |
<mlongdiv>
Supported attributes
| Attribute | Supported values |
|---|---|
charalign |
Supported alignments |
charspacing |
CSS length values |
longdivstyle |
Supported long division styles |
stackalign |
Supported alignments |
<mn>
Supported attributes
| Attribute | Supported values |
|---|---|
mathbackground |
CSS color values |
mathcolor |
CSS color values |
mathsize |
CSS length values |
mathvariant |
Supported MathML variants |
<mo>
Supported attributes
| Attribute | Supported values |
|---|---|
id |
Identifier |
largeop |
true |
stretchy |
true, false
|
lspace |
MathML spacing keywords |
rspace |
MathML spacing keywords |
mathbackground |
CSS color values |
mathcolor |
CSS color values |
mathvariant |
Supported MathML variants |
style |
Supported CSS font properties |
<mover>
Supported attributes
| Attribute | Supported values |
|---|---|
wrs:positionable |
true, false
|
<mrow>
Supported attributes
| Attribute | Supported values |
|---|---|
id |
Identifier |
style |
Supported CSS layout properties |
wrs:positionable |
true, false
|
<mscarries>
Supported attributes
| Attribute | Supported values |
|---|---|
location |
Supported carry locations |
<msline>
Supported attributes
| Attribute | Supported values |
|---|---|
length |
Numeric values |
position |
Numeric values |
<mspace>
Supported attributes
| Attribute | Supported values |
|---|---|
linebreak |
newline |
width |
CSS length values |
<mstack>
Supported attributes
| Attribute | Supported values |
|---|---|
charalign |
Supported alignments |
charspacing |
CSS length values |
stackalign |
Supported alignments |
<mstyle>
Supported attributes
| Attribute | Supported values |
|---|---|
displaystyle |
true, false
|
indentalign |
Supported alignments |
mathbackground |
CSS color values |
mathcolor |
CSS color values |
mathsize |
CSS length values |
mathvariant |
Supported MathML variants |
<mtable>
Supported attributes
| Attribute | Supported values |
|---|---|
align |
Supported table alignments |
columnalign |
Supported alignments |
columnlines |
Supported line styles |
columnspacing |
CSS length values |
equalcolumns |
true |
equalrows |
true |
frame |
Supported frame styles |
framespacing |
CSS length values |
rowalign |
Supported alignments |
rowlines |
Supported line styles |
rowspacing |
CSS length values |
<mtext>
Supported attributes
| Attribute | Supported values |
|---|---|
mathcolor |
CSS color values |
mathvariant |
Supported MathML variants |
<munder>
Supported attributes
| Attribute | Supported values |
|---|---|
wrs:positionable |
true, false
|
Elements without additional attributes
<matrix>
<matrixrow>
<merror>
<mmultiscripts>
<mphantom>
<mprescripts>
<mroot>
<msrow>
<msub>
<msubsup>
<msup>
<mtd>
<mtr>
<munderover>
<msgroup>
<msqrt>Content MathML
<apply>
Supported attributes
| Attribute | Supported values |
|---|---|
xref |
Identifier |
<cn>
Supported attributes
| Attribute | Supported values |
|---|---|
type |
complex-cartesian, complex-polar, e-notation, rational
|
<interval>
Supported attributes
| Attribute | Supported values |
|---|---|
closure |
open, closed, open-closed, closed-open
|
Elements without additional attributes
<abs>
<and>
<arccos>
<arccosh>
<arccot>
<arccoth>
<arccsc>
<arccsch>
<arcsec>
<arcsech>
<arcsin>
<arcsinh>
<arctan>
<arctanh>
<bind>
<bvar>
<ci>
<condition>
<conjugate>
<cos>
<cosh>
<cot>
<coth>
<csc>
<csch>
<degree>
<diff>
<divide>
<domainofapplication>
<emptyset>
<eq>
<equivalent>
<exists>
<exponentiale>
<factorial>
<factorof>
<floor>
<forall>
<gcd>
<gt>
<imaginaryi>
<implies>
<in>
<infinity>
<int>
<intersect>
<inverse>
<leq>
<limit>
<ln>
<log>
<logbase>
<lowlimit>
<lt>
<minus>
<naturalnumbers>
<neq>
<none>
<not>
<or>
<partialdiff>
<pi>
<plus>
<power>
<product>
<prsubset>
<reln>
<root>
<sec>
<sech>
<selector>
<sep>
<set>
<setdiff>
<sin>
<sinh>
<sum>
<tan>
<tanh>
<tendsto>
<times>
<transpose>
<union>
<uplimit>
<vector>Mixed markup
<semantics>
Supported. Used to combine Presentation MathML with additional semantic information, such as LaTeX annotations.
See LaTeX support for more information.
Notes
- Unsupported elements or attributes may be ignored during import or rendering.
- Behavior may vary depending on whether MathML is being imported, edited, rendered, or exported.
- MathType implements a large subset of the MathML specification but does not support every element or attribute defined by the standard.
Related articles
Supported MathML elements and attributes
Summary
MathML support
Root element
Supported attributes
Presentation MathML
Supported attributes
Supported attributes
Supported attributes
Supported attributes
Supported attributes
Supported attributes
Supported attributes
Supported attributes
Supported attributes
Supported attributes
Supported attributes
Supported attributes
Supported attributes
Supported attributes
Supported attributes
Supported attributes
Supported attributes
Supported attributes
Elements without additional attributes
Content MathML
Supported attributes
Supported attributes
Supported attributes
Elements without additional attributes
Mixed markup
Notes
Related articles