2
0
Fork 0
mirror of https://github.com/MartinThoma/LaTeX-examples.git synced 2025-04-25 22:38:04 +02:00
LaTeX-examples/documents/chess-skak-simple-example/chess-skak-simple-example.tex
2012-09-11 08:57:19 +02:00

16 lines
359 B
TeX

\documentclass{article}
\usepackage[pdftex,active,tightpage]{preview}
\setlength\PreviewBorder{5mm}
\usepackage{skak}
\begin{document}
\begin{preview}
% sets the internal board or a new game
\newgame%
% typesets the moves and updates the board
\mainline{1.e4 e5 2. Nf3 Nc6 3.Bb5}\\
% show the current board position
\showboard%
\end{preview}
\end{document}