Questions tagged [skak]
For questions about {skak}, a package that provides macros and fonts for typesetting chess games.
49
questions
0
votes
0
answers
16
views
skak how to control the before and after text alignment and spacing to make it look more elegant
\documentclass[a4paper]{article}
\usepackage{xskak}
\usepackage[margin=2.1cm]{geometry}
\usepackage{multicol}
\begin{document}
\newgame
\mainline{1.e4 e5 2. Nf3 Nc6 3.Bb5}
\showboard
\mainline{3...a6} ...
1
vote
1
answer
71
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 ...
3
votes
1
answer
99
views
Define arguments in a command
I am using the skak and xskak packages to make notes about chess. Everytime I need to print a board, I have to manually set the optional parameters, like the code below:
\chessboard[
%--> ADD ...
0
votes
0
answers
43
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 ...
1
vote
1
answer
114
views
How to align more chessboard with LaTeX using Skak package?
I've tried using the align environment, I've tried using minipage but nothing seems to work. This is my code.
Edit : As someone asked I'll try to be more clear, I want the two right-most picture to ...
0
votes
1
answer
34
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
\...
8
votes
4
answers
1k
views
Inline chess symbols
I want to put chess symbols inline in my document. I know that, using skak, I can produce nice looking inline symbols with commands like \symking, etc. However, these are only white, and I need white ...
0
votes
1
answer
82
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/...
1
vote
1
answer
238
views
skak xskak board orientation
I found a line "in standard board orientation" but not the option to have a flipped board orientation. Can I have a board displayed for black's view?
0
votes
0
answers
13
views
Possible compatibility issues with the subfiles and skak packages
I'm new to subfiles and experiencing problems with the subfiles and skak packages. The following 3 files in a main and a sub directory shows my problem:
main.tex
chess/main.tex
chess/kingsGame.fen
I ...
0
votes
1
answer
54
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}
\...
1
vote
1
answer
163
views
Creating a page tiled with diagrams, for chess tactical puzzles worksheet
(This is my first time using StackExchange, please excuse how sloppily this question is phrased)
I am using the skak package to create diagrams/positions for chess puzzles I would like my students to ...
1
vote
1
answer
55
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?
2
votes
2
answers
190
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
1
answer
172
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
1
answer
89
views
Latex, chess board, skak and polyglossia for arabic won't work together
This is not working it works either for chessboard and skak or for polyglossia but not for both can anyone help me here
\documentclass[16pt]{article}
\usepackage{geometry}
\geometry{a4paper, portrait,...
2
votes
3
answers
189
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
1
answer
273
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
1
answer
184
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}
...
1
vote
1
answer
292
views
passing a parameter to nested macro inside caption
I'm having a really hard time understanding this error in a massive document. I took the time to work out a "minimal example", so I could post the error with precision. Please, when trying to answer, ...
0
votes
0
answers
128
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
1
answer
530
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
2
answers
676
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
0
answers
79
views
Use a different font (ttf) with skak/NFSS problems
Fonts on LaTex have always left me confused, so I've defaulted to xeLaTex in the past. Is there any simple way to use fontspec and *LaTex to use alternate fonts with with skak (or xskak)?
This would ...
1
vote
0
answers
381
views
skak package error [closed]
I am using TeXworks in MikTex portable 2.9
when I use the following code, I get the error message
Couldn't find `SkakNew-Diagr.cfg'
miktex-maketfm: No creation rule for font SkakNew-Diagram.
! Font ...
3
votes
1
answer
1k
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 ...
4
votes
1
answer
454
views
Is it possible to use skak package to generate document in epub or mobi format?
I use skak to generate a beautiful chess book in PDF format. Unfortunately, Amazon Kindle does not import the PDF well. So, I have to make a Kindle friendly formatted book such as epub.
Is it ...
3
votes
1
answer
355
views
Typesetting irregular games of chess
I'm writing a Latex document describing games of chess with irregularly sized and shaped boards. I have read both the skak and xskak and as far as I can tell they only support standard 8x8 boards. ...
0
votes
1
answer
768
views
Different chess board using skak package
Is it possible to set up a different chess board size, say 4x16, using skak package?
2
votes
1
answer
643
views
LaTeX Skak package Error: Paragraph ended before \FenBoard was complete
\documentclass{article}
\usepackage[utf8]{inputenc}
\usepackage[english]{babel}
\usepackage{skak}
\begin{document}
\mainline{1.e4}
\showboard
\lastmove{} Is the most common opening move
\...
3
votes
1
answer
455
views
Using xskak and tex4ebook
Does anyone know how to get these packages to work together.
Minimal example (test.tex).
\documentclass[12pt]{article}
\usepackage{xskak}
\begin{document}
\newchessgame[id=main]
\chessboard
\end{...
0
votes
1
answer
68
views
Compiling skakdoc.tex, newcomer, new installation [duplicate]
I'm a newcomer to TeX trying to run skakdoc.tex from
https://www.ctan.org/tex-archive/fonts/chess/skak/doc?lang=en.
I cannot get it to compile correctly using pdflatex.
It gives
! undefined ...
3
votes
1
answer
2k
views
Chess Notation with skak: How to highlight squares?
i'm using the skak-package for some chess notation in a presentation. My only issue: How can i highlight various squares on the chessboard? Basic:
\documentclass[12pt]{beamer}
\usepackage{skak}
\...
3
votes
1
answer
511
views
Error using \variation command in the skak package
I'm using the skak package to write and comment a chess match.
Trouble occurs when you use the command \variation to analyze the possible consequences to vary the move 15. This MWE code generates an ...
3
votes
1
answer
250
views
How to delete extra information?
When I compile the following :
\documentclass{article}
\usepackage{chessboard}
\usepackage{diagram}
\usepackage[ps]{skak}
\begin{document}
\begin{diagram}[4x4]
\pieces{}
\end{diagram}
\begin{diagram}[...
-1
votes
1
answer
243
views
How to make a picture similar to this?
I would like to make a cover for my class notes!
The Board I can draw. I don't know how to put the strip (which will contain the title of the Lecture Notes) on the Board:
\documentclass{standalone}
\...
8
votes
1
answer
2k
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 ...
2
votes
1
answer
916
views
How to use \mainline with chessboard and skak packages on large chess boards?
I have a number of very large chessboards that I am setting, as a part of some work on infinite chess. I have been using the chessboard package, which is great.
But I am having difficulty with using ...
1
vote
1
answer
432
views
Insert a skak symbol
I'm trying to enter a chess symbols of skak package, and output it at pdflatex but it didn't compile...(at Lyx).
What can I do?
I enter it at math mode.
(there is no other way).
(Idon't know what is ...
1
vote
1
answer
277
views
Using \typeC in package skak will not compile
(1) I am using MikTeX 2.9 and am generally a very happy user of skak - barely two hours seperated the moment I wanted to typeset a chess problem and knowing absolutely nothing about what support there ...
5
votes
1
answer
765
views
Chess notation does not show figurine font
I am new to LaTeX/skak.
I use htlatex to generate a small ebook html.
\documentclass{book}
\usepackage[ps,mover]{skak}
\title{test1\\Test}
\author{Asim}
\begin{document}
\parindent=0pt
\...
6
votes
2
answers
802
views
\chapter command and skak package
Is there a way to write a chapter title using chess figurines?
I'm using the skak package and
\chapter{\mainline{1.e4 e6 2.d4 b6}}
doesn't work. Same error using the \variation command.
I'll post ...
3
votes
2
answers
2k
views
How to use the "mover" command in Skak
I teach after school chess, and installed LaTeX on my computer just to make chess worksheets. I'm using skak.
My documents start:
\documentclass[12pt]{article}
\usepackage{chess-workshop-symbols}
\...
1
vote
1
answer
333
views
GBR and FEN printout
How can I print the GBR-code and the FEN of the current position of \chessboard into the document?
Is this possible for instance for FEN without the transfer from \chessboard to \chessgame with the ...
4
votes
1
answer
1k
views
Chess mode in texmate: wrong side to move
This is my first post here :)
I am starting with LaTeX, and I am trying now to apply it annotate some chess positions.
My problem is the use of the chess mode (|...chess moves to show figurines...|) ...
2
votes
1
answer
1k
views
Features in Chess Diagrams
I've been using skak to display diagrams of chessboards in pictures, but I'd like a little more functionality. In particular, I'd like to be able to:
a) display only a portion of the board
b) ...
3
votes
1
answer
3k
views
Skak Installation
I want to put chess diagrams in a LaTeX file, and from what I can tell http://www.ctan.org/tex-archive/fonts/chess/skak/ is the best way to do this. Unfortunately, I can't figure out how to install ...
4
votes
1
answer
2k
views
Typesetting nested chess variations in Skak
I am hoping to use Skak to typeset my chess notes, and as part of the learning process, I decided to typeset a page from a chess book I own. I got as far as the following before I stumbled.
\...
4
votes
1
answer
1k
views
How can I get skak to highlight squares
I'm completely new to TeX/LaTeX so I could be missing something easy. I'm trying to create a simple chess board diagram with highlighted squares via the "skak" package. Here is a test case:
\...