I'm not getting column borders correctly in the following table. I'm using multirow
package. Also, I want the '123' in the big cell to be centered, but it is misaligned. I'm not sure how to fix this. Here's what I have:
\begin{table}
\centering
\hline
\begin{tabular}{|c|c|c|}
1 & 2 & 3& \\ \hline
1 & & 3 &\\ \cline{1-1}\cline{3-3}
1 & \multirow{-3}{*}{123} & 3& \\ \hline
\end{tabular}
\end{table}
Note that I have no multiple column cells in the table -- only multiple row cells.
\multirow{-2}
instead of\multirow{-3}
, it's correct. The problem with the borders is what? The missing\hline
above the first row? Just write it.