# Is there an alternative to sgame compatible with array?

by cfr   Last Updated October 19, 2019 23:23 PM - source

As noted in Christian Hupfer's answer, the package sgame is incompatible with array. Is there a more tolerant alternative for typesetting payoff matrices in game theory?

MNWE:

\documentclass{article}
\usepackage[utf8]{inputenc}
\usepackage[]{array}
\usepackage{sgame}

\begin{document}

& Talk      & Quiet \\
Talk  & $-10,-10$ & $-1,-20$ \\
Quiet & $-20,-1$  & $-5,-5$
\end{game}

\end{document}


produces an error, as expected:

! Missing # inserted in alignment preamble.