prev next
File: Presentation/GeneralLayout/mfrac/mfracBhoriz11.xml (mml file)
Author: Robert Miner and Jeff Schaefer, Geometry Technologies
Description: This example tests that <mfrac> does reasonable things with the bar and horizontal centering for wide fractions.
Sample Rendering:
Created by: webeq

Your browser's rendering:

1 a - 1 a + a + a + a - 1 a + a + a + a + a + a + a + a + a + a


Source Code:

    <math> 
      <mfrac> 
        <mn>1</mn> 
        <mi>a</mi> 
      </mfrac> 
      <mo>-</mo> 
      <mfrac> 
        <mn>1</mn> 
        <mrow> 
          <mi>a</mi> 
          <mo>+</mo> 
          <mi>a</mi> 
          <mo>+</mo> 
          <mi>a</mi> 
          <mo>+</mo> 
          <mi>a</mi> 
        </mrow> 
      </mfrac> 
      <mo>-</mo> 
      <mfrac> 
        <mn>1</mn> 
        <mrow> 
          <mi>a</mi> 
          <mo>+</mo> 
          <mi>a</mi> 
          <mo>+</mo> 
          <mi>a</mi> 
          <mo>+</mo> 
          <mi>a</mi> 
          <mo>+</mo> 
          <mi>a</mi> 
          <mo>+</mo> 
          <mi>a</mi> 
          <mo>+</mo> 
          <mi>a</mi> 
          <mo>+</mo> 
          <mi>a</mi> 
          <mo>+</mo> 
          <mi>a</mi> 
          <mo>+</mo> 
          <mi>a</mi> 
        </mrow> 
      </mfrac> 
    </math>
  

Test Suite Home