2
0
Fork 0
mirror of https://github.com/MartinThoma/LaTeX-examples.git synced 2025-04-26 06:48:04 +02:00

added chess examples

This commit is contained in:
Martin Thoma 2012-09-11 07:47:28 +02:00
parent 8a8a9f3bd7
commit 147e163dd2
6 changed files with 144 additions and 0 deletions

View file

@ -0,0 +1,18 @@
\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}