{xskak} is an extension to the package {skak} for chess typesetting

learn more… | top users | synonyms

1
vote
1answer
29 views

Tex4ebook and page breaks

This is a follow-up of this question of mine and uses the same setup. How do I force tex4ebook to respect requests to go to a new page. Example: \documentclass{article} \usepackage{xskak} \...
1
vote
1answer
117 views

tex4ebook and chess symbols

This is a follow-up of this question of mine and uses the same setup. I am trying to typeset chess annotation symbols. The MWE is \documentclass{article} \usepackage{xskak} \newcommand\mychessboard[...
0
votes
1answer
43 views

package xskak: problem with a line break in the notations

I have a problem with the combination of the packages xskak and multicols. Please look at the 7th move: LaTeX does not write the number of the move (7) and the move itself (O-O) in the same line. That ...
1
vote
0answers
44 views

Including drawings in xskak

Xskak is a great latex package to analyse and follow chess games, but I'm not getting it work properly on endings. I need something to 1) draw a rectangle on the board (for example to explain the ...
2
votes
1answer
62 views

Using xskak to move a piece in a non-chess game

I'm trying to use xskak and chessboard to display another game than chess, however I can't get xskak to move a piece. The problem might be that my board is 5x5 instead of 8x8. Here's my non-working ...
0
votes
1answer
37 views

xskak spacing in styleC

Is it possible to control the spacing between the move number, white move and black move using styleC in xskak? I hve tried to read the documentation, but I couldn't find some hints. \documentclass[...
2
votes
1answer
46 views

Text next to an xskak diagram?

The \chessboard command from xskak.sty assembles the board using glyphs from a chess font. This causes me a ton of headaches trying put explanatory text next to a board. The first and most obvious ...
1
vote
0answers
109 views

In chess diagram en passent is sometimes not printed out

In some cases the printed chess notation does not include the en passant remark "e.p.". The image shows two different chess positions. In the upper row the notation of white's move 2 includes the e.p....
2
votes
1answer
111 views

Last chess diagram of a \xskakloop is displayed twice

The first diagram is the initial position of a chess problem. The following diagrams are generated within a \xskakloop. However, the last diagram is printed twice. Why that? By the way, I would ...
6
votes
1answer
240 views

Chess figure does not move

The white knight on f7 sticks on its field, as you can see in diagrams 2 and 3. In diagram 2 the notation is 1 Z-ZZ instead of **1 Kf7 - h6+ **. What is going wrong? Here is the code: \...
3
votes
0answers
73 views

Promoted pawn keeps a pawn in the diagram

As shown in chess diagram 2, after f7xe8B+ the pawn at e8 is not promoted to a Bishop. However, in diagram 3 the pawn has changed to a bishop. What did I do wrong? Here is the source code: \...
4
votes
1answer
178 views

Stars symbol in FEN

How to put stars symbol in FEN notation? I can not do it in the DiagTransfer 3.0.1. I wrote (without the stars): \documentclass{article} \usepackage[utf8]{inputenc} \usepackage{xskak} \begin{...
5
votes
1answer
577 views

Chess diagramm with arrows in skak, xskak

How can I draw arrows on a chess game? For example, if the game starts with 1. e4 ..., I want to draw a black arrow from e2 to e4 to show the movement, and, in the same diagram, two red arrows from ...
4
votes
3answers
216 views

Turn move number off in \variation

Can we customize \variation command to suppress display of move numbers ? \variation{1. e4} should display e4 (without the move number). Can this be done ? I should have explained the problem more ...
1
vote
2answers
111 views

xskakget fails with styleC

I'm trying to print chessboard after some moves. For that I'm using xskakget to get the move number and print it as caption. It is working fine as long as I use the default style or styleA for \...
2
votes
1answer
178 views

\xskakget with \newchessgame is failing

I'm trying to get the last move id of a chess game using \xskakget and \newchessgame like this. \newchessgame[id=someid, moveid=10b] and after sometime, use \mainline to display the move. \...
0
votes
1answer
122 views

xskak does not show dot after the number of the step

I write to xskak 1. Rc8+ Rxc8 2. Rxc8+ Kg7, but it displays 1 Rc8+ Rxc8 2 Rxc8+ Kg7 (without dots). It is annoying... Does it depend on something in the preambulum of the LaTeX file (setting languages)...
2
votes
1answer
281 views

Defining a new style in xskak

I am experimenting with the various styles for displaying \mainline chess moves and observed that \styleC displays moves as a column of two half-moves per line. Ulrike Fischer informed me that the ...
5
votes
1answer
231 views

xskak wont parse 0-0

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 ...
5
votes
3answers
114 views

Is xskak compatible with wrapfig?

I would like to show some (chess) moves, wrapping them around the resulting chessboard. The following code: \documentclass[twocolumn]{article} \usepackage{xskak} \usepackage{wrapfig} \usepackage{...
5
votes
1answer
327 views

Color of chess notation (xskak)

I would like to set color for specific moves in \mainline, like \mainline{1. f4 e5 2. {\color{red} g4} Qh4#}. Is is any way to change the color for some moves?
2
votes
1answer
398 views

xskak and xelatex

\documentclass{article} \usepackage{xltxtra} \usepackage{skak} \setmainfont{Arial} \setmonofont{Courier New} \usepackage{polyglossia} \setmainlanguage{english} \catcode"2654=\active \catcode"2655=\...
5
votes
1answer
382 views

xskak & chessboard & count of pieces

Within used packages xskak and chessboard and an initialized game, how can I determine the count of white and black pieces of a given \newgame and how I can output the actual position of these pieces ...
3
votes
1answer
809 views

Numbering chess diagrams (skak)

How do I put a number beside the chess diagram? I want to make a document of chess diagrams to be solved and then the solutions at the end. If someone has a skeleton to make this I would be happy. ...
4
votes
3answers
964 views

Floating a chess diagram on the next column

My second chess diagram does not fit on the first column, so LaTeX increased paragraph spacing on the first column. This does ensure that the second diagram appears exactly on top of the second ...