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

Latex table help

  1. Mar 21, 2010 #1
    Dear all,
    Is there a trick to tackle table problems in latex..
    For example the code below give a table (see picture file attached)
    Code (Text):

    \begin{table}[b!]
    \caption{Numbering scheme.}\label{tab:sam}
    \vspace{3mm}
    \centering
    \begin{tabular}[width=1\textwidth]{l|p{59mm}|p{65mm}}
    \hline\hline
    Sample & Compounds & Remarks \\
    No.\ & &\\
    \hline
    1   & some thing  & solid/powder      \\
    2   & sample~1    & prepared in open  \\
    3   & sample~2    & prepared in frozen\\
    \hline
    7   & 1~min       &                   \\
    8   & 5~min       &                   \\
    9   & 30~min      &                   \\
    \hline\hline
    \end{tabular}
    \end{table}
     
    If you see 7, 8, 9..i left some blank space on the right side..Now i want to write some text in that space....how to do it?? i.e., for 7, 8 and 9 i need only one column and one row-..(something similar to a single box)
    thanks
     

    Attached Files:

  2. jcsd
  3. Mar 27, 2010 #2
    your table format is nt prper...
    so
    \begin{table}[b!]
    \caption{Numbering scheme.}\label{tab:sam}
    \vspace{3mm}
    \centering
    \begin{tabular}[width=1\textwidth]{l|p{59mm}|p{65mm}}
    then after u have to used
    " multicolumn{}"
    so find on net how to do multi column in table
     
Know someone interested in this topic? Share this thread via Reddit, Google+, Twitter, or Facebook




Similar Discussions: Latex table help
  1. Tables in LaTeX (Replies: 9)

  2. Tables in latex (Replies: 1)

  3. Latex table help (Replies: 2)

  4. Tables in Latex (Replies: 1)

  5. Latex tables, units (Replies: 5)

Loading...