Take the 2-minute tour ×
TeX - LaTeX Stack Exchange is a question and answer site for users of TeX, LaTeX, ConTeXt, and related typesetting systems. It's 100% free, no registration required.

Okay so I used to do a table for chess moves and import a picture from some online service to write chess stuff in LaTeX. Now I found xskak, and that is really a lot nicer and easier. But I can't trick xskak into accepting 0-0 for a move, why is that? It gives me a ZZ directly before the move in the output and my later diagram shows up without that move. Is ther some other notation for castling?

share|improve this question
    
As far as I can see, it's O-O (letter "O", not zero). –  egreg Oct 22 '12 at 15:24
    
awesome, why I didn't figure that out myself I am not entirely sure. But thanks anyway. –  Tobias Oct 22 '12 at 21:26
add comment

1 Answer

According to Wikipedia, castling is denoted in Portable Game Notation (PGN) by O-O and O-O-O rather than 0-0 and 0-0-0 (the former are letters "O", the latter digits "0").

Apparently xskak adheres to PGN.

So the answer is "use O-O and O-O-O".

share|improve this answer
    
Addition: Ulrike wrote in the xskakdocumentation: “The package xskak is an extension for the package skak. The package skak is a package from Torben Hoffmann which can parse and print chess games given in (a subset of) the PGN notation.” –  Speravir Oct 22 '12 at 22:00
add comment

Your Answer

 
discard

By posting your answer, you agree to the privacy policy and terms of service.

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