Represents a fraction in a math equation.
MathFraction displays a numerator over a denominator with a fraction bar.
Reference: http://www.datypic.com/sc/ooxml/e-m_f-1.html
<xsd:complexType name="CT_F"> <xsd:sequence> <xsd:element name="fPr" type="CT_FPr" minOccurs="0"/> <xsd:element name="num" type="CT_OMathArg"/> <xsd:element name="den" type="CT_OMathArg"/> </xsd:sequence></xsd:complexType> Copy
<xsd:complexType name="CT_F"> <xsd:sequence> <xsd:element name="fPr" type="CT_FPr" minOccurs="0"/> <xsd:element name="num" type="CT_OMathArg"/> <xsd:element name="den" type="CT_OMathArg"/> </xsd:sequence></xsd:complexType>
new MathFraction({ numerator: [new MathRun("a + b")], denominator: [new MathRun("c")],}); Copy
new MathFraction({ numerator: [new MathRun("a + b")], denominator: [new MathRun("c")],});
Do not use this method. It is only used internally by the library. It will be removed in a future version.
Represents a fraction in a math equation.
MathFraction displays a numerator over a denominator with a fraction bar.
Reference: http://www.datypic.com/sc/ooxml/e-m_f-1.html
XSD Schema
Example