为了习惯使用 LaTeX,我开始使用各自期刊的类别重新创建著名论文。在约翰·纳什的非合作博弈,简单扑克游戏的回合安排如下:
我尝试过将enumerate
s 粘贴到 a 中tabular
,但结果看起来总是不对。那么,我该如何在 LaTeX 中正确地重新创建此图表,最好不依赖 Tikz 之类的东西?
编辑:我现在有一个最小的工作示例。剩下的就是删除杂散的垂直线。
\documentclass{standalone}
\usepackage{amsmath}
\usepackage{multirow}
\newcommand{\rom}[1]{\uppercase\expandafter{\romannumeral #1\relax}}
\begin{document}
\begin{tabular}{c|l|l|}
& \multicolumn{1}{c}{\small First Moves} & \multicolumn{1}{c}{\small Second Moves} \\
\cline{2-3}
\multirow{3}{*}{\rom{1}}
& $\alpha$ Open on \textit{high} & $\kappa$ Call \rom{3} on \textit{low} \\
& $\beta$ Open on \textit{low} & $\lambda$ Call \rom{2} on \textit{low} \\
& & $\mu$ Call \rom{2} and \rom{3} on \textit{low} \\
\cline{2-3}
\multirow{3}{*}{\rom{2}}
& $\gamma$ Call \rom{1} on \textit{low} & $\nu$ Call \rom{3} on \textit{low} \\
& $\delta$ Open on \textit{high} & $\xi$ Call \rom{3} and \rom{1} on \textit{low} \\
& $\epsilon$ Open on \textit{low} & \\
\cline{2-3}
\multirow{4}{*}{\rom{3}}
& $\zeta$ Call \rom{1} and \rom{2} on \textit{low} & \hphantom{$\mu$ }Player \rom{3} never gets a second move \\
& $\eta$ Open on \textit{low} & \\
& $\theta$ Call \rom{1} on \textit{low} & \\
& $\iota$ Call \rom{2} on \textit{low} & \\
\cline{2-3}
\end{tabular}
\end{document}
答案1
我决定放弃垂直规则并使用booktabs
添加一些填充。最终代码结合了以下答案:这里和这里:
\documentclass{standalone}
\usepackage{amsmath}
\usepackage{multirow}
\usepackage{booktabs}
\newcommand{\rom}[1]{\uppercase\expandafter{\romannumeral #1\relax}}
\begin{document}
\begin{tabular}{c l l}
& \multicolumn{1}{c}{\footnotesize First Moves} & \multicolumn{1}{c}{\footnotesize Second Moves} \\
\cmidrule{2-3}
\multirow{3}{*}{\rom{1}}
& $\alpha$ Open on \textit{high} & $\kappa$ Call \rom{3} on \textit{low} \\
& $\beta$ Open on \textit{low} & $\lambda$ Call \rom{2} on \textit{low} \\
& & $\mu$ Call \rom{2} and \rom{3} on \textit{low} \\
\cmidrule{2-3}
\multirow{3}{*}{\rom{2}}
& $\gamma$ Call \rom{1} on \textit{low} & $\nu$ Call \rom{3} on \textit{low} \\
& $\delta$ Open on \textit{high} & $\xi$ Call \rom{3} and \rom{1} on \textit{low} \\
& $\epsilon$ Open on \textit{low} \\
\cmidrule{2-3}
\multirow{4}{*}{\rom{3}}
& $\zeta$ Call \rom{1} and \rom{2} on \textit{low} & \hphantom{$\mu$ }Player \rom{3} never gets a second move \\
& $\eta$ Open on \textit{low} \\
& $\theta$ Call \rom{1} on \textit{low} \\
& $\iota$ Call \rom{2} on \textit{low} \\
\cmidrule{2-3}
\end{tabular}
\end{document}