LaTeX中使用bicaption、tabula包绘制三线表

1 话不多说直接上图

在这里插入图片描述
看起来还不错,比较正式的三线表。

2 代码也一并供上请仔细查收


```LaTex
\documentclass{article}
\usepackage{ctex}
\usepackage{booktabs}
\usepackage{multirow}
\usepackage{diagbox}
\usepackage{array}   
\usepackage{caption} 
\usepackage{bicaption}
\usepackage{booktabs}
\captionsetup[table][bi-second]{name=Table} %设置表的英文编号前缀

\title{LaTex制作表格}
\author{sanlinc}
\date{\today}
\begin{document}
	\maketitle 
	\newpage
    \begin{table}[ht]
  	\centering	
  	\bicaption[tab:mytable]{\heiti {\zihao {5}积木和实验室兴趣点匹配结果}}{Matched result of 'block' and 'laboratory'} 
    \begin{tabular}{l c c c c c c}
	  \hline 
	  \multirow{2}{*}{算法} & \multicolumn{2}{c}{配准兴趣点}  & \multicolumn{2}{c}{错误兴趣点}  & \multicolumn{2}{c}{丢失兴趣点} \\ 
	  \cmidrule(r){2-3} 
	  \cmidrule(r){4-5} 
	  \cmidrule(r){6-7} 
	           & 积木 & 实验室 & 积木 & 实验室 & 积木 & 实验室\\
	  \hline
  	  Harris    & 45  & 182    & 2    & 128   & 14   & 67 \\
	  CSS      & 50  & 205    & 10   & 109   & 9    & 44 \\
	  He\&Yung & 50  & 198    & 8    & 77    & 9    & 51 \\
	  本算法   & 54  & 198    & 2    & 32    & 5    & 51 \\
	  \hline
	  \end{tabular}
  \end{table}	
\end{document}

3 就酱紫吧,表格主要用了bicaption包

发布了32 篇原创文章 · 获赞 64 · 访问量 2万+

猜你喜欢

转载自blog.csdn.net/qq_36215315/article/details/102981906