| prev | ( testsuite > Presentation > TokenElements > mspace > mspacestruts2 ) | next |
| Alternatives: | (mml file) (full) (simple) (plain) (form) (slideshow) |
| File: | Presentation/TokenElements/mspace/mspacestruts2 |
| CVS-ID: | |
| Author: | Robert Miner and Jeff Schaefer, Geometry Technologies |
| Description: | This example tests the <mspace> element in cases where one dimension is 0. The <mfrac> element is used to make the spaces visible. |
Sample Rendering:
| |
Your browser's rendering:
Source Code:
<math xmlns="http://www.w3.org/1998/Math/MathML">
<mfrac>
<mrow>
<mi>x</mi>
<mspace width="1cm"/>
<mi>y</mi>
</mrow>
<mn>2</mn>
</mfrac>
<mo>+</mo>
<mfrac>
<mn>2</mn>
<mrow>
<mi>x</mi>
<mspace height="1cm"/>
<mi>y</mi>
</mrow>
</mfrac>
<mo>+</mo>
<mfrac>
<mrow>
<mi>x</mi>
<mspace depth="1cm"/>
<mi>y</mi>
</mrow>
<mn>2</mn>
</mfrac>
</math>