
Não consigo usar múltiplas linhas com múltiplas colunas, meu objetivo no código a seguir é ter uma linha de duas alturas com o conteúdoUm cabeçalho longo centralizado verticalmente em duas linhas, O que estou perdendo aqui?
\begin{table*}
\centering
\newcolumntype{C}{>{\centering\arraybackslash}X}
\begin{tabularx}{\linewidth}{|l|C|C|C|C|C|C|}
\hline
\bf{} & \multirow{2}{*}{\bf{Value}} & \multirow{2}{*}{\bf{Value}} & \bf{Some Value} & \bf{ome Value} & \multirow{2}{*}{\bf{ome Value}} & \multirow{2}{*}{\bf{Value}}
\\ \hline
\multicolumn{7}{|c|}{\multirow{2}{*}{A long header vertically centered in two rows}}
\\ \hline
\bf{Row header} & 12.34 & 12.34 & 12.34 & 12.34 & 12.34 & 12.34
\\ \hline
\end{tabularx}
\caption{Table results}
\label{results}
\end{table*}
Responder1
você deveria ler como multirow
funciona
\begin{table*}
\centering
\newcolumntype{C}{>{\centering\arraybackslash}X}
\begin{tabularx}{\linewidth}{|l|C|C|C|C|C|C|}
\hline
\textbf{} & \multirow{2}{*}{\textbf{Value}} & \multirow{2}{*}{\textbf{Value}} & \textbf{Some Value} & \textbf{ome Value} & \multirow{2}{*}{\textbf{ome Value}} & \multirow{2}{*}{\textbf{Value}}
\\ \hline
\multicolumn{7}{|c|}{\multirow{2}{*}{A long header vertically centered in two rows}}
\\ \multicolumn{7}{|c|}{} % add
\\ \hline
\textbf{Row header} & 12.34 & 12.34 & 12.34 & 12.34 & 12.34 & 12.34
\\ \hline
\end{tabularx}
\caption{Table results}
\label{results}
\end{table*}