TeX - LaTeX Stack Exchange is a question and answer site for users of TeX, LaTeX, ConTeXt, and related typesetting systems. Join them; it only takes a minute:

Sign up
Here's how it works:
  1. Anybody can ask a question
  2. Anybody can answer
  3. The best answers are voted up and rise to the top

I have the follwing table

\caption{the capt}
\begin{tabular}{ | c | c | } \hline
%\multirow{2}{*}{\textbf{Name}} & \multirow{2}{*}{\textbf{Value}} \\ \hline
\textbf{Name} & \textbf{Value} \\ \hline
\textbf{-} & \textbf{-} \\ \hline
\textit{CoCo} & 23 \\ \hline
\textit{KiKi} & 49 \\ \hline


How can I have the cells "Name" and "Value" on two rows by removing the cells containing "-", when I use 1\multirow{2}{*}{\textbf{Name}} & \multirow{2}{*}{\textbf{Value}} it doesnt work

share|improve this question
The question is not very clear: \multirow is intended for having a cell vertically centered with respect to several cells next to it. Are you perhaps asking how to get more vertical space above and below "Name" and "Value"? – egreg Jul 11 '12 at 9:08
@egreg no, what I want is to merge the cell Name with the cell bellow it, using \multirow – user995434 Jul 11 '12 at 9:39
up vote 3 down vote accepted

I suppose that you only want some more vertical space in the header which can be done with a vertical invisible rule:


\begin{tabular}{ | c | c | } \hline
\textbf{Name} & \textbf{Value}\\ 
\textbf{-} & \textbf{-} \\ \hline
\textit{CoCo} & 23 \\ \hline
\textit{KiKi} & 49 \\ \hline


enter image description here

share|improve this answer
No, what I want is to merge the cell Name with the cell bellow it, using \multirow, how can I use \multirow for my question – user995434 Jul 11 '12 at 9:39
then simply do not use \hline at the end – Herbert Jul 11 '12 at 9:41
can you modify your example so that I can see the result ?! – user995434 Jul 11 '12 at 9:48
well ok, remove \hline at the multirow line and adding an empty line "& \\ \hline" works, thanks – user995434 Jul 11 '12 at 9:52
see my edit, but I cannot believe that it is what you want?? – Herbert Jul 11 '12 at 9:52

Your Answer


By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.