I cannot seem to get my vertical lines to work correctly. One goes outside the table and another doesn't quite make it up to the top. Is this because I am using \multicolumn? Is there any quick fix for this? thanks!
Here is an example of my problem:
Code: Select all
\documentclass{article}
\begin{document}
\begin{table}[!ht]\caption{Comparison of Groups With and Without Transfer Data}\label{transfercomp}
\fbox{
\begin{tabular}{l|cc|c}
&\multicolumn{2}{c}{Total}\\
\textbf{ }&\textbf{w/ T}&\textbf{w/o T}&\textbf{Control}\\
\hline\hline
\vspace{-.2cm}&&&\\
number of obs.&&&\\
study abroad&.836&1&0\\
\end{tabular}}
\end{table}
\end{document}