prev next
File: Presentation/TokenElements/mspace/mspace1.xml (mml file)
Author: Robert Miner and Jeff Schaefer, Geometry Technologies
Description: This example tests the <mspace> element. It uses an <mstyle> element to color the background to make the space visible.
Sample Rendering:
Created by: webeq

Your browser's rendering:

x M x


Source Code:

    <math> 
      <mrow> 
        <mi>x</mi> 
        <mstyle background="#000099"> 
          <mspace height="1ex" width="1ex"/> 
        </mstyle> 
        <mi>M</mi> 
        <mstyle background="#000099"> 
          <mspace height="1ex" depth="1em" width="1ex"/> 
        </mstyle> 
        <mi>x</mi> 
        <mstyle background="#000099"> 
          <mspace depth="2mm" width=".2in"/> 
        </mstyle> 
      </mrow> 
    </math>
  

Test Suite Home