summaryrefslogtreecommitdiff
path: root/Master/texmf-dist/doc/fonts/chess/tuggame.ltx
diff options
context:
space:
mode:
authorKarl Berry <karl@freefriends.org>2010-11-27 16:13:31 +0000
committerKarl Berry <karl@freefriends.org>2010-11-27 16:13:31 +0000
commita71d255dc4a69bebb54dea17ce8e53b28f78fa8e (patch)
treeb971e53b031ec0fd6e56305990c8587e6b1dbd82 /Master/texmf-dist/doc/fonts/chess/tuggame.ltx
parentecb029342d29c71bc14ed1750bfdfeeeba6a6cef (diff)
chess update from 1992, to get copyright file, etc.
git-svn-id: svn://tug.org/texlive/trunk@20582 c570f23f-e606-0410-a88d-b1316a301751
Diffstat (limited to 'Master/texmf-dist/doc/fonts/chess/tuggame.ltx')
-rw-r--r--Master/texmf-dist/doc/fonts/chess/tuggame.ltx108
1 files changed, 108 insertions, 0 deletions
diff --git a/Master/texmf-dist/doc/fonts/chess/tuggame.ltx b/Master/texmf-dist/doc/fonts/chess/tuggame.ltx
new file mode 100644
index 00000000000..f1f355ef38d
--- /dev/null
+++ b/Master/texmf-dist/doc/fonts/chess/tuggame.ltx
@@ -0,0 +1,108 @@
+%
+% TUGgame.ltx
+% -----------
+% LaTeX source of example in TUGboat article (part of the game Fisher
+% lost against Tal), input'ted by TUGboat.ltx.
+% Author : Piet Tutelaers (internet: rcpt@urc.tue.nl)
+% Version: 1.2 ( 8 Jun 1991)
+% Reflects changes in chess.sty version 1.2
+% Version: 1.1 (30 Nov 1990)
+% Improvements over version 1.0:
+% - two typos corrected, thanks Hugo
+
+\clearpage
+\label{chessgame}
+\parindent=0pt
+\subsubsection*{Example of the LaTeX-input and output of an annotated
+chess game using {\tt chess.sty}}
+\begin{nochess} % prevent the `|' to become active!
+\begin{verbatim}
+\begin{position}
+\White(Kh1,Qe6,Re1,a2,b2,c2,g2,h2)
+\Black(Kf8,Qb8,Rd7,Rg8,Be7,a6,b4,h7)
+\global\Whitetrue\global\movecount=25
+\end{position}
+\begin{figure}
+\centerline{Diagram~3: Fisher--Tal
+ after 25.~\ldots, {\Fig K}f8!}
+$$\showboard$$
+\end{figure}
+
+(See diagram~3.)
+
+\ply e6d7
+Not |26. Rf1+, Kg7; 27. Rf7+, Kh8;
+and if 28. Q*d7, Rd8; 29. Qg4, Qe5|
+wins.
+
+\ply b8d6
+\move d7b7 g8g6
+Within a handful of moves the game
+has changed its complexion. Now it
+is White who must fight for a draw!
+
+\ply c2c3!
+Black's extra piece means less with
+each pawn that's exchanged.
+
+\ply a6a5
+On |28.: b*c3; 29. Qc8+, Bd8;
+30. Q*c3|=.
+
+\ply b7c8+
+On the wrong track. Right is
+|29. c*b4!, Q*b4 (if 29.: a*b4;
+30. a3!, b*a3; 31. b*a3, Q*a3 draws);
+30. Qf3+, Kg7; 31. Qe2| draws, since
+Black can't possibly build up a
+winning K-side attack and his own
+king is to exposed.
+
+\ply f8g7
+\move c8c4 e7d8
+\move c3b4 a5b4
+On |31.: Q*b4; 32. Qe2| White should
+draw with best play.
+$$\showboard$$
+\end{verbatim}
+\end{nochess}
+
+\begin{position}
+\White(Kh1,Qe6,Re1,a2,b2,c2,g2,h2)
+\Black(Kf8,Qb8,Rd7,Rg8,Be7,a6,b4,h7)
+\global\Whitetrue\global\movecount=25
+\end{position}
+
+\begin{figure}
+\centerline{Diagram~3: Fisher--Tal after 25.~\ldots, {\Fig K}f8!}
+$$\showboard$$
+\end{figure}
+
+(See diagram~3.)
+
+\ply e6d7
+Not |26. Rf1+, Kg7; 27. Rf7+, Kh8; and if 28. Q*d7, Rd8; 29. Qg4, Qe5|
+wins.
+
+\ply b8d6
+\move d7b7 g8g6
+Within a handful of moves the game has changed its complexion. Now
+it is White who must fight for a draw!
+
+\ply c2c3!
+Black's extra piece means less with each pawn that's exchanged.
+
+\ply a6a5
+On |28.: b*c3; 29. Qc8+, Bd8; 30. Q*c3|=.
+
+\ply b7c8+
+On the wrong track. Right is |29. c*b4!, Q*b4 (if 29.: a*b4; 30. a3!,
+b*a3; 31. b*a3, Q*a3 draws); 30. Qf3+, Kg7; 31. Qe2| draws, since Black
+can't possibly build up a winning K-side attack and his own king is to
+exposed.
+
+\ply f8g7
+\move c8c4 e7d8
+\move c3b4 a5b4
+On |31.: Q*b4; 32. Qe2| White should draw with best play.
+$$\showboard$$