]> git.lyx.org Git - lyx.git/blob - lib/examples/chessgame.lyx
more skak tweaks
[lyx.git] / lib / examples / chessgame.lyx
1 #LyX 1.2 created this file. For more info see http://www.lyx.org/
2 \lyxformat 220
3 \textclass article
4 \begin_preamble
5 \usepackage{chess-workshop-symbols}
6 \end_preamble
7 \language english
8 \inputencoding auto
9 \fontscheme default
10 \graphics default
11 \paperfontsize 12
12 \spacing single 
13 \papersize letterpaper
14 \paperpackage a4
15 \use_geometry 1
16 \use_amsmath 0
17 \use_natbib 0
18 \use_numerical_citations 0
19 \paperorientation portrait
20 \topmargin 0in
21 \bottommargin 0.5in
22 \headheight 0in
23 \headsep 0in
24 \secnumdepth 3
25 \tocdepth 3
26 \paragraph_separation skip
27 \defskip smallskip
28 \quotes_language english
29 \quotes_times 2
30 \papercolumns 2
31 \papersides 1
32 \paperpagestyle empty
33
34 \layout Title
35
36 Email Chess Game analyzed
37 \layout Author
38
39 Kayvan A.
40  Sylvan
41 \newline 
42 <kayvan@sylvan.com>
43 \layout Date
44
45
46 \emph on 
47 Game start 05/29/2001
48 \layout Standard
49
50 The following game was played at the IECC (International Email Chess Club).
51  It is presented as an example of the fun you can have with LyX's new chess
52  support.
53  You must have xboard installed on your machine to be able to open and view
54  the chess positions from LyX.
55 \layout Standard
56 \line_top \line_bottom 
57
58 \noun on 
59 Sylvan, Kayvan
60 \hfill 
61 Wakeham, Marc 
62 \newline 
63 (1623)
64 \hfill 
65 (1639)
66 \layout Standard
67
68
69 \begin_inset ERT
70 status Open
71
72 \layout Standard
73
74 \backslash 
75 newgame
76 \backslash 
77 smallboard%
78 \layout Standard
79
80 \backslash 
81 mainline{1. e4 c5 2. Nc3 d6 3. g3 Nc6 4. Bg2 e6 5. Nge2}
82 \end_inset 
83
84
85 \layout Standard
86 \added_space_top medskip 
87
88 \begin_inset ERT
89 status Collapsed
90
91 \layout Standard
92
93 \backslash 
94 [
95 \end_inset 
96
97
98 \begin_inset External ChessDiagram,"iecc05.fen",""
99
100 \end_inset 
101
102
103 \begin_inset ERT
104 status Inlined
105
106 \layout Standard
107
108 \backslash 
109 ]
110 \backslash 
111 printknightmove{g1}{e2}
112 \backslash 
113 highlight{d4,f4}
114 \end_inset 
115
116
117 \layout Standard
118
119 So far, so good.
120  This is all according to theory.
121 \layout Standard
122
123
124 \begin_inset ERT
125 status Open
126
127 \layout Standard
128
129 \backslash 
130 mainline{5... Be7?!} 
131 \backslash 
132 variation{5... Nge7}
133 \backslash 
134 equal %
135 \layout Standard
136
137 \backslash 
138 mainline{6. d4 cxd4 7. Nxd4 a6}
139 \end_inset 
140
141
142 \layout Standard
143
144 With 7...\SpecialChar ~
145 a6, we are back in the well-trodden theory of this opening.
146 \layout Standard
147
148
149 \begin_inset ERT
150 status Collapsed
151
152 \layout Standard
153
154 \backslash 
155 [
156 \end_inset 
157
158
159 \begin_inset External ChessDiagram,"iecc07.fen",""
160
161 \end_inset 
162
163
164 \begin_inset ERT
165 status Collapsed
166
167 \layout Standard
168
169 \backslash 
170 ]
171 \end_inset 
172
173
174 \layout Standard
175
176
177 \begin_inset ERT
178 status Open
179
180 \layout Standard
181
182 \backslash 
183 mainline{8. Nxc6 bxc6 9. O-O Bb7 10. Qg4 Bf6 11. Bf4 Ne7 12. Rad1}
184 \end_inset 
185
186
187 \layout Standard
188
189
190 \begin_inset ERT
191 status Collapsed
192
193 \layout Standard
194
195 \backslash 
196 [
197 \end_inset 
198
199
200 \begin_inset External ChessDiagram,"iecc12.fen",""
201
202 \end_inset 
203
204
205 \begin_inset ERT
206 status Inlined
207
208 \layout Standard
209
210 \backslash 
211 ]
212 \backslash 
213 printarrow{a1}{d1}
214 \end_inset 
215
216
217 \layout Standard
218
219 White continues to develop pieces and also sets a trap for Black.
220 \layout Standard
221
222
223 \begin_inset ERT
224 status Open
225
226 \layout Standard
227
228 \backslash 
229 mainline{12... O-O?} This loses instantly.
230 \layout Standard
231 Best was 
232 \backslash 
233 variation{12... e5 13. Be3 Qc7 14. Na4 O-O}
234 \backslash 
235 wbetter
236 \layout Standard
237
238 \backslash 
239 mainline{13. e5!} Black's knight and bishop form a bumbling pair here, the Bishop is doomed.
240 \layout Standard
241
242 \backslash 
243 mainline{13... Nd5!? 14. Bxd5 cxd5 15. exf6 Qxf6 16. Bxd6 Rfd8 17. Bc7 Rd7 18. Bf4 1-0 }%
244 \layout Standard
245
246 \backslash 
247 [
248 \backslash 
249 showboard
250 \backslash 
251 ]
252 \end_inset 
253
254
255 \the_end