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
0
votes
0answers
21 views

chessfss / chessboard: How to get inline text piece symbols [duplicate]

I'm having trouble with the syntax of chessfss.sty For example, with \symking I get the white king for inline text. There seems to be no \symKing command for the black king. In particular, there ...
0
votes
1answer
26 views

chessboard: add a list of all moves at each step

I want to show the solution of a chess puzzle (in the original with a loop), and there are 102 moves. So have a look on a M.W.E. with a very small excerpt: How can I display a list of all moves (from ...
0
votes
0answers
19 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 ...
1
vote
1answer
56 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 ...
1
vote
1answer
36 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 ...
2
votes
1answer
45 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 ...
0
votes
1answer
46 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{...
5
votes
2answers
397 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.
0
votes
0answers
36 views

xskak: How can I control the layout of xskakloop?

I would like to modify the appearance of this move by move game by controlling the vertical and horizontal spacing, the number of columns displayed (2 or 4, for example), and scale it to the normal ...
0
votes
1answer
51 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 ...
0
votes
0answers
26 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: \...
1
vote
1answer
72 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 \...
4
votes
1answer
179 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} \...
3
votes
1answer
123 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 ...
1
vote
0answers
91 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 ...
0
votes
1answer
31 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 \...
1
vote
1answer
87 views

Multiple chessboards in one line

How would I place 4 chessboard side by side? Right now all of them are in one column, below each other. This is the code: \documentclass[12pt, a4paper]{report} \usepackage{ucs} \usepackage[utf8x]{...
0
votes
1answer
63 views

Using skak/chessboard for problems, not games

I want to use skak/chessboard to make the diagram of a problem. This accomplishes what I want: \documentclass{article} \usepackage{skak,chessboard} \begin{document} \newgame \def\myfen{8/R7/1R6/6k1/...
0
votes
1answer
47 views

Handling the command elements together in the column break by multicols

I try to break the pages with chess diagrams containing the header to the two different columns. The problem is that the command elements are not process processed together. For example, in one of the ...
0
votes
1answer
93 views

What package for board game that's not chess and is closer to othello?

I'd like to typeset a board game that (visually speaking) is closer to Othello --- because it uses round stones. The package othelloboard is almost perfect. My main concern is that I need a ...
0
votes
1answer
178 views

chessboard: How to write numbers into fields

I'm using the great package chessboard and I am looking to write numbers into each field of the board to have such chessboard : Currently, I asked python for i in range(64): case = f"{chr(97+i%...
0
votes
1answer
165 views

How to add chess diagram \xskakloop in different frame LaTeX beamer?

\documentclass[aspectratio=169]{beamer} \hypersetup{pdfpagemode=FullScreen} \renewcommand{\familydefault}{\rmdefault} \usepackage{tikz} \usepackage[LSB2,LSBC4,T1]{fontenc} % use fontenc before ...
0
votes
1answer
51 views

I did something with coloring the borders of the chessboard and now I can't have coordinates in any of my boards

\documentclass{article} \usepackage[margin=2.5cm,a4paper]{geometry} \usepackage[utf8]{inputenc} \usepackage[english]{babel} \usepackage[pgf=false]{chessboard} \usepackage{xcolor} \usepackage{xskak} \...
0
votes
2answers
80 views

Display a key/legend beside a chess board diagram

Is it possible to display a key (legend) beside a chess board image in latex? That is, a list of piece names and the corresponding pictorial representation. I am using the latex chessboard package at ...
0
votes
1answer
114 views

Divide a Chess Game into two parts and show individual moves using a looping code using xskak package

Following is a game which has two parts - First part - Opening moves and Second part - then start to analyse the further moves. For this I create a game firstgame1 and display the moves using \...
0
votes
0answers
38 views

What is the difference between \nextfen and \pastfen in the package xskak

I am trying to understand how continuation of a game (to create variations) in chess moves for a particular game can be achieved using \newchessgame along with its options can be done. I fail to ...
0
votes
1answer
276 views

How to draw a chessboard with (\multido )? [closed]

How to draw a chessboard with (\multido )?
2
votes
1answer
112 views

The chess example 10-1-12 /LaTeX Graphics Companion/

I'm trying to compile the example10-1-12 from LaTeX Graphics Companion but it gives an error: Command Line: bibtex.exe "chess2" Startup Folder: C:\Users\hynek0\Desktop\TH0dipl This is BibTeX, ...
5
votes
3answers
1k views

How to insert ellipses (three dots) on a blank chessboard?

I know how to make a blank chessboard, but I want to show that the chessboard is very large by putting in ellipses like this following sketch
0
votes
1answer
165 views

Draw king chess on chess board

Help me, how to draw the king on chess board.
3
votes
2answers
277 views

Using chessboard package, how to render "black" squares in solid gray?

In latex chessboard package, by default, black squares are rendered with hatch patten. I want them in solid gray. My several attempts failed, chessboard.pdf is not helpful here. The programming model ...
0
votes
2answers
201 views

Irregular Chessboard and Labels

I need to type only half triangular part of a chessboard with different coloring setting and label the rows and columns not by a,b,...;1,2,... but by other letters. More explicitly, I need to type ...
2
votes
1answer
137 views

foreach loop error in generating diagrams

In my previous question, How to set macro for looping with minipage?, I was suggested using a foreach loop to solve the problem. After testing, the loop works correctly as show in page 1 pdf. However, ...
5
votes
1answer
126 views

How to set macro for looping with minipage?

I wish to create a chess worksheet with 4 groups: Basic, Pawn, 2Pawns, and Minor+Pawns. A manual worksheet is done by me. But I wish to automate this process. The worksheet will pull \chessboard from ...
0
votes
0answers
35 views

big space between text and diagram

I wish to create a diagram that has text appears vertically next to it. The "pawns" is not what I want. So at best, I try to do it with "basic". In my MWE, the "basic" appears vertically but there's ...
1
vote
1answer
42 views

Show only some set of pieces with xskak

The command \showonlywhite which I was using with the skak package is no longer working with the xskak package. ¿How can I draw just some set of pieces?
1
vote
1answer
891 views

Chess Diagrams with text at LaTeX

I need your help in LaTeX editing: I want to prepare chess book with tactics. However, I cannot adjust my pages for including text below diagrams. How can I do it? Here the pictures of my idea (...
0
votes
1answer
83 views

xskak manual page 36 - diagram below printing of moves

Last nite, I saw a german chess book with a diagram after every 5 moves. The 1st five moves were shown, then followed by a diagram. Following Ulrike Fischer's feedback, I added her code. When I ...
0
votes
1answer
53 views

bigger font in labeling and diagram going side to side

I am building around my 1st question. In it, I presented a game summary. Now here is guess the move. The user must figure out Morphy's move. Here's my code in two part. The first part is the main ...
2
votes
2answers
160 views

diagram not align and mark on move

I am modifying the Latex output from Scid vs PC. In doing it, I am applying Fischer's solution of xskakloop into making the game displaying move by move. Here's my code for Morphy's famous game. I ...
2
votes
1answer
66 views

macro for repeated command

I am a new user to LATEX. I have read a lot of the suggestions done by Ulrike Fischer. She suggested a solution to the problem presented here: xskak displaying certain moves I found that I use a lot ...
2
votes
1answer
155 views

How to typeset chess series-movers with animated diagrams and solution-lines?

I am trying to use the packages xskak and animate to typeset a PDF of chess problems together with their solutions, and to embed animatable widgets which replay the solutions. As far as I can make ...
2
votes
3answers
168 views

How to get period after move number for chess game with xskak and chessboard

I'm using xskak and chessboard to typeset a game. I would like to have a period after each move number such as "1. e4" rather than just "1 e4" How can I achieve this with xskak and chessboard? My ...
1
vote
1answer
141 views

Constrain chess moves to board width with xskak and chessboard

I'm using xskak and chessboard to typeset a game. How can I constrain the printing of the moves to the with of the board? I'm basically looking to constrain the width of the text box. In the image ...
0
votes
0answers
65 views

a LaTeX package to set Diplomacy games?

Does anyone know of any efforts to develop a package to typeset games of Diplomacy, or anyone who might be interested in working on such? Something that could set a board position (e.g. Armies and ...
1
vote
0answers
158 views

Drawing checkers/draughts boards and positions in LaTeX

Is there a good way of drawing draughts/checkers boards with LaTeX? I know that there are several excellent chess-related packages by Ulrike Fischer but I could not see a way of drawing a checkers ...
2
votes
1answer
109 views

Slow in compilation of Chess games

MWE: \documentclass[12pt,twocolumn]{article} \usepackage{chessboard} \usepackage{enumerate} \usepackage[headheight=15pt,top=1.5cm,nofoot,bottom=0cm,left=1cm,right=1cm]{geometry} \usepackage{...
1
vote
1answer
194 views

How to "balance" twocolumn document with chessboard?

\documentclass[12pt,twocolumn]{article} \usepackage{chessboard} \usepackage{enumerate} \usepackage[top=2cm,nofoot,bottom=1cm,left=1cm,right=1cm]{geometry} \usepackage{fancyhdr} \usepackage{lastpage} ...
2
votes
1answer
111 views

How to number the row and columns of the chessboard differently?

I learned in the question How to draw a 9 x 9 chessboard?, answered by Phelype Oleinik, how to distinguish with Arabic numerals the columns and lines of the chessboard. Is it possible to number the ...
3
votes
1answer
486 views

How to draw a 9 x 9 chessboard?

Using the package Chessboard, it is possible to make a drawing of a 9 x 9 chessboard, putting pieces, similar to the following drawing? I tried as follows, but it didn't work. \documentclass{amsart}...