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?




\begin{game}{2}{2}[You][Your partner][Prisoner's Dilemma]
    & Talk      & Quiet \\
    Talk  & $-10,-10$ & $-1,-20$ \\
    Quiet & $-20,-1$  & $-5,-5$ 


produces an error, as expected:

! Missing # inserted in alignment preamble.
<to be read again> 
l.26 ...{2}[You][Your partner][Prisoner's Dilemma]


Note that I realise I can do this without a dedicated package in any number of ways. I'm asking if somebody has already invented a wheel of the kind I seek.

Related Questions

How do I make a diagram like this in LaTeX?

Updated January 07, 2019 01:23 AM

Game theory trees, solid node size

Updated March 29, 2019 04:23 AM

game theory subgame box

Updated April 03, 2019 01:23 AM