MathML: presentation markup
- describe mathematical notation structure.
- 28 elements, more than 50 attributes.
- generally, each presentation element corresponds to a single
kind of ``layout schema'' (two-dimensional notational devide, such
as row, superscript, underscript)
- variants are expressed via attributes.
- Token elements
-
<mi>
- identifier
-
<mn>
- number
-
<mo>
- operator, fence, or separator
-
<mtext>
- text
-
<mspace/>
- space
-
<ms>
- string literal
-
General layout schemata
-
<mrow>
- group any number of subexpressions horizontally
-
<mfrac>
- form a fraction from two subexpressions
-
<msqrt>
- form a square root sign (radical without an index)
-
<mroot>
- form a radical with specified index
-
<mstyle>
- style change
-
<merror>
- enclose a syntax error message from a preprocessor
-
<mpadded>
- adjust space around content
-
<mphantom>
- make content invisible but preserve its size
-
<mfenced>
- surround content with a pair of fences
-
Script and limit schemata
-
<msub>
- attach a subscript to a base
-
<msup>
- attach a superscript to a base
-
<msubsup>
- attach a subscript-superscript pair to a base
-
<munder>
- attach an underscript to a base
-
<mover>
- attach an overscript to a base
-
<munderover>
- attach an underscript-overscript pair to a base
-
<mmultiscripts>
- attach prescripts and tensor indices to a base
-
Tables and matrices
-
<mtable>
- table or matrix
-
<mtr>
- row in a table or matrix
-
<mtd>
- one entry in a table or matrix
-
<maligngroup/>
- alignment marker
-
<malignmark/>
- alignment marker
-
Enlivening Expressions
-
<maction>
- bind actions to a subexpression
-
fontsize
- size of the font;
-
fontweight
-
normal, or bold;
-
fontstyle
-
normal or italic;
-
fontfamily
- name of the font;
-
color
- color expressed in some model;
-
form
-
prefix, infix, postfix;
-
fence
-
true, false;
-
separator
-
true, false;
-
lspace
- left space;
-
rspace
- right space;
-
stretchy
-
true, false;
-
symmetric
-
true, false;
-
maxsize
- maximum size;
-
minsize
- minimum size;
-
largeop
-
true, false;
-
movablelimits
-
true, false;
-
accent
-
true, false;
-
width
- width of structure;
-
height
- height of structure;
-
depth
- depth of structure.