prev | ( testsuite > Presentation > TokenElements > ms > msSinheritance8 ) | next

Alternatives: | (mml file) (full) (simple) (plain) (form) (slideshow)
File: | Presentation/TokenElements/ms/msSinheritance8
CVS-ID: |
Author: | Robert Miner and Jeff Schaefer, Geometry Technologies
Description: | Tests CSS fontstyle and fontfamily attribute inheritance with <mstyle> and <ms>
Sample Rendering:

Your browser's rendering:

a + b + c + f + Γ + d

Source Code:

    <math xmlns="http://www.w3.org/1998/Math/MathML">
      <mstyle fontstyle="italic" fontfamily="Helvetica">
        <mrow>
          <ms>a</ms>
          <mo>+</mo>
          <ms fontweight="bold">b</ms>
          <mo>+</mo>
          <ms fontstyle="normal">c</ms>
          <mo>+</mo>
          <ms fontfamily="Courier" color="#00ff00">f</ms>
          <mo>+</mo>
          <ms fontsize="36pt">&#x0393;</ms>
          <mo>+</mo>
          <ms fontweight="bold" fontstyle="normal">d</ms>
        </mrow>
      </mstyle>
    </math>