![在 Latex 中创建复杂表格](https://linux22.com/image/314091/%E5%9C%A8%20Latex%20%E4%B8%AD%E5%88%9B%E5%BB%BA%E5%A4%8D%E6%9D%82%E8%A1%A8%E6%A0%BC.png)
我正在将一个项目文档转移到 Latex。但我遇到了一个困难。里面有一个复杂的表格,我真的不知道如何在 Latex 中重新制作它。你们能帮帮我吗?需要在 Latex 中构建下表:
提前感谢。
答案1
解决方案:
{
\centering
\captionof{table}{Play pattern}
\resizebox{\columnwidth}{!}{%
\begin{tabular}{cc|c|c|c|c|c|c}
\cline{3-7} & & \multicolumn{5}{ c| } {Rounds} \\
\cline{3-7} & & 1.Round & 2.Round & 3.Round & 4.Round & 5.Round\\
\cline{1-7} \multicolumn{1}{ |c }{\multirow{5}{*}{Phases} } & \multicolumn{1}{ |c| }{1. Phase: Taking a Pic} & Mary & Stanley & Mary & Stanley & ...\\
\cline{2-7} \multicolumn{1}{ |c }{} & \multicolumn{1}{ |c| }{2. Phase: Naming the Object} & Mary & Stanley & Mary & Stanley & ...\\
\cline{2-7} \multicolumn{1}{ |c }{} & \multicolumn{1}{ |c| }{3. Making the Puzzle} & System & System & System & System & ...\\
\cline{2-7} \multicolumn{1}{ |c }{} & \multicolumn{1}{ |c| }{4. Phase: Guessing... (Getting Clues)} & Stanley & Mary & Stanley & Mary & ...\\
\cline{2-7} \multicolumn{1}{ |c }{} & \multicolumn{1}{ |c| }{5. Round Resolution} & System & System & System & System & ...\\
\cline{1-7}
\cline{2-7}
\cline{4-7}\\
\end{tabular}
}
}