% 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{Franz Meier} \blackname{Gustav Frank} \chessevent{Tournament, 2002} \chessopening{K\"{o}nigsindisch} \makegametitle \styleB \newgame \mainline{1. Nf3 Nf6 2. c4 g6 3. Nc3 Bg7 4. e4 d6 5. d4 O-O 6. Be2 e5 7. O-O Nc6 8. d5 Ne7 9. b4 a5 10. Ba3 Nd7 11. bxa5 Rxa5 12. Bb4 Ra8 13. a4 Bh6 14. a5 f5 15. Nd2 Nf6 16.c5 Bxd2 17.Qxd2 fxe4} \[\showboard\] \end{document}