% 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{Me} \blackname{Myself} \chessevent{1902} \chessopening{something} \makegametitle \styleB \newgame \mainline{1. Nf3 Nf6 2. c4 g6} \[\showboard\] \end{document}