prev  ( testsuite > Presentation > TokenElements > mi > mifontstyle12  )  next

Alternatives: (mml file)  (full) (simple) (plain) (form) (slideshow)
File:Presentation/TokenElements/mi/mifontstyle12
CVS-ID:
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 <i>slanted</i> while the default for a multi-character identifier is <i>normal</i>.

Sample Rendering:

Created by: webeq

Your browser's rendering:

h + hhh + h + hhh

Source Code:

<math xmlns="http://www.w3.org/1998/Math/MathML"> 
  <mrow> 
    <mi>h</mi> 
    <mo>+</mo> 
    <mi>hhh</mi> 
    <mo>+</mo> 
    <mi fontstyle="normal">h</mi> 
    <mo>+</mo> 
    <mi fontstyle="normal">hhh</mi> 
  </mrow> 
</math>