prev next
File: Presentation/GeneralLayout/mpadded/mpaddedAdepth2.xml (mml file)
Author: Robert Miner and Jeff Schaefer, Geometry Technologies
Description: Basic test of padding on the bottom with <mpadded> using the <i>height</i> attribute. This example runs through all the formats for specifying <mpadded> attribute values.
Sample Rendering:
Created by: webeq

Your browser's rendering:

y x y x y x y x y x y x


Source Code:

    <math> 
      <mrow> 
        <munder> 
          <mi>y</mi> 
          <mi>x</mi> 
        </munder> 
        <munder> 
          <mpadded depth='1.0 height'> 
            <mi>y</mi> 
          </mpadded> 
          <mi>x</mi> 
        </munder> 
        <munder> 
          <mpadded depth='3 width'> 
            <mi>y</mi> 
          </mpadded> 
          <mi>x</mi> 
        </munder> 
        <munder> 
          <mpadded depth='200% height'> 
            <mi>y</mi> 
          </mpadded> 
          <mi>x</mi> 
        </munder> 
        <munder> 
          <mpadded depth='-1ex'> 
            <mi>y</mi> 
          </mpadded> 
          <mi>x</mi> 
        </munder> 
        <munder> 
          <mpadded depth='10pt'> 
            <mi>y</mi> 
          </mpadded> 
          <mi>x</mi> 
        </munder> 
      </mrow> 
    </math>
  

Test Suite Home