From cc3b3e30a405dc4ba1b36052935e2ff77424dca7 Mon Sep 17 00:00:00 2001 From: Karl Berry Date: Tue, 20 Nov 2012 01:10:45 +0000 Subject: chess-problem-diagrams (19nov12) git-svn-id: svn://tug.org/texlive/trunk@28303 c570f23f-e606-0410-a88d-b1316a301751 --- Master/texmf-dist/tex/latex/chess-problem-diagrams/diagram.sty | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) (limited to 'Master/texmf-dist/tex/latex/chess-problem-diagrams') 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} -- cgit v1.2.3