Added "extras" mode

This commit is contained in:
2023-12-06 21:52:05 -08:00
parent 361f9e694f
commit a5362a2eb9
6 changed files with 123 additions and 112 deletions

View File

@ -14,17 +14,28 @@
\chessboard[setpieces = {#1}]
\hfill
\chessboard[setpieces = {#1}]
\par
}
\long\def\sixboards#1{
\twoboards{#1}
\vfill
\twoboards{#1}
\vfill
\twoboards{#1}
}
\makeatletter
\long\def\manyboards#1{
\if@solutions
\twoboards{#1}
\ifextras
\sixboards{#1}
\else
\vfill
\twoboards{#1}
\vfill
\twoboards{#1}
\if@solutions
\twoboards{#1}
\else
\twoboards{#1}
\twoboards{#1}
\fi
\fi
}