L.6.1 Math
In the Office Math Markup Language (OMML), all mathematical text appears in math zones. Such text can consist of equations, mathematical expressions or simple variables. A math zone is represented by the oMath and oMathPara elements. There are two kinds of math zones: inline and display. An inline math zone appears on a line or lines along with text that is not in the math zone. A display math zone fills a whole paragraph. More specifically, a display math zone consists of a math paragraph, which is represented by the oMathPara element. The math paragraph is a group of one or more equations or expressions separated by soft carriage returns; that is, they are separate mathematical entities that comprise a single paragraph. A math paragraph has its own justification that can differ from that of the parent (non-math) paragraph. All objects within a math paragraph have the same type of justification.
Display and inline math zones have innately different formatting characteristics. Inline math zones typically consume less vertical space to help minimize or eliminate changes in the non-math paragraph line spacing. This is accomplished, for example, by reducing the size of inline fractions and n-ary objects relative to their display sizes. OMML has document-level properties that set the default choices for some math-zone properties. These include the display math-zone properties of whether integral and
other n-ary limits are displayed by default below and above an n-ary operator or as subscripts and superscripts.
The following subclauses introduce each of the math objects that comprise the majority of the OMML schema. Since this language is designed for text processing rather than calculations, when writing math zones in an XML representation, more attention is given to the layout and appearance of mathematical
Although the functionality described in this clause is primarily about the appearance of expressions and mathematical text, other markup defined in ISO/IEC 29500 provides independent functionality enabling mathematical formulas and expressions to be calculated. Formulas in SpreadsheetML (L.2.15.1) and Fields in WordprocessingML (L.1.17.1) are two examples.
Subsections
- L.6.1.1 Accent Object
- L.6.1.2 Bar Object
- L.6.1.3 Border Box Object
- L.6.1.4 Box Object
- L.6.1.5 Delimiters
- L.6.1.6 Array Object
- L.6.1.7 Fraction Object
- L.6.1.8 Function Apply Object
- L.6.1.9 Group Character Object
- L.6.1.10 Upper and Lower Limits
- L.6.1.11 Matrix Object
- L.6.1.12 N-ary Object
- L.6.1.13 Literal Operators and Operator Emulators
- L.6.1.14 Phantom Object
- L.6.1.15 Radical Object
- L.6.1.16 Scripts
- L.6.1.17 Math Paragraphs