prev next
File: Presentation/TokenElements/mn/mnSdisplaystyle9.xml (mml file)
Author: Robert Miner and Jeff Schaefer, Geometry Technologies
Description: Tests that attributes set on <mn> 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:

5 + 23 + 0.5 + 5.0 + .1 + 100 + 0xFFEF + 5 + 5


Source Code:

    <math> 
      <mstyle displaystyle='true'> 
        <mrow> 
          <mn>5</mn> 
          <mo>+</mo> 
          <mn fontweight='bold'>23</mn> 
          <mo>+</mo> 
          <mn fontweight='normal' fontstyle='italic'>0.5 
          </mn> 
          <mo>+</mo> 
          <mn fontstyle='normal'>5.0</mn> 
          <mo>+</mo> 
          <mn fontweight='bold' fontstyle='normal'>.1 
          </mn> 
          <mo>+</mo> 
          <mn color='#9c0fff'>100</mn> 
          <mo>+</mo> 
          <mn color='#0ee'>0xFFEF</mn> 
          <mo>+</mo> 
          <mn color='Green'>5</mn> 
          <mo>+</mo> 
          <mn fontfamily='Helvetica'>5</mn> 
        </mrow> 
      </mstyle> 
    </math>
  

Test Suite Home