prev next
File: Presentation/GeneralLayout/mstyle/mstyleAscriptlevel1.xml (mml file)
Author: Design Science, Inc. (D. Doyle)
Description: Testing of scriptlevel attributes in style
Sample Rendering:
Created by: webeq

Your browser's rendering:

2 4 2 4 2 4 2 4 2 4 2 4


Source Code:

    <math> 
      <mstyle> 
        <mfrac> 
          <mi>2</mi> 
          <mo>4</mo> 
        </mfrac> 
      </mstyle> 
      <mstyle scriptlevel="2"> 
        <mfrac> 
          <mi>2</mi> 
          <mo>4</mo> 
        </mfrac> 
      </mstyle> 
      <mstyle scriptlevel="9"> 
        <mfrac> 
          <mi>2</mi> 
          <mo>4</mo> 
        </mfrac> 
      </mstyle> 
      <mstyle scriptlevel="0"> 
        <mfrac> 
          <mi>2</mi> 
          <mo>4</mo> 
        </mfrac> 
      </mstyle> 
      <mstyle scriptlevel="+2"> 
        <mfrac> 
          <mi>2</mi> 
          <mo>4</mo> 
        </mfrac> 
      </mstyle> 
      <mstyle scriptlevel="-4"> 
        <mfrac> 
          <mi>2</mi> 
          <mo>4</mo> 
        </mfrac> 
      </mstyle>
    </math>
  

Test Suite Home