% 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} \whitename{Korody} \blackname{Bologh} \chessevent{1933} \chessopening{Unknown Chess Event} \styleA \newgame \mainline{1. d4 d5 2. c4 e5 3. dxe5 d4 4. e3 Bb4+ 5. Bd2 dxe3 6. Bxb4 exf2+ 7. Ke2} \[\showboard\] \mainline{7... fxg1=N+ 8. Rxg1 Bg4+} \[\showboard\] \end{document}