summaryrefslogtreecommitdiff
path: root/macros/latex/contrib/chessboard/chessboard-skakps.tex
blob: 130a19c2bfc00851618ddbf9196d6f5c838b71cf (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
% latex, dvips -E, epstopdf
\documentclass[parskip]{scrartcl}
\usepackage[T1]{fontenc}
\usepackage[skaknew,ps]{skak}
\usepackage[skaknew]{chessboard}

\pagestyle{empty}
\begin{document}
\newgame
\chessboard[psskak,psset,pgf=false,
            inverse]
\ifpdf\else
\highlight[X]{c4}
\highlight[o]{a8}
\highlight[O]{g1}
\printknightmove{g8}{f6}
BM\pnode{A}\ncline{->}{A}{BM}
\fi
\end{document}