| 1 |
% |
| 2 |
% TUGgame.ltx |
| 3 |
% ----------- |
| 4 |
% LaTeX source of example in TUGboat article (part of the game Fisher |
| 5 |
% lost against Tal), input'ted by TUGboat.ltx. |
| 6 |
% Author : Piet Tutelaers (internet: [email protected]) |
| 7 |
% Version: 1.2 ( 8 Jun 1991) |
| 8 |
% Reflects changes in chess.sty version 1.2 |
| 9 |
% Version: 1.1 (30 Nov 1990) |
| 10 |
% Improvements over version 1.0: |
| 11 |
% - two typos corrected, thanks Hugo |
| 12 |
|
| 13 |
\clearpage |
| 14 |
\label{chessgame} |
| 15 |
\parindent=0pt |
| 16 |
\subsubsection*{Example of the LaTeX-input and output of an annotated |
| 17 |
chess game using {\tt chess.sty}} |
| 18 |
\begin{nochess} % prevent the `|' to become active! |
| 19 |
\begin{verbatim} |
| 20 |
\begin{position} |
| 21 |
\White(Kh1,Qe6,Re1,a2,b2,c2,g2,h2) |
| 22 |
\Black(Kf8,Qb8,Rd7,Rg8,Be7,a6,b4,h7) |
| 23 |
\global\Whitetrue\global\movecount=25 |
| 24 |
\end{position} |
| 25 |
\begin{figure} |
| 26 |
\centerline{Diagram~3: Fisher--Tal |
| 27 |
after 25.~\ldots, {\Fig K}f8!} |
| 28 |
$$\showboard$$ |
| 29 |
\end{figure} |
| 30 |
|
| 31 |
(See diagram~3.) |
| 32 |
|
| 33 |
\ply e6d7 |
| 34 |
Not |26. Rf1+, Kg7; 27. Rf7+, Kh8; |
| 35 |
and if 28. Q*d7, Rd8; 29. Qg4, Qe5| |
| 36 |
wins. |
| 37 |
|
| 38 |
\ply b8d6 |
| 39 |
\move d7b7 g8g6 |
| 40 |
Within a handful of moves the game |
| 41 |
has changed its complexion. Now it |
| 42 |
is White who must fight for a draw! |
| 43 |
|
| 44 |
\ply c2c3! |
| 45 |
Black's extra piece means less with |
| 46 |
each pawn that's exchanged. |
| 47 |
|
| 48 |
\ply a6a5 |
| 49 |
On |28.: b*c3; 29. Qc8+, Bd8; |
| 50 |
30. Q*c3|=. |
| 51 |
|
| 52 |
\ply b7c8+ |
| 53 |
On the wrong track. Right is |
| 54 |
|29. c*b4!, Q*b4 (if 29.: a*b4; |
| 55 |
30. a3!, b*a3; 31. b*a3, Q*a3 draws); |
| 56 |
30. Qf3+, Kg7; 31. Qe2| draws, since |
| 57 |
Black can't possibly build up a |
| 58 |
winning K-side attack and his own |
| 59 |
king is to exposed. |
| 60 |
|
| 61 |
\ply f8g7 |
| 62 |
\move c8c4 e7d8 |
| 63 |
\move c3b4 a5b4 |
| 64 |
On |31.: Q*b4; 32. Qe2| White should |
| 65 |
draw with best play. |
| 66 |
$$\showboard$$ |
| 67 |
\end{verbatim} |
| 68 |
\end{nochess} |
| 69 |
|
| 70 |
\begin{position} |
| 71 |
\White(Kh1,Qe6,Re1,a2,b2,c2,g2,h2) |
| 72 |
\Black(Kf8,Qb8,Rd7,Rg8,Be7,a6,b4,h7) |
| 73 |
\global\Whitetrue\global\movecount=25 |
| 74 |
\end{position} |
| 75 |
|
| 76 |
\begin{figure} |
| 77 |
\centerline{Diagram~3: Fisher--Tal after 25.~\ldots, {\Fig K}f8!} |
| 78 |
$$\showboard$$ |
| 79 |
\end{figure} |
| 80 |
|
| 81 |
(See diagram~3.) |
| 82 |
|
| 83 |
\ply e6d7 |
| 84 |
Not |26. Rf1+, Kg7; 27. Rf7+, Kh8; and if 28. Q*d7, Rd8; 29. Qg4, Qe5| |
| 85 |
wins. |
| 86 |
|
| 87 |
\ply b8d6 |
| 88 |
\move d7b7 g8g6 |
| 89 |
Within a handful of moves the game has changed its complexion. Now |
| 90 |
it is White who must fight for a draw! |
| 91 |
|
| 92 |
\ply c2c3! |
| 93 |
Black's extra piece means less with each pawn that's exchanged. |
| 94 |
|
| 95 |
\ply a6a5 |
| 96 |
On |28.: b*c3; 29. Qc8+, Bd8; 30. Q*c3|=. |
| 97 |
|
| 98 |
\ply b7c8+ |
| 99 |
On the wrong track. Right is |29. c*b4!, Q*b4 (if 29.: a*b4; 30. a3!, |
| 100 |
b*a3; 31. b*a3, Q*a3 draws); 30. Qf3+, Kg7; 31. Qe2| draws, since Black |
| 101 |
can't possibly build up a winning K-side attack and his own king is to |
| 102 |
exposed. |
| 103 |
|
| 104 |
\ply f8g7 |
| 105 |
\move c8c4 e7d8 |
| 106 |
\move c3b4 a5b4 |
| 107 |
On |31.: Q*b4; 32. Qe2| White should draw with best play. |
| 108 |
$$\showboard$$ |