获取拆分变量列的行给我带来了麻烦。
答案1
您不应该尝试拆分列,而应该合并标题单元格:
\begin{table}
\centering
\begin{tabular}{|c|c|c|c|c|c|}
\toprule
\multicolumn{2}{c}{Variables} & Statement & Inverse & Converse & Contrapositive\\
\midrule
\textit{p} & \textit{q} & & & \\
\bottomrule
\end{tabular}
\end{table}