prev next
File: Presentation/GeneralLayout/mpadded/mpaddedAmixed5.xml (mml file)
Author: Robert Miner and Jeff Schaefer, Geometry Technologies
Description: A generic test of <mpadded> using various combinations of attributes and layout schemata.
Sample Rendering:
Created by: webeq

Your browser's rendering:

A y A A A A 5 A A 5 A


Source Code:

    <math> 
      <mrow> 
        <mi>A</mi> 
        <mfrac> 
          <mpadded lspace ='2em' width='2em'> 
            <mi>y</mi> 
          </mpadded> 
          <mpadded height='1 width'> 
            <mi>A</mi> 
          </mpadded> 
        </mfrac> 
        <mfrac> 
          <mpadded width='1 height' depth='-1ex'> 
            <mi>A</mi> 
          </mpadded> 
          <mpadded height='3px'> 
            <mi>A</mi> 
          </mpadded> 
        </mfrac> 
        <mfrac> 
          <mpadded width='200% width'> 
            <mi>A</mi> 
            <mpadded width='1em'> 
              <msqrt> 
                <mn>5</mn> 
              </msqrt> 
            </mpadded> 
          </mpadded> 
          <mpadded height='300% width'> 
            <mi>A</mi> 
          </mpadded> 
        </mfrac> 
        <mi>A</mi> 
        <mpadded width='1em'> 
          <msqrt> 
            <mn>5</mn> 
          </msqrt> 
        </mpadded> 
        <mi>A</mi> 
      </mrow> 
    </math>
  

Test Suite Home