prev  ( testsuite > Presentation > GeneralLayout > msqrt-mroot > mrootSfonts3  )  next

Alternatives: (mml file)  (full) (simple) (plain) (form) (slideshow)
File:Presentation/GeneralLayout/msqrt-mroot/mrootSfonts3
CVS-ID:
Author:Robert Miner and Jeff Schaefer, Geometry Technologies
Description:This example test that font attributes inherit properly from <mstyle> to <mroot>.

Sample Rendering:

Created by: webeq

Your browser's rendering:

x - 3 x - 3 3 x x - 3 3 x

Source Code:

<math xmlns="http://www.w3.org/1998/Math/MathML"> 
  <mrow> 
    <mfrac> 
      <mstyle fontfamily="Helvetica"> 
        <mroot> 
          <mrow> 
            <mi>x</mi> 
            <mo>-</mo> 
            <mn>3</mn> 
          </mrow> 
          <mrow> 
            <mi>x</mi> 
            <mo>-</mo> 
            <mn>3</mn> 
          </mrow> 
        </mroot> 
      </mstyle> 
      <mstyle fontweight="bold"> 
        <mroot> 
          <mrow> 
            <mn>3</mn> 
            <mi>x</mi> 
          </mrow> 
          <mrow> 
            <mi>x</mi> 
            <mo>-</mo> 
            <mn>3</mn> 
          </mrow> 
        </mroot> 
      </mstyle> 
    </mfrac> 
    <mroot> 
      <mn>3</mn> 
      <mi>x</mi> 
    </mroot> 
  </mrow> 
</math>