From 96921825b194de6f86a0e9aade7fc399c0a7726d Mon Sep 17 00:00:00 2001 From: Karl Berry Date: Wed, 26 Jun 2013 22:53:35 +0000 Subject: sgame (26jun13) git-svn-id: svn://tug.org/texlive/trunk@30959 c570f23f-e606-0410-a88d-b1316a301751 --- Master/texmf-dist/tex/latex/sgame/sgame.sty | 13 +++++++------ Master/texmf-dist/tex/latex/sgame/sgamevar.sty | 13 +++++++------ 2 files changed, 14 insertions(+), 12 deletions(-) (limited to 'Master/texmf-dist/tex/latex/sgame') 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) % LaTeX style file for typesetting strategic games % 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} - diff --git a/Master/texmf-dist/tex/latex/sgame/sgamevar.sty b/Master/texmf-dist/tex/latex/sgame/sgamevar.sty index 9f317c8161e..d90fdd88c08 100644 --- a/Master/texmf-dist/tex/latex/sgame/sgamevar.sty +++ b/Master/texmf-dist/tex/latex/sgame/sgamevar.sty @@ -2,7 +2,7 @@ % avoids \catcode changes) % LaTeX style file for typesetting strategic games % Martin J. Osborne (based on suggestions of Michael Carter) -% Version 2.14, 2008-12-2 +% Version 2.15, 2012-6-24 % Please report bugs to: martin.osborne@utoronto.ca % The latest version may be found at % http://www.economics.utoronto.ca/osborne/latex @@ -11,6 +11,8 @@ % http://www.ctan.org/tex-archive/help/Catalogue/licenses.lppl.html % for details. +\RequirePackage{color} + \def\sglinecolor{black} \def\sgtextcolor{black} @@ -224,8 +226,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% @@ -360,7 +362,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 @@ -428,7 +430,7 @@ \leavevmode \hbox \bgroup $\let\@acol\@tabacol% \let\@classz\@tabclassz% \let\@classiv\@tabclassiv% - \def\\{% + \def\\{\unskip% \color{\sglinecolor}% \ifgamemath$\fi% \unskip\egroup% @@ -497,4 +499,3 @@ \def\@gifnch{\ifx\@tempc\@sptoken\let\@tempd\@tempb% \else\ifx\@tempc\@tempe\let\@tempd\@tempa\else\let\@tempd\@tempb\fi\fi\@tempd} - -- cgit v1.2.3