prev ( testsuite > Presentation > GeneralLayout > mfrac > mfracBvert12  ) next

Alternatives: (mml file)  (full) (simple) (plain) (form) (slideshow)
File:Presentation/GeneralLayout/mfrac/mfracBvert12
CVS-ID:
Author:Robert Miner and Jeff Schaefer, Geometry Technologies
Description:This example does a basic test of vertical positioning of numerators and denominators of different heights and depths. It also checks the vertical positioning of the fraction as a whole.

Sample Rendering:

$x-\frac{1}{3}-\frac{x}{3}-\frac{3}{x}-\frac{a}{x}-\frac{y}{x}-\frac{{y}_{2}}{x}-\frac{{x}_{2}}{x}-\frac{y}{{x}^{2}}-\frac{y}{{H}^{2}}$

Source Code:

```<math xmlns="http://www.w3.org/1998/Math/MathML">
<mrow>
<mi>x</mi>
<mo>-</mo>
<mfrac>
<mn>1</mn>
<mn>3</mn>
</mfrac>
<mo>-</mo>
<mfrac>
<mi>x</mi>
<mn>3</mn>
</mfrac>
<mo>-</mo>
<mfrac>
<mn>3</mn>
<mi>x</mi>
</mfrac>
<mo>-</mo>
<mfrac>
<mi>a</mi>
<mi>x</mi>
</mfrac>
<mo>-</mo>
<mfrac>
<mi>y</mi>
<mi>x</mi>
</mfrac>
<mo>-</mo>
<mfrac>
<msub>
<mi>y</mi>
<mn>2</mn>
</msub>
<mi>x</mi>
</mfrac>
<mo>-</mo>
<mfrac>
<msub>
<mi>x</mi>
<mn>2</mn>
</msub>
<mi>x</mi>
</mfrac>
<mo>-</mo>
<mfrac>
<mi>y</mi>
<msup>
<mi>x</mi>
<mn>2</mn>
</msup>
</mfrac>
<mo>-</mo>
<mfrac>
<mi>y</mi>
<msup>
<mi>H</mi>
<mn>2</mn>
</msup>
</mfrac>
</mrow>
[/itex]```