diff options
author | Karl Berry <karl@freefriends.org> | 2016-01-08 22:22:49 +0000 |
---|---|---|
committer | Karl Berry <karl@freefriends.org> | 2016-01-08 22:22:49 +0000 |
commit | 1612297da2fca94230bf9c6cca94e9cfcad893a0 (patch) | |
tree | e744361ad3824db23faf1c972951efd1f8f36032 /Master/texmf-dist/tex | |
parent | 29703b129271d1fbc07177489531ff9fab3c3f51 (diff) |
chess-problem-diagrams (8jan16)
git-svn-id: svn://tug.org/texlive/trunk@39317 c570f23f-e606-0410-a88d-b1316a301751
Diffstat (limited to 'Master/texmf-dist/tex')
-rw-r--r-- | Master/texmf-dist/tex/latex/chess-problem-diagrams/diagram.sty | 18 |
1 files changed, 9 insertions, 9 deletions
diff --git a/Master/texmf-dist/tex/latex/chess-problem-diagrams/diagram.sty b/Master/texmf-dist/tex/latex/chess-problem-diagrams/diagram.sty index f0ed64ed406..4093ffae6d3 100644 --- a/Master/texmf-dist/tex/latex/chess-problem-diagrams/diagram.sty +++ b/Master/texmf-dist/tex/latex/chess-problem-diagrams/diagram.sty @@ -36,7 +36,7 @@ %% %% -\ProvidesPackage{diagram}[2015/03/16] +\ProvidesPackage{diagram}[2016/01/06] \newcommand*{\DefaultDiagramSize}{} \DeclareOption{10pt}{\renewcommand*{\DefaultDiagramSize}{\diagramx}} \DeclareOption{11pt}{\renewcommand*{\DefaultDiagramSize}{\diagramxi}} @@ -602,7 +602,7 @@ \def\ra{\mbox{$\rightarrow$}} \def\lra{\mbox{$\leftrightarrow$}} \let\rla=\lra -\def\x{\mbox{\ifmmode\times\else$\times$\fi}} +\newcommand{\x}{\mbox{\ifmmode\times\else$\times$\fi}} \def\set{\kern -.05em\raise .1ex\hbox{*}} \def\@O{0\raise.25ex\hbox{-}\kern -.1em\relax} \def\OO{\@O0} @@ -1517,9 +1517,9 @@ } \def\chkr@tate{% - \if\r@tate \ds@upsidedown\advance\help@a 108\let\nextpr@c=\skipr@t\else% - \if\r@tate \ds@left\advance\help@a 36\let\nextpr@c=\skipr@t\else% - \if\r@tate \ds@right\advance\help@a 72\let\nextpr@c=\skipr@t\else% + \if\r@tate \ds@rotation@upsidedown\advance\help@a 108\let\nextpr@c=\skipr@t\else% + \if\r@tate \ds@rotation@left\advance\help@a 36\let\nextpr@c=\skipr@t\else% + \if\r@tate \ds@rotation@right\advance\help@a 72\let\nextpr@c=\skipr@t\else% \let\nextpr@c\piece@job\fi\fi\fi\nextpr@c% } \def\skipr@t#1{\piece@job} @@ -2104,7 +2104,7 @@ } \def\@setPieceRotation#1#2#3{% - \gdef\ds@left{#1}\gdef\ds@right{#2}\gdef\ds@upsidedown{#3}% + \gdef\ds@rotation@left{#1}\gdef\ds@rotation@right{#2}\gdef\ds@rotation@upsidedown{#3}% } \def\loop@rotation{% \bgroup% @@ -2114,11 +2114,11 @@ \ifcase\n@cnt% \def\@theRotation{}% \or% - \def\@theRotation{\ds@left}% + \def\@theRotation{\ds@rotation@left}% \or% - \def\@theRotation{\ds@right}% + \def\@theRotation{\ds@rotation@right}% \or% - \def\@theRotation{\ds@upsidedown}% + \def\@theRotation{\ds@rotation@upsidedown}% \fi% \loop@color% \advance\n@cnt\@ne% |