| prev | ( testsuite > Presentation > TokenElements > mo > moAaccent9 ) | next |
| 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. |
Sample Rendering:
| |
Your browser's rendering:
Source Code:
<math xmlns="http://www.w3.org/1998/Math/MathML">
<mrow>
<mover>
<mrow>
<mi>G</mi>
<mo>-</mo>
<mn>1</mn>
</mrow>
<mo>‾</mo>
</mover>
<mo>+</mo>
<mover accent="true">
<mrow>
<mi>G</mi>
<mo>-</mo>
<mn>1</mn>
</mrow>
<mo>‾</mo>
</mover>
<mo>+</mo>
<mover accent="false">
<mrow>
<mi>G</mi>
<mo>-</mo>
<mn>1</mn>
</mrow>
<mo>‾</mo>
</mover>
</mrow>
</math>