prev | ( testsuite > Presentation > TokenElements > mo > moAaccent9 ) | next | (show test run result)

Alternatives: | (mml file) (full) (simple) (plain) (form) (slideshow)
File: | Presentation/TokenElements/mo/moAaccent9
CVS-ID: |
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 ‾ 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.
passed (p) failed (f) not-tested (n) broken-test (b) some parts pass (s)
Sample Rendering:

Your browser's rendering:

G - 1 ‾ + G - 1 ‾ + G - 1 ‾

Source Code:

    <math xmlns="http://www.w3.org/1998/Math/MathML">
      <mrow>
        <mover>
          <mrow>
            <mi>G</mi>
            <mo>-</mo>
            <mn>1</mn>
          </mrow>
          <mo>&#x203E;</mo>
        </mover>
        <mo>+</mo>
        <mover accent="true">
          <mrow>
            <mi>G</mi>
            <mo>-</mo>
            <mn>1</mn>
          </mrow>
          <mo>&#x203E;</mo>
        </mover>
        <mo>+</mo>
        <mover accent="false">
          <mrow>
            <mi>G</mi>
            <mo>-</mo>
            <mn>1</mn>
          </mrow>
          <mo>&#x203E;</mo>
        </mover>
      </mrow>
    </math>