[Table of Contents] [docx version]
Shared MLs Reference Material - Math
This element specifies the fraction object, consisting of a numerator and denominator separated by a fraction bar. The fraction bar can be horizontal or diagonal, depending on the fraction properties. The fraction object is also used to represent the stack function, which places one element above another, with no fraction bar. [Example: Examples of fractions are:
Stacked Fraction:
Skewed Fraction:
Linear Fraction:
Stack Object (No-Bar Fraction):
The fraction is represented as:
<m:f>
<m:fPr>
<m:type m:val="skw"/>
</m:fPr>
<m:num>
<m:r>
<m:t>a</m:t>
</m:r>
</m:num>
<m:den>
<m:r>
<m:t>b</m:t>
</m:r>
</m:den>
</m:f>
end example]
Parent Elements |
deg (§7.1.2.26); del (§2.13.5.12); den (§7.1.2.28); e (§7.1.2.32); fName (§7.1.2.37); ins (§2.13.5.20); lim (§7.1.2.52); moveFrom (§2.13.5.21); moveTo (§2.13.5.26); num (§7.1.2.75); oMath (§7.1.2.77); sub (§7.1.2.112); sup (§7.1.2.114) |
Child Elements |
Subclause |
den (Denominator) |
§7.1.2.28 |
fPr (Fraction Properties) |
§7.1.2.38 |
num (Numerator) |
§7.1.2.75 |
The following XML Schema fragment defines the contents of this element:
<complexType name="CT_F">
<sequence>
<element name="fPr" type="CT_FPr" minOccurs="0"/>
<element name="num" type="CT_OMathArg"/>
<element name="den" type="CT_OMathArg"/>
</sequence>
</complexType>