prev next
File: Presentation/TokenElements/mo/moAaccent9.xml (mml file)
Author: Robert Miner and Jeff Schaefer, Geometry Technologies
Description: This example tests the 'accent' attribute for <mover> and <mo>. It also tests that the operator dictionary entry for &OverBar; correctly sets 'accent' to true, and the <mover> element looks at the 'accent' attribute of an operator in its second slot to determine what its own 'accent' attribute should default to.
Sample Rendering:
Created by: webeq

Your browser's rendering:

G - 1 ¯ + G - 1 ¯ + G - 1 ¯


Source Code:

    <math> 
      <mrow> 
        <mover> 
          <mrow> 
            <mi>G</mi> 
            <mo>-</mo> 
            <mn>1</mn> 
          </mrow> 
          <mo>&OverBar;</mo> 
        </mover> 
        <mo>+</mo> 
        <mover accent='true'> 
          <mrow> 
            <mi>G</mi> 
            <mo>-</mo> 
            <mn>1</mn> 
          </mrow> 
          <mo>&OverBar;</mo> 
        </mover> 
        <mo>+</mo> 
        <mover accent='false'> 
          <mrow> 
            <mi>G</mi> 
            <mo>-</mo> 
            <mn>1</mn> 
          </mrow> 
          <mo>&OverBar;</mo> 
        </mover> 
      </mrow> 
    </math>
  

Test Suite Home