prev next
File: Presentation/TokenElements/mi/mifontstyle12.xml (mml file)
Author: Robert Miner and Jeff Schaefer, Geometry Technologies
Description: Tests the special behavior of the fontstyle attribute for <mi>. In particular, the default for a single character identifier is slanted while the default for a multi-character identifier is normal.
Sample Rendering:
Created by: webeq

Your browser's rendering:

h + hhh + h + hhh


Source Code:

    <math> 
      <mrow> 
        <mi>h</mi> 
        <mo>+</mo> 
        <mi>hhh</mi> 
        <mo>+</mo> 
        <mi mathvariant='normal'>h</mi> 
        <mo>+</mo> 
        <mi mathvariant='normal'>hhh</mi> 
      </mrow> 
    </math>
  

Test Suite Home