今天想画一个表格,大概是这个样子。原图摘自:https://trouge.net/papers/link-previews_ndss20.pdf
这是最近经常看到的一类表格,想着自己也用一下。但是我不清楚黑色的圆圈不知道怎样画出来,latex本身并不包含这个符号,因此最后我是在ppt上画图片出来,插入表格中的。复现效果还可以。
过程如下:
1. 在PPT上画图。
2. 编辑latex
\begin{table}
\caption{hello world.}\label{tab1}
{
\begin{center}
\begin{tabular}{p{1cm}<{\centering}p{1cm}<{\centering}p{1cm}<{\centering}|p{1cm}<{\centering}p{1cm}<{\centering}p{1cm}<{\centering}p{1cm}<{\centering}|c}
\toprule
\multicolumn{3}{c|}{\textbf{test1}} &\multicolumn{4}{c|}{\textbf{test2}} & \multirow{2}[15]{1.5cm}{\textbf{test3}}\\
\rotatebox{90}{test4}&\rotatebox{90}{test5}&\rotatebox{90}{test6}&\rotatebox{90}{test7}&\rotatebox{90}{test8}&\rotatebox{90}{test9}&\rotatebox{90}{test10}& \\ \midrule
\includegraphics[scale=0.035]{picuture/图片1.png}&\includegraphics[scale=0.035]{picuture/图片2.png}&\includegraphics[scale=0.035]{picuture/图片3.png}&a&a&a&a&a\\ \bottomrule
\end{tabular}
\end{center}
}
\end{table}
效果图:
感觉还可以。
后面会出两个文章,记录一下看过论文的图和表,积累积累。