1

(This is my first time using StackExchange, please excuse how sloppily this question is phrased)

I am using the skak package to create diagrams/positions for chess puzzles I would like my students to solve- due to my printing budget i need to be as efficient as possible, meaning that I have to fit as many puzzles on each page as possible (printing is charged by the page). Given that I know I can fit 24, 4cm x 4cm puzzles on a page, while maintaining legibility. How would I go about arranging these diagrams in LaTeX??

Please help, it would really appreciated by myself and the students alike. I don't even know where to start figuring this out.

an example of how i would like the diagrams to be arranged

  • Welcome to TeX.SE. – CampanIgnis Jul 29 '19 at 0:35
  • If you have a PDF with with all puzzles on separate pages, you could use ctan.org/pkg/pdfpages. – CampanIgnis Jul 29 '19 at 0:37
  • Please can you provide a minimal working example ( starting with \documentclass and ending with \end{document}. This will help in trying to solve your problem. – Hafid Boukhoulda Jul 29 '19 at 7:46
  • You could use a tabular. TeX is basically an engine for packing boxes inside other boxes. Note that taublars add 2\tabcolsep spacing between entries. – John Kormylo Jul 29 '19 at 13:59
4

The actual values depends on your paper sizes but something like this would work:

\documentclass{article}
\usepackage{xskak,pgffor}
\usepackage{geometry}
\geometry{a4paper,landscape,hmargin=0.5cm,vmargin=1cm}
\setchessboard{boardfontsize=0.45cm,marginwidth=4mm}
\begin{document}\centering
\foreach\x in {1,2,...,24} %for the demo to get 24 boards ...
{
\chessboard[setpieces={Ka1,ka3,rc8}] 
}
\end{document}

enter image description here

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.