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
1
vote
1answer
66 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
45 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
31 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
64 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
61 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
115 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
44 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
61 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
88 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
24 views

Macro to loop through chess game passing gameid as parameter and step size not working

Got this code from tex.stackexchange: Credits to concerned. The below code contains getmovestyle macro. \newcommand\getmovestyle[1]{% \ifthenelse {\equal{#1}{N}}%knight move {\def\mymovestyle{[...
0
votes
0answers
30 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
174 views

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

How to draw a chessboard with (\multido )?
2
votes
1answer
86 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
122 views

Draw king chess on chess board

Help me, how to draw the king on chess board.
3
votes
2answers
153 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
156 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
116 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
109 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
28 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
25 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
516 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
70 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
35 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
93 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
59 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
115 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 ...
1
vote
2answers
125 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
102 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
62 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
122 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
106 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
149 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
91 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
433 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}...
2
votes
1answer
228 views

How to set figurine font on chessboard with solid grey “black” squares?

I am learning how to use the package "chessboard". I would like to typeset chessboards' black squares as solid grey rather than as the default diagonal lines, because I find the lines a bit ...
3
votes
1answer
442 views

Knights move on a 4 x 8 board animation

I want to make an animation of how a knight moves along a 4 x 8 board visiting each square exactly once. If a square is visited once i want to put an "X" inside the square so that we understand that ...
2
votes
0answers
161 views

Adding a legend or caption to a chess diagram

Below is a typical code for a chess diagram that you see around here: \documentclass[border=12pt]{standalone} \usepackage{skak} \usepackage{chessboard} \def\mainlinestyle{\bfseries} \def\...
1
vote
1answer
136 views

Using the package Chessboard, as mark with the + sign a square on a chessboard?

I can mark a square with X or with a circle, but I still can't to mark with the + sign. \usepackage{chessboard} \begin{document} \begin{center} \newchessgame \chessboard[maxfield=c4, color=black, ...
0
votes
1answer
126 views

Space between mdframed text and chessboard / chess line

I have the following type of document, where I want to display some framed chess game header and continue with either a line or a chessboard: \documentclass[ngerman]{scrreprt} \usepackage{xskak} \...
0
votes
0answers
196 views

Installing enpassant fonts

I would like to use the Merida chess font. However, I'm not familiar with Latex fonts and their installation. I'm using Ubuntu 17.10 and TexLive. After reading the readme file for https://ctan.org/pkg/...
0
votes
1answer
75 views

How to display chessboard with missing opposite diagonal corner pieces in latex?

So far I have a chessboard which is displayed fully, however, I want to modify it such that it has missing opposite diagonal corner pieces, I don't mind which corner. This is my code so far: \...
1
vote
1answer
163 views

chessboard: how to draw a non-transparent white piece on an arbitrary position?

I have a very simple chessboard question. How can I draw a non-transparent white piece (e.g. pawn) on an arbitrary position on a board, for example, between fields?
0
votes
1answer
382 views

How to hide text of \mainline in Chess Diagram?

I would like to remove the text produced by the \mainline but not the diagram. \documentclass[border=12pt]{standalone} \usepackage{skak} \usepackage{chessboard} \def\mainlinestyle{\...
2
votes
2answers
429 views

Chess-oriented packages [skak and similar ones] – One pair of moves for every line

Is actually possible to obtain the text output of a game in a column with one line for every move, instead of a compact body of text where everything is bundled together as it currently happens with ...
0
votes
1answer
3k views

LaTeX Template for Drawing Chess Rules in Iconic Manner?

Chess game is very old. The rules are difficult for a beginner. Iconic overview of chess rules is a great advantage for beginners. Would you know a cool template to print rules with tikz ? There ...
5
votes
1answer
339 views

custom chessboard with animation

I'm new to latex! I've created the chessboard on the picture below and I want to make an animation with specific movement for the knight and loop it! How can I do that? Also I'd like to know how to ...
3
votes
1answer
831 views

Problem with writing chess moves in SKAK

I'm new in LaTeX and I've been trying to write chess moves on it. All was good until this big problem I got after I've written this of line chess moves, extracted from a game of Chess played by ...
2
votes
1answer
635 views

Special chessboard

How can I create the following chessboard with LaTex ? Thank you in advance Update \usepackage{xskak,xcolor} \usepackage[utf8]{inputenc} \usepackage[LSBC3,T1]{fontenc} \usepackage{chessboard} \...
3
votes
2answers
375 views

How can I present a series of chessboards in one column, with text in another column?

I would like to create a document where each move in a game of chess is annotated. I envisage having a chessboard on the left hand side, with annotations on the right. Sorry about not including a ...