% 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} \newgame \fenboard{5k1r/2q3p1/p3p2p/1B3p1Q/n4P2/6P1/bbP2N1P/1K1RR3 b KQkq - 0 1} \showboard \end{document}