<diff> (Differential)

The element specifies the differential property on <box>. When 'on,' 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.
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="&#8747;"/>
  </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="on"/>
      </m:boxPr>
      <m:e>
        <m:r>
          <m:t>dx</m:t>
        </m:r>
      </m:e>
    </m:box>
  </m:e>
</m:nary>

Parent Elements

<boxPr>7.1.2.14)

Attributes

Description

<val> (value)

Specifies a binary value for the property defined by the parent XML element.

A value of on 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 off 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 (§7.1.3.9).

The following XML Schema fragment defines the contents of this element:

<complexType name="CT_OnOff">
	<attribute name="val" type="ST_OnOff"/>
</complexType>