diff options
Diffstat (limited to 'Master/texmf-dist/tex/latex/chess-problem-diagrams')
-rw-r--r-- | Master/texmf-dist/tex/latex/chess-problem-diagrams/diagram.sty | 4 |
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} |