prev next
File: Presentation/TokenElements/mi/miSfontsize9.xml (mml file)
Author: Robert Miner and Jeff Schaefer, Geometry Technologies; Neil Soiffer, Wolfram Research
Description: Tests different CSS fontsize and mathsize attribute value formats, and fontsize/mathsize attribute inheritance with <mstyle> and <mi>
Sample Rendering:
Created by: webeq

Your browser's rendering:

A + A + A + A + A + A A + A + A + A + A + A + A + A


Source Code:

    <math> 
      <mtable> 
        <mtr> 
          <mtd> 
            <mstyle fontweight='bold' color='#ff0000'> 
              <mrow> 
                <mi>A</mi> 
                <mo>+</mo> 
                <mi fontweight='normal' fontstyle='italic'>A 
                </mi> 
                <mo>+</mo> 
                <mstyle fontsize='0.1in'> 
                  <mi>A</mi> 
                  <mo>+</mo> 
                  <mi fontsize='2em'>A</mi> 
                  <mo>+</mo> 
                  <mi fontsize='36pt'>A</mi> 
                </mstyle> 
                <mo>+</mo> 
                <mi fontsize='20mm'>A</mi> 
              </mrow> 
            </mstyle> 
          </mtd> 
        </mtr> 
        <mtr> 
          <mtd> 
            <mstyle mathcolor='#ff0000'> 
              <mrow> 
                <mi>A</mi> 
                <mo>+</mo> 
                <mstyle mathsize='0.1in'> 
                  <mi>A</mi> 
                  <mo>+</mo> 
                  <mi mathsize='2em'>A</mi> 
                  <mo>+</mo> 
                  <mi mathsize='36pt'>A</mi> 
                </mstyle> 
                <mo>+</mo> 
                <mi mathsize='20mm'>A</mi> 
                <mo>+</mo> 
                <mstyle mathsize='big'> 
                  <mi>A</mi> 
                  <mo>+</mo> 
                  <mi mathsize='small'>A</mi> 
                  <mo>+</mo> 
                  <mi mathsize='normal'>A</mi> 
                </mstyle> 
              </mrow> 
            </mstyle> 
          </mtd> 
        </mtr> 
      </mtable> 
    </math>
  

Test Suite Home