diff options
Diffstat (limited to 'macros/latex/contrib/chessboard/chessboard-skakps.tex')
-rw-r--r-- | macros/latex/contrib/chessboard/chessboard-skakps.tex | 19 |
1 files changed, 19 insertions, 0 deletions
diff --git a/macros/latex/contrib/chessboard/chessboard-skakps.tex b/macros/latex/contrib/chessboard/chessboard-skakps.tex new file mode 100644 index 0000000000..130a19c2bf --- /dev/null +++ b/macros/latex/contrib/chessboard/chessboard-skakps.tex @@ -0,0 +1,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} |