latex 三线表-算法对比表
效果
导入包
\usepackage{booktabs}
\usepackage{multirow}
表格
\begin{table}[t]\caption{\textbf{Comparison of test results of various algorithms}\label{tab}}\centering\begin{tabular}{ccccc}\toprule\multirow{2}{*}{Algorithms} & \multirow{2}{*}{mAP} & \multicolumn{3}{c}{AP} \\\cmidrule{3-5} & & Hotspot & Hotspot & Hotspot \\\midruleA & 1 & 2 & 3& 4\\A & 1 & 2 & 3& 4\\A & 1 & 2 & 3& 4\\A & 1 & 2 & 3& 4\\\bottomrule\end{tabular}
\end{table}