prev  ( testsuite > Presentation > TokenElements > mspace > mspace1  )  next

Alternatives: (mml file)  (full) (simple) (plain) (form) (slideshow)
File:Presentation/TokenElements/mspace/mspace1
CVS-ID:
Author:Robert Miner and Jeff Schaefer, Geometry Technologies
Description:This example tests the <mspace> element. It uses an <mstyle> element to color the mathbackground to make the space visible.

Sample Rendering:

Created by: webeq

Your browser's rendering:

x M x

Source Code:

<math xmlns="http://www.w3.org/1998/Math/MathML"> 
  <mrow> 
    <mi>x</mi> 
    <mstyle mathbackground="#000099"> 
      <mspace height="1ex" width="1ex"/> 
    </mstyle> 
    <mi>M</mi> 
    <mstyle mathbackground="#000099"> 
      <mspace height="1ex" depth="1em" width="1ex"/> 
    </mstyle> 
    <mi>x</mi> 
    <mstyle mathbackground="#000099"> 
      <mspace depth="2mm" width=".2in"/> 
    </mstyle> 
  </mrow> 
</math>