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

Alternatives: (mml file)  (full) (simple) (plain) (form) (slideshow)
File:Presentation/GeneralLayout/mfrac/mfracBhoriz11
CVS-ID:
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 xmlns="http://www.w3.org/1998/Math/MathML"> 
  <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>