ctex表格实例——多行多列合并

需要加入宏:
\usepackage{multirow}



\begin{table*}[!t]
\centering
\caption{Experimental evaluation of macro- and micro F score}
\label{PrecisionRecall}
\begin{tabular}{c|c|c|c|c|c|c|c}
  \hline
  \multirow{2}{*}{Approach}&\multicolumn{7}{c}{Precision/Recall}\\
  \cline{2-8}
  &Bowl&Cap&Cereal Box&Coffee Mug&Soda Can&Background&Overall\\
  \hline
  DetOnly&0.9092&0.9666&0.9370&\textbf{0.8501}&0.8899&0.8670&0.9033\\
  \hline
  Det3DMRF&0.8478/0.8468&0.9352/0.9347&0.9521/0.9515&0.7511/0.7504&0.8649/0.8643&\textbf{0.9887}/0.9515&0.8900/0.8832\\
  \hline
  DetSOnly&0.9505&\textbf{0.9812}&0.9735&0.8445&0.9188&0.9355&0.9340\\
  \hline
  DetS3DMRF&\textbf{0.9511}&0.9638&\textbf{0.9940}&0.8171&\textbf{0.9617}&0.9848&\textbf{0.9454}\\
  \hline
\end{tabular}

\end{table*}


 \multirow{2}{*}{Approach}  三个花括号的分别对应合并的行数、内容格式、内容。
在新的一行或一列若遇到被合并的单元格,则视作该格内容已填入,继续填下格。

你可能感兴趣的:(表格,latex,多行,多列,ctex)