summaryrefslogtreecommitdiff
path: root/Master/texmf-dist/tex/latex/chess-problem-diagrams
diff options
context:
space:
mode:
authorKarl Berry <karl@freefriends.org>2013-06-23 23:43:55 +0000
committerKarl Berry <karl@freefriends.org>2013-06-23 23:43:55 +0000
commitac69e1e7e9a1851a75554fbadc6087e4dd79b5a4 (patch)
treeb956be334b3643382fa9bc4774ad674cd382b921 /Master/texmf-dist/tex/latex/chess-problem-diagrams
parent3f214aab9775b3253253bc72fa7a58a0278206d4 (diff)
chess-problem-diagrams (23jun13)
git-svn-id: svn://tug.org/texlive/trunk@30870 c570f23f-e606-0410-a88d-b1316a301751
Diffstat (limited to 'Master/texmf-dist/tex/latex/chess-problem-diagrams')
-rw-r--r--Master/texmf-dist/tex/latex/chess-problem-diagrams/diagram.sty13
1 files changed, 12 insertions, 1 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 cc91d2f54d1..5e9eec6cd73 100644
--- a/Master/texmf-dist/tex/latex/chess-problem-diagrams/diagram.sty
+++ b/Master/texmf-dist/tex/latex/chess-problem-diagrams/diagram.sty
@@ -883,6 +883,13 @@
}%
}
\def\Imi{\ch@fig{157}}
+\def\wE{\ch@fig{216}}
+\def\nE{\ch@fig{222}}
+\def\sE{\ch@fig{228}}
+\def\wX{\ch@fig{180}}
+\def\nX{\ch@fig{186}}
+\def\sX{\ch@fig{192}}
+
\def\dia@above{%
\@dia@number%
\@dia@authors%
@@ -1476,9 +1483,13 @@
% An imitator should not count for any color.
\let\cpd@stepcounterPieces\relax
\advance\help@a 145%
+ \else\if#1E% Equihopper
+ \advance\help@a 216%
+ \else\if#1X% Equihopper senkrecht
+ \advance\help@a 180%
\else%
\errmessage{invalid piece!}%
- \fi\fi\fi\fi\fi\fi\fi%
+ \fi\fi\fi\fi\fi\fi\fi\fi\fi%
\futurelet\r@tate\chkr@tate%
}