prev next
File: Presentation/TablesAndMatrices/mtable/mtableAspacing3.xml (mml file)
Author: Design Science, Inc. (D. Doyle)
Description: table row/column spacing using equalcolumns="true"
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>
      <mtable frame="solid" columnlines="solid" rowlines="solid" rowspacing="4pt 4pt 8pt" equalcolumns="true" displaystyle="true">
        <mtr>
          <mtd>
            <mfrac>
              <mrow>
                <mi>a</mi>
                <mo>+</mo>
                <mn>1</mn>
              </mrow>
              <mi>2</mi>
            </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>
              <mi>3</mi>
            </mfrac>
          </mtd>
        </mtr>
      </mtable> 
    </math>
  

Test Suite Home