%% %% The LaTeX Graphics Companion, 2ed (first printing May 2007) %% %% Example 10-1-20 on page 682. %% %% Copyright (C) 2007 Michel Goossens, Frank Mittelbach, Denis Roegel, Sebastian Rahtz, Herbert Vo\ss %% %% It may be distributed and/or modified under the conditions %% of the LaTeX Project Public License, either version 1.3 %% of this license or (at your option) any later version. %% %% See http://www.latex-project.org/lppl.txt for details. %% \documentclass{ttctexa} \pagestyle{empty} \setcounter{page}{6} \setlength\textwidth{207.83385pt} \setlength\emergencystretch{5mm} \StartShownPreambleCommands \usepackage{texmate} \setchessfontfamily{leipzig} \StopShownPreambleCommands \begin{document} \position{4Q3/4N3/4np1K/8/4kNp1/1Pp5/3PP1b1/8} \shortstack{\showboard\\ Mate in 3 moves by Bayersdorfer, 1888} | Nd3! \Threat<\withidea Qa8+ Kd4 Qa4 \#> [\ahead\begin{variations} \var Nd4 Nc5+ Ke5 [Kf4 Qb8 \#] Qb8 \# \var cxd2 Nf5! \threat Kd5 [Kxf5 Qg6 \#] Qa8 \# \end{variations}] | \end{document}