prev next
File: Presentation/GeneralLayout/mfrac/mfracBvert12.xml (mml file)
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:
Created by: webeq

Your browser's rendering:

x - 1 3 - x 3 - 3 x - a x - y x - y 2 x - x 2 x - y x 2 - y H 2


Source Code:

    <math> 
      <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> 
    </math>
  

Test Suite Home