summaryrefslogtreecommitdiff
path: root/Master/texmf-dist/tex/latex/chess-problem-diagrams
diff options
context:
space:
mode:
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%
}