L.6.1.16 Scripts

image

image

There are four distinct but related objects that consist of a base and a smaller “script” term either raised or lowered, on the left or right of the base. These are the Subscript, Superscript, SubSuperscript, and PreSubSuperscript:

Example XML (second and third examples above only):

<m:oMathPara>
  <m:oMath>
    <m:sSup>
      <m:e>
        <m:r>
          <m:t>x</m:t>
        </m:r>
      </m:e>
      <m:sup>
        <m:r>
          <m:t>n</m:t>
        </m:r>
      </m:sup>
    </m:sSup>
    <m:r>
      <m:t xml:space="preserve"></m:t>
    </m:r>
    <m:sSubSup>
      <m:e>
        <m:r>
          <m:t>x</m:t>
        </m:r>
      </m:e>
      <m:sub>
        <m:r>
          <m:t>m</m:t>
        </m:r>
      </m:sub>
      <m:sup>
        <m:r>
          <m:t>n</m:t>
        </m:r>
      </m:sup>
    </m:sSubSup>
  </m:oMath>
</m:oMathPara>

The SubSuperscript has the option of aligning scripts (alnScr), as in:

image

image

vs.

.

Last updated on