prev | ( testsuite > Presentation > GeneralLayout > mstyle > mstyleAscriptlevel1 ) | next

Alternatives: | (mml file) (full) (simple) (plain) (form) (slideshow)
File: | Presentation/GeneralLayout/mstyle/mstyleAscriptlevel1
CVS-ID: |
Author: | Design Science, Inc. (D. Doyle)
Description: | Testing of scriptlevel attributes in style
Sample Rendering:

Your browser's rendering:

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

Source Code:

    <math xmlns="http://www.w3.org/1998/Math/MathML">
      <mstyle>
        <mfrac>
          <mn>2</mn>
          <mo>4</mo>
        </mfrac>
      </mstyle>
      <mstyle scriptlevel="2">
        <mfrac>
          <mn>2</mn>
          <mo>4</mo>
        </mfrac>
      </mstyle>
      <mstyle scriptlevel="9">
        <mfrac>
          <mn>2</mn>
          <mo>4</mo>
        </mfrac>
      </mstyle>
      <mstyle scriptlevel="0">
        <mfrac>
          <mn>2</mn>
          <mo>4</mo>
        </mfrac>
      </mstyle>
      <mstyle scriptlevel="+2">
        <mfrac>
          <mn>2</mn>
          <mo>4</mo>
        </mfrac>
      </mstyle>
      <mstyle scriptlevel="-4">
        <mfrac>
          <mn>2</mn>
          <mo>4</mo>
        </mfrac>
      </mstyle>
    </math>