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-full.xhtml,v 1.30 2012/02/14 12:50:11 polx Exp $
Author:Robert Miner, Design Science, Inc.
Description:mpadded attributes can't be set from mstyle

Sample Rendering:

Created by: MathFlow EquationComposer

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>