On Tue, Sep 2, 2008 at 8:16 PM, Maurício wrote:
Hi,
What is the easiest way to include chess boards in a Context document?
Chessboards or chessboards with figures?
Chessboards with figures (actually, chess studies sets).
the easiest way is to use a font for diagrams. Just copy and paste it into your text editor (you will get a 8×8 matrix plus maybe chars for rules and numbers around). This description should be enclosed by a user command, e.g. \dia{<matrix>}, which turns off interlineskip (in plain \offinterlineskip). This should be enough for a quick and dirty solution. High quality typesetting or generating diagrams out of databases like chessbase or parsing of FEN strings is much more difficult. You can take a look at LaTeX package chessboard or skak how they do it ... Ulrich