我正在尝试制作如下所示的带有所有水平线和垂直线的表格。请帮忙。
答案1
\begin{table}[htbp]
\centering
\caption{Add caption}
\begin{tabular}{rr}
\toprule
title 1 & title 2 \\
\midrule
a & \multicolumn{1}{c}{\multirow{2}[0]{*}{c}} \\
b & \multicolumn{1}{c}{} \\
d & \multicolumn{1}{c}{\multirow{2}[0]{*}{f}} \\
e & \multicolumn{1}{c}{} \\
\bottomrule
\end{tabular}%
\label{tab:addlabel}%
\end{table}%