Questions tagged [chess]

{chess} is for questions related to the chess game in TeX.

Filter by
Sorted by
Tagged with
0
votes
1answer
86 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
2answers
46 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
0answers
27 views

The distance between text and the chess board

I've improved my chess diagram command in the manner that it describes the text above the chess diagram. But there was a problem between the distance of the lowest text above ("Place") and the diagram,...
0
votes
1answer
70 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

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 ...
2
votes
1answer
68 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, ...
1
vote
0answers
42 views

Why is 'babel' not loaded with 'ngerman' option?

I am using the igo package for developing a little book about problems in the GO game. The strange thing is, that the igo.sty file prevents the correct display of the date or the contents name. ...
1
vote
0answers
91 views

Printing numbers in tcolorbox

I was able to solve a significant part of the problem, trying to alter the game header in this manner. The last problem is the handling number. How can I alter the header below to transform it the ...
0
votes
1answer
41 views

Combining texmate header and xskak notation

I tried to alter the PGN2LaTeX3 in that manner that it should create headers in my book, however I failed to do it. for example, some pgn2latex_out.tex result: \newgame \resetPgnTags \def\Site{} \...
0
votes
1answer
93 views

Align Chess Diagram and notation

I'm trying to combine both a notation below diagram, but I cannot align them properly. Here, I have asked the question, but I don't want the text be a part of diagram. How could I do (the command is /...
4
votes
1answer
490 views

Draw a line in the center of a chessboard

I am trying to reproduce the following: My best attempt so far uses skak. \begin{figure} \newgame \showallbut{P,p,K,k,R,r,Q,q,B,b,N,n} \showboard \caption{The Frontier Line} \end{...
3
votes
2answers
104 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
1answer
69 views

using lyx chess workshop symbols two Knight goes to the same

if i have two Knight in the b colum, one in b8 and one in b4, how distinguish which one goes to c6, I try N8c6 but that is not working this is the Latex configuration \usepackage{multicol} \...
0
votes
0answers
90 views

Using other than skak chess fonts

I want to use other fonts than skak (merida, cases etc.). I've downloaded enpassant fonts, and even copied them to skaknew folder. However, I cannot use fonts, which do not have .pfb files, describing ...
2
votes
1answer
81 views

Numbering chess games and adjusting makeevent text

I've finally adjusted my .pgn, editing by hand in Notepad++ and replacing PGN strings with texmate commands. Now, I need a) adjust numbers of games (\printanswernumber); b) align tournament names ...
1
vote
1answer
300 views

Exporting .pgn notation to TeX file

I've 855 positions in .pgn, which notations I want to export to .tex file. How can I do this? Should I do all of them one by one? In ChessBase, I can export them as .pdf file, but I cannot copy codes ...
5
votes
1answer
96 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
24 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
18 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
337 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
85 views

How to generate a table with all the chess notation

I like to learn how to create a listing of all the chess moves in a table. In my MWE, I manually enter in the 1st three moves. Is there a way I can do it through looping? \documentclass{article} \...
0
votes
1answer
43 views

xskakloop printing out of moves - page 35

In my previous post, bigger font in labeling and diagram going side to side, I left out the solution so this is a continuation. I want to print out only the white moves. The code on page 35 is not ...
0
votes
1answer
61 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
28 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
68 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
57 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 ...
1
vote
2answers
99 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 ...
0
votes
1answer
133 views

`skak` and `xskak`. Command `\continuevariationcurrent` causes compilation error under `xskak`

I understand package xskak to be an extension of skak, but that there are some incompatibilities due to overlaps in funcionality. I would like to work with xskak in the long term, but hoped to be able ...
7
votes
1answer
144 views

How to draw chessboards in ConTeXt?

I wonder which module you can use to draw chessboards in ConTeXt. When I was using LaTeX, skak is fine but now I a bit stuck. In LaTeX the code looks like: \documentclass{minimal} \usepackage{skak} ...
2
votes
1answer
100 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
89 views

How to type a specific chess move?

I am hoping to type a specific chess move, Rc8 for example. But I have spent two hours searching and looking through existing packages like chessboard, texmate, xskak and xskak. I just couldn't find ...
1
vote
1answer
119 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} ...
3
votes
1answer
412 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
191 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
399 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
133 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\...
0
votes
0answers
96 views

Why can't MiKTeX find chess fonts?

I've just reinstalled MiKTeX. And I'm trying to use a chess font with either skak or chessfss. But either package raises the error Sorry, but miktex-makepk did not succeed for the following reason: ...
0
votes
1answer
116 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
164 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
0answers
95 views

Missing chess-workshop-symbols package with latest skak under Texlive

I have just done an upgrade of my Texlive 2017 (Windows) and skak was one of the packages that was updated (now version 1.5.3). However the chess-workshop-symbols package is no longer present. Does ...
1
vote
1answer
54 views

Making an alias for \xskakcomment in xskak package

I'm trying to make an alias for \xskakcomment to save typing. MWE: \documentclass{article} \usepackage{xskak} \let\skakcom=\xskakcomment \begin{document} \newchessgame \mainline{1.e4 \skakcom{...
0
votes
1answer
334 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
311 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 ...
1
vote
1answer
107 views

Chess: Cropping whitespace around figures in figurine notation style

Consider Ulrike Fischer's code from here: \documentclass{article} \usepackage{xskak} \usepackage{expl3} \makeatletter \ExplSyntaxOn \clist_const:Nn \c_svend_figlanguages_clist {@LSB , @LSBblack} \...
2
votes
1answer
224 views

Chess: Problem with notation style

This is a follow-up question to the one here. Using Ulrike's code from here, \documentclass{article} \usepackage{xskak} \usepackage{expl3} \makeatletter \ExplSyntaxOn \clist_const:Nn \...
1
vote
1answer
111 views

Chess notation: Problem with pawn notation

Consider the following example by Ulrike Fischer: \documentclass{article} \usepackage{chessfss} \makeatletter \def\testchessfiglanguage{\cfss@textfiglanguage} \newcommand*\bonde[1]{\ifx\cfss@...
1
vote
2answers
121 views

Chess notation: Switch between color and notation style

Consider the following two examples: Example A \documentclass{article} \usepackage{xskak} \begin{document} \usetextfig \textsymfigsymbol{R}a1 versus \usesymfig \textsymfigsymbol{R}a1 \end{...
1
vote
1answer
181 views

chessfss: black pieces as figure notation

Consider the following example: \documentclass{article} \usepackage{xskak} %\usetextfig \usesymfig \begin{document} \textsymfigsymbol{Q} \end{document} This printes the white queen. How do I print ...
1
vote
1answer
71 views

chessfss: Switching between notation styles

Consider the following example: \documentclass{article} \usepackage{xskak} \begin{document} \newchessgame \textsymfigsymbol{R}a1 versus Ra1 \end{document} Does the xskak package have an option ...
5
votes
1answer
304 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 ...