prev  ( testsuite > Presentation > TokenElements > mn > mnSdisplaystyle9  )  next

Alternatives: (mml file)  (full) (simple) (plain) (form) (slideshow)
File:Presentation/TokenElements/mn/mnSdisplaystyle9
CVS-ID:
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 xmlns="http://www.w3.org/1998/Math/MathML"> 
  <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>