summaryrefslogtreecommitdiff
path: root/Master/texmf-dist/tex
diff options
context:
space:
mode:
authorNorbert Preining <preining@logic.at>2006-10-11 18:05:50 +0000
committerNorbert Preining <preining@logic.at>2006-10-11 18:05:50 +0000
commitcd5ac0ebd2699776c7b807ee322812b4e94210ce (patch)
treee211885e5f70d21df01802b77c685a297ddf9cb6 /Master/texmf-dist/tex
parentf38ebc89879be11277f031e411e7515bef2bde47 (diff)
update xq
git-svn-id: svn://tug.org/texlive/trunk@2304 c570f23f-e606-0410-a88d-b1316a301751
Diffstat (limited to 'Master/texmf-dist/tex')
-rw-r--r--Master/texmf-dist/tex/latex/xq/xq.sty2287
1 files changed, 2268 insertions, 19 deletions
diff --git a/Master/texmf-dist/tex/latex/xq/xq.sty b/Master/texmf-dist/tex/latex/xq/xq.sty
index a1b85894a90..5901cb8534d 100644
--- a/Master/texmf-dist/tex/latex/xq/xq.sty
+++ b/Master/texmf-dist/tex/latex/xq/xq.sty
@@ -1,20 +1,42 @@
-%xq.sty, version 0.2
+%xq.sty, version 0.3
-%this style is made for writing about xiangqi. I never wrote something like this before so do not expect too much. You can write down games or parts of games and show diagrams of positions (take a look at xqexample.tex). The move display was more or less copied from the one in chess.sty by Piet Tutelaers, the diagrams follow the idea of Jacques Richer in cchessboard.tex. If you make any changes in this file, please rename it. If changes are making this style work better (which i guess is rather simple) please share your improvements with me. Thanks in advance.
+%this style is made for writing about xiangqi. I never wrote something like this before so do not expect too much. You can write down games or parts of games and show diagrams of positions (take a look at xqexample.tex). The move display was more or less copied from the one in chess.sty by Piet Tutelaers, the diagrams follow the idea of Jacques Richer in cchessboard.tex.The boards are available in normal and large size and with chinese or western pieces. If you make any changes in this file, please rename it. If changes are making this style work better (which i guess is rather simple) please share your improvements with me. Thanks in advance.
%Stephan Weinhold 09.2006
%stewei@surfeu.de
-%define a language for input of positions
+%define a language for input of positions and piece letters shown in the moveblocks
\def\german{german}
\def\english{english}
+\def\french{french}
+\def\italian{italian}
+\def\czech{czech}
+\def\spanish{spanish}
+\def\dutch{dutch}
%\def\nameofmylanguage{nameofmylanguage}
\def\mylanguage #1 {
\def\checklangg{#1}
+%\ifx\checklangg\nameofmylanguage
+%\gdef\redking{*}%input your preferred letters here
+%\gdef\blackking{*}
+%\gdef\redchariot{*}
+%\gdef\blackchariot{*}
+%\gdef\redcannon{*}
+%\gdef\blackcannon{*}
+%\gdef\redhorse{*}
+%\gdef\blackhorse{*}
+%\gdef\redelephant{*}
+%\gdef\blackelephant{*}
+%\gdef\redguard{*}
+%\gdef\blackguard{*}
+%\gdef\redpawn{*}
+%\gdef\blackpawn{*}
+%\fi
+
\ifx\checklangg\german
\gdef\redking{F}
\gdef\blackking{f}
@@ -31,22 +53,7 @@
\gdef\redpawn{S}
\gdef\blackpawn{s}
\fi
-%\ifx\checklangg\mylanguage
-%\gdef\redking{*}%input your favorite letters here
-%\gdef\blackking{*}
-%\gdef\redchariot{*}
-%\gdef\blackchariot{*}
-%\gdef\redcannon{*}
-%\gdef\blackcannon{*}
-%\gdef\redhorse{*}
-%\gdef\blackhorse{*}
-%\gdef\redelephant{*}
-%\gdef\blackelephant{*}
-%\gdef\redguard{*}
-%\gdef\blackguard{*}
-%\gdef\redpawn{*}
-%\gdef\blackpawn{*}
-%\fi
+
\ifx\checklangg\english
\gdef\redking{K}
\gdef\blackking{k}
@@ -63,10 +70,158 @@
\gdef\redpawn{P}
\gdef\blackpawn{p}%
\fi
+
+\ifx\checklangg\french
+\gdef\redking{R}
+\gdef\blackking{r}
+\gdef\redchariot{T}
+\gdef\blackchariot{t}
+\gdef\redcannon{B}
+\gdef\blackcannon{b}
+\gdef\redhorse{C}
+\gdef\blackhorse{c}
+\gdef\redelephant{E}
+\gdef\blackelephant{e}
+\gdef\redguard{M}
+\gdef\blackguard{m}
+\gdef\redpawn{P}
+\gdef\blackpawn{p}
+\fi
+
+\ifx\checklangg\italian
+\gdef\redking{R}
+\gdef\blackking{r}
+\gdef\redchariot{T}
+\gdef\blackchariot{t}
+\gdef\redcannon{B}
+\gdef\blackcannon{b}
+\gdef\redhorse{C}
+\gdef\blackhorse{c}
+\gdef\redelephant{E}
+\gdef\blackelephant{e}
+\gdef\redguard{M}
+\gdef\blackguard{m}
+\gdef\redpawn{P}
+\gdef\blackpawn{p}
+\fi
+
+\ifx\checklangg\spanish
+\gdef\redking{R}
+\gdef\blackking{r}
+\gdef\redchariot{T}
+\gdef\blackchariot{t}
+\gdef\redcannon{B}
+\gdef\blackcannon{b}
+\gdef\redhorse{C}
+\gdef\blackhorse{c}
+\gdef\redelephant{E}
+\gdef\blackelephant{e}
+\gdef\redguard{O}
+\gdef\blackguard{o}
+\gdef\redpawn{P}
+\gdef\blackpawn{p}
+\fi
+
+\ifx\checklangg\czech
+\gdef\redking{K}
+\gdef\blackking{k}
+\gdef\redchariot{V}
+\gdef\blackchariot{v}
+\gdef\redcannon{D}
+\gdef\blackcannon{d}
+\gdef\redhorse{J}
+\gdef\blackhorse{j}
+\gdef\redelephant{S}
+\gdef\blackelephant{s}
+\gdef\redguard{R}
+\gdef\blackguard{r}
+\gdef\redpawn{P}
+\gdef\blackpawn{p}
+\fi
+
+\ifx\checklangg\dutch
+\gdef\redking{G}
+\gdef\blackking{g}
+\gdef\redchariot{T}
+\gdef\blackchariot{t}
+\gdef\redcannon{K}
+\gdef\blackcannon{k}
+\gdef\redhorse{P}
+\gdef\blackhorse{p}
+\gdef\redelephant{O}
+\gdef\blackelephant{o}
+\gdef\redguard{A}
+\gdef\blackguard{a}
+\gdef\redpawn{S}
+\gdef\blackpawn{s}
+\fi
}
+%show pieces in running text
+
+\font\xqintext=xqnormal
+
+\def\textpiece #1 {%
+%
+\def\pieceinput{#1}%
+%
+\if\pieceinput\redking \def\showpiece{F}\fi%
+\if\pieceinput\blackking \def\showpiece{f}\fi%
+\if\pieceinput\redguard \def\showpiece{M}\fi%
+\if\pieceinput\blackguard \def\showpiece{m}\fi%
+\if\pieceinput\redelephant \def\showpiece{E}\fi%
+\if\pieceinput\blackelephant \def\showpiece{e}\fi%
+\if\pieceinput\redhorse \def\showpiece{P}\fi%
+\if\pieceinput\blackhorse \def\showpiece{p}\fi%
+\if\pieceinput\redchariot \def\showpiece{W}\fi%
+\if\pieceinput\blackchariot \def\showpiece{w}\fi%
+\if\pieceinput\redcannon \def\showpiece{K}\fi%
+\if\pieceinput\blackcannon \def\showpiece{k}\fi%
+\if\pieceinput\redpawn \def\showpiece{S}\fi%
+\if\pieceinput\blackpawn \def\showpiece{s}\fi%
+%
+\def\poutput{\xqintext\showpiece\,}%
+\poutput%
+\normalfont%
+}%
+
+\font\westxqintext=xqwestnormal
+
+\def\westerntextpiece #1 {%
+%
+\def\pieceinput{#1}%
+%
+\if\pieceinput\redking \def\showpiece{F}\fi%
+\if\pieceinput\blackking \def\showpiece{f}\fi%
+\if\pieceinput\redguard \def\showpiece{M}\fi%
+\if\pieceinput\blackguard \def\showpiece{m}\fi%
+\if\pieceinput\redelephant \def\showpiece{E}\fi%
+\if\pieceinput\blackelephant \def\showpiece{e}\fi%
+\if\pieceinput\redhorse \def\showpiece{P}\fi%
+\if\pieceinput\blackhorse \def\showpiece{p}\fi%
+\if\pieceinput\redchariot \def\showpiece{W}\fi%
+\if\pieceinput\blackchariot \def\showpiece{w}\fi%
+\if\pieceinput\redcannon \def\showpiece{K}\fi%
+\if\pieceinput\blackcannon \def\showpiece{k}\fi%
+\if\pieceinput\redpawn \def\showpiece{S}\fi%
+\if\pieceinput\blackpawn \def\showpiece{s}\fi%
+%
+\def\poutput{\westxqintext\showpiece\,}%
+\poutput%
+\normalfont%
+}%
+
+%write down variations in running text
+\def\capt{$\times$}\def\dottys{$\dots$}
+\catcode`\*=13\catcode`\|=13%
+
+\gdef\bv{\begin{variation}} \gdef\ev{\end{variation}}
+\def\variation{\let|=\dottys\let*=\capt}
+\gdef\makevisible{\catcode`\*=12\catcode`\|=12}
+\gdef\makeactive{\catcode`\*=13\catcode`\|=13}
+
%write down moves,
\gdef\line#1{\hbox to \textwidth{#1}}
@@ -21393,6 +21548,491 @@
\if\pts\redpawn \def\pinull{S}\fi
\if\pts\blackpawn \def\pinull{s}\fi\fi\fi
}
+
+%definitions for additional signs
+\def\legal{L}
+\def\illegal{U}
+\def\blackp{B}
+\def\redp{R}
+
+
+\def\addsign #1#2#3{
+
+\def\addbrow{#3}
+\def\addbline{#2}
+ \if\addbline\ali
+ \if\addbrow\brone \aoneset=2 \def\addsts{#1}
+ \if\addsts\legal \def\paone{L}\fi
+ \if\addsts\illegal \def\paone{U}\fi
+ \if\addsts\redp \def\paone{R}\fi
+ \if\addsts\blackp \def\paone{B}\fi\fi
+ \if\addbrow\brtwo \atwoset=2 \def\addsts{#1}
+ \if\addsts\legal \def\patwo{L}\fi
+ \if\addsts\illegal \def\patwo{U}\fi
+ \if\addsts\redp \def\patwo{R}\fi
+ \if\addsts\blackp \def\patwo{B}\fi\fi
+ \if\addbrow\brthree \athreeset=2 \def\addsts{#1}
+ \if\addsts\legal \def\pathree{L}\fi
+ \if\addsts\illegal \def\pathree{U}\fi
+ \if\addsts\redp \def\pathree{R}\fi
+ \if\addsts\blackp \def\pathree{B}\fi\fi
+ \if\addbrow\brfour \afourset=2 \def\addsts{#1}
+ \if\addsts\legal \def\pafour{L}\fi
+ \if\addsts\illegal \def\pafour{U}\fi
+ \if\addsts\redp \def\pafour{R}\fi
+ \if\addsts\blackp \def\pafour{B}\fi\fi
+ \if\addbrow\brfive \afiveset=2 \def\addsts{#1}
+ \if\addsts\legal \def\pafive{L}\fi
+ \if\addsts\illegal \def\pafive{U}\fi
+ \if\addsts\redp \def\pafive{R}\fi
+ \if\addsts\blackp \def\pafive{B}\fi\fi
+ \if\addbrow\brsix \asixset=2 \def\addsts{#1}
+ \if\addsts\legal \def\pasix{L}\fi
+ \if\addsts\illegal \def\pasix{U}\fi
+ \if\addsts\redp \def\pasix{R}\fi
+ \if\addsts\blackp \def\pasix{B}\fi\fi
+ \if\addbrow\brseven \asevenset=2 \def\addsts{#1}
+ \if\addsts\legal \def\paseven{L}\fi
+ \if\addsts\illegal \def\paseven{U}\fi
+ \if\addsts\redp \def\paseven{R}\fi
+ \if\addsts\blackp \def\paseven{B}\fi\fi
+ \if\addbrow\breight \aeightset=2 \def\addsts{#1}
+ \if\addsts\legal \def\paeight{L}\fi
+ \if\addsts\illegal \def\paeight{U}\fi
+ \if\addsts\redp \def\paeight{R}\fi
+ \if\addsts\blackp \def\paeight{B}\fi\fi
+ \if\addbrow\brnine \anineset=2 \def\addsts{#1}
+ \if\addsts\legal \def\panine{L}\fi
+ \if\addsts\illegal \def\panine{U}\fi
+ \if\addsts\redp \def\panine{R}\fi
+ \if\addsts\blackp \def\panine{B}\fi\fi
+ \if\addbrow\brnull \anullset=2 \def\addsts{#1}
+ \if\addsts\legal \def\panull{L}\fi
+ \if\addsts\illegal \def\panull{U}\fi
+ \if\addsts\redp \def\panull{R}\fi
+ \if\addsts\blackp \def\panull{B}\fi\fi\fi
+
+ \if\addbline\bli
+ \if\addbrow\brone \boneset=2 \def\addsts{#1}
+ \if\addsts\legal \def\pbone{L}\fi
+ \if\addsts\illegal \def\pbone{U}\fi
+ \if\addsts\redp \def\pbone{R}\fi
+ \if\addsts\blackp \def\pbone{B}\fi\fi
+ \if\addbrow\brtwo \btwoset=2 \def\addsts{#1}
+ \if\addsts\legal \def\pbtwo{L}\fi
+ \if\addsts\illegal \def\pbtwo{U}\fi
+ \if\addsts\redp \def\pbtwo{R}\fi
+ \if\addsts\blackp \def\pbtwo{B}\fi\fi
+ \if\addbrow\brthree \bthreeset=2 \def\addsts{#1}
+ \if\addsts\legal \def\pbthree{L}\fi
+ \if\addsts\illegal \def\pbthree{U}\fi
+ \if\addsts\redp \def\pbthree{R}\fi
+ \if\addsts\blackp \def\pbthree{B}\fi\fi
+ \if\addbrow\brfour \bfourset=2 \def\addsts{#1}
+ \if\addsts\legal \def\pbfour{L}\fi
+ \if\addsts\illegal \def\pbfour{U}\fi
+ \if\addsts\redp \def\pbfour{R}\fi
+ \if\addsts\blackp \def\pbfour{B}\fi\fi
+ \if\addbrow\brfive \bfiveset=2 \def\addsts{#1}
+ \if\addsts\legal \def\pbfive{L}\fi
+ \if\addsts\illegal \def\pbfive{U}\fi
+ \if\addsts\redp \def\pbfive{R}\fi
+ \if\addsts\blackp \def\pbfive{B}\fi\fi
+ \if\addbrow\brsix \bsixset=2 \def\addsts{#1}
+ \if\addsts\legal \def\pbsix{L}\fi
+ \if\addsts\illegal \def\pbsix{U}\fi
+ \if\addsts\redp \def\pbsix{R}\fi
+ \if\addsts\blackp \def\pbsix{B}\fi\fi
+ \if\addbrow\brseven \bsevenset=2 \def\addsts{#1}
+ \if\addsts\legal \def\pbseven{L}\fi
+ \if\addsts\illegal \def\pbseven{U}\fi
+ \if\addsts\redp \def\pbseven{R}\fi
+ \if\addsts\blackp \def\pbseven{B}\fi\fi
+ \if\addbrow\breight \beightset=2 \def\addsts{#1}
+ \if\addsts\legal \def\pbeight{L}\fi
+ \if\addsts\illegal \def\pbeight{U}\fi
+ \if\addsts\redp \def\pbeight{R}\fi
+ \if\addsts\blackp \def\pbeight{B}\fi\fi
+ \if\addbrow\brnine \bnineset=2 \def\addsts{#1}
+ \if\addsts\legal \def\pbnine{L}\fi
+ \if\addsts\illegal \def\pbnine{U}\fi
+ \if\addsts\redp \def\pbnine{R}\fi
+ \if\addsts\blackp \def\pbnine{B}\fi\fi
+ \if\addbrow\brnull \bnullset=2 \def\addsts{#1}
+ \if\addsts\legal \def\pbnull{L}\fi
+ \if\addsts\illegal \def\pbnull{U}\fi
+ \if\addsts\redp \def\pbnull{R}\fi
+ \if\addsts\blackp \def\pbnull{B}\fi\fi\fi
+
+
+ \if\addbline\cli
+ \if\addbrow\brone \coneset=2 \def\addsts{#1}
+ \if\addsts\legal \def\pcone{L}\fi
+ \if\addsts\illegal \def\pcone{U}\fi
+ \if\addsts\redp \def\pcone{R}\fi
+ \if\addsts\blackp \def\pcone{B}\fi\fi
+ \if\addbrow\brtwo \ctwoset=2 \def\addsts{#1}
+ \if\addsts\legal \def\pctwo{L}\fi
+ \if\addsts\illegal \def\pctwo{U}\fi
+ \if\addsts\redp \def\pctwo{R}\fi
+ \if\addsts\blackp \def\pctwo{B}\fi\fi
+ \if\addbrow\brthree \cthreeset=2 \def\addsts{#1}
+ \if\addsts\legal \def\pcthree{L}\fi
+ \if\addsts\illegal \def\pcthree{U}\fi
+ \if\addsts\redp \def\pcthree{R}\fi
+ \if\addsts\blackp \def\pcthree{B}\fi\fi
+ \if\addbrow\brfour \cfourset=2 \def\addsts{#1}
+ \if\addsts\legal \def\pcfour{L}\fi
+ \if\addsts\illegal \def\pcfour{U}\fi
+ \if\addsts\redp \def\pcfour{R}\fi
+ \if\addsts\blackp \def\pcfour{B}\fi\fi
+ \if\addbrow\brfive \cfiveset=2 \def\addsts{#1}
+ \if\addsts\legal \def\pcfive{L}\fi
+ \if\addsts\illegal \def\pcfive{U}\fi
+ \if\addsts\redp \def\pcfive{R}\fi
+ \if\addsts\blackp \def\pcfive{B}\fi\fi
+ \if\addbrow\brsix \csixset=2 \def\addsts{#1}
+ \if\addsts\legal \def\pcsix{L}\fi
+ \if\addsts\illegal \def\pcsix{U}\fi
+ \if\addsts\redp \def\pcsix{R}\fi
+ \if\addsts\blackp \def\pcsix{B}\fi\fi
+ \if\addbrow\brseven \csevenset=2 \def\addsts{#1}
+ \if\addsts\legal \def\pcseven{L}\fi
+ \if\addsts\illegal \def\pcseven{U}\fi
+ \if\addsts\redp \def\pcseven{R}\fi
+ \if\addsts\blackp \def\pcseven{B}\fi\fi
+ \if\addbrow\breight \ceightset=2 \def\addsts{#1}
+ \if\addsts\legal \def\pceight{L}\fi
+ \if\addsts\illegal \def\pceight{U}\fi
+ \if\addsts\redp \def\pceight{R}\fi
+ \if\addsts\blackp \def\pceight{B}\fi\fi
+ \if\addbrow\brnine \cnineset=2 \def\addsts{#1}
+ \if\addsts\legal \def\pcnine{L}\fi
+ \if\addsts\illegal \def\pcnine{U}\fi
+ \if\addsts\redp \def\pcnine{R}\fi
+ \if\addsts\blackp \def\pcnine{B}\fi\fi
+ \if\addbrow\brnull \cnullset=2 \def\addsts{#1}
+ \if\addsts\legal \def\pcnull{L}\fi
+ \if\addsts\illegal \def\pcnull{U}\fi
+ \if\addsts\redp \def\pcnull{R}\fi
+ \if\addsts\blackp \def\pcnull{B}\fi\fi\fi
+
+ \if\addbline\dli
+ \if\addbrow\brone \doneset=2 \def\addsts{#1}
+ \if\addsts\legal \def\pdone{L}\fi
+ \if\addsts\illegal \def\pdone{U}\fi
+ \if\addsts\redp \def\pdone{R}\fi
+ \if\addsts\blackp \def\pdone{B}\fi\fi
+ \if\addbrow\brtwo \dtwoset=2 \def\addsts{#1}
+ \if\addsts\legal \def\pdtwo{L}\fi
+ \if\addsts\illegal \def\pdtwo{U}\fi
+ \if\addsts\redp \def\pdtwo{R}\fi
+ \if\addsts\blackp \def\pdtwo{B}\fi\fi
+ \if\addbrow\brthree \dthreeset=2 \def\addsts{#1}
+ \if\addsts\legal \def\pdthree{L}\fi
+ \if\addsts\illegal \def\pdthree{U}\fi
+ \if\addsts\redp \def\pdthree{R}\fi
+ \if\addsts\blackp \def\pdthree{B}\fi\fi
+ \if\addbrow\brfour \dfourset=2 \def\addsts{#1}
+ \if\addsts\legal \def\pdfour{L}\fi
+ \if\addsts\illegal \def\pdfour{U}\fi
+ \if\addsts\redp \def\pdfour{R}\fi
+ \if\addsts\blackp \def\pdfour{B}\fi\fi
+ \if\addbrow\brfive \dfiveset=2 \def\addsts{#1}
+ \if\addsts\legal \def\pdfive{L}\fi
+ \if\addsts\illegal \def\pdfive{U}\fi
+ \if\addsts\redp \def\pdfive{R}\fi
+ \if\addsts\blackp \def\pdfive{B}\fi\fi
+ \if\addbrow\brsix \dsixset=2 \def\addsts{#1}
+ \if\addsts\legal \def\pdsix{L}\fi
+ \if\addsts\illegal \def\pdsix{U}\fi
+ \if\addsts\redp \def\pdsix{R}\fi
+ \if\addsts\blackp \def\pdsix{B}\fi\fi
+ \if\addbrow\brseven \dsevenset=2 \def\addsts{#1}
+ \if\addsts\legal \def\pdseven{L}\fi
+ \if\addsts\illegal \def\pdseven{U}\fi
+ \if\addsts\redp \def\pdseven{R}\fi
+ \if\addsts\blackp \def\pdseven{B}\fi\fi
+ \if\addbrow\breight \deightset=2 \def\addsts{#1}
+ \if\addsts\legal \def\pdeight{L}\fi
+ \if\addsts\illegal \def\pdeight{U}\fi
+ \if\addsts\redp \def\pdeight{R}\fi
+ \if\addsts\blackp \def\pdeight{B}\fi\fi
+ \if\addbrow\brnine \dnineset=2 \def\addsts{#1}
+ \if\addsts\legal \def\pdnine{L}\fi
+ \if\addsts\illegal \def\pdnine{U}\fi
+ \if\addsts\redp \def\pdnine{R}\fi
+ \if\addsts\blackp \def\pdnine{B}\fi\fi
+ \if\addbrow\brnull \dnullset=2 \def\addsts{#1}
+ \if\addsts\legal \def\pdnull{L}\fi
+ \if\addsts\illegal \def\pdnull{U}\fi
+ \if\addsts\redp \def\pdnull{R}\fi
+ \if\addsts\blackp \def\pdnull{B}\fi\fi\fi
+
+ \if\addbline\eli
+ \if\addbrow\brone \eoneset=2 \def\addsts{#1}
+ \if\addsts\legal \def\peone{L}\fi
+ \if\addsts\illegal \def\peone{U}\fi
+ \if\addsts\redp \def\peone{R}\fi
+ \if\addsts\blackp \def\peone{B}\fi\fi
+ \if\addbrow\brtwo \etwoset=2 \def\addsts{#1}
+ \if\addsts\legal \def\petwo{L}\fi
+ \if\addsts\illegal \def\petwo{U}\fi
+ \if\addsts\redp \def\petwo{R}\fi
+ \if\addsts\blackp \def\petwo{B}\fi\fi
+ \if\addbrow\brthree \ethreeset=2 \def\addsts{#1}
+ \if\addsts\legal \def\pethree{L}\fi
+ \if\addsts\illegal \def\pethree{U}\fi
+ \if\addsts\redp \def\pethree{R}\fi
+ \if\addsts\blackp \def\pethree{B}\fi\fi
+ \if\addbrow\brfour \efourset=2 \def\addsts{#1}
+ \if\addsts\legal \def\pefour{L}\fi
+ \if\addsts\illegal \def\pefour{U}\fi
+ \if\addsts\redp \def\pefour{R}\fi
+ \if\addsts\blackp \def\pefour{B}\fi\fi
+ \if\addbrow\brfive \efiveset=2 \def\addsts{#1}
+ \if\addsts\legal \def\pefive{L}\fi
+ \if\addsts\illegal \def\pefive{U}\fi
+ \if\addsts\redp \def\pefive{R}\fi
+ \if\addsts\blackp \def\pefive{B}\fi\fi
+ \if\addbrow\brsix \esixset=2 \def\addsts{#1}
+ \if\addsts\legal \def\pesix{L}\fi
+ \if\addsts\illegal \def\pesix{U}\fi
+ \if\addsts\redp \def\pesix{R}\fi
+ \if\addsts\blackp \def\pesix{B}\fi\fi
+ \if\addbrow\brseven \esevenset=2 \def\addsts{#1}
+ \if\addsts\legal \def\peseven{L}\fi
+ \if\addsts\illegal \def\peseven{U}\fi
+ \if\addsts\redp \def\peseven{R}\fi
+ \if\addsts\blackp \def\peseven{B}\fi\fi
+ \if\addbrow\breight \eeightset=2 \def\addsts{#1}
+ \if\addsts\legal \def\peeight{L}\fi
+ \if\addsts\illegal \def\peeight{U}\fi
+ \if\addsts\redp \def\peeight{R}\fi
+ \if\addsts\blackp \def\peeight{B}\fi\fi
+ \if\addbrow\brnine \enineset=2 \def\addsts{#1}
+ \if\addsts\legal \def\penine{L}\fi
+ \if\addsts\illegal \def\penine{U}\fi
+ \if\addsts\redp \def\penine{R}\fi
+ \if\addsts\blackp \def\penine{B}\fi\fi
+ \if\addbrow\brnull \enullset=2 \def\addsts{#1}
+ \if\addsts\legal \def\penull{L}\fi
+ \if\addsts\illegal \def\penull{U}\fi
+ \if\addsts\redp \def\penull{R}\fi
+ \if\addsts\blackp \def\penull{B}\fi\fi\fi
+
+ \if\addbline\fli
+ \if\addbrow\brone \foneset=2 \def\addsts{#1}
+ \if\addsts\legal \def\pfone{L}\fi
+ \if\addsts\illegal \def\pfone{U}\fi
+ \if\addsts\redp \def\pfone{R}\fi
+ \if\addsts\blackp \def\pfone{B}\fi\fi
+ \if\addbrow\brtwo \ftwoset=2 \def\addsts{#1}
+ \if\addsts\legal \def\pftwo{L}\fi
+ \if\addsts\illegal \def\pftwo{U}\fi
+ \if\addsts\redp \def\pftwo{R}\fi
+ \if\addsts\blackp \def\pftwo{B}\fi\fi
+ \if\addbrow\brthree \fthreeset=2 \def\addsts{#1}
+ \if\addsts\legal \def\pfthree{L}\fi
+ \if\addsts\illegal \def\pfthree{U}\fi
+ \if\addsts\redp \def\pfthree{R}\fi
+ \if\addsts\blackp \def\pfthree{B}\fi\fi
+ \if\addbrow\brfour \ffourset=2 \def\addsts{#1}
+ \if\addsts\legal \def\pffour{L}\fi
+ \if\addsts\illegal \def\pffour{U}\fi
+ \if\addsts\redp \def\pffour{R}\fi
+ \if\addsts\blackp \def\pffour{B}\fi\fi
+ \if\addbrow\brfive \ffiveset=2 \def\addsts{#1}
+ \if\addsts\legal \def\pffive{L}\fi
+ \if\addsts\illegal \def\pffive{U}\fi
+ \if\addsts\redp \def\pffive{R}\fi
+ \if\addsts\blackp \def\pffive{B}\fi\fi
+ \if\addbrow\brsix \fsixset=2 \def\addsts{#1}
+ \if\addsts\legal \def\pfsix{L}\fi
+ \if\addsts\illegal \def\pfsix{U}\fi
+ \if\addsts\redp \def\pfsix{R}\fi
+ \if\addsts\blackp \def\pfsix{B}\fi\fi
+ \if\addbrow\brseven \fsevenset=2 \def\addsts{#1}
+ \if\addsts\legal \def\pfseven{L}\fi
+ \if\addsts\illegal \def\pfseven{U}\fi
+ \if\addsts\redp \def\pfseven{R}\fi
+ \if\addsts\blackp \def\pfseven{B}\fi\fi
+ \if\addbrow\breight \feightset=2 \def\addsts{#1}
+ \if\addsts\legal \def\pfeight{L}\fi
+ \if\addsts\illegal \def\pfeight{U}\fi
+ \if\addsts\redp \def\pfeight{R}\fi
+ \if\addsts\blackp \def\pfeight{B}\fi\fi
+ \if\addbrow\brnine \fnineset=2 \def\addsts{#1}
+ \if\addsts\legal \def\pfnine{L}\fi
+ \if\addsts\illegal \def\pfnine{U}\fi
+ \if\addsts\redp \def\pfnine{R}\fi
+ \if\addsts\blackp \def\pfnine{B}\fi\fi
+ \if\addbrow\brnull \fnullset=2 \def\addsts{#1}
+ \if\addsts\legal \def\pfnull{L}\fi
+ \if\addsts\illegal \def\pfnull{U}\fi
+ \if\addsts\redp \def\pfnull{R}\fi
+ \if\addsts\blackp \def\pfnull{B}\fi\fi\fi
+
+ \if\addbline\gli
+ \if\addbrow\brone \goneset=2 \def\addsts{#1}
+ \if\addsts\legal \def\pgone{L}\fi
+ \if\addsts\illegal \def\pgone{U}\fi
+ \if\addsts\redp \def\pgone{R}\fi
+ \if\addsts\blackp \def\pgone{B}\fi\fi
+ \if\addbrow\brtwo \gtwoset=2 \def\addsts{#1}
+ \if\addsts\legal \def\pgtwo{L}\fi
+ \if\addsts\illegal \def\pgtwo{U}\fi
+ \if\addsts\redp \def\pgtwo{R}\fi
+ \if\addsts\blackp \def\pgtwo{B}\fi\fi
+ \if\addbrow\brthree \gthreeset=2 \def\addsts{#1}
+ \if\addsts\legal \def\pgthree{L}\fi
+ \if\addsts\illegal \def\pgthree{U}\fi
+ \if\addsts\redp \def\pgthree{R}\fi
+ \if\addsts\blackp \def\pgthree{B}\fi\fi
+ \if\addbrow\brfour \gfourset=2 \def\addsts{#1}
+ \if\addsts\legal \def\pgfour{L}\fi
+ \if\addsts\illegal \def\pgfour{U}\fi
+ \if\addsts\redp \def\pgfour{R}\fi
+ \if\addsts\blackp \def\pgfour{B}\fi\fi
+ \if\addbrow\brfive \gfiveset=2 \def\addsts{#1}
+ \if\addsts\legal \def\pgfive{L}\fi
+ \if\addsts\illegal \def\pgfive{U}\fi
+ \if\addsts\redp \def\pgfive{R}\fi
+ \if\addsts\blackp \def\pgfive{B}\fi\fi
+ \if\addbrow\brsix \gsixset=2 \def\addsts{#1}
+ \if\addsts\legal \def\pgsix{L}\fi
+ \if\addsts\illegal \def\pgsix{U}\fi
+ \if\addsts\redp \def\pgsix{R}\fi
+ \if\addsts\blackp \def\pgsix{B}\fi\fi
+ \if\addbrow\brseven \gsevenset=2 \def\addsts{#1}
+ \if\addsts\legal \def\pgseven{L}\fi
+ \if\addsts\illegal \def\pgseven{U}\fi
+ \if\addsts\redp \def\pgseven{R}\fi
+ \if\addsts\blackp \def\pgseven{B}\fi\fi
+ \if\addbrow\breight \geightset=2 \def\addsts{#1}
+ \if\addsts\legal \def\pgeight{L}\fi
+ \if\addsts\illegal \def\pgeight{U}\fi
+ \if\addsts\redp \def\pgeight{R}\fi
+ \if\addsts\blackp \def\pgeight{B}\fi\fi
+ \if\addbrow\brnine \gnineset=2 \def\addsts{#1}
+ \if\addsts\legal \def\pgnine{L}\fi
+ \if\addsts\illegal \def\pgnine{U}\fi
+ \if\addsts\redp \def\pgnine{R}\fi
+ \if\addsts\blackp \def\pgnine{B}\fi\fi
+ \if\addbrow\brnull \gnullset=2 \def\addsts{#1}
+ \if\addsts\legal \def\pgnull{L}\fi
+ \if\addsts\illegal \def\pgnull{U}\fi
+ \if\addsts\redp \def\pgnull{R}\fi
+ \if\addsts\blackp \def\pgnull{B}\fi\fi\fi
+
+ \if\addbline\hli
+ \if\addbrow\brone \honeset=2 \def\addsts{#1}
+ \if\addsts\legal \def\phone{L}\fi
+ \if\addsts\illegal \def\phone{U}\fi
+ \if\addsts\redp \def\phone{R}\fi
+ \if\addsts\blackp \def\phone{B}\fi\fi
+ \if\addbrow\brtwo \htwoset=2 \def\addsts{#1}
+ \if\addsts\legal \def\phtwo{L}\fi
+ \if\addsts\illegal \def\phtwo{U}\fi
+ \if\addsts\redp \def\phtwo{R}\fi
+ \if\addsts\blackp \def\phtwo{B}\fi\fi
+ \if\addbrow\brthree \hthreeset=2 \def\addsts{#1}
+ \if\addsts\legal \def\phthree{L}\fi
+ \if\addsts\illegal \def\phthree{U}\fi
+ \if\addsts\redp \def\phthree{R}\fi
+ \if\addsts\blackp \def\phthree{B}\fi\fi
+ \if\addbrow\brfour \hfourset=2 \def\addsts{#1}
+ \if\addsts\legal \def\phfour{L}\fi
+ \if\addsts\illegal \def\phfour{U}\fi
+ \if\addsts\redp \def\phfour{R}\fi
+ \if\addsts\blackp \def\phfour{B}\fi\fi
+ \if\addbrow\brfive \hfiveset=2 \def\addsts{#1}
+ \if\addsts\legal \def\phfive{L}\fi
+ \if\addsts\illegal \def\phfive{U}\fi
+ \if\addsts\redp \def\phfive{R}\fi
+ \if\addsts\blackp \def\phfive{B}\fi\fi
+ \if\addbrow\brsix \hsixset=2 \def\addsts{#1}
+ \if\addsts\legal \def\phsix{L}\fi
+ \if\addsts\illegal \def\phsix{U}\fi
+ \if\addsts\redp \def\phsix{R}\fi
+ \if\addsts\blackp \def\phsix{B}\fi\fi
+ \if\addbrow\brseven \hsevenset=2 \def\addsts{#1}
+ \if\addsts\legal \def\phseven{L}\fi
+ \if\addsts\illegal \def\phseven{U}\fi
+ \if\addsts\redp \def\phseven{R}\fi
+ \if\addsts\blackp \def\phseven{B}\fi\fi
+ \if\addbrow\breight \heightset=2 \def\addsts{#1}
+ \if\addsts\legal \def\pheight{L}\fi
+ \if\addsts\illegal \def\pheight{U}\fi
+ \if\addsts\redp \def\pheight{R}\fi
+ \if\addsts\blackp \def\pheight{B}\fi\fi
+ \if\addbrow\brnine \hnineset=2 \def\addsts{#1}
+ \if\addsts\legal \def\phnine{L}\fi
+ \if\addsts\illegal \def\phnine{U}\fi
+ \if\addsts\redp \def\phnine{R}\fi
+ \if\addsts\blackp \def\phnine{B}\fi\fi
+ \if\addbrow\brnull \hnullset=2 \def\addsts{#1}
+ \if\addsts\legal \def\phnull{L}\fi
+ \if\addsts\illegal \def\phnull{U}\fi
+ \if\addsts\redp \def\phnull{R}\fi
+ \if\addsts\blackp \def\phnull{B}\fi\fi\fi
+
+ \if\addbline\ili
+ \if\addbrow\brone \ioneset=2 \def\addsts{#1}
+ \if\addsts\legal \def\pione{L}\fi
+ \if\addsts\illegal \def\pione{U}\fi
+ \if\addsts\redp \def\pione{R}\fi
+ \if\addsts\blackp \def\pione{B}\fi\fi
+ \if\addbrow\brtwo \itwoset=2 \def\addsts{#1}
+ \if\addsts\legal \def\pitwo{L}\fi
+ \if\addsts\illegal \def\pitwo{U}\fi
+ \if\addsts\redp \def\pitwo{R}\fi
+ \if\addsts\blackp \def\pitwo{B}\fi\fi
+ \if\addbrow\brthree \ithreeset=2 \def\addsts{#1}
+ \if\addsts\legal \def\pithree{L}\fi
+ \if\addsts\illegal \def\pithree{U}\fi
+ \if\addsts\redp \def\pithree{R}\fi
+ \if\addsts\blackp \def\pithree{B}\fi\fi
+ \if\addbrow\brfour \ifourset=2 \def\addsts{#1}
+ \if\addsts\legal \def\pifour{L}\fi
+ \if\addsts\illegal \def\pifour{U}\fi
+ \if\addsts\redp \def\pifour{R}\fi
+ \if\addsts\blackp \def\pifour{B}\fi\fi
+ \if\addbrow\brfive \ifiveset=2 \def\addsts{#1}
+ \if\addsts\legal \def\pifive{L}\fi
+ \if\addsts\illegal \def\pifive{U}\fi
+ \if\addsts\redp \def\pifive{R}\fi
+ \if\addsts\blackp \def\pifive{B}\fi\fi
+ \if\addbrow\brsix \isixset=2 \def\addsts{#1}
+ \if\addsts\legal \def\pisix{L}\fi
+ \if\addsts\illegal \def\pisix{U}\fi
+ \if\addsts\redp \def\pisix{R}\fi
+ \if\addsts\blackp \def\pisix{B}\fi\fi
+ \if\addbrow\brseven \isevenset=2 \def\addsts{#1}
+ \if\addsts\legal \def\piseven{L}\fi
+ \if\addsts\illegal \def\piseven{U}\fi
+ \if\addsts\redp \def\piseven{R}\fi
+ \if\addsts\blackp \def\piseven{B}\fi\fi
+ \if\addbrow\breight \ieightset=2 \def\addsts{#1}
+ \if\addsts\legal \def\pieight{L}\fi
+ \if\addsts\illegal \def\pieight{U}\fi
+ \if\addsts\redp \def\pieight{R}\fi
+ \if\addsts\blackp \def\pieight{B}\fi\fi
+ \if\addbrow\brnine \inineset=2 \def\addsts{#1}
+ \if\addsts\legal \def\pinine{L}\fi
+ \if\addsts\illegal \def\pinine{U}\fi
+ \if\addsts\redp \def\pinine{R}\fi
+ \if\addsts\blackp \def\pinine{B}\fi\fi
+ \if\addbrow\brnull \inullset=2 \def\addsts{#1}
+ \if\addsts\legal \def\pinull{L}\fi
+ \if\addsts\illegal \def\pinull{U}\fi
+ \if\addsts\redp \def\pinull{R}\fi
+ \if\addsts\blackp \def\pinull{B}\fi\fi\fi
+
+}
+
+
+
%define the startposition of a game
\def\newgame{
\aoneset=1 \atwoset=0 \athreeset=0 \afourset=1 \afiveset=0 \asixset=0 \asevenset=1 \aeightset=0 \anineset=0 \anullset=1
@@ -21431,6 +22071,8 @@
%show the board
\newfont{\xqpieces}{xqnormal}
+\newfont{\additionalsigns}{xqaddsignsnormal}
+\newfont{\additionallargesigns}{xqaddsignslarge}
\newcounter{piecex}\newcounter{piecey}
\newcommand{\element}[3]
@@ -21441,6 +22083,13 @@
{\setbox0=\hbox{\xqpieces #3}\kern-0.31\wd0\box0}%
}
+\newcommand{\additionalelement}[3]
+{
+\setcounter{piecex}{#1}\addtocounter{piecex}{-1}%
+\setcounter{piecey}{#2}\addtocounter{piecey}{-1}%
+\put(\value{piecex},\value{piecey})%
+{\setbox0=\hbox{\additionalsigns #3}\kern-0.31\wd0\box0}%
+}
\newcommand{\boardlines}[3]
{
@@ -21656,6 +22305,198 @@
\ifnum\inullset=1%
\element{9}{11}{\pinull}\fi
+%set the additional signs
+\ifnum\aoneset=2%
+\additionalelement{1}{2}{\paone}\fi
+\ifnum\boneset=2%
+\additionalelement{2}{2}{\pbone}\fi
+\ifnum\coneset=2%
+\additionalelement{3}{2}{\pcone}\fi
+\ifnum\doneset=2%
+\additionalelement{4}{2}{\pdone}\fi
+\ifnum\eoneset=2%
+\additionalelement{5}{2}{\peone}\fi
+\ifnum\foneset=2%
+\additionalelement{6}{2}{\pfone}\fi
+\ifnum\goneset=2%
+\additionalelement{7}{2}{\pgone}\fi
+\ifnum\honeset=2%
+\additionalelement{8}{2}{\phone}\fi
+\ifnum\ioneset=2%
+\additionalelement{9}{2}{\pione}\fi
+
+\ifnum\atwoset=2%
+\additionalelement{1}{3}{\patwo}\fi
+\ifnum\btwoset=2%
+\additionalelement{2}{3}{\pbtwo}\fi
+\ifnum\ctwoset=2%
+\additionalelement{3}{3}{\pctwo}\fi
+\ifnum\dtwoset=2%
+\additionalelement{4}{3}{\pdtwo}\fi
+\ifnum\etwoset=2%
+\additionalelement{5}{3}{\petwo}\fi
+\ifnum\ftwoset=2%
+\additionalelement{6}{3}{\pftwo}\fi
+\ifnum\gtwoset=2%
+\additionalelement{7}{3}{\pgtwo}\fi
+\ifnum\htwoset=2%
+\additionalelement{8}{3}{\phtwo}\fi
+\ifnum\itwoset=2%
+\additionalelement{9}{3}{\pitwo}\fi
+
+\ifnum\athreeset=2%
+\additionalelement{1}{4}{\pathree}\fi
+\ifnum\bthreeset=2%
+\additionalelement{2}{4}{\pbthree}\fi
+\ifnum\cthreeset=2%
+\additionalelement{3}{4}{\pcthree}\fi
+\ifnum\dthreeset=2%
+\additionalelement{4}{4}{\pdthree}\fi
+\ifnum\ethreeset=2%
+\additionalelement{5}{4}{\pethree}\fi
+\ifnum\fthreeset=2%
+\additionalelement{6}{4}{\pfthree}\fi
+\ifnum\gthreeset=2%
+\additionalelement{7}{4}{\pgthree}\fi
+\ifnum\hthreeset=2%
+\additionalelement{8}{4}{\phthree}\fi
+\ifnum\ithreeset=2%
+\additionalelement{9}{4}{\pithree}\fi
+
+\ifnum\afourset=2%
+\additionalelement{1}{5}{\pafour}\fi
+\ifnum\bfourset=2%
+\additionalelement{2}{5}{\pbfour}\fi
+\ifnum\cfourset=2%
+\additionalelement{3}{5}{\pcfour}\fi
+\ifnum\dfourset=2%
+\additionalelement{4}{5}{\pdfour}\fi
+\ifnum\efourset=2%
+\additionalelement{5}{5}{\pefour}\fi
+\ifnum\ffourset=2%
+\additionalelement{6}{5}{\pffour}\fi
+\ifnum\gfourset=2%
+\additionalelement{7}{5}{\pgfour}\fi
+\ifnum\hfourset=2%
+\additionalelement{8}{5}{\phfour}\fi
+\ifnum\ifourset=2%
+\additionalelement{9}{5}{\pifour}\fi
+
+\ifnum\afiveset=2%
+\additionalelement{1}{6}{\pafive}\fi
+\ifnum\bfiveset=2%
+\additionalelement{2}{6}{\pbfive}\fi
+\ifnum\cfiveset=2%
+\additionalelement{3}{6}{\pcfive}\fi
+\ifnum\dfiveset=2%
+\additionalelement{4}{6}{\pdfive}\fi
+\ifnum\efiveset=2%
+\additionalelement{5}{6}{\pefive}\fi
+\ifnum\ffiveset=2%
+\additionalelement{6}{6}{\pffive}\fi
+\ifnum\gfiveset=2%
+\additionalelement{7}{6}{\pgfive}\fi
+\ifnum\hfiveset=2%
+\additionalelement{8}{6}{\phfive}\fi
+\ifnum\ifiveset=2%
+\additionalelement{9}{6}{\pifive}\fi
+
+\ifnum\asixset=2%
+\additionalelement{1}{7}{\pasix}\fi
+\ifnum\bsixset=2%
+\additionalelement{2}{7}{\pbsix}\fi
+\ifnum\csixset=2%
+\additionalelement{3}{7}{\pcsix}\fi
+\ifnum\dsixset=2%
+\additionalelement{4}{7}{\pdsix}\fi
+\ifnum\esixset=2%
+\additionalelement{5}{7}{\pesix}\fi
+\ifnum\fsixset=2%
+\additionalelement{6}{7}{\pfsix}\fi
+\ifnum\gsixset=2%
+\additionalelement{7}{7}{\pgsix}\fi
+\ifnum\hsixset=2%
+\additionalelement{8}{7}{\phsix}\fi
+\ifnum\isixset=2%
+\additionalelement{9}{7}{\pisix}\fi
+
+\ifnum\asevenset=2%
+\additionalelement{1}{8}{\paseven}\fi
+\ifnum\bsevenset=2%
+\additionalelement{2}{8}{\pbseven}\fi
+\ifnum\csevenset=2%
+\additionalelement{3}{8}{\pcseven}\fi
+\ifnum\dsevenset=2%
+\additionalelement{4}{8}{\pdseven}\fi
+\ifnum\esevenset=2%
+\additionalelement{5}{8}{\peseven}\fi
+\ifnum\fsevenset=2%
+\additionalelement{6}{8}{\pfseven}\fi
+\ifnum\gsevenset=2%
+\additionalelement{7}{8}{\pgseven}\fi
+\ifnum\hsevenset=2%
+\additionalelement{8}{8}{\phseven}\fi
+\ifnum\isevenset=2%
+\additionalelement{9}{8}{\piseven}\fi
+
+\ifnum\aeightset=2%
+\additionalelement{1}{9}{\paeight}\fi
+\ifnum\beightset=2%
+\additionalelement{2}{9}{\pbeight}\fi
+\ifnum\ceightset=2%
+\additionalelement{3}{9}{\pceight}\fi
+\ifnum\deightset=2%
+\additionalelement{4}{9}{\pdeight}\fi
+\ifnum\eeightset=2%
+\additionalelement{5}{9}{\peeight}\fi
+\ifnum\feightset=2%
+\additionalelement{6}{9}{\pfeight}\fi
+\ifnum\geightset=2%
+\additionalelement{7}{9}{\pgeight}\fi
+\ifnum\heightset=2%
+\additionalelement{8}{9}{\pheight}\fi
+\ifnum\ieightset=2%
+\additionalelement{9}{9}{\pieight}\fi
+
+\ifnum\anineset=2%
+\additionalelement{1}{10}{\panine}\fi
+\ifnum\bnineset=2%
+\additionalelement{2}{10}{\pbnine}\fi
+\ifnum\cnineset=2%
+\additionalelement{3}{10}{\pcnine}\fi
+\ifnum\dnineset=2%
+\additionalelement{4}{10}{\pdnine}\fi
+\ifnum\enineset=2%
+\additionalelement{5}{10}{\penine}\fi
+\ifnum\fnineset=2%
+\additionalelement{6}{10}{\pfnine}\fi
+\ifnum\gnineset=2%
+\additionalelement{7}{10}{\pgnine}\fi
+\ifnum\hnineset=2%
+\additionalelement{8}{10}{\phnine}\fi
+\ifnum\inineset=2%
+\additionalelement{9}{10}{\pinine}\fi
+
+\ifnum\anullset=2%
+\additionalelement{1}{11}{\panull}\fi
+\ifnum\bnullset=2%
+\additionalelement{2}{11}{\pbnull}\fi
+\ifnum\cnullset=2%
+\additionalelement{3}{11}{\pcnull}\fi
+\ifnum\dnullset=2%
+\additionalelement{4}{11}{\pdnull}\fi
+\ifnum\enullset=2%
+\additionalelement{5}{11}{\penull}\fi
+\ifnum\fnullset=2%
+\additionalelement{6}{11}{\pfnull}\fi
+\ifnum\gnullset=2%
+\additionalelement{7}{11}{\pgnull}\fi
+\ifnum\hnullset=2%
+\additionalelement{8}{11}{\phnull}\fi
+\ifnum\inullset=2%
+\additionalelement{9}{11}{\pinull}\fi
+
+
%set the empty "squares"
\ifnum\aoneset<1%
\element{1}{2}{9}\fi
@@ -21868,6 +22709,14 @@
{\setbox0=\hbox{\largexqpieces #3}\kern-0.67\wd0\box0}%
}
+\newcommand{\additionallargeelement}[3]
+{
+\setcounter{piecex}{#1}\addtocounter{piecex}{-1}%
+\setcounter{piecey}{#2}\addtocounter{piecey}{-1}%
+\put(\value{piecex},\value{piecey})%
+{\setbox0=\hbox{\additionallargesigns #3}\kern-0.31\wd0\box0}%
+}
+
\newcommand{\largeboardlines}[3]
{
@@ -22082,6 +22931,199 @@
\ifnum\inullset=1%
\largeelement{9}{11}{\pinull}\fi
+%set the additional signs
+\ifnum\aoneset=2%
+\additionallargeelement{1}{2}{\paone}\fi
+\ifnum\boneset=2%
+\additionallargeelement{2}{2}{\pbone}\fi
+\ifnum\coneset=2%
+\additionallargeelement{3}{2}{\pcone}\fi
+\ifnum\doneset=2%
+\additionallargeelement{4}{2}{\pdone}\fi
+\ifnum\eoneset=2%
+\additionallargeelement{5}{2}{\peone}\fi
+\ifnum\foneset=2%
+\additionallargeelement{6}{2}{\pfone}\fi
+\ifnum\goneset=2%
+\additionallargeelement{7}{2}{\pgone}\fi
+\ifnum\honeset=2%
+\additionallargeelement{8}{2}{\phone}\fi
+\ifnum\ioneset=2%
+\additionallargeelement{9}{2}{\pione}\fi
+
+\ifnum\atwoset=2%
+\additionallargeelement{1}{3}{\patwo}\fi
+\ifnum\btwoset=2%
+\additionallargeelement{2}{3}{\pbtwo}\fi
+\ifnum\ctwoset=2%
+\additionallargeelement{3}{3}{\pctwo}\fi
+\ifnum\dtwoset=2%
+\additionallargeelement{4}{3}{\pdtwo}\fi
+\ifnum\etwoset=2%
+\additionallargeelement{5}{3}{\petwo}\fi
+\ifnum\ftwoset=2%
+\additionallargeelement{6}{3}{\pftwo}\fi
+\ifnum\gtwoset=2%
+\additionallargeelement{7}{3}{\pgtwo}\fi
+\ifnum\htwoset=2%
+\additionallargeelement{8}{3}{\phtwo}\fi
+\ifnum\itwoset=2%
+\additionallargeelement{9}{3}{\pitwo}\fi
+
+\ifnum\athreeset=2%
+\additionallargeelement{1}{4}{\pathree}\fi
+\ifnum\bthreeset=2%
+\additionallargeelement{2}{4}{\pbthree}\fi
+\ifnum\cthreeset=2%
+\additionallargeelement{3}{4}{\pcthree}\fi
+\ifnum\dthreeset=2%
+\additionallargeelement{4}{4}{\pdthree}\fi
+\ifnum\ethreeset=2%
+\additionallargeelement{5}{4}{\pethree}\fi
+\ifnum\fthreeset=2%
+\additionallargeelement{6}{4}{\pfthree}\fi
+\ifnum\gthreeset=2%
+\additionallargeelement{7}{4}{\pgthree}\fi
+\ifnum\hthreeset=2%
+\additionallargeelement{8}{4}{\phthree}\fi
+\ifnum\ithreeset=2%
+\additionallargeelement{9}{4}{\pithree}\fi
+
+\ifnum\afourset=2%
+\additionallargeelement{1}{5}{\pafour}\fi
+\ifnum\bfourset=2%
+\additionallargeelement{2}{5}{\pbfour}\fi
+\ifnum\cfourset=2%
+\additionallargeelement{3}{5}{\pcfour}\fi
+\ifnum\dfourset=2%
+\additionallargeelement{4}{5}{\pdfour}\fi
+\ifnum\efourset=2%
+\additionallargeelement{5}{5}{\pefour}\fi
+\ifnum\ffourset=2%
+\additionallargeelement{6}{5}{\pffour}\fi
+\ifnum\gfourset=2%
+\additionallargeelement{7}{5}{\pgfour}\fi
+\ifnum\hfourset=2%
+\additionallargeelement{8}{5}{\phfour}\fi
+\ifnum\ifourset=2%
+\additionallargeelement{9}{5}{\pifour}\fi
+
+\ifnum\afiveset=2%
+\additionallargeelement{1}{6}{\pafive}\fi
+\ifnum\bfiveset=2%
+\additionallargeelement{2}{6}{\pbfive}\fi
+\ifnum\cfiveset=2%
+\additionallargeelement{3}{6}{\pcfive}\fi
+\ifnum\dfiveset=2%
+\additionallargeelement{4}{6}{\pdfive}\fi
+\ifnum\efiveset=2%
+\additionallargeelement{5}{6}{\pefive}\fi
+\ifnum\ffiveset=2%
+\additionallargeelement{6}{6}{\pffive}\fi
+\ifnum\gfiveset=2%
+\additionallargeelement{7}{6}{\pgfive}\fi
+\ifnum\hfiveset=2%
+\additionallargeelement{8}{6}{\phfive}\fi
+\ifnum\ifiveset=2%
+\additionallargeelement{9}{6}{\pifive}\fi
+
+\ifnum\asixset=2%
+\additionallargeelement{1}{7}{\pasix}\fi
+\ifnum\bsixset=2%
+\additionallargeelement{2}{7}{\pbsix}\fi
+\ifnum\csixset=2%
+\additionallargeelement{3}{7}{\pcsix}\fi
+\ifnum\dsixset=2%
+\additionallargeelement{4}{7}{\pdsix}\fi
+\ifnum\esixset=2%
+\additionallargeelement{5}{7}{\pesix}\fi
+\ifnum\fsixset=2%
+\additionallargeelement{6}{7}{\pfsix}\fi
+\ifnum\gsixset=2%
+\additionallargeelement{7}{7}{\pgsix}\fi
+\ifnum\hsixset=2%
+\additionallargeelement{8}{7}{\phsix}\fi
+\ifnum\isixset=2%
+\additionallargeelement{9}{7}{\pisix}\fi
+
+\ifnum\asevenset=2%
+\additionallargeelement{1}{8}{\paseven}\fi
+\ifnum\bsevenset=2%
+\additionallargeelement{2}{8}{\pbseven}\fi
+\ifnum\csevenset=2%
+\additionallargeelement{3}{8}{\pcseven}\fi
+\ifnum\dsevenset=2%
+\additionallargeelement{4}{8}{\pdseven}\fi
+\ifnum\esevenset=2%
+\additionallargeelement{5}{8}{\peseven}\fi
+\ifnum\fsevenset=2%
+\additionallargeelement{6}{8}{\pfseven}\fi
+\ifnum\gsevenset=2%
+\additionallargeelement{7}{8}{\pgseven}\fi
+\ifnum\hsevenset=2%
+\additionallargeelement{8}{8}{\phseven}\fi
+\ifnum\isevenset=2%
+\additionallargeelement{9}{8}{\piseven}\fi
+
+\ifnum\aeightset=2%
+\additionallargeelement{1}{9}{\paeight}\fi
+\ifnum\beightset=2%
+\additionallargeelement{2}{9}{\pbeight}\fi
+\ifnum\ceightset=2%
+\additionallargeelement{3}{9}{\pceight}\fi
+\ifnum\deightset=2%
+\additionallargeelement{4}{9}{\pdeight}\fi
+\ifnum\eeightset=2%
+\additionallargeelement{5}{9}{\peeight}\fi
+\ifnum\feightset=2%
+\additionallargeelement{6}{9}{\pfeight}\fi
+\ifnum\geightset=2%
+\additionallargeelement{7}{9}{\pgeight}\fi
+\ifnum\heightset=2%
+\additionallargeelement{8}{9}{\pheight}\fi
+\ifnum\ieightset=2%
+\additionallargeelement{9}{9}{\pieight}\fi
+
+\ifnum\anineset=2%
+\additionallargeelement{1}{10}{\panine}\fi
+\ifnum\bnineset=2%
+\additionallargeelement{2}{10}{\pbnine}\fi
+\ifnum\cnineset=2%
+\additionallargeelement{3}{10}{\pcnine}\fi
+\ifnum\dnineset=2%
+\additionallargeelement{4}{10}{\pdnine}\fi
+\ifnum\enineset=2%
+\additionallargeelement{5}{10}{\penine}\fi
+\ifnum\fnineset=2%
+\additionallargeelement{6}{10}{\pfnine}\fi
+\ifnum\gnineset=2%
+\additionallargeelement{7}{10}{\pgnine}\fi
+\ifnum\hnineset=2%
+\additionallargeelement{8}{10}{\phnine}\fi
+\ifnum\inineset=2%
+\additionallargeelement{9}{10}{\pinine}\fi
+
+\ifnum\anullset=2%
+\additionallargeelement{1}{11}{\panull}\fi
+\ifnum\bnullset=2%
+\additionallargeelement{2}{11}{\pbnull}\fi
+\ifnum\cnullset=2%
+\additionallargeelement{3}{11}{\pcnull}\fi
+\ifnum\dnullset=2%
+\additionallargeelement{4}{11}{\pdnull}\fi
+\ifnum\enullset=2%
+\additionallargeelement{5}{11}{\penull}\fi
+\ifnum\fnullset=2%
+\additionallargeelement{6}{11}{\pfnull}\fi
+\ifnum\gnullset=2%
+\additionallargeelement{7}{11}{\pgnull}\fi
+\ifnum\hnullset=2%
+\additionallargeelement{8}{11}{\phnull}\fi
+\ifnum\inullset=2%
+\additionallargeelement{9}{11}{\pinull}\fi
+
+
+
%set the empty "squares"
\ifnum\aoneset<1%
\largeelement{1}{2}{9}\fi
@@ -22282,5 +23324,1212 @@
\end{picture}
\end{center}
}
+
+
+%show the board
+
+\newfont{\europieces}{xqwestnormal}
+
+\newcommand{\euroelement}[3]
+{
+\setcounter{piecex}{#1}\addtocounter{piecex}{-1}%
+\setcounter{piecey}{#2}\addtocounter{piecey}{-1}%
+\put(\value{piecex},\value{piecey})%
+{\setbox0=\hbox{\europieces #3}\kern-0.31\wd0\box0}%
+}
+
+
+
+\def\showwesternboard{
+\setlength{\unitlength}{0.693cm}%
+\begin{center}
+\begin{picture}(8.9,11)
+
+%set the pieces
+\ifnum\aoneset=1%
+\euroelement{1}{2}{\paone}\fi
+\ifnum\boneset=1%
+\euroelement{2}{2}{\pbone}\fi
+\ifnum\coneset=1%
+\euroelement{3}{2}{\pcone}\fi
+\ifnum\doneset=1%
+\euroelement{4}{2}{\pdone}\fi
+\ifnum\eoneset=1%
+\euroelement{5}{2}{\peone}\fi
+\ifnum\foneset=1%
+\euroelement{6}{2}{\pfone}\fi
+\ifnum\goneset=1%
+\euroelement{7}{2}{\pgone}\fi
+\ifnum\honeset=1%
+\euroelement{8}{2}{\phone}\fi
+\ifnum\ioneset=1%
+\euroelement{9}{2}{\pione}\fi
+
+\ifnum\atwoset=1%
+\euroelement{1}{3}{\patwo}\fi
+\ifnum\btwoset=1%
+\euroelement{2}{3}{\pbtwo}\fi
+\ifnum\ctwoset=1%
+\euroelement{3}{3}{\pctwo}\fi
+\ifnum\dtwoset=1%
+\euroelement{4}{3}{\pdtwo}\fi
+\ifnum\etwoset=1%
+\euroelement{5}{3}{\petwo}\fi
+\ifnum\ftwoset=1%
+\euroelement{6}{3}{\pftwo}\fi
+\ifnum\gtwoset=1%
+\euroelement{7}{3}{\pgtwo}\fi
+\ifnum\htwoset=1%
+\euroelement{8}{3}{\phtwo}\fi
+\ifnum\itwoset=1%
+\euroelement{9}{3}{\pitwo}\fi
+
+\ifnum\athreeset=1%
+\euroelement{1}{4}{\pathree}\fi
+\ifnum\bthreeset=1%
+\euroelement{2}{4}{\pbthree}\fi
+\ifnum\cthreeset=1%
+\euroelement{3}{4}{\pcthree}\fi
+\ifnum\dthreeset=1%
+\euroelement{4}{4}{\pdthree}\fi
+\ifnum\ethreeset=1%
+\euroelement{5}{4}{\pethree}\fi
+\ifnum\fthreeset=1%
+\euroelement{6}{4}{\pfthree}\fi
+\ifnum\gthreeset=1%
+\euroelement{7}{4}{\pgthree}\fi
+\ifnum\hthreeset=1%
+\euroelement{8}{4}{\phthree}\fi
+\ifnum\ithreeset=1%
+\euroelement{9}{4}{\pithree}\fi
+
+\ifnum\afourset=1%
+\euroelement{1}{5}{\pafour}\fi
+\ifnum\bfourset=1%
+\euroelement{2}{5}{\pbfour}\fi
+\ifnum\cfourset=1%
+\euroelement{3}{5}{\pcfour}\fi
+\ifnum\dfourset=1%
+\euroelement{4}{5}{\pdfour}\fi
+\ifnum\efourset=1%
+\euroelement{5}{5}{\pefour}\fi
+\ifnum\ffourset=1%
+\euroelement{6}{5}{\pffour}\fi
+\ifnum\gfourset=1%
+\euroelement{7}{5}{\pgfour}\fi
+\ifnum\hfourset=1%
+\euroelement{8}{5}{\phfour}\fi
+\ifnum\ifourset=1%
+\euroelement{9}{5}{\pifour}\fi
+
+\ifnum\afiveset=1%
+\euroelement{1}{6}{\pafive}\fi
+\ifnum\bfiveset=1%
+\euroelement{2}{6}{\pbfive}\fi
+\ifnum\cfiveset=1%
+\euroelement{3}{6}{\pcfive}\fi
+\ifnum\dfiveset=1%
+\euroelement{4}{6}{\pdfive}\fi
+\ifnum\efiveset=1%
+\euroelement{5}{6}{\pefive}\fi
+\ifnum\ffiveset=1%
+\euroelement{6}{6}{\pffive}\fi
+\ifnum\gfiveset=1%
+\euroelement{7}{6}{\pgfive}\fi
+\ifnum\hfiveset=1%
+\euroelement{8}{6}{\phfive}\fi
+\ifnum\ifiveset=1%
+\euroelement{9}{6}{\pifive}\fi
+
+\ifnum\asixset=1%
+\euroelement{1}{7}{\pasix}\fi
+\ifnum\bsixset=1%
+\euroelement{2}{7}{\pbsix}\fi
+\ifnum\csixset=1%
+\euroelement{3}{7}{\pcsix}\fi
+\ifnum\dsixset=1%
+\euroelement{4}{7}{\pdsix}\fi
+\ifnum\esixset=1%
+\euroelement{5}{7}{\pesix}\fi
+\ifnum\fsixset=1%
+\euroelement{6}{7}{\pfsix}\fi
+\ifnum\gsixset=1%
+\euroelement{7}{7}{\pgsix}\fi
+\ifnum\hsixset=1%
+\euroelement{8}{7}{\phsix}\fi
+\ifnum\isixset=1%
+\euroelement{9}{7}{\pisix}\fi
+
+\ifnum\asevenset=1%
+\euroelement{1}{8}{\paseven}\fi
+\ifnum\bsevenset=1%
+\euroelement{2}{8}{\pbseven}\fi
+\ifnum\csevenset=1%
+\euroelement{3}{8}{\pcseven}\fi
+\ifnum\dsevenset=1%
+\euroelement{4}{8}{\pdseven}\fi
+\ifnum\esevenset=1%
+\euroelement{5}{8}{\peseven}\fi
+\ifnum\fsevenset=1%
+\euroelement{6}{8}{\pfseven}\fi
+\ifnum\gsevenset=1%
+\euroelement{7}{8}{\pgseven}\fi
+\ifnum\hsevenset=1%
+\euroelement{8}{8}{\phseven}\fi
+\ifnum\isevenset=1%
+\euroelement{9}{8}{\piseven}\fi
+
+\ifnum\aeightset=1%
+\euroelement{1}{9}{\paeight}\fi
+\ifnum\beightset=1%
+\euroelement{2}{9}{\pbeight}\fi
+\ifnum\ceightset=1%
+\euroelement{3}{9}{\pceight}\fi
+\ifnum\deightset=1%
+\euroelement{4}{9}{\pdeight}\fi
+\ifnum\eeightset=1%
+\euroelement{5}{9}{\peeight}\fi
+\ifnum\feightset=1%
+\euroelement{6}{9}{\pfeight}\fi
+\ifnum\geightset=1%
+\euroelement{7}{9}{\pgeight}\fi
+\ifnum\heightset=1%
+\euroelement{8}{9}{\pheight}\fi
+\ifnum\ieightset=1%
+\euroelement{9}{9}{\pieight}\fi
+
+\ifnum\anineset=1%
+\euroelement{1}{10}{\panine}\fi
+\ifnum\bnineset=1%
+\euroelement{2}{10}{\pbnine}\fi
+\ifnum\cnineset=1%
+\euroelement{3}{10}{\pcnine}\fi
+\ifnum\dnineset=1%
+\euroelement{4}{10}{\pdnine}\fi
+\ifnum\enineset=1%
+\euroelement{5}{10}{\penine}\fi
+\ifnum\fnineset=1%
+\euroelement{6}{10}{\pfnine}\fi
+\ifnum\gnineset=1%
+\euroelement{7}{10}{\pgnine}\fi
+\ifnum\hnineset=1%
+\euroelement{8}{10}{\phnine}\fi
+\ifnum\inineset=1%
+\euroelement{9}{10}{\pinine}\fi
+
+\ifnum\anullset=1%
+\euroelement{1}{11}{\panull}\fi
+\ifnum\bnullset=1%
+\euroelement{2}{11}{\pbnull}\fi
+\ifnum\cnullset=1%
+\euroelement{3}{11}{\pcnull}\fi
+\ifnum\dnullset=1%
+\euroelement{4}{11}{\pdnull}\fi
+\ifnum\enullset=1%
+\euroelement{5}{11}{\penull}\fi
+\ifnum\fnullset=1%
+\euroelement{6}{11}{\pfnull}\fi
+\ifnum\gnullset=1%
+\euroelement{7}{11}{\pgnull}\fi
+\ifnum\hnullset=1%
+\euroelement{8}{11}{\phnull}\fi
+\ifnum\inullset=1%
+\euroelement{9}{11}{\pinull}\fi
+
+%set the additional signs
+\ifnum\aoneset=2%
+\additionalelement{1}{2}{\paone}\fi
+\ifnum\boneset=2%
+\additionalelement{2}{2}{\pbone}\fi
+\ifnum\coneset=2%
+\additionalelement{3}{2}{\pcone}\fi
+\ifnum\doneset=2%
+\additionalelement{4}{2}{\pdone}\fi
+\ifnum\eoneset=2%
+\additionalelement{5}{2}{\peone}\fi
+\ifnum\foneset=2%
+\additionalelement{6}{2}{\pfone}\fi
+\ifnum\goneset=2%
+\additionalelement{7}{2}{\pgone}\fi
+\ifnum\honeset=2%
+\additionalelement{8}{2}{\phone}\fi
+\ifnum\ioneset=2%
+\additionalelement{9}{2}{\pione}\fi
+
+\ifnum\atwoset=2%
+\additionalelement{1}{3}{\patwo}\fi
+\ifnum\btwoset=2%
+\additionalelement{2}{3}{\pbtwo}\fi
+\ifnum\ctwoset=2%
+\additionalelement{3}{3}{\pctwo}\fi
+\ifnum\dtwoset=2%
+\additionalelement{4}{3}{\pdtwo}\fi
+\ifnum\etwoset=2%
+\additionalelement{5}{3}{\petwo}\fi
+\ifnum\ftwoset=2%
+\additionalelement{6}{3}{\pftwo}\fi
+\ifnum\gtwoset=2%
+\additionalelement{7}{3}{\pgtwo}\fi
+\ifnum\htwoset=2%
+\additionalelement{8}{3}{\phtwo}\fi
+\ifnum\itwoset=2%
+\additionalelement{9}{3}{\pitwo}\fi
+
+\ifnum\athreeset=2%
+\additionalelement{1}{4}{\pathree}\fi
+\ifnum\bthreeset=2%
+\additionalelement{2}{4}{\pbthree}\fi
+\ifnum\cthreeset=2%
+\additionalelement{3}{4}{\pcthree}\fi
+\ifnum\dthreeset=2%
+\additionalelement{4}{4}{\pdthree}\fi
+\ifnum\ethreeset=2%
+\additionalelement{5}{4}{\pethree}\fi
+\ifnum\fthreeset=2%
+\additionalelement{6}{4}{\pfthree}\fi
+\ifnum\gthreeset=2%
+\additionalelement{7}{4}{\pgthree}\fi
+\ifnum\hthreeset=2%
+\additionalelement{8}{4}{\phthree}\fi
+\ifnum\ithreeset=2%
+\additionalelement{9}{4}{\pithree}\fi
+
+\ifnum\afourset=2%
+\additionalelement{1}{5}{\pafour}\fi
+\ifnum\bfourset=2%
+\additionalelement{2}{5}{\pbfour}\fi
+\ifnum\cfourset=2%
+\additionalelement{3}{5}{\pcfour}\fi
+\ifnum\dfourset=2%
+\additionalelement{4}{5}{\pdfour}\fi
+\ifnum\efourset=2%
+\additionalelement{5}{5}{\pefour}\fi
+\ifnum\ffourset=2%
+\additionalelement{6}{5}{\pffour}\fi
+\ifnum\gfourset=2%
+\additionalelement{7}{5}{\pgfour}\fi
+\ifnum\hfourset=2%
+\additionalelement{8}{5}{\phfour}\fi
+\ifnum\ifourset=2%
+\additionalelement{9}{5}{\pifour}\fi
+
+\ifnum\afiveset=2%
+\additionalelement{1}{6}{\pafive}\fi
+\ifnum\bfiveset=2%
+\additionalelement{2}{6}{\pbfive}\fi
+\ifnum\cfiveset=2%
+\additionalelement{3}{6}{\pcfive}\fi
+\ifnum\dfiveset=2%
+\additionalelement{4}{6}{\pdfive}\fi
+\ifnum\efiveset=2%
+\additionalelement{5}{6}{\pefive}\fi
+\ifnum\ffiveset=2%
+\additionalelement{6}{6}{\pffive}\fi
+\ifnum\gfiveset=2%
+\additionalelement{7}{6}{\pgfive}\fi
+\ifnum\hfiveset=2%
+\additionalelement{8}{6}{\phfive}\fi
+\ifnum\ifiveset=2%
+\additionalelement{9}{6}{\pifive}\fi
+
+\ifnum\asixset=2%
+\additionalelement{1}{7}{\pasix}\fi
+\ifnum\bsixset=2%
+\additionalelement{2}{7}{\pbsix}\fi
+\ifnum\csixset=2%
+\additionalelement{3}{7}{\pcsix}\fi
+\ifnum\dsixset=2%
+\additionalelement{4}{7}{\pdsix}\fi
+\ifnum\esixset=2%
+\additionalelement{5}{7}{\pesix}\fi
+\ifnum\fsixset=2%
+\additionalelement{6}{7}{\pfsix}\fi
+\ifnum\gsixset=2%
+\additionalelement{7}{7}{\pgsix}\fi
+\ifnum\hsixset=2%
+\additionalelement{8}{7}{\phsix}\fi
+\ifnum\isixset=2%
+\additionalelement{9}{7}{\pisix}\fi
+
+\ifnum\asevenset=2%
+\additionalelement{1}{8}{\paseven}\fi
+\ifnum\bsevenset=2%
+\additionalelement{2}{8}{\pbseven}\fi
+\ifnum\csevenset=2%
+\additionalelement{3}{8}{\pcseven}\fi
+\ifnum\dsevenset=2%
+\additionalelement{4}{8}{\pdseven}\fi
+\ifnum\esevenset=2%
+\additionalelement{5}{8}{\peseven}\fi
+\ifnum\fsevenset=2%
+\additionalelement{6}{8}{\pfseven}\fi
+\ifnum\gsevenset=2%
+\additionalelement{7}{8}{\pgseven}\fi
+\ifnum\hsevenset=2%
+\additionalelement{8}{8}{\phseven}\fi
+\ifnum\isevenset=2%
+\additionalelement{9}{8}{\piseven}\fi
+
+\ifnum\aeightset=2%
+\additionalelement{1}{9}{\paeight}\fi
+\ifnum\beightset=2%
+\additionalelement{2}{9}{\pbeight}\fi
+\ifnum\ceightset=2%
+\additionalelement{3}{9}{\pceight}\fi
+\ifnum\deightset=2%
+\additionalelement{4}{9}{\pdeight}\fi
+\ifnum\eeightset=2%
+\additionalelement{5}{9}{\peeight}\fi
+\ifnum\feightset=2%
+\additionalelement{6}{9}{\pfeight}\fi
+\ifnum\geightset=2%
+\additionalelement{7}{9}{\pgeight}\fi
+\ifnum\heightset=2%
+\additionalelement{8}{9}{\pheight}\fi
+\ifnum\ieightset=2%
+\additionalelement{9}{9}{\pieight}\fi
+
+\ifnum\anineset=2%
+\additionalelement{1}{10}{\panine}\fi
+\ifnum\bnineset=2%
+\additionalelement{2}{10}{\pbnine}\fi
+\ifnum\cnineset=2%
+\additionalelement{3}{10}{\pcnine}\fi
+\ifnum\dnineset=2%
+\additionalelement{4}{10}{\pdnine}\fi
+\ifnum\enineset=2%
+\additionalelement{5}{10}{\penine}\fi
+\ifnum\fnineset=2%
+\additionalelement{6}{10}{\pfnine}\fi
+\ifnum\gnineset=2%
+\additionalelement{7}{10}{\pgnine}\fi
+\ifnum\hnineset=2%
+\additionalelement{8}{10}{\phnine}\fi
+\ifnum\inineset=2%
+\additionalelement{9}{10}{\pinine}\fi
+
+\ifnum\anullset=2%
+\additionalelement{1}{11}{\panull}\fi
+\ifnum\bnullset=2%
+\additionalelement{2}{11}{\pbnull}\fi
+\ifnum\cnullset=2%
+\additionalelement{3}{11}{\pcnull}\fi
+\ifnum\dnullset=2%
+\additionalelement{4}{11}{\pdnull}\fi
+\ifnum\enullset=2%
+\additionalelement{5}{11}{\penull}\fi
+\ifnum\fnullset=2%
+\additionalelement{6}{11}{\pfnull}\fi
+\ifnum\gnullset=2%
+\additionalelement{7}{11}{\pgnull}\fi
+\ifnum\hnullset=2%
+\additionalelement{8}{11}{\phnull}\fi
+\ifnum\inullset=2%
+\additionalelement{9}{11}{\pinull}\fi
+
+
+%set the empty "squares"
+\ifnum\aoneset<1%
+\element{1}{2}{9}\fi
+\ifnum\boneset<1%
+\element{2}{2}{7}\fi
+\ifnum\coneset<1%
+\element{3}{2}{7}\fi
+\ifnum\doneset<1%
+\element{4}{2}{J}\fi
+\ifnum\eoneset<1%
+\element{5}{2}{7}\fi
+\ifnum\foneset<1%
+\element{6}{2}{N}\fi
+\ifnum\goneset<1%
+\element{7}{2}{7}\fi
+\ifnum\honeset<1%
+\element{8}{2}{7}\fi
+\ifnum\ioneset<1%
+\element{9}{2}{B}\fi
+
+\ifnum\atwoset<1%
+\element{1}{3}{3}\fi
+\ifnum\btwoset<1%
+\element{2}{3}{4}\fi
+\ifnum\ctwoset<1%
+\element{3}{3}{4}\fi
+\ifnum\dtwoset<1%
+\element{4}{3}{4}\fi
+\ifnum\etwoset<1%
+\element{5}{3}{C}\fi
+\ifnum\ftwoset<1%
+\element{6}{3}{4}\fi
+\ifnum\gtwoset<1%
+\element{7}{3}{4}\fi
+\ifnum\htwoset<1%
+\element{8}{3}{4}\fi
+\ifnum\itwoset<1%
+\element{9}{3}{5}\fi
+
+\ifnum\athreeset<1%
+\element{1}{4}{3}\fi
+\ifnum\bthreeset<1%
+\element{2}{4}{1}\fi
+\ifnum\cthreeset<1%
+\element{3}{4}{4}\fi
+\ifnum\dthreeset<1%
+\element{4}{4}{G}\fi
+\ifnum\ethreeset<1%
+\element{5}{4}{4}\fi
+\ifnum\fthreeset<1%
+\element{6}{4}{D}\fi
+\ifnum\gthreeset<1%
+\element{7}{4}{4}\fi
+\ifnum\hthreeset<1%
+\element{8}{4}{1}\fi
+\ifnum\ithreeset<1%
+\element{9}{4}{5}\fi
+
+\ifnum\afourset<1%
+\element{1}{5}{0}\fi
+\ifnum\bfourset<1%
+\element{2}{5}{4}\fi
+\ifnum\cfourset<1%
+\element{3}{5}{1}\fi
+\ifnum\dfourset<1%
+\element{4}{5}{4}\fi
+\ifnum\efourset<1%
+\element{5}{5}{1}\fi
+\ifnum\ffourset<1%
+\element{6}{5}{4}\fi
+\ifnum\gfourset<1%
+\element{7}{5}{1}\fi
+\ifnum\hfourset<1%
+\element{8}{5}{4}\fi
+\ifnum\ifourset<1%
+\element{9}{5}{5}\fi
+
+\ifnum\afiveset<1%
+\element{1}{6}{3}\fi
+\ifnum\bfiveset<1%
+\element{2}{6}{6}\fi
+\ifnum\cfiveset<1%
+\element{3}{6}{6}\fi
+\ifnum\dfiveset<1%
+\element{4}{6}{6}\fi
+\ifnum\efiveset<1%
+\element{5}{6}{6}\fi
+\ifnum\ffiveset<1%
+\element{6}{6}{6}\fi
+\ifnum\gfiveset<1%
+\element{7}{6}{6}\fi
+\ifnum\hfiveset<1%
+\element{8}{6}{6}\fi
+\ifnum\ifiveset<1%
+\element{9}{6}{5}\fi
+
+\ifnum\asixset<1%
+\element{1}{7}{3}\fi
+\ifnum\bsixset<1%
+\element{2}{7}{7}\fi
+\ifnum\csixset<1%
+\element{3}{7}{7}\fi
+\ifnum\dsixset<1%
+\element{4}{7}{7}\fi
+\ifnum\esixset<1%
+\element{5}{7}{7}\fi
+\ifnum\fsixset<1%
+\element{6}{7}{7}\fi
+\ifnum\gsixset<1%
+\element{7}{7}{7}\fi
+\ifnum\hsixset<1%
+\element{8}{7}{7}\fi
+\ifnum\isixset<1%
+\element{9}{7}{5}\fi
+
+\ifnum\asevenset<1%
+\element{1}{8}{0}\fi
+\ifnum\bsevenset<1%
+\element{2}{8}{4}\fi
+\ifnum\csevenset<1%
+\element{3}{8}{1}\fi
+\ifnum\dsevenset<1%
+\element{4}{8}{4}\fi
+\ifnum\esevenset<1%
+\element{5}{8}{1}\fi
+\ifnum\fsevenset<1%
+\element{6}{8}{4}\fi
+\ifnum\gsevenset<1%
+\element{7}{8}{1}\fi
+\ifnum\hsevenset<1%
+\element{8}{8}{4}\fi
+\ifnum\isevenset<1%
+\element{9}{8}{2}\fi
+
+\ifnum\aeightset<1%
+\element{1}{9}{3}\fi
+\ifnum\beightset<1%
+\element{2}{9}{1}\fi
+\ifnum\ceightset<1%
+\element{3}{9}{4}\fi
+\ifnum\deightset<1%
+\element{4}{9}{H}\fi
+\ifnum\eeightset<1%
+\element{5}{9}{4}\fi
+\ifnum\feightset<1%
+\element{6}{9}{I}\fi
+\ifnum\geightset<1%
+\element{7}{9}{4}\fi
+\ifnum\heightset<1%
+\element{8}{9}{1}\fi
+\ifnum\ieightset<1%
+\element{9}{9}{5}\fi
+
+\ifnum\anineset<1%
+\element{1}{10}{3}\fi
+\ifnum\bnineset<1%
+\element{2}{10}{4}\fi
+\ifnum\cnineset<1%
+\element{3}{10}{4}\fi
+\ifnum\dnineset<1%
+\element{4}{10}{4}\fi
+\ifnum\enineset<1%
+\element{5}{10}{C}\fi
+\ifnum\fnineset<1%
+\element{6}{10}{4}\fi
+\ifnum\gnineset<1%
+\element{7}{10}{4}\fi
+\ifnum\hnineset<1%
+\element{8}{10}{4}\fi
+\ifnum\inineset<1%
+\element{9}{10}{5}\fi
+
+\ifnum\anullset<1%
+\element{1}{11}{8}\fi
+\ifnum\bnullset<1%
+\element{2}{11}{6}\fi
+\ifnum\cnullset<1%
+\element{3}{11}{6}\fi
+\ifnum\dnullset<1%
+\element{4}{11}{O}\fi
+\ifnum\enullset<1%
+\element{5}{11}{6}\fi
+\ifnum\fnullset<1%
+\element{6}{11}{Q}\fi
+\ifnum\gnullset<1%
+\element{7}{11}{6}\fi
+\ifnum\hnullset<1%
+\element{8}{11}{6}\fi
+\ifnum\inullset<1%
+\element{9}{11}{A}\fi
+
+%notation
+\boardlines{1}{1}{\large{\texttt{a}}}\boardlines{2}{1}{\large{\texttt{b}}}\boardlines{3}{1}{\large{\texttt{c}}}\boardlines{4}{1}{\large{\texttt{d}}}\boardlines{5}{1}{\large{\texttt{e}}}\boardlines{6}{1}{\large{\texttt{f}}}\boardlines{7}{1}{\large{\texttt{g}}}\boardlines{8}{1}{\large{\texttt{h}}}\boardlines{9}{1}{\large{\texttt{i}}}
+
+\boardrows{10}{2}{\large{\texttt{1}}}\boardrows{10}{3}{\large{\texttt{2}}}\boardrows{10}{4}{\large{\texttt{3}}}\boardrows{10}{5}{\large{\texttt{4}}}\boardrows{10}{6}{\large{\texttt{5}}}\boardrows{10}{7}{\large{\texttt{6}}}\boardrows{10}{8}{\large{\texttt{7}}}\boardrows{10}{9}{\large{\texttt{8}}}\boardrows{10}{10}{\large{\texttt{9}}}\boardrows{10}{11}{\large{\texttt{0}}}
+
+\end{picture}
+\end{center}
+}
+
+
+\newfont{\largeeuroxqpieces}{xqwestlarge}
+
+\newcommand{\largeeuroelement}[3]
+{
+\setcounter{largepiecex}{#1}\addtocounter{largepiecex}{-1}%
+\setcounter{largepiecey}{#2}\addtocounter{largepiecey}{-1}%
+\put(\value{largepiecex},\value{largepiecey})%
+{\setbox0=\hbox{\largeeuroxqpieces #3}\kern-0.67\wd0\box0}%
+}
+
+
+
+\def\showlargewesternboard{
+\setlength{\unitlength}{1.1088cm}%
+\begin{center}
+\begin{picture}(8.9,11)
+
+%set the pieces
+\ifnum\aoneset=1%
+\largeeuroelement{1}{2}{\paone}\fi
+\ifnum\boneset=1%
+\largeeuroelement{2}{2}{\pbone}\fi
+\ifnum\coneset=1%
+\largeeuroelement{3}{2}{\pcone}\fi
+\ifnum\doneset=1%
+\largeeuroelement{4}{2}{\pdone}\fi
+\ifnum\eoneset=1%
+\largeeuroelement{5}{2}{\peone}\fi
+\ifnum\foneset=1%
+\largeeuroelement{6}{2}{\pfone}\fi
+\ifnum\goneset=1%
+\largeeuroelement{7}{2}{\pgone}\fi
+\ifnum\honeset=1%
+\largeeuroelement{8}{2}{\phone}\fi
+\ifnum\ioneset=1%
+\largeeuroelement{9}{2}{\pione}\fi
+
+\ifnum\atwoset=1%
+\largeeuroelement{1}{3}{\patwo}\fi
+\ifnum\btwoset=1%
+\largeeuroelement{2}{3}{\pbtwo}\fi
+\ifnum\ctwoset=1%
+\largeeuroelement{3}{3}{\pctwo}\fi
+\ifnum\dtwoset=1%
+\largeeuroelement{4}{3}{\pdtwo}\fi
+\ifnum\etwoset=1%
+\largeeuroelement{5}{3}{\petwo}\fi
+\ifnum\ftwoset=1%
+\largeeuroelement{6}{3}{\pftwo}\fi
+\ifnum\gtwoset=1%
+\largeeuroelement{7}{3}{\pgtwo}\fi
+\ifnum\htwoset=1%
+\largeeuroelement{8}{3}{\phtwo}\fi
+\ifnum\itwoset=1%
+\largeeuroelement{9}{3}{\pitwo}\fi
+
+\ifnum\athreeset=1%
+\largeeuroelement{1}{4}{\pathree}\fi
+\ifnum\bthreeset=1%
+\largeeuroelement{2}{4}{\pbthree}\fi
+\ifnum\cthreeset=1%
+\largeeuroelement{3}{4}{\pcthree}\fi
+\ifnum\dthreeset=1%
+\largeeuroelement{4}{4}{\pdthree}\fi
+\ifnum\ethreeset=1%
+\largeeuroelement{5}{4}{\pethree}\fi
+\ifnum\fthreeset=1%
+\largeeuroelement{6}{4}{\pfthree}\fi
+\ifnum\gthreeset=1%
+\largeeuroelement{7}{4}{\pgthree}\fi
+\ifnum\hthreeset=1%
+\largeeuroelement{8}{4}{\phthree}\fi
+\ifnum\ithreeset=1%
+\largeeuroelement{9}{4}{\pithree}\fi
+
+\ifnum\afourset=1%
+\largeeuroelement{1}{5}{\pafour}\fi
+\ifnum\bfourset=1%
+\largeeuroelement{2}{5}{\pbfour}\fi
+\ifnum\cfourset=1%
+\largeeuroelement{3}{5}{\pcfour}\fi
+\ifnum\dfourset=1%
+\largeeuroelement{4}{5}{\pdfour}\fi
+\ifnum\efourset=1%
+\largeeuroelement{5}{5}{\pefour}\fi
+\ifnum\ffourset=1%
+\largeeuroelement{6}{5}{\pffour}\fi
+\ifnum\gfourset=1%
+\largeeuroelement{7}{5}{\pgfour}\fi
+\ifnum\hfourset=1%
+\largeeuroelement{8}{5}{\phfour}\fi
+\ifnum\ifourset=1%
+\largeeuroelement{9}{5}{\pifour}\fi
+
+\ifnum\afiveset=1%
+\largeeuroelement{1}{6}{\pafive}\fi
+\ifnum\bfiveset=1%
+\largeeuroelement{2}{6}{\pbfive}\fi
+\ifnum\cfiveset=1%
+\largeeuroelement{3}{6}{\pcfive}\fi
+\ifnum\dfiveset=1%
+\largeeuroelement{4}{6}{\pdfive}\fi
+\ifnum\efiveset=1%
+\largeeuroelement{5}{6}{\pefive}\fi
+\ifnum\ffiveset=1%
+\largeeuroelement{6}{6}{\pffive}\fi
+\ifnum\gfiveset=1%
+\largeeuroelement{7}{6}{\pgfive}\fi
+\ifnum\hfiveset=1%
+\largeeuroelement{8}{6}{\phfive}\fi
+\ifnum\ifiveset=1%
+\largeeuroelement{9}{6}{\pifive}\fi
+
+\ifnum\asixset=1%
+\largeeuroelement{1}{7}{\pasix}\fi
+\ifnum\bsixset=1%
+\largeeuroelement{2}{7}{\pbsix}\fi
+\ifnum\csixset=1%
+\largeeuroelement{3}{7}{\pcsix}\fi
+\ifnum\dsixset=1%
+\largeeuroelement{4}{7}{\pdsix}\fi
+\ifnum\esixset=1%
+\largeeuroelement{5}{7}{\pesix}\fi
+\ifnum\fsixset=1%
+\largeeuroelement{6}{7}{\pfsix}\fi
+\ifnum\gsixset=1%
+\largeeuroelement{7}{7}{\pgsix}\fi
+\ifnum\hsixset=1%
+\largeeuroelement{8}{7}{\phsix}\fi
+\ifnum\isixset=1%
+\largeeuroelement{9}{7}{\pisix}\fi
+
+\ifnum\asevenset=1%
+\largeeuroelement{1}{8}{\paseven}\fi
+\ifnum\bsevenset=1%
+\largeeuroelement{2}{8}{\pbseven}\fi
+\ifnum\csevenset=1%
+\largeeuroelement{3}{8}{\pcseven}\fi
+\ifnum\dsevenset=1%
+\largeeuroelement{4}{8}{\pdseven}\fi
+\ifnum\esevenset=1%
+\largeeuroelement{5}{8}{\peseven}\fi
+\ifnum\fsevenset=1%
+\largeeuroelement{6}{8}{\pfseven}\fi
+\ifnum\gsevenset=1%
+\largeeuroelement{7}{8}{\pgseven}\fi
+\ifnum\hsevenset=1%
+\largeeuroelement{8}{8}{\phseven}\fi
+\ifnum\isevenset=1%
+\largeeuroelement{9}{8}{\piseven}\fi
+
+\ifnum\aeightset=1%
+\largeeuroelement{1}{9}{\paeight}\fi
+\ifnum\beightset=1%
+\largeeuroelement{2}{9}{\pbeight}\fi
+\ifnum\ceightset=1%
+\largeeuroelement{3}{9}{\pceight}\fi
+\ifnum\deightset=1%
+\largeeuroelement{4}{9}{\pdeight}\fi
+\ifnum\eeightset=1%
+\largeeuroelement{5}{9}{\peeight}\fi
+\ifnum\feightset=1%
+\largeeuroelement{6}{9}{\pfeight}\fi
+\ifnum\geightset=1%
+\largeeuroelement{7}{9}{\pgeight}\fi
+\ifnum\heightset=1%
+\largeeuroelement{8}{9}{\pheight}\fi
+\ifnum\ieightset=1%
+\largeeuroelement{9}{9}{\pieight}\fi
+
+\ifnum\anineset=1%
+\largeeuroelement{1}{10}{\panine}\fi
+\ifnum\bnineset=1%
+\largeeuroelement{2}{10}{\pbnine}\fi
+\ifnum\cnineset=1%
+\largeeuroelement{3}{10}{\pcnine}\fi
+\ifnum\dnineset=1%
+\largeeuroelement{4}{10}{\pdnine}\fi
+\ifnum\enineset=1%
+\largeeuroelement{5}{10}{\penine}\fi
+\ifnum\fnineset=1%
+\largeeuroelement{6}{10}{\pfnine}\fi
+\ifnum\gnineset=1%
+\largeeuroelement{7}{10}{\pgnine}\fi
+\ifnum\hnineset=1%
+\largeeuroelement{8}{10}{\phnine}\fi
+\ifnum\inineset=1%
+\largeeuroelement{9}{10}{\pinine}\fi
+
+\ifnum\anullset=1%
+\largeeuroelement{1}{11}{\panull}\fi
+\ifnum\bnullset=1%
+\largeeuroelement{2}{11}{\pbnull}\fi
+\ifnum\cnullset=1%
+\largeeuroelement{3}{11}{\pcnull}\fi
+\ifnum\dnullset=1%
+\largeeuroelement{4}{11}{\pdnull}\fi
+\ifnum\enullset=1%
+\largeeuroelement{5}{11}{\penull}\fi
+\ifnum\fnullset=1%
+\largeeuroelement{6}{11}{\pfnull}\fi
+\ifnum\gnullset=1%
+\largeeuroelement{7}{11}{\pgnull}\fi
+\ifnum\hnullset=1%
+\largeeuroelement{8}{11}{\phnull}\fi
+\ifnum\inullset=1%
+\largeeuroelement{9}{11}{\pinull}\fi
+
+%set the additional signs
+\ifnum\aoneset=2%
+\additionallargeelement{1}{2}{\paone}\fi
+\ifnum\boneset=2%
+\additionallargeelement{2}{2}{\pbone}\fi
+\ifnum\coneset=2%
+\additionallargeelement{3}{2}{\pcone}\fi
+\ifnum\doneset=2%
+\additionallargeelement{4}{2}{\pdone}\fi
+\ifnum\eoneset=2%
+\additionallargeelement{5}{2}{\peone}\fi
+\ifnum\foneset=2%
+\additionallargeelement{6}{2}{\pfone}\fi
+\ifnum\goneset=2%
+\additionallargeelement{7}{2}{\pgone}\fi
+\ifnum\honeset=2%
+\additionallargeelement{8}{2}{\phone}\fi
+\ifnum\ioneset=2%
+\additionallargeelement{9}{2}{\pione}\fi
+
+\ifnum\atwoset=2%
+\additionallargeelement{1}{3}{\patwo}\fi
+\ifnum\btwoset=2%
+\additionallargeelement{2}{3}{\pbtwo}\fi
+\ifnum\ctwoset=2%
+\additionallargeelement{3}{3}{\pctwo}\fi
+\ifnum\dtwoset=2%
+\additionallargeelement{4}{3}{\pdtwo}\fi
+\ifnum\etwoset=2%
+\additionallargeelement{5}{3}{\petwo}\fi
+\ifnum\ftwoset=2%
+\additionallargeelement{6}{3}{\pftwo}\fi
+\ifnum\gtwoset=2%
+\additionallargeelement{7}{3}{\pgtwo}\fi
+\ifnum\htwoset=2%
+\additionallargeelement{8}{3}{\phtwo}\fi
+\ifnum\itwoset=2%
+\additionallargeelement{9}{3}{\pitwo}\fi
+
+\ifnum\athreeset=2%
+\additionallargeelement{1}{4}{\pathree}\fi
+\ifnum\bthreeset=2%
+\additionallargeelement{2}{4}{\pbthree}\fi
+\ifnum\cthreeset=2%
+\additionallargeelement{3}{4}{\pcthree}\fi
+\ifnum\dthreeset=2%
+\additionallargeelement{4}{4}{\pdthree}\fi
+\ifnum\ethreeset=2%
+\additionallargeelement{5}{4}{\pethree}\fi
+\ifnum\fthreeset=2%
+\additionallargeelement{6}{4}{\pfthree}\fi
+\ifnum\gthreeset=2%
+\additionallargeelement{7}{4}{\pgthree}\fi
+\ifnum\hthreeset=2%
+\additionallargeelement{8}{4}{\phthree}\fi
+\ifnum\ithreeset=2%
+\additionallargeelement{9}{4}{\pithree}\fi
+
+\ifnum\afourset=2%
+\additionallargeelement{1}{5}{\pafour}\fi
+\ifnum\bfourset=2%
+\additionallargeelement{2}{5}{\pbfour}\fi
+\ifnum\cfourset=2%
+\additionallargeelement{3}{5}{\pcfour}\fi
+\ifnum\dfourset=2%
+\additionallargeelement{4}{5}{\pdfour}\fi
+\ifnum\efourset=2%
+\additionallargeelement{5}{5}{\pefour}\fi
+\ifnum\ffourset=2%
+\additionallargeelement{6}{5}{\pffour}\fi
+\ifnum\gfourset=2%
+\additionallargeelement{7}{5}{\pgfour}\fi
+\ifnum\hfourset=2%
+\additionallargeelement{8}{5}{\phfour}\fi
+\ifnum\ifourset=2%
+\additionallargeelement{9}{5}{\pifour}\fi
+
+\ifnum\afiveset=2%
+\additionallargeelement{1}{6}{\pafive}\fi
+\ifnum\bfiveset=2%
+\additionallargeelement{2}{6}{\pbfive}\fi
+\ifnum\cfiveset=2%
+\additionallargeelement{3}{6}{\pcfive}\fi
+\ifnum\dfiveset=2%
+\additionallargeelement{4}{6}{\pdfive}\fi
+\ifnum\efiveset=2%
+\additionallargeelement{5}{6}{\pefive}\fi
+\ifnum\ffiveset=2%
+\additionallargeelement{6}{6}{\pffive}\fi
+\ifnum\gfiveset=2%
+\additionallargeelement{7}{6}{\pgfive}\fi
+\ifnum\hfiveset=2%
+\additionallargeelement{8}{6}{\phfive}\fi
+\ifnum\ifiveset=2%
+\additionallargeelement{9}{6}{\pifive}\fi
+
+\ifnum\asixset=2%
+\additionallargeelement{1}{7}{\pasix}\fi
+\ifnum\bsixset=2%
+\additionallargeelement{2}{7}{\pbsix}\fi
+\ifnum\csixset=2%
+\additionallargeelement{3}{7}{\pcsix}\fi
+\ifnum\dsixset=2%
+\additionallargeelement{4}{7}{\pdsix}\fi
+\ifnum\esixset=2%
+\additionallargeelement{5}{7}{\pesix}\fi
+\ifnum\fsixset=2%
+\additionallargeelement{6}{7}{\pfsix}\fi
+\ifnum\gsixset=2%
+\additionallargeelement{7}{7}{\pgsix}\fi
+\ifnum\hsixset=2%
+\additionallargeelement{8}{7}{\phsix}\fi
+\ifnum\isixset=2%
+\additionallargeelement{9}{7}{\pisix}\fi
+
+\ifnum\asevenset=2%
+\additionallargeelement{1}{8}{\paseven}\fi
+\ifnum\bsevenset=2%
+\additionallargeelement{2}{8}{\pbseven}\fi
+\ifnum\csevenset=2%
+\additionallargeelement{3}{8}{\pcseven}\fi
+\ifnum\dsevenset=2%
+\additionallargeelement{4}{8}{\pdseven}\fi
+\ifnum\esevenset=2%
+\additionallargeelement{5}{8}{\peseven}\fi
+\ifnum\fsevenset=2%
+\additionallargeelement{6}{8}{\pfseven}\fi
+\ifnum\gsevenset=2%
+\additionallargeelement{7}{8}{\pgseven}\fi
+\ifnum\hsevenset=2%
+\additionallargeelement{8}{8}{\phseven}\fi
+\ifnum\isevenset=2%
+\additionallargeelement{9}{8}{\piseven}\fi
+
+\ifnum\aeightset=2%
+\additionallargeelement{1}{9}{\paeight}\fi
+\ifnum\beightset=2%
+\additionallargeelement{2}{9}{\pbeight}\fi
+\ifnum\ceightset=2%
+\additionallargeelement{3}{9}{\pceight}\fi
+\ifnum\deightset=2%
+\additionallargeelement{4}{9}{\pdeight}\fi
+\ifnum\eeightset=2%
+\additionallargeelement{5}{9}{\peeight}\fi
+\ifnum\feightset=2%
+\additionallargeelement{6}{9}{\pfeight}\fi
+\ifnum\geightset=2%
+\additionallargeelement{7}{9}{\pgeight}\fi
+\ifnum\heightset=2%
+\additionallargeelement{8}{9}{\pheight}\fi
+\ifnum\ieightset=2%
+\additionallargeelement{9}{9}{\pieight}\fi
+
+\ifnum\anineset=2%
+\additionallargeelement{1}{10}{\panine}\fi
+\ifnum\bnineset=2%
+\additionallargeelement{2}{10}{\pbnine}\fi
+\ifnum\cnineset=2%
+\additionallargeelement{3}{10}{\pcnine}\fi
+\ifnum\dnineset=2%
+\additionallargeelement{4}{10}{\pdnine}\fi
+\ifnum\enineset=2%
+\additionallargeelement{5}{10}{\penine}\fi
+\ifnum\fnineset=2%
+\additionallargeelement{6}{10}{\pfnine}\fi
+\ifnum\gnineset=2%
+\additionallargeelement{7}{10}{\pgnine}\fi
+\ifnum\hnineset=2%
+\additionallargeelement{8}{10}{\phnine}\fi
+\ifnum\inineset=2%
+\additionallargeelement{9}{10}{\pinine}\fi
+
+\ifnum\anullset=2%
+\additionallargeelement{1}{11}{\panull}\fi
+\ifnum\bnullset=2%
+\additionallargeelement{2}{11}{\pbnull}\fi
+\ifnum\cnullset=2%
+\additionallargeelement{3}{11}{\pcnull}\fi
+\ifnum\dnullset=2%
+\additionallargeelement{4}{11}{\pdnull}\fi
+\ifnum\enullset=2%
+\additionallargeelement{5}{11}{\penull}\fi
+\ifnum\fnullset=2%
+\additionallargeelement{6}{11}{\pfnull}\fi
+\ifnum\gnullset=2%
+\additionallargeelement{7}{11}{\pgnull}\fi
+\ifnum\hnullset=2%
+\additionallargeelement{8}{11}{\phnull}\fi
+\ifnum\inullset=2%
+\additionallargeelement{9}{11}{\pinull}\fi
+
+
+
+%set the empty "squares"
+\ifnum\aoneset<1%
+\largeelement{1}{2}{9}\fi
+\ifnum\boneset<1%
+\largeelement{2}{2}{7}\fi
+\ifnum\coneset<1%
+\largeelement{3}{2}{7}\fi
+\ifnum\doneset<1%
+\largeelement{4}{2}{J}\fi
+\ifnum\eoneset<1%
+\largeelement{5}{2}{7}\fi
+\ifnum\foneset<1%
+\largeelement{6}{2}{N}\fi
+\ifnum\goneset<1%
+\largeelement{7}{2}{7}\fi
+\ifnum\honeset<1%
+\largeelement{8}{2}{7}\fi
+\ifnum\ioneset<1%
+\largeelement{9}{2}{B}\fi
+
+\ifnum\atwoset<1%
+\largeelement{1}{3}{3}\fi
+\ifnum\btwoset<1%
+\largeelement{2}{3}{4}\fi
+\ifnum\ctwoset<1%
+\largeelement{3}{3}{4}\fi
+\ifnum\dtwoset<1%
+\largeelement{4}{3}{4}\fi
+\ifnum\etwoset<1%
+\largeelement{5}{3}{C}\fi
+\ifnum\ftwoset<1%
+\largeelement{6}{3}{4}\fi
+\ifnum\gtwoset<1%
+\largeelement{7}{3}{4}\fi
+\ifnum\htwoset<1%
+\largeelement{8}{3}{4}\fi
+\ifnum\itwoset<1%
+\largeelement{9}{3}{5}\fi
+
+\ifnum\athreeset<1%
+\largeelement{1}{4}{3}\fi
+\ifnum\bthreeset<1%
+\largeelement{2}{4}{1}\fi
+\ifnum\cthreeset<1%
+\largeelement{3}{4}{4}\fi
+\ifnum\dthreeset<1%
+\largeelement{4}{4}{G}\fi
+\ifnum\ethreeset<1%
+\largeelement{5}{4}{4}\fi
+\ifnum\fthreeset<1%
+\largeelement{6}{4}{D}\fi
+\ifnum\gthreeset<1%
+\largeelement{7}{4}{4}\fi
+\ifnum\hthreeset<1%
+\largeelement{8}{4}{1}\fi
+\ifnum\ithreeset<1%
+\largeelement{9}{4}{5}\fi
+
+\ifnum\afourset<1%
+\largeelement{1}{5}{0}\fi
+\ifnum\bfourset<1%
+\largeelement{2}{5}{4}\fi
+\ifnum\cfourset<1%
+\largeelement{3}{5}{1}\fi
+\ifnum\dfourset<1%
+\largeelement{4}{5}{4}\fi
+\ifnum\efourset<1%
+\largeelement{5}{5}{1}\fi
+\ifnum\ffourset<1%
+\largeelement{6}{5}{4}\fi
+\ifnum\gfourset<1%
+\largeelement{7}{5}{1}\fi
+\ifnum\hfourset<1%
+\largeelement{8}{5}{4}\fi
+\ifnum\ifourset<1%
+\largeelement{9}{5}{5}\fi
+
+\ifnum\afiveset<1%
+\largeelement{1}{6}{3}\fi
+\ifnum\bfiveset<1%
+\largeelement{2}{6}{6}\fi
+\ifnum\cfiveset<1%
+\largeelement{3}{6}{6}\fi
+\ifnum\dfiveset<1%
+\largeelement{4}{6}{6}\fi
+\ifnum\efiveset<1%
+\largeelement{5}{6}{6}\fi
+\ifnum\ffiveset<1%
+\largeelement{6}{6}{6}\fi
+\ifnum\gfiveset<1%
+\largeelement{7}{6}{6}\fi
+\ifnum\hfiveset<1%
+\largeelement{8}{6}{6}\fi
+\ifnum\ifiveset<1%
+\largeelement{9}{6}{5}\fi
+
+\ifnum\asixset<1%
+\largeelement{1}{7}{3}\fi
+\ifnum\bsixset<1%
+\largeelement{2}{7}{7}\fi
+\ifnum\csixset<1%
+\largeelement{3}{7}{7}\fi
+\ifnum\dsixset<1%
+\largeelement{4}{7}{7}\fi
+\ifnum\esixset<1%
+\largeelement{5}{7}{7}\fi
+\ifnum\fsixset<1%
+\largeelement{6}{7}{7}\fi
+\ifnum\gsixset<1%
+\largeelement{7}{7}{7}\fi
+\ifnum\hsixset<1%
+\largeelement{8}{7}{7}\fi
+\ifnum\isixset<1%
+\largeelement{9}{7}{5}\fi
+
+\ifnum\asevenset<1%
+\largeelement{1}{8}{0}\fi
+\ifnum\bsevenset<1%
+\largeelement{2}{8}{4}\fi
+\ifnum\csevenset<1%
+\largeelement{3}{8}{1}\fi
+\ifnum\dsevenset<1%
+\largeelement{4}{8}{4}\fi
+\ifnum\esevenset<1%
+\largeelement{5}{8}{1}\fi
+\ifnum\fsevenset<1%
+\largeelement{6}{8}{4}\fi
+\ifnum\gsevenset<1%
+\largeelement{7}{8}{1}\fi
+\ifnum\hsevenset<1%
+\largeelement{8}{8}{4}\fi
+\ifnum\isevenset<1%
+\largeelement{9}{8}{2}\fi
+
+\ifnum\aeightset<1%
+\largeelement{1}{9}{3}\fi
+\ifnum\beightset<1%
+\largeelement{2}{9}{1}\fi
+\ifnum\ceightset<1%
+\largeelement{3}{9}{4}\fi
+\ifnum\deightset<1%
+\largeelement{4}{9}{H}\fi
+\ifnum\eeightset<1%
+\largeelement{5}{9}{4}\fi
+\ifnum\feightset<1%
+\largeelement{6}{9}{I}\fi
+\ifnum\geightset<1%
+\largeelement{7}{9}{4}\fi
+\ifnum\heightset<1%
+\largeelement{8}{9}{1}\fi
+\ifnum\ieightset<1%
+\largeelement{9}{9}{5}\fi
+
+\ifnum\anineset<1%
+\largeelement{1}{10}{3}\fi
+\ifnum\bnineset<1%
+\largeelement{2}{10}{4}\fi
+\ifnum\cnineset<1%
+\largeelement{3}{10}{4}\fi
+\ifnum\dnineset<1%
+\largeelement{4}{10}{4}\fi
+\ifnum\enineset<1%
+\largeelement{5}{10}{C}\fi
+\ifnum\fnineset<1%
+\largeelement{6}{10}{4}\fi
+\ifnum\gnineset<1%
+\largeelement{7}{10}{4}\fi
+\ifnum\hnineset<1%
+\largeelement{8}{10}{4}\fi
+\ifnum\inineset<1%
+\largeelement{9}{10}{5}\fi
+
+\ifnum\anullset<1%
+\largeelement{1}{11}{8}\fi
+\ifnum\bnullset<1%
+\largeelement{2}{11}{6}\fi
+\ifnum\cnullset<1%
+\largeelement{3}{11}{6}\fi
+\ifnum\dnullset<1%
+\largeelement{4}{11}{O}\fi
+\ifnum\enullset<1%
+\largeelement{5}{11}{6}\fi
+\ifnum\fnullset<1%
+\largeelement{6}{11}{Q}\fi
+\ifnum\gnullset<1%
+\largeelement{7}{11}{6}\fi
+\ifnum\hnullset<1%
+\largeelement{8}{11}{6}\fi
+\ifnum\inullset<1%
+\largeelement{9}{11}{A}\fi
+
+%notation
+
+\largeboardlines{1}{1}{\huge{\texttt{a}}}\largeboardlines{2}{1}{\huge{\texttt{b}}}\largeboardlines{3}{1}{\huge{\texttt{c}}}\largeboardlines{4}{1}{\huge{\texttt{d}}}\largeboardlines{5}{1}{\huge{\texttt{e}}}\largeboardlines{6}{1}{\huge{\texttt{f}}}\largeboardlines{7}{1}{\huge{\texttt{g}}}\largeboardlines{8}{1}{\huge{\texttt{h}}}\largeboardlines{9}{1}{\huge{\texttt{i}}}
+
+\largeboardrows{10}{2}{\huge{\texttt{1}}}\largeboardrows{10}{3}{\huge{\texttt{2}}}\largeboardrows{10}{4}{\huge{\texttt{3}}}\largeboardrows{10}{5}{\huge{\texttt{4}}}\largeboardrows{10}{6}{\huge{\texttt{5}}}\largeboardrows{10}{7}{\huge{\texttt{6}}}\largeboardrows{10}{8}{\huge{\texttt{7}}}\largeboardrows{10}{9}{\huge{\texttt{8}}}\largeboardrows{10}{10}{\huge{\texttt{9}}}\largeboardrows{10}{11}{\huge{\texttt{0}}}
+
+\end{picture}
+\end{center}
+}
+
%
%you are at the end, hopefully you did not read everything :-)