prev  ( testsuite > Presentation > GeneralLayout > mpadded > mpaddedAleft4  )  next

Alternatives: (mml file)  (full) (simple) (plain) (form) (slideshow)
File:Presentation/GeneralLayout/mpadded/mpaddedAleft4
CVS-ID:
Author:Robert Miner and Jeff Schaefer, Geometry Technologies
Description:Basic test of padding on the left with <mpadded>. This example runs through all the formats for specifying <mpadded> attribute values (except a pure percentage which doesn't show for <i>lspace</i>).

Sample Rendering:

Created by: webeq

Your browser's rendering:

A A A A A A A A A A A

Source Code:

<math xmlns="http://www.w3.org/1998/Math/MathML"> 
  <mrow> 
    <mi>A</mi> 
    <mpadded lspace=".5height" width="+.5height"> 
      <mi>A</mi> 
    </mpadded> 
    <mi>A</mi> 
    <mpadded lspace="3width" width="+3width"> 
      <mi>A</mi> 
    </mpadded> 
    <mi>A</mi> 
    <mpadded lspace="50%width" width="+50%width"> 
      <mi>A</mi> 
    </mpadded> 
    <mi>A</mi> 
    <mpadded lspace="2ex" width="+2ex"> 
      <mi>A</mi> 
    </mpadded> 
    <mi>A</mi> 
    <mpadded lspace="-2pt"> 
      <mi>A</mi> 
    </mpadded> 
    <mi>A</mi> 
  </mrow> 
</math>