Differential class
Differential. When the object is serialized out as xml, its qualified name is m:diff.
DocumentFormat.OpenXml.OpenXmlElement
DocumentFormat.OpenXml.OpenXmlLeafElement
DocumentFormat.OpenXml.Math.OnOffType
DocumentFormat.OpenXml.Math.Differential
Namespace: DocumentFormat.OpenXml.Math
Assembly: DocumentFormat.OpenXml (in DocumentFormat.OpenXml.dll)
[ISO/IEC 29500-1 1st Edition]
diff (Differential)
The element specifies the differential property on box. When 1 or true, the box acts as a differential (e.g., in an integrand), and receives the appropriate horizontal spacing for the mathematical differential. When this property is omitted, the box is not treated as a differential.
When the element is absent, the default value of the property is 0 meaning that this property is not applied.
When the element is present and the val attribute is absent, the default of the val attribute is 1 meaning that this property is applied.
[Example: The following example demonstrates a box set as differential in use, both in its proper form and in XML:
<m:nary>
<m:naryPr>
<m:chr m:val="∫"/>
</m:naryPr>
<m:sub>
<m:r>
<m:rPr>
<m:scr m:val="roman"/>
<m:sty m:val="p"/>
</m:rPr>
<m:t>0</m:t>
</m:r>
</m:sub>
<m:sup>
<m:r>
<m:rPr>
<m:scr m:val="roman"/>
<m:sty m:val="p"/>
</m:rPr>
<m:t>1</m:t>
</m:r>
</m:sup>
<m:e>
<m:r>
<m:t>x</m:t>
</m:r>
<m:box>
<m:boxPr>
<m:diff m:val="1"/>
</m:boxPr>
<m:e>
<m:r>
<m:t>dx</m:t>
</m:r>
</m:e>
</m:box>
</m:e>
</m:nary>end example]
Parent Elements |
|---|
boxPr (§22.1.2.14) |
Attributes | Description |
|---|---|
val (value) | Specifies a binary value for the property defined by the parent XML element. A value of 1 or true specifies that the property shall be explicitly applied. This is the default value for this attribute, and is implied when the parent element is present. A value of 0 or false specifies that the property shall be explicitly turned off. This is implied when the parent element is not present. The possible values for this attribute are defined by the ST_OnOff simple type (§22.9.2.7). |
[Note: The W3C XML Schema definition of this element’s content model (CT_OnOff) is located in §A.6.1. end note]
© ISO/IEC29500: 2008.