3

Using the package Chessboard, it is possible to make a drawing of a 9 x 9 chessboard, putting pieces, similar to the following drawing? enter image description here

I tried as follows, but it didn't work.

\documentclass{amsart}

\usepackage{skak,chessboard}

\begin{document}

\newchessgame

\chessboard[pgfstyle=9x9,setwhite={ra1, rb3, rc6, rd2, re4, rf7, rg3, rh5, ri8},showmover=false]

\end{document}

enter image description here

Benedito Freire
  • 795
  • 6
  • 11

1 Answers1

5

Section 3 (Setting the contents of the board) of the chessboard documentation says that to change the size of the board you should use the maxfield option. For a 9x9 board, maxfield=i9 does it.

To make the numbering start at zero, there's a zero option, which you can set to true. When you use this option, you don't need the maxfield=i9 anymore because the last place you'll want is h8. To change the bottom labels form alphabetic to arabic numbering you can use labelbottomformat.

enter image description here

\documentclass{amsart}

\usepackage{xskak,chessboard}

\begin{document}
\pagenumbering{gobble}

\newchessgame

\chessboard[
  % maxfield=i9, % 9x9 board
  zero=true, % numbering starts at zero
  labelbottomformat=\arabic{filelabel}, % bottom labels are numbered with arabic algarisms
  setwhite={ra1, rb3, rc6, rd2, re4, rf7, rg3, rh5, ri8},
  showmover=false
  ]

\end{document}