![重新创建“非合作博弈”中的扑克游戏图](https://linux22.com/image/421643/%E9%87%8D%E6%96%B0%E5%88%9B%E5%BB%BA%E2%80%9C%E9%9D%9E%E5%90%88%E4%BD%9C%E5%8D%9A%E5%BC%88%E2%80%9D%E4%B8%AD%E7%9A%84%E6%89%91%E5%85%8B%E6%B8%B8%E6%88%8F%E5%9B%BE.png)
为了习惯使用 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}