Skip to main content

Questions tagged [chessboard]

About the chessboard package used for drawing chess boards. For general questions about typesetting chess-related material, please use the {chess} tag.

Filter by
Sorted by
Tagged with
3 votes
2 answers
28 views

xskak/chessboard backfields only showing on white squares

Copying and adapting liberally from examples here, I have some working xskak and chessboard code to create a board with custom colors, etc. working properly but for one thing: the highlighting using ...
Clorgie's user avatar
  • 31
3 votes
1 answer
46 views

How to get the 'chess annotation symbols' into the \xskakloop

Is there a way to get the chess annotation symbols +, !, ?!, e.p., ....., with other words the evaluations of chess moves, as written in the \mainline{...}, at the captions of a \xskakloop? \...
cis's user avatar
  • 8,388
3 votes
1 answer
72 views

xskak / chessboard: White figures filled white at colored board

I find the color settings on xskak / chessboard to be quite complicated. I have the board color style "brown/light brown" as far as I want it (but I'm not 100% sure whether I set it up ...
cis's user avatar
  • 8,388
2 votes
1 answer
40 views

Translating a chess game from wikipedia to xskak, cheesboard

I would like to visualize the chessgame Zukertort – Blackburne, London 1883 , seen in the German wikipedia. 1/2) On Wikipedia they use the German names of the figures, so I set \newskaklanguage{german}...
cis's user avatar
  • 8,388
1 vote
0 answers
38 views

how to add parentheses in the chess moves using xskak

I have a very simple question but I am not able to find the answer. How can I try 22... N(g7)f5 using the xskak package. This notation means that the knight may go both g7 and f5 squares. For example,...
AYBRXQD's user avatar
  • 749
1 vote
0 answers
65 views

has anything gone wrong with mpchess [duplicate]

I have used the mpchess package to put chess diagrams in multiple documents and everything was fine. Suddenly after some update all the files that contains mpchess were not compiling until you remove ...
Wassim Saeed's user avatar
1 vote
1 answer
79 views

Chess font specific problems on a linux arch based distribution (arcolinux)

For short, it is about getting (white and) black figurine fonts to work, so that typing some chess pages would focus on chess, not on the latex clutter around them. Explicitly: Question: The Berlin ...
dan_fulea's user avatar
  • 113
0 votes
1 answer
96 views

Increasing LuaLaTeX compiling speed having 2525 chess diagrams

I want to create a book having 2525 chess position. I have already defined \tacticboard command that should print diagrams. However, due to the size, the PDF generation with LuaLaTeX goes too long (...
Ulvi Bajarani's user avatar
2 votes
0 answers
105 views

Chess Board Color changes

Can someone help me recreate this chess board style: I got this: \setboardfontcolors{ blackfieldmask=cyan} \setboardfontencoding{LSBC3}\storechessboardstyle{zeit}{blackfieldcolor=cyan,...
calculatormathematical's user avatar
0 votes
0 answers
107 views

How to color white chess pieces black?

I need a chessgame with just one piece color where I can make my moves and each additional board after \mainline stays in the color, black pieces stays black and the white pieces get black. The ...
sp8cky's user avatar
  • 53
0 votes
1 answer
53 views

Xskak, command \setfen[]: no update of the board

I have the following solo chess example created with \setfen[]: \documentclass[runningheads]{llncs} \usepackage{xskak, longtable} % Schach \usepackage{chessboard} \begin{document} \setchessboard{...
sp8cky's user avatar
  • 53
0 votes
0 answers
69 views

How can I add labels to each square in \chessboard using xskak?

I searched a lot on the internet but I couldn't find any helpful answers, so here I am. I'm trying to create a chessboard figure, using xskak package that contains a label for each square. An example ...
Pietro's user avatar
  • 101
1 vote
0 answers
30 views

Problem installing Chess-7 font

I am following instructions in http://tug.ctan.org/tex-archive/fonts/chess/enpassant/README to install Chess-7 font. I use ttf2pt1 -b Chess-7.TTF chess-7-board-raw to create chess-7-board-raw.pfb ...
mkolar's user avatar
  • 111
1 vote
0 answers
204 views

Writing a Chess Book in LaTeX

I am interested in writing a chess book in LaTeX. Are there any existing LaTeX templates for writing Chess books in overleaf? Also, is there any streamlined way to use Chessbase directly for writing a ...
ThePuzzlr's user avatar
0 votes
0 answers
44 views

How to type a chess move that disguishes the black move and the white move?

I was reading this post here. And I couldn't really find the answer. Basically, how can I type a move of BLACK ROCK to c8 and for a WHITE ROCK to c8? Something like \wmove{Ra8} and \bmove{Ra8} ...
CasperYC's user avatar
  • 705
1 vote
1 answer
89 views

How can I convert a chess PDF to a HTML file to include diagrams using tex4ht?

I'm trying to convert a chess pdf to html file before converting to mobi and keeping it with the diagrams. I'm doing this through tex4ht on TeXStudio. I have the code: \documentclass{article} \...
Cauê's user avatar
  • 11
1 vote
0 answers
83 views

Which is better for arabic Babel or Polyglossia [closed]

I need to know for general purpose articles or books. Which one plays best with figures, diagrams, multicolumns, TOC, enumitem..etc. and most appreciated if problems with skak, and chessboard are less ...
Wassim Saeed's user avatar
1 vote
2 answers
158 views

Knights tour figure diagram

I'm converting my handwritten class notes into LaTeX. And there are some figures that I have been using the tikz package.Is it possible to transform the figure below, which represents the horse's ...
Kauan Paulino's user avatar
0 votes
1 answer
40 views

Can't change language using ```xskak``` package

I am studying chess and decided to take notes. So I am using xskak package. I decided to write in portuguese so that I can share with some friends. The package, however, doesn't obey my command. Here ...
Brasil's user avatar
  • 1,380
2 votes
1 answer
131 views

Increasing the size of the board (CHESS)

In the following document the \bigskip\makediagrams option generates an image with the same size as \smallskip\makediagrams. Is it possible to make the image bigger? \documentclass[11pt,letterpaper,...
Wladimir Serrano's user avatar
0 votes
0 answers
101 views

Animate a chess line

I would like to animate a line of a chess opening but the only way I found is kinda difficult or repetitive so I would like to write a command that allows me to do so. Here is an example: \...
Matteo's user avatar
  • 1
1 vote
1 answer
66 views

Chessboard with named squares in foreign language

I am trying to translate an example from the documentation of the chessboard package, page 54. The code's example is: \setchessboard{tinyboard,color=magenta,clearboard} \chessboard[pgfstyle={[base,at={...
cgss's user avatar
  • 301
0 votes
1 answer
54 views

xskak wont correctly display castle \ParseCastling doesn't match its definition

Hello I am using xskak and I hit the issue which I have to solve: castling I understand you have to use letter not digit as noted [here][1] But my issue is when I use O-O I hit error in building PDF: !...
Melkor's user avatar
  • 3
3 votes
1 answer
220 views

Chess: knight move diagram with 'L' shaped arrows

When drawing knight moves in a board, is it possible to make the line look like an 'L', ie straight for 2 squares then turning 90 degrees and straight again? For example, the following piece of code \...
cgss's user avatar
  • 301
1 vote
0 answers
61 views

Installing enpassant fonts on mac

I am trying to create a simple chessboard with an a non-default font, such as "pirat" as described in the documentation of chessfss and have followed the instructions from the README of the ...
domoarigato's user avatar
1 vote
0 answers
110 views

How can I draw a chessboard with two corners removed?

I am trying to draw a chessboard like this I used this question To draw a chessboard and I got this board. How can I get the board in the first image?
erika21148's user avatar
0 votes
1 answer
79 views

Can anyboard produced by the chessboard package be exported to svg?

Can any board produced by the chessboard package be exported to svg?
Wassim Saeed's user avatar
1 vote
1 answer
97 views

xskak / xsavebox: How to use an xsavebox for markmoves-list

I tried to use xsaveboxes at markmoves: \xsbox{list1}{a8-e4} \chessboard[tinyboard, markmoves=\xusebox{list1}% <--- error ] so that I can use numbered boxes. But this does not work, what do I ...
cis's user avatar
  • 8,388
0 votes
0 answers
47 views

chessboard: How to add or inherit styles?

Is it possible to add styles? I add for example a style 's1' on a style 's2': \storechessboardstyle{s1}{ movenr={1}, markmove=\xskakget{movefrom}-\xskakget{moveto}, } \storechessboardstyle{s2}{ ...
cis's user avatar
  • 8,388
1 vote
0 answers
62 views

How to display the start situation in an xskakloop

How can I display the start situation, for example the normal chessboard structure, in an xskakloop? So to speak as "Move 0". \documentclass[margin=5mm, varwidth]{standalone} \usepackage{...
cis's user avatar
  • 8,388
1 vote
1 answer
71 views

How to mark the current move AND all previous moves when using an xskakloop (movement history)

With movenr={1}, markmove=\xskakget{movefrom}-\xskakget{moveto}, movenr={2}, markmove=\xskakget{movefrom}-\xskakget{moveto}, movenr={3}, markmove=\xskakget{movefrom}-\xskakget{moveto}, ...... .........
cis's user avatar
  • 8,388
0 votes
0 answers
18 views

xskak: defaultmovenr=0 does not work at xskakloop

I set \xskakset{defaultmovenr=0,}. And \mainline{0. Ba8 ... 1. Be4 ... 2. Bh7 ... 3. Bg8 ... 4. Ba2 ...} will work now. But if I use an xskskloop, it does not work any more. What do I have to do? \...
cis's user avatar
  • 8,388
0 votes
1 answer
102 views

Easier xskakloop or xskak-only solution for a chessgame-loop

I created a loop for a chess game. I used a tikz-foreach method and created a (code-intensive) \MoveIdList for it The question is: can the optics be implemented with an xskak-only solution with a \...
cis's user avatar
  • 8,388
0 votes
1 answer
111 views

chessboard / xskak: How to add a move-number '0.' at the chess-annotation

Is is possibe to get a "Startposition" / "Number 0" in the move-annotation-printout? If I try \hidemoves{0. Ke4 ... 1. Ke3 ... } I get the error ! mainline: 0 is not the correct ...
cis's user avatar
  • 8,388
2 votes
2 answers
158 views

How to use only the moves of a white piece in board-output and chess-annotation

Is there a way to capture and display just the moves of a white piece, in both board-output AND chess-annotation? If possible without the three placeholder dots. \documentclass[a4paper]{article} \...
cis's user avatar
  • 8,388
0 votes
0 answers
121 views

chessboard: How to set the chess pieces in the foreground?

How can I set the chess piece in the foreground? \documentclass[margin=5mm, varwidth]{standalone} \usepackage{tikz} \usepackage{xskak} \usepackage{chessboard} \setchessboard{showmover=false} \begin{...
cis's user avatar
  • 8,388
4 votes
1 answer
120 views

How to fill a letter (chess piece) with color

I choosed a King from 'DejaVu Sans'. Is there a way to fill the a chess piece with white? % arara: lualatex \documentclass[margin=5mm, varwidth]{standalone} \usepackage{xcolor} \usepackage{fontspec} \...
cis's user avatar
  • 8,388
0 votes
0 answers
152 views

Find out the fontfamily name or change the chess pieces font at chessboard.sty

At the chessboard package I tried without success boardfontfamily={DejaVu Sans}, but I had to hear this is not a 'fontfamily name'. So what is the generall way to find out the fontfamily name of a ...
cis's user avatar
  • 8,388
1 vote
1 answer
113 views

chessboard: creating and positioning a red king (new piece)

I need a red king here in the middle, that means a black king figure (piece), but in red color. He should have his own character, like 'R' (if possible). This is normally \char"2654 The handbook ...
cis's user avatar
  • 8,388
1 vote
1 answer
67 views

something wrong in an edge case for chessboard?

There's a combination of three features in chessboard that's doing something unexpected (typesetting some characters in nullfont): curvemove, marking a not-in-a-single-file move, and a non-integer ...
David's user avatar
  • 85
2 votes
1 answer
99 views

How to draw lines properly between nested nodes using tikzpicture and chessboard

I am trying to create a states tree for demonstrating the N-Queens problem. I've managed to create a tree and display the chessboards in various states however there there is no gap between the nested ...
dan-frank's user avatar
0 votes
1 answer
81 views

How to use chessboard?

I try to use chessboard package but cannot obtain anything: \documentclass[12pt]{book} \usepackage{geometry} % See geometry.pdf to learn the layout options. There are lots. \geometry{...
O. Boilleau's user avatar
5 votes
2 answers
618 views

A chess board according to moves

I'm sure that this question has been answered elsewhere: I would like to know ho do I type this: 1.d4 in a XeTeX file.
user2925716's user avatar
  • 1,950
1 vote
1 answer
130 views

Placing Checkers pieces on a chessboard with `chessboard`, maybe using `xcolor`?

I would like to draw positions of Checkers (aka Draughts) with the almighty package chessboard, and I would like to place some discs with a nice boundary, rather than plain discs. Edit: What I ideally ...
Davide Leonessi's user avatar
0 votes
0 answers
100 views

In xskak & chessboard, how to use a variable's value for the moves?

I am using the packages xskak and chessboard. How should I first define a variable to hold the moves, then use that variable when using \hidemoves and \mainline? Minimal non-working example: \...
Rosie F's user avatar
  • 444
1 vote
1 answer
193 views

Xskak/Chessboard moverstyle squarearrow

I am trying to use moverstyle=squarearrow on Xskak/chessboard. code is like this : \usepackage{pifont,graphicx} \usepackage{xskak} \usepackage{chessboard} \usepackage{texmate} \newchesgame \...
Nico Lopez's user avatar
4 votes
1 answer
501 views

Dashed arrow on a chessboard

The Latex below draws a board with an arrow. How can I change the appearance of the arrow line, so that it is dashed? \documentclass{article} \usepackage{chessboard} \begin{document} \begin{frame} \...
Cenlle's user avatar
  • 75
3 votes
1 answer
342 views

Custom chessboard axis labels

I would like to use the chessboard package to create a chess board, but with customized axis labels. The Latex below creates a board where the files are labelled with numbers instead of letters. I ...
Cenlle's user avatar
  • 75
2 votes
0 answers
211 views

Chessboard tree diagram

I'm wanting to draw a chessboard tree diagram and I am trying to find the best way to create the tree diagram part. So far I have the below but it looks like the chessboard has a white border which is ...
trieasyboid's user avatar
0 votes
1 answer
43 views

Problems viewing chess board in Hebrew document

I'm trying to draw a chess board with skak but this is the result: As you can see it's opposite... Here is MWE: \documentclass[hebrew,english]{scrartcl} \usepackage{fontspec} \makeatletter \...
heblyx's user avatar
  • 2,591