- #1
Rajini
- 621
- 4
Dear all,
I want to make a vertical line in table..
I use this following latex codes
When i compiled it i got a good table..but the vertical line is not continuous..please see the figure attached..no line after '2 col'.
Thanks for your help
I want to make a vertical line in table..
I use this following latex codes
Code:
\begin{table}[h]
\caption{Some caption.}\label{namelab}
\vspace{2mm}
\centering
\begin{tabular}[width=1\textwidth]{ll|cccc}
\hline\hline
\multicolumn{2}{c}{2~col} & par~1 & par~2 & par~3 & par~4\\
\hline
1 & at RT & 56 & d1 & 0.25 & 0.3\\
& 4.2~K & 59 & d2 & 0.25 & 0.2\\
\hline\hline
\end{tabular}
\end{table}
Thanks for your help