Represents a superscript expression in a math equation.
MathSuperScript displays a base with an exponent, like x².
Reference: http://www.datypic.com/sc/ooxml/e-m_sSup-1.html
<xsd:complexType name="CT_SSup"> <xsd:sequence> <xsd:element name="sSupPr" type="CT_SSupPr" minOccurs="0"/> <xsd:element name="e" type="CT_OMathArg"/> <xsd:element name="sup" type="CT_OMathArg"/> </xsd:sequence></xsd:complexType> Copy
<xsd:complexType name="CT_SSup"> <xsd:sequence> <xsd:element name="sSupPr" type="CT_SSupPr" minOccurs="0"/> <xsd:element name="e" type="CT_OMathArg"/> <xsd:element name="sup" type="CT_OMathArg"/> </xsd:sequence></xsd:complexType>
// x squarednew MathSuperScript({ children: [new MathRun("x")], superScript: [new MathRun("2")],}); Copy
// x squarednew MathSuperScript({ children: [new MathRun("x")], superScript: [new MathRun("2")],});
Do not use this method. It is only used internally by the library. It will be removed in a future version.
Represents a superscript expression in a math equation.
MathSuperScript displays a base with an exponent, like x².
Reference: http://www.datypic.com/sc/ooxml/e-m_sSup-1.html
XSD Schema
Example