prev | ( testsuite > Presentation > GeneralLayout > mpadded > mpadded-inheritance1 ) | next

Alternatives: | (mml file) (full) (simple) (plain) (form) (slideshow)
File: | Presentation/GeneralLayout/mpadded/mpadded-inheritance1
CVS-ID: | $Id: mpadded-inheritance1-slideshow.xhtml,v 1.34 2012/02/14 14:52:12 polx Exp $
Author: | Robert Miner, Design Science, Inc.
Description: | mpadded attributes can't be set from mstyle
Sample Rendering:

Your browser's rendering:

x+y = x+y

Source Code:

    <math xmlns="http://www.w3.org/1998/Math/MathML" display="block">
      <mstyle mathbackground="yellow">
        <mpadded>
          <mi>x</mi><mo>+</mo><mi>y</mi>
        </mpadded>
      </mstyle>
      <mo>=</mo>
      <mstyle mathbackground="yellow" height="5pt" depth="5pt" width="10pt" lspace="5pt">
        <mpadded>
          <mi>x</mi><mo>+</mo><mi>y</mi>
        </mpadded>
      </mstyle>
    </math>