prev next
File: Presentation/TokenElements/mo/moAform11.xml (mml file)
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:
Created by: webeq

Your browser's rendering:

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


Source Code:

    <math> 
      <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>
  

Test Suite Home