Dismiss Notice
Join Physics Forums Today!
The friendliest, high quality science and math community on the planet! Everyone who loves science is here!

Troublesome Latex Table

  1. Aug 25, 2004 #1
    Guys, look at this troublesome latex code:

    Code (Text):

    \begin{tabular}{|l|l|l|l|}
    \hline
    foobar&\multicolumn{3}{|l|}{yadda yadda yadda yadda}\\
    \hline
    z&2&3&4\\
    \hline
    \end{tabular}
     
    [tex]
    \begin{tabular}{|l|l|l|l|}
    \hline
    foobar&\multicolumn{3}{|l|}{yadda yadda yadda yadda}\\
    \hline
    z&2&3&4\\
    \hline
    \end{tabular}
    [/tex]

    I want to make the columns that contain either 2, 3, or 4 have the same width. However as you see above, the column that contains 4 is wider than the rest.

    Is there an easy way to get what I want?

    Thanks a lot!
     
  2. jcsd
Share this great discussion with others via Reddit, Google+, Twitter, or Facebook

Can you offer guidance or do you also need help?
Draft saved Draft deleted