LaTeX Tackling Table Problems in LaTeX

  • Thread starter Thread starter Rajini
  • Start date Start date
  • Tags Tags
    Latex Table
Click For Summary
To address table formatting issues in LaTeX, particularly when needing to utilize blank space effectively, the use of the "multicolumn" command is essential. This command allows for the merging of multiple columns into a single cell, which can be particularly useful for entries that require only one column and one row, as seen in the example with entries 7, 8, and 9. By implementing "multicolumn{}", users can customize their tables to better fit their content needs and eliminate unnecessary blank spaces. For further guidance, searching online for tutorials on using multicolumns in LaTeX tables can provide additional insights and examples.
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: 527
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
 

Similar threads

  • · Replies 0 ·
Replies
0
Views
3K
  • · Replies 2 ·
Replies
2
Views
6K
  • · Replies 2 ·
Replies
2
Views
4K
  • · Replies 3 ·
Replies
3
Views
2K
  • · Replies 2 ·
Replies
2
Views
2K
  • · Replies 5 ·
Replies
5
Views
1K
  • · Replies 7 ·
Replies
7
Views
8K
  • · Replies 2 ·
Replies
2
Views
3K
  • · Replies 9 ·
Replies
9
Views
2K
  • · Replies 5 ·
Replies
5
Views
6K