summaryrefslogtreecommitdiff
path: root/Master/texmf-dist/tex
diff options
context:
space:
mode:
Diffstat (limited to 'Master/texmf-dist/tex')
-rw-r--r--Master/texmf-dist/tex/latex/chess-problem-diagrams/diagram.sty18
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%