prev | ( testsuite > Presentation > TokenElements > mo > moAform11 ) | next

Alternatives: | (mml file) (full) (simple) (plain) (form) (slideshow)
File: | Presentation/TokenElements/mo/moAform11
CVS-ID: |
Author: | Robert Miner and Jeff Schaefer, Geometry Technologies
Description: | This tests the 'form' attribute for <mo>. Note that the form should be determined by the position in the <mrow> when the attribute is not set. In particular, this can be tested by comparing the prefix and infix minus signs without explicit attributes below.
Sample Rendering:

Your browser's rendering:

- x - x - x - x - x - x

Source Code:

    <math xmlns="http://www.w3.org/1998/Math/MathML">
      <mrow>
        <mo>-</mo>
        <mi>x</mi>
      </mrow>
      <mrow>
        <mo form="infix">-</mo>
        <mi>x</mi>
      </mrow>
      <mrow>
        <mo form="prefix">-</mo>
        <mi>x</mi>
      </mrow>
      <mrow>
        <mo form="postfix">-</mo>
        <mi>x</mi>
      </mrow>
      <mo>-</mo>
      <mi>x</mi>
      <mo form="prefix">-</mo>
      <mi>x</mi>
    </math>