diff options
Diffstat (limited to 'Master/texmf-dist/tex/latex/sgame/sgame.sty')
-rw-r--r-- | Master/texmf-dist/tex/latex/sgame/sgame.sty | 13 |
1 files changed, 7 insertions, 6 deletions
diff --git a/Master/texmf-dist/tex/latex/sgame/sgame.sty b/Master/texmf-dist/tex/latex/sgame/sgame.sty index 9107813a330..b142980b17c 100644 --- a/Master/texmf-dist/tex/latex/sgame/sgame.sty +++ b/Master/texmf-dist/tex/latex/sgame/sgame.sty @@ -1,7 +1,7 @@ % sgame.sty (for formatting strategic games) % <title>LaTeX style file for typesetting strategic games</title> % Martin J. Osborne (based on suggestions of Michael Carter) -% Version 2.14, 2008/12/2 +% Version 2.15, 2013/6/24 % Please report bugs to: martin.osborne@utoronto.ca % The latest version may be found at % http://www.economics.utoronto.ca/osborne/latex @@ -10,6 +10,8 @@ % http://www.ctan.org/tex-archive/help/Catalogue/licenses.lppl.html % for details. +\RequirePackage{color} + \def\sglinecolor{black} \def\sgtextcolor{black} @@ -223,8 +225,8 @@ \leavevmode \hbox \bgroup $\let\@acol\@tabacol% \let\@classz\@tabclassz% \let\@classiv\@tabclassiv% - \def\\{% - \gdef&{\color{\sglinecolor}% + \def\\{\unskip% + \gdef&{\unskip\color{\sglinecolor}% \ifgamemath% \ifnum\sg@colindex=1% \else$\fi% @@ -364,7 +366,7 @@ \gdef\@gamestar#1#2{% \catcode`\&=\active% \sg@makegstrutbox{\sg@alignchar}% - \gdef&{\color{\sglinecolor}% + \gdef&{\unskip\color{\sglinecolor}% \ifgamemath$\fi% \unskip\egroup% \ifdim\sg@colwd<\wd0 @@ -432,7 +434,7 @@ \leavevmode \hbox \bgroup $\let\@acol\@tabacol% \let\@classz\@tabclassz% \let\@classiv\@tabclassiv% - \def\\{% + \def\\{\unskip% \color{\sglinecolor}% \ifgamemath$\fi% \unskip\egroup% @@ -500,4 +502,3 @@ \def\@gifnch{\ifx\@tempc\@sptoken\let\@tempd\@tempb% \else\ifx\@tempc\@tempe\let\@tempd\@tempa\else\let\@tempd\@tempb\fi\fi\@tempd} - |