###

File: | mrootSscriptlevel4.mml mrootSscriptlevel4.xhtml
Author: | Robert Miner and Jeff Schaefer, Geometry Technologies
Description: | This example tests that the <mroot> increments the scriptlevel by 2 and sets displaystyle to false in the index.
Rendering: |

MathML Code:

    <math>
      <mstyle displaystyle='true'>
        <mroot>
           <mrow>
             <mi>x</mi><mo>-</mo>
    	 <mfrac><mi>x</mi><mn>3</mn></mfrac>
           </mrow>
           <mfrac><mi>x</mi><mn>3</mn></mfrac>
        </mroot>
      </mstyle>
      <mo>+</mo>
      <mstyle scriptlevel='2'>
        <mroot>
           <mrow><mi>x</mi><mo>-</mo><mn>3</mn></mrow>
           <mfrac><mi>x</mi><mn>3</mn></mfrac>
        </mroot>
      </mstyle>
      <mo>+</mo>
      <mroot>
        <mrow><mi>x</mi><mo>-</mo><mn>3</mn></mrow>
        <mfrac><mi>x</mi><mn>3</mn></mfrac>
      </mroot>
      <mo>+</mo>
      <mstyle scriptlevel='2' displaystyle='true'>
        <mfrac><mi>x</mi><mn>3</mn></mfrac>
      </mstyle>
    </math>