prev  ( testsuite > Presentation > TokenElements > ms > msAdisplaystyle2  )  next

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