summaryrefslogtreecommitdiff
path: root/Master/texmf-dist/tex/latex/sgame
diff options
context:
space:
mode:
Diffstat (limited to 'Master/texmf-dist/tex/latex/sgame')
-rw-r--r--Master/texmf-dist/tex/latex/sgame/sgame.sty13
-rw-r--r--Master/texmf-dist/tex/latex/sgame/sgamevar.sty13
2 files changed, 14 insertions, 12 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}
-
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)
% <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, 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}
-