Files
handouts/src/Advanced/Retrograde Analysis/chess-setup.tex
Mark dd4abdbab0 Advanced handouts
Add missing file
Co-authored-by: Mark <mark@betalupi.com>
Co-committed-by: Mark <mark@betalupi.com>
2025-01-22 21:00:44 -08:00

36 lines
602 B
TeX

\setchessboard{
showmover=false,
borderwidth=0.5mm,
label=false,
labelleft=true,
labelbottom=true,
normalboard,
hlabelformat=\arabic{ranklabel},
vlabelformat=\Alph{filelabel}
}
\long\def\twoboards#1{
\chessboard[setpieces = {#1}]
\hfill
\chessboard[setpieces = {#1}]
\par
}
\makeatletter
\long\def\manyboards#1{
\if@solutions
\twoboards{#1}
\else
\twoboards{#1}
\twoboards{#1}
\fi
}
\cbDefineNewPiece{white}{U}
{\raisebox{1.75mm}{\cfss@whitepiececolor
$\odot$}}
{\BlackEmptySquare%
\makebox[0pt][r]{\cfss@whitepiececolor
\raisebox{1.75mm}{\makebox[1em]{$\odot$}}}}
\makeatother