Results 1 to 3 of 3

Math Help - Tables

  1. #1
    Super Member
    Joined
    Aug 2010
    Posts
    886
    Thanks
    91

    Tables

    \begin{array}{cc}1&0\\0&1\end{array}

    Typed this exactly as it appeared in Latex tutorial and placed it between [-ath] and [/-ath] and got latex error. -=m. If it does work, how do you control column spacing?

    Also tried "Table" on icon bar. No luck.
    Follow Math Help Forum on Facebook and Google+

  2. #2
    MHF Contributor
    Joined
    Oct 2009
    Posts
    5,417
    Thanks
    718

    Re: Tables

    \begin{array}{c@{\hspace{3em}}c} 1&0\\ 0&1\end{array}
    1 0
    0 1

    The math delimiters are [tex]...[/tex] on this forum. Remember to write math formulas in one line and insert spaces (at least every 50 characters). These are again quirks of the forum, not LaTeX in general.

    Space between columns can be changed by inserting @{LaTeX code} between column specifications in the table preamble. It supresses the intercolumn space and inserts LaTeX code instead. See Wikibooks for more on LaTeX tables.

    The first icon in the last row works for me: it shows a dialog where the number of rows and coluns can be specified. Click "Reply With Quote" to see the code in this post.
    Follow Math Help Forum on Facebook and Google+

  3. #3
    Super Member
    Joined
    Aug 2010
    Posts
    886
    Thanks
    91

    Re: Tables

    Thanks emakorov,

    The code worked perfectly, and I was even able to experiment with spaces. Strange

    This is what I get by using the table icon.

    [_able="width: 1.5in, align: left"]
    [tr]
    [td][/td]
    [td][/td]
    [td][/td]
    [/tr]
    [tr]
    [td][/td]
    [td][/td]
    [td][/td]
    [/tr]
    [tr]
    [td][/td]
    [td][/td]
    [td][/td]
    [/tr]
    [tr]
    [td][/td]
    [td][/td]
    [td][/td]
    [/tr]
    [tr]
    [td][/td]
    [td][/td]
    [td][/td]
    [/tr]
    [/_able]
    Follow Math Help Forum on Facebook and Google+

Similar Math Help Forum Discussions

  1. Truth Tables
    Posted in the Discrete Math Forum
    Replies: 5
    Last Post: May 4th 2011, 06:34 AM
  2. tell me difference between these tables
    Posted in the Advanced Statistics Forum
    Replies: 1
    Last Post: February 24th 2010, 08:22 PM
  3. Truth Tables
    Posted in the Discrete Math Forum
    Replies: 8
    Last Post: November 8th 2009, 05:15 PM
  4. Replies: 1
    Last Post: October 13th 2008, 05:14 PM
  5. solving tables
    Posted in the Algebra Forum
    Replies: 1
    Last Post: June 4th 2008, 06:07 PM

Search Tags


/mathhelpforum @mathhelpforum