prev  ( testsuite > Presentation > GeneralLayout > mphantom > mphantomScolor4  )  next

Alternatives: (mml file)  (full) (simple) (plain) (form) (slideshow)
File:Presentation/GeneralLayout/mphantom/mphantomScolor4
CVS-ID:
Author:Robert Miner and Jeff Schaefer, Geometry Technologies
Description:This example tests the interaction of <mstyle> and <mphantom>. In particular, it tests that mathbackground colors show through phantom elements.

Sample Rendering:

Created by: webeq

Your browser's rendering:

A A A

Source Code:

<math xmlns="http://www.w3.org/1998/Math/MathML"> 
  <mrow> 
    <mi>A</mi> 
    <mstyle color="Red" mathbackground="Green"> 
      <mphantom> 
        <mi>A</mi> 
      </mphantom> 
    </mstyle> 
    <mi>A</mi> 
  </mrow> 
</math>