prev next
File: Presentation/GeneralLayout/msqrt-mroot/msqrtSinheritance9.xml (mml file)
Author: Robert Miner and Jeff Schaefer, Geometry Technologies
Description: This examples tests that <msqrt> inherits font attributes properly from <mstyle>.
Sample Rendering:
Created by: webeq

Your browser's rendering:

x - 3 3 x 2 x - 3 3 x


Source Code:

    <math> 
      <mrow> 
        <mstyle color='Blue' fontweight='bold'> 
          <mfrac> 
            <mstyle fontstyle='italic'> 
              <msqrt> 
                <mrow> 
                  <mi>x</mi> 
                  <mo>-</mo> 
                  <mn>3</mn> 
                </mrow> 
              </msqrt> 
            </mstyle> 
            <mstyle fontweight='bold'> 
              <msqrt> 
                <mrow> 
                  <mn>3</mn> 
                  <mi>x</mi> 
                </mrow> 
              </msqrt> 
            </mstyle> 
          </mfrac> 
        </mstyle> 
        <mfrac> 
          <mstyle fontstyle='italic'> 
            <msqrt> 
              <mn>2</mn> 
              <mi>x</mi> 
              <mo>-</mo> 
              <mn>3</mn> 
            </msqrt> 
          </mstyle> 
          <mstyle fontweight='bold'> 
            <msqrt> 
              <mrow> 
                <mn>3</mn> 
                <mi>x</mi> 
              </mrow> 
            </msqrt> 
          </mstyle> 
        </mfrac> 
      </mrow> 
    </math>
  

Test Suite Home