prev  ( testsuite > Presentation > TablesAndMatrices > mtable > mtableAalign3  )  next

Alternatives: (mml file)  (full) (simple) (plain) (form) (slideshow)
File:Presentation/TablesAndMatrices/mtable/mtableAalign3
CVS-ID:
Author:Design Science, Inc. (D. Doyle)
Description:table row/column alignment

Sample Rendering:

Created by: webeq

Your browser's rendering:

a + 1 2 b c x 2 3 y + 5 z 1 2 a + 5 3

Source Code:

<math xmlns="http://www.w3.org/1998/Math/MathML">
  <mtable frame="solid" columnlines="solid" rowlines="solid" rowalign="top baseline center" columnalign="left right" displaystyle="true">
    <mtr>
      <mtd>
        <mfrac>
          <mrow>
            <mi>a</mi>
            <mo>+</mo>
            <mn>1</mn>
          </mrow>
          <mn>2</mn>
        </mfrac>
      </mtd>
      <mtd>
        <mi>b</mi>
      </mtd>
      <mtd>
        <mi>c</mi>
      </mtd>
    </mtr>
    <mtr>
      <mtd>
        <mi>x</mi>
      </mtd>
      <mtd>
        <mrow>
          <mfrac>
            <mn>2</mn>
            <mn>3</mn>
          </mfrac>
          <mi>y</mi>
          <mo>+</mo>
          <mn>5</mn>
        </mrow>
      </mtd>
      <mtd>
        <mi>z</mi>
      </mtd>
    </mtr>
    <mtr>
      <mtd>
        <mn>1</mn>
      </mtd>
      <mtd>
        <mn>2</mn>
      </mtd>
      <mtd>
        <mfrac>
          <mrow>
            <mi>a</mi>
            <mo>+</mo>
            <mn>5</mn>
          </mrow>
          <mn>3</mn>
        </mfrac>
      </mtd>
    </mtr>
  </mtable> 
</math>