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

Alternatives: (mml file)  (full) (simple) (plain) (form) (slideshow)
File:Presentation/GeneralLayout/mpadded/mpaddedAmixed5
CVS-ID:
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 + 5 A

Source Code:

<math xmlns="http://www.w3.org/1998/Math/MathML"> 
  <mrow> 
    <mi>A</mi> 
    <mo>+</mo>
    <mfrac> 
      <mpadded lspace="1em" width="1em"> 
        <mi>y</mi> 
      </mpadded> 
      <mi>A</mi> 
    </mfrac> 
    <mo>+</mo>
    <mfrac> 
      <mpadded depth="+2ex"> 
        <mi>A</mi> 
      </mpadded> 
      <mpadded height="2"> 
        <mi>A</mi> 
      </mpadded> 
    </mfrac> 
    <mo>+</mo>
    <mfrac> 
      <mpadded width="1.6width" lspace=".4width"> 
        <mi>A</mi> 
        <mpadded width="+1em" lspace="+1em"> 
          <msqrt> 
            <mn>5</mn> 
          </msqrt> 
        </mpadded> 
      </mpadded> 
      <mi>A</mi> 
    </mfrac> 
    <mo>+</mo> 
    <mpadded width="1em"> 
      <msqrt> 
        <mn>5</mn> 
      </msqrt> 
    </mpadded> 
    <mi>A</mi> 
  </mrow> 
</math>