prev next
File: Presentation/TokenElements/CommonAttributes/sizeunits3.xml (mml file)
Author: Robert Miner and Jeff Schaefer, Geometry Technologies
Description: This test systematically runs through all the CSS vertical units, using the 'mathsize' attribute of the <mi> element.
Sample Rendering:
Created by: webeq

Your browser's rendering:

x + M + x + x + x + x + x + x + x + x + x


Source Code:

    <math> 
      <mrow> 
        <mi>x</mi> 
        <mo>+</mo> 
        <mi>M</mi> 
        <mo>+</mo> 
        <mi mathsize='2em'>x</mi> 
        <mo>+</mo> 
        <mi mathsize='2ex'>x</mi> 
        <mo>+</mo> 
        <mi mathsize='.1in'>x</mi> 
        <mo>+</mo> 
        <mi mathsize='.5cm'>x</mi> 
        <mo>+lt;/mo> 
          <mi mathsize='8mm'>x</mi> 
          <mo>+</mo> 
          <mi mathsize='24pt'>x</mi> 
          <mo>+</mo> 
          <mi mathsize='2pc'>x</mi> 
          <mo>+</mo> 
          <mi mathsize='75%'>x</mi> 
          <mo>+</mo> 
          <mi mathsize='36pt'>x</mi> 
        </mrow> 
      </math>
  

Test Suite Home