summaryrefslogtreecommitdiff
path: root/Master/texmf-dist/tex/latex/chess-problem-diagrams
diff options
context:
space:
mode:
authorKarl Berry <karl@freefriends.org>2012-11-20 01:10:45 +0000
committerKarl Berry <karl@freefriends.org>2012-11-20 01:10:45 +0000
commitcc3b3e30a405dc4ba1b36052935e2ff77424dca7 (patch)
treed7dac6c05f2eb90a818bafb708514135ebef7918 /Master/texmf-dist/tex/latex/chess-problem-diagrams
parentbe36daf1ff08dd6f8c4ca39d25e3b6c74eae2bb9 (diff)
chess-problem-diagrams (19nov12)
git-svn-id: svn://tug.org/texlive/trunk@28303 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.sty4
1 files changed, 3 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 57f66bee0c7..cc91d2f54d1 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}[2012/11/12]
+\ProvidesPackage{diagram}[2012/11/18]
\DeclareOption{10pt}{\AtBeginDocument{\diagramx}}
\DeclareOption{11pt}{\AtBeginDocument{\diagramxi}}
\DeclareOption{12pt}{\AtBeginDocument{\diagramxii}}
@@ -91,10 +91,12 @@
\newcount\@blackfield
\newboolean{allwhite}
\setboolean{allwhite}{false}
+\newcommand{\allwhite}{\setboolean{allwhite}{true}}
\newcounter{field@border}
\newcount\@whitefield
\newboolean{switchcolors}
\setboolean{switchcolors}{false}
+\newcommand{\switchcolors}{\setboolean{switchcolors}{true}}
\newboolean{cpd@checkPieceCounts}
\newcounter{cpd@defWhitePieces}
\newcounter{cpd@defBlackPieces}