% mod_tex: distributed LaTeX-rendering over Apache % Copyright (C) 2007 Peter Danenberg % See doc/COPYING for details. \documentclass[12pt]{article} \usepackage{texmate,skak} \newcommand{\chessgame}[4]{ \begin{center} \large{\textbf{#1} -- \textbf{#2}}\\ \textsf{#3}\\ \small{\textsc{#4}} \end{center} } \pagestyle{empty} \begin{document} \largeboard \notationOff \styleC \newgame \mainline{1.e4 c6 2.d4 d5 3.Nc3 dxe4 4.Nxe4 Nd7 5.Ng5 Ngf6 6.Bd3 e6 7.N1f3 Bd6 8.Qe2 h6 9.Ne4 h5} \showboard \end{document}