Tackling Table Problems in LaTeX

  • Context: LaTeX 
  • Thread starter Thread starter Rajini
  • Start date Start date
  • Tags Tags
    Latex Table
Join the discussion
Registration is free. Ask a follow-up in this thread, or start your own.
1 reply · 3K views
Rajini
Messages
619
Reaction score
4
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:
\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
 

Attachments

  • Unbenannt.jpg
    Unbenannt.jpg
    9.5 KB · Views: 546
Physics news on Phys.org
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