答案1
答案2
像这样
\documentclass{article}
\begin{document}
\renewcommand{\arraystretch}{3}
\begin{tabular}{|p{3cm}|p{3cm}|p{3cm}|p{3cm}|}
\hline
A & \multicolumn{2}{|l|}{B} & C \\ \hline
D & E & F & G \\ \hline
\end{tabular}
\end{document}
答案3
也许是这样的?
\documentclass[12pt]{article}
\usepackage{array}
\usepackage{boldline}
\usepackage[x11names, table]{xcolor}
\begin{document}
{\setlength\fboxsep{-0.6pt}\setlength\fboxrule{1pt}
\setlength\arrayrulewidth{0.6pt}\arrayrulecolor{LightSteelBlue3}
\fcolorbox{RoyalBlue4}{white}{\begin{tabular}{*{4}{|>{\rule[-8.5mm]{0pt}{20mm}}m{2.5cm}}}
A & \multicolumn{2}{>{\rule[-8.5mm]{0pt}{20mm}}l|}{B} & C\\
\hline
D & E & F & G
\end{tabular}}}
\end{document}
仅使用另一种解决方案array
:
\documentclass[12pt]{article}
\usepackage{array}
\begin{document}
{\setlength\fboxsep{-0.6pt}\setlength\fboxrule{1pt}
\setlength\arrayrulewidth{0.6pt}
\fbox{\begin{tabular}{*{4}{|>{\rule[-8.5mm]{0pt}{20mm}}m{2.5cm}}}
A & \multicolumn{2}{>{\rule[-8.5mm]{0pt}{20mm}}l|}{B} & C\\
\hline
D & E & F & G
\end{tabular}}}
\end{document} %