prev next
File: Presentation/TokenElements/ms/msAdisplaystyle2.xml (mml file)
Author: Robert Miner and Jeff Schaefer, Geometry Technologies
Description: Tests that token element attributes set on <ms> are unaffected by being put into an <mstyle> environment. Also tests various multiple color attribute value formats.
Sample Rendering:
Created by: webeq

Your browser's rendering:

A + A + A + A + A + A + A + A + A


Source Code:

    <math> 
      <mstyle displaystyle='true'> 
        <mrow> 
          <ms>A</ms> 
          <mo>+</mo> 
          <ms fontweight='bold'>A</ms> 
          <mo>+</mo> 
          <ms fontweight='normal' fontstyle='italic'>A 
          </ms> 
          <mo>+</mo> 
          <ms fontstyle='normal'>A</ms> 
          <mo>+</mo> 
          <ms fontweight='bold' fontstyle='normal'>A 
          </ms> 
          <mo>+</mo> 
          <ms color='#9c0fff'>A</ms> 
          <mo>+</mo> 
          <ms color='#0ee'>A</ms> 
          <mo>+</mo> 
          <ms color='Green'>A</ms> 
          <mo>+</mo> 
          <ms fontfamily='Helvetica'>A</ms> 
        </mrow> 
      </mstyle> 
    </math>
  

Test Suite Home