Skip to content

PGN variations support #1

@9glenda

Description

@9glenda

first of all thanks for creating this package.
I'm not sure rather that's what your package is supposed to provide but I'd like to see more pgn support.
You could take inspiration from https://www.overleaf.com/learn/latex/Chess_notation (the latex chess package I currently use).

It would be nice if you can do something similar:

\documentclass{article}
\usepackage{xskak}
\begin{document}
\newchessgame
\mainline{1.e4 e5 2.Nf3 Nc6 3.Bb5}

\chessboard

\mainline{3...a6}

A variant \variation{3...Nf6} is used here to show a \texttt{\string\variation} command.

\mainline{4.Ba4}

\chessboard
\end{document}

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions