L.6.1.2 Bar Object

image

The bar object consists of baseline text with a bar drawn above or below the base. The bar has only one child, the base element. The location of the bar is stored as a property.

For example:

image

The XML for the two expressions in this example is:

<m:oMathPara>
  <m:oMath>
    <m:bar>
      <m:barPr>
        <m:pos m:val="top" />
      </m:barPr>
      <m:e>
        <m:r>
          <m:t>a</m:t>
        </m:r>
      </m:e>
    </m:bar>
    <m:bar>
      <m:e>
        <m:r>
          <m:t>a</m:t>
        </m:r>
      </m:e>
    </m:bar>
  </m:oMath>
</m:oMathPara>

If <m:pos m:val=“top” /> is omitted, the bar defaults to the bottom (as shown in the second instance of the bar element).

Last updated on