| prev | ( testsuite > Presentation > GeneralLayout > mphantom > mphantomSinheritance5 ) | next |
| Alternatives: | (mml file) (full) (simple) (plain) (form) (slideshow) |
| File: | Presentation/GeneralLayout/mphantom/mphantomSinheritance5 |
| CVS-ID: | |
| Author: | Robert Miner and Jeff Schaefer, Geometry Technologies |
| Description: | This example tests that scriptlevel and fontweight style attributes are properly inherited by the children of an <mphantom>. |
Sample Rendering:
| |
Your browser's rendering:
Source Code:
<math xmlns="http://www.w3.org/1998/Math/MathML">
<mstyle mathbackground="Blue">
<mi>A</mi>
<mstyle scriptlevel="2">
<mphantom>
<mi>A</mi>
</mphantom>
</mstyle>
<mi>A</mi>
<mstyle fontweight="bold">
<mphantom>
<mi>A</mi>
<mo>+</mo>
<mi>A</mi>
</mphantom>
<mi>A</mi>
</mstyle>
</mstyle>
<mi>A</mi>
<mstyle scriptlevel="2">
<mi>A</mi>
</mstyle>
<mi>A</mi>
<mstyle fontweight="bold">
<mi>A</mi>
<mo>+</mo>
<mi>A</mi>
<mi>A</mi>
</mstyle>
</math>