Debian Codegraph @

texmf-dist/doc/fonts/chess/dutch-tt.ltx

raw
1 %
2 % dutch-tt.ltx
3 % ----------------
4 % A LaTeX test for the chess.sty style in combination with dutch.
5 % Author : Piet Tutelaers (internet: [email protected])
6 % Version: 1.2 (11 Jun 1991)
7 %
8 \documentstyle[twocolumn,dutch,chess]{article}
9 \tracinglostchars=1
10 \begin{document}
11
12 \subsection*{Torture test for \verb|chess.sty|}
13
14 \newgame
15
16 Let's play the first moves of Mestel's opening:
17 \move e2e4 c7c6
18 \move e4e5 d7d5
19 \move g1f3 d8d6
20 \ply e5d6
21
22 This capture is not longer treated as an `enpassant' Queen capture (thanks
23 Jonathan).
24
25 $$\showboard$$
26
27 Check if language support for Dutch is working:
28 \board{tpldklpt}
29 {iiiiiiii}
30 { * * * *}
31 {* * * * }
32 { * * * *}
33 {* * * * }
34 {IIIIIIII}
35 {TPLDKLPT}
36
37 $$\showboard$$
38
39 \begin{position}
40 \White(Ke1,Th1,h7,b2)
41 \Black(Ke8,Ta8,a5,c2)
42 \global\movecount=50
43 \global\Whitefalse
44 \end{position}
45
46 $$\showboard$$
47
48 The castling test:
49 \ply e8c8!?
50 \ply e1g1
51
52 Both players have castled.
53 \ply c8e8?
54 \ply g1e1?
55
56 They move back their kings... Chess.sty does not check the
57 validity of moves.
58 \ply e8c8
59 \ply e1g1??
60
61 But now these moves are not typeset as castling moves because the kings have
62 moved.
63
64 And now the `en passant' test:
65 \ply a5a4
66 \move b2b4+ a4b3ep
67
68 A short analysis test: |54. b3+ a*b3| and White looses his pawn.
69 Better seems |54.Pf7 but not 54.Pg6 because then 54:Tg8!|.
70 And the promotion test (comment thanks to Jaap Sprey!):
71 \move h7h8 c2c1L!?
72
73 $$\showboard$$
74
75 Activation of analysis mode does not work inside arguments of macros but
76 you can group them around the macro!
77
78 |\centerline{55.Pf3 Pc6}|
79
80 Sometimes you want to use the {\tt \char124} character for other
81 purposes than to trigger the analysis mode. Use then the {\tt nochess}
82 environment. Within this environment you can reactivate the analysis
83 mode with the {\tt chess} environment.
84
85 \begin{nochess}
86 \begin{tabular}{|c|}
87 no analysis mode!
88 \end{tabular}
89
90 \begin{chess}
91 \centerline{55.Pf3 Pc6}
92 \end{chess}
93
94 |55.Pf3 Pc6|
95 \end{nochess}
96
97 |KRQDRTBLFPCS| that's it!
98 \end{document}
99