prev next
File: Presentation/GeneralLayout/mfrac/mfracBalign16.xml (mml file)
Author: Design Science, Inc. (D. Doyle, E. Cannon, E. Tabacman, R.Miner)
Description: fraction alignment
Sample Rendering:
Created by: webeq

Your browser's rendering:

x - a b x x - 1 b x x - 1 2 x x - 1 2 z x x - z 1 2 x


Source Code:

    <math>
      <mstyle fontsize="150%">
        <mtable>
          <mtr>
            <mtd>
              <mi>x</mi> 
              <mo>-</mo>
              <mfrac>
                <mi>a</mi>
                <mi>b</mi>
              </mfrac>
              <mi>x</mi> 
            </mtd>
          </mtr>
          <mtr>
            <mtd> 
              <mi>x</mi> 
              <mo>-</mo>
              <mfrac>
                <mn>1</mn>
                <mi>b</mi>
              </mfrac>
              <mi>x</mi> 
            </mtd>
          </mtr>
          <mtr>
            <mtd> 
              <mi>x</mi> 
              <mo>-</mo>
              <mfrac>
                <mn>1</mn>
                <mn>2</mn>
              </mfrac>
              <mi>x</mi> 
            </mtd>
          </mtr>
          <mtr>
            <mtd> 
              <mi>x</mi> 
              <mo>-</mo>
              <mfrac>
                <msup>
                  <mn>1</mn>
                  <mn>2</mn>
                </msup>
                <mi>z</mi>
              </mfrac>
              <mi>x</mi> 
            </mtd>
          </mtr>
          <mtr>
            <mtd> 
              <mi>x</mi> 
              <mo>-</mo>
              <mfrac>
                <mi>z</mi>
                <msup>
                  <mn>1</mn>
                  <mn>2</mn>
                </msup>
              </mfrac>
              <mi>x</mi> 
            </mtd>
          </mtr>
        </mtable>
      </mstyle>
    </math>
  

Test Suite Home