Is it possible to set up a different chess board size, say 4x16, using skak package?
Asked
Active
Viewed 1,054 times
1 Answers
2
No. At least, the chessboard manual notes this limitation specifically (p. 71):
As arguments in the commands of the package skak you can only use the fields of a 8×8-board.
Presumably, this is not really very surprising given its purpose and basic assumptions.
There is no problem creating a chessboard with different dimensions, of course, but skak is concerned with typesetting games, which involve much more than merely drawing boards.
\documentclass{standalone}
\usepackage[LSB,LSBC3,T1]{fontenc}
\usepackage{chessboard}
\storechessboardstyle{4x16}{%
maxfield=d16,
borderwidth=10mm,
boardfontencoding=LSBC3,
color=white,
colorwhitebackfields,
color=black,
colorblackbackfields,
blackfieldmaskcolor=black,
whitepiececolor=yellow,
whitepiecemaskcolor=red,
blackpiececolor=cyan,
blackpiecemaskcolor=blue,
addfontcolors,
pgfstyle=border,
color=white,
markregion=a1-d16,
}
\begin{document}
\chessboard[
style=4x16,
setpieces={Qa8,Qb4,Qc1,Qd3,Qb16,Qc12,Qa7,Qc15,qa1,qb14,qc11,qd13,qb6,qc2,qa4,qc5},
padding=1ex,
]
\end{document}
cfr
- 198,882

Lreserved forlocalencodings? I assume the idea was local to installation, but I guess this is local in some extended sense. (LY1was a mistake, I think.) I'm sureencguide.pdfcovers this, though. – cfr Mar 13 '17 at 02:14