![谁能帮我画这张表格?](https://linux22.com/image/473895/%E8%B0%81%E8%83%BD%E5%B8%AE%E6%88%91%E7%94%BB%E8%BF%99%E5%BC%A0%E8%A1%A8%E6%A0%BC%EF%BC%9F.png)
答案1
您没有显示任何 MWE,因此不清楚您(想要)使用哪些包,但使用该nicematrix
包您可以执行以下操作:
\documentclass[border=10pt]{standalone}
\usepackage{nicematrix, tikz}
\begin{document}
\begin{NiceTabular}[hvlines]{ *{7}{ w{c}{1cm} } }
\Block[name=dd]{2-1}{} & \Block{1-3}{AAA} & & & \Block{1-3}{BBB} & & \\
& X & Y & Z & X & Y & Z \\
& & & & & & \\
& & & & & & \\
\CodeAfter
\tikz{
\draw (1 -| 1) -- (2 -| 2) (1 -| 1) -- (3 -| 2);
\node[anchor=east] at ([yshift=7pt]dd.east) {\footnotesize U};
\node[anchor=east] at ([yshift=-4pt]dd.east) {\footnotesize V};
\node[anchor=south] at ([xshift=-5pt]dd.south) {\footnotesize W};
}
\end{NiceTabular}
\end{document}