These elements comprise the internal math representation, being the content of the XMath element.
Outer container for all math. This holds the internal XMath representation, as well as image data and other representations.
Attributes for Math.
= (display | inline)
display or inline mode.
= text
reconstruction of the TeX that generated the math.
= text
more semantic version of tex.
= text
a textified representation of the math.
Content model for Math.
(Math.class*)
Common attributes for the various XMath elements.
= text
The role that this item plays in the Grammar.
= text
an enclose style to enclose the object with legitimate values being those of MathML’s menclose notations;
= text
left, or leading, (presumably non-semantic) padding space.
= text
right, or trailing, (presumably non-semantic) padding space.
= text
an annotation placed by the parser when it suspects this token may be used as a function.
= text
reference to an arbitrary url.
XMApp_attributes, XMArg_attributes, XMArray_attributes, XMDual_attributes, XMHint_attributes, XMRef_attributes, XMText_attributes, XMTok_attributes, XMWrap_attributes, XMApp_attributes, XMArg_attributes, XMArray_attributes, XMDual_attributes, XMHint_attributes, XMRef_attributes, XMText_attributes, XMTok_attributes, XMWrap_attributes
Attributes for XMath.
Content model for XMath.
(XMath.class*)
Attributes for XMTok.
= text
The name of the token, typically the control sequence that created it.
= text
A more semantic name corresponding to the intended meaning, such as the OpenMath name.
= text
The OpenMath CD for which meaning is a symbol.
= text
An encoding of the position of this token as a sub/superscript, used to handle aligned and nested scripts, both pre and post. It is a concatenation of (pre—mid—post), which indicates the horizontal positioning of the script with relation to it’s base, and a counter indicating the level. These are used to position the scripts, and to pair up aligned sub- and superscripts. NOTE: Clarify where this appears: token, base, script operator, apply?
= text
A thickness used for drawing any lines which are part of presenting the token, such as the fraction line for the fraction operator.
= boolean
Whether or not the symbol should be stretchy. This shares MathML’s ambiguity about horizontal versus vertical stretchiness. When not set, defaults to whatever MathML’s operator dictionary says.
= (display | text | script | scriptscript)
The math style used for displaying the application of this token when it represents some sort of fraction, variable-sized operator or stack of expressions (note that this applies to binomials or other stacks of expressions as well as fractions). Values of display or text correspond to TeX’s displaystyle or textstyle, while inline indicates the stack should be arranged horizontally (the layout may depend on the operator).
Content model for XMTok.
text*
(text*)
Generalized application of a function, operator, whatever (the first child) to arguments (the remaining children). The attributes are a subset of those for XMTok.
Attributes for XMApp.
= text
The name of the token, typically the control sequence that created it.
= text
A more semantic name corresponding to the intended meaning, such as the OpenMath name.
= text
An encoding of the position of this token as a sub/superscript, used to handle aligned and nested scripts, both pre and post. (See XMTok for details)
Content model for XMApp.
(XMath.class*)
Parallel markup of content (first child) and presentation (second child) of a mathematical object. Typically, the arguments are shared between the two branches: they appear in the content branch, with id’s, and XMRef is used in the presentation branch
Attributes for XMDual.
Content model for XMDual.
Various layout hints, usually spacing, generally ignored in parsing. The attributes are a subset of those for XMTok.
Attributes for XMHint.
= text
The name of the kind of hint.
Content model for XMHint.
empty
()
Content model for XMText.
(text | Inline.class | Misc.class)*
((text | Inline.class | Misc.class)*)
Wrapper for a sequence of tokens used to assert the role of the contents in its parent. This element generally disappears after parsing. The attributes are a subset of those for XMTok.
Attributes for XMWrap.
= text
The grammatical rule that should apply to the contained sequence
= text
= text
A more semantic name corresponding to the intended meaning, such as the OpenMath name.
= text
= text
An encoding of the position of this token as a sub/superscript, used to handle aligned and nested scripts, both pre and post. (See XMTok for details)
Content model for XMWrap.
(XMath.class*)
Content model for XMArg.
(XMath.class*)
Structure sharing element typically used in the presentation branch of an XMDual to refer to the arguments present in the content branch.
Attributes for XMRef.
Content model for XMRef.
empty
()
Attributes for XMArray.
= text
The name of the object, typically the control sequence that created it.
= text
A more semantic name corresponding to the intended meaning of the object, such as the OpenMath name.
= text
The OpenMath CD for which meaning is a symbol.
the spacing between rows
the spacing between columns
Attributes for XMRow.
Attributes for XMCell.
= nonNegativeInteger
indicates how many columns this cell spans or covers.
= nonNegativeInteger
indicates how many rows this cell spans or covers.
= text
specifies the alignment of the content.
= text
specifies the desired width for the column.
= text
records a sequence of t or tt, r or rr, b or bb and l or ll for borders or doubled borders on any side of the cell.
= (column | column row | row)
whether this cell corresponds to a table row or column heading or both
Content model for XMCell.
(XMath.class*)