summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--Master/texmf-dist/doc/latex/chess-problem-diagrams/README2
-rw-r--r--Master/texmf-dist/doc/latex/chess-problem-diagrams/diagram.pdfbin331689 -> 337873 bytes
-rw-r--r--Master/texmf-dist/source/latex/chess-problem-diagrams/diagram.dtx46
-rw-r--r--Master/texmf-dist/tex/latex/chess-problem-diagrams/diagram.sty13
4 files changed, 53 insertions, 8 deletions
diff --git a/Master/texmf-dist/doc/latex/chess-problem-diagrams/README b/Master/texmf-dist/doc/latex/chess-problem-diagrams/README
index 1c1e02cb8f4..aba4b9a0ce8 100644
--- a/Master/texmf-dist/doc/latex/chess-problem-diagrams/README
+++ b/Master/texmf-dist/doc/latex/chess-problem-diagrams/README
@@ -1,5 +1,5 @@
diagram --- A package for typesetting chessproblems
-Version 1.6.4 / Stefan Hoening 2012
+Version 1.6.5 / Stefan Hoening 2013
CONTENTS
diff --git a/Master/texmf-dist/doc/latex/chess-problem-diagrams/diagram.pdf b/Master/texmf-dist/doc/latex/chess-problem-diagrams/diagram.pdf
index 6e461bd5000..b60bd86c28e 100644
--- a/Master/texmf-dist/doc/latex/chess-problem-diagrams/diagram.pdf
+++ b/Master/texmf-dist/doc/latex/chess-problem-diagrams/diagram.pdf
Binary files differ
diff --git a/Master/texmf-dist/source/latex/chess-problem-diagrams/diagram.dtx b/Master/texmf-dist/source/latex/chess-problem-diagrams/diagram.dtx
index 9b364021d99..3f359c20add 100644
--- a/Master/texmf-dist/source/latex/chess-problem-diagrams/diagram.dtx
+++ b/Master/texmf-dist/source/latex/chess-problem-diagrams/diagram.dtx
@@ -13,9 +13,9 @@
%%
%%
% \fi
-% \def\fileversion{1.6.4}
-% \def\docdate{2012/11/18}
-% \CheckSum{4192}
+% \def\fileversion{1.6.5}
+% \def\docdate{2013/06/21}
+% \CheckSum{4220}
% \changes{v0.1}{15 Februar 2004}{First Version}
% \changes{v0.2}{23 Februar 2004}{Added the documentation for the
% {\itshape information collecting} macros which may be used
@@ -58,6 +58,7 @@
% \changes{v1.6.2}{11 November 2012}{Added boolean for allwhite problems.}
% \changes{v1.6.3}{12 November 2012}{Added boolean for board with switched field colors.}
% \changes{v1.6.4}{12 November 2012}{Added convenience command for 'allwhite' and 'switchcolors' booleans.}
+% \changes{v1.6.5}{21 June 2013}{As suggested by Torsten Lin{\ss} and Thomas Brand added support for Equihopper and turned Equihopper (X)}
%
% \DoNotIndex{\@arabic,\def,\@idxitem,\@ifnextchar,\@ifstar,
% \@ne,\@ptsize,\ ,\advance,\AtEndOfPackage,\begin,\begingroup,
@@ -222,7 +223,10 @@
% a neutral king on a4\newline
% {\bfseries w s n} may be used to specify the color of the
% piece.\newline
-% {\bfseries K D T L S B} may be used to specify the piece.\newline
+% {\bfseries K D T L S B C E X} may be used to specify the piece. A {\bfseries
+% C} is used for an imitator, {\bfseries E} for an equihopper and {\bfseries X}
+% for a rotated equihopper. You may {\itshape not} use an optional rotation
+% with {\bfseries C, E} and {\bfseries X}.\newline
% {\bfseries R U L} may be used to specify an optional rotation:
% right, upside-down, left. So you may use {\ttfamily sDUc7} for
% a grashopper on c7 --- displayed as an upsidedown
@@ -774,6 +778,24 @@
% \item[\sC]
% \DescribeMacro{\sC}
% a black circle
+% \item[\wE]
+% \DescribeMacro{\wE}
+% a white equihopper
+% \item[\sE]
+% \DescribeMacro{\sE}
+% a black equihopper
+% \item[\nE]
+% \DescribeMacro{\nE}
+% a neutral equihopper
+% \item[\wX]
+% \DescribeMacro{\wX}
+% a white rotated equihopper
+% \item[\sX]
+% \DescribeMacro{\sX}
+% a black rotated equihopper
+% \item[\nX]
+% \DescribeMacro{\nX}
+% a neutral rotated equihopper
% \end{description}
% \subsubsection{Other often used symbols}
% The style also defines commands for other symbols, which are
@@ -819,7 +841,8 @@
% using the order white, black, neutral
% \item the letters used to specify the type of a piece using the
% order king, queen, rook, bishop, knight, pawn. You may not
-% use a capital {\bfseries C}, because this is used for circles.
+% use the characters {\bfseries C, E} and {\bfseries X}, because these are
+% used for Circle, Equihopper and rotated Equihopper.
% \item the letters used to specify an optional rotation using
% the order left-turned, right-turned, upside-down. You must use
% capital letters for this.
@@ -1978,6 +2001,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}}
+
% \end{macrocode}
%
% \begin{macro}{\dia@above}
@@ -2608,9 +2638,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%
}
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%
}