]> git.lyx.org Git - lyx.git/blob - lib/examples/Modules/Chessboard.lyx
Update documentation
[lyx.git] / lib / examples / Modules / Chessboard.lyx
1 #LyX 2.4 created this file. For more info see https://www.lyx.org/
2 \lyxformat 600
3 \begin_document
4 \begin_header
5 \save_transient_properties true
6 \origin /systemlyxdir/examples/Modules/
7 \textclass article
8 \begin_preamble
9 \AtBeginDocument{%
10 \columnsep 0.25in
11 \columnseprule 0.4pt
12 \hyphenpenalty 10000
13 }
14 % Added by lyx2lyx
15 \setlength{\parskip}{\smallskipamount}
16 \setlength{\parindent}{0pt}
17 \end_preamble
18 \use_default_options true
19 \begin_modules
20 chessboard
21 multicol
22 \end_modules
23 \maintain_unincluded_children no
24 \language english
25 \language_package default
26 \inputencoding utf8
27 \fontencoding auto
28 \font_roman "default" "default"
29 \font_sans "default" "default"
30 \font_typewriter "default" "default"
31 \font_math "auto" "auto"
32 \font_default_family default
33 \use_non_tex_fonts false
34 \font_sc false
35 \font_sans_osf false
36 \font_typewriter_osf false
37 \font_roman_osf false
38 \font_sf_scale 100 100
39 \font_tt_scale 100 100
40 \use_microtype false
41 \use_dash_ligatures true
42 \graphics default
43 \default_output_format default
44 \output_sync 0
45 \bibtex_command default
46 \index_command default
47 \float_placement class
48 \float_alignment class
49 \paperfontsize 10
50 \spacing single
51 \use_hyperref false
52 \papersize default
53 \use_geometry true
54 \use_package amsmath 1
55 \use_package amssymb 1
56 \use_package cancel 1
57 \use_package esint 1
58 \use_package mathdots 1
59 \use_package mathtools 1
60 \use_package mhchem 1
61 \use_package stackrel 1
62 \use_package stmaryrd 1
63 \use_package undertilde 1
64 \cite_engine basic
65 \cite_engine_type default
66 \biblio_style plain
67 \use_bibtopic false
68 \use_indices false
69 \paperorientation portrait
70 \suppress_date false
71 \justification true
72 \use_refstyle 1
73 \use_minted 0
74 \use_lineno 0
75 \index Index
76 \shortcut idx
77 \color #008000
78 \end_index
79 \leftmargin 1cm
80 \topmargin 1cm
81 \rightmargin 1cm
82 \secnumdepth 3
83 \tocdepth 3
84 \paragraph_separation indent
85 \paragraph_indentation default
86 \is_math_indent 0
87 \math_numbering_side default
88 \quotes_style english
89 \dynamic_quotes 0
90 \papercolumns 1
91 \papersides 1
92 \paperpagestyle empty
93 \tracking_changes false
94 \postpone_fragile_content false
95 \output_changes false
96 \html_math_output 0
97 \html_css_as_file 0
98 \html_be_strict false
99 \end_header
100
101 \begin_body
102
103 \begin_layout Title
104
105 \series bold
106 \size larger
107 Email Chess Game analyzed
108 \end_layout
109
110 \begin_layout Author
111
112 \series bold
113 \size large
114 Kayvan A.
115  Sylvan
116 \begin_inset Newline newline
117 \end_inset
118
119 <kayvan@sylvan.com>
120 \end_layout
121
122 \begin_layout Author
123
124 \series bold
125 \emph on
126 Game start 05/29/2001
127 \end_layout
128
129 \begin_layout Standard
130 \begin_inset Flex Multiple Columns
131 status open
132
133 \begin_layout Plain Layout
134 The following game was played at the IECC (International Email Chess Club).
135  It is presented as an example of the fun you can have with \SpecialChar LyX
136 's new chessboard
137  module (using the 
138 \family sans
139 xskak
140 \family default
141  and 
142 \family sans
143 chessboard
144 \family default
145  packages).
146 \end_layout
147
148 \begin_layout Plain Layout
149 \begin_inset CommandInset line
150 LatexCommand rule
151 offset "0.5ex"
152 width "100line%"
153 height "1pt"
154
155 \end_inset
156
157
158 \end_layout
159
160 \begin_layout Plain Layout
161
162 \noun on
163 Sylvan, Kayvan
164 \begin_inset space \hfill{}
165 \end_inset
166
167 Wakeham, Marc
168 \noun default
169
170 \begin_inset Newline newline
171 \end_inset
172
173 (1623)
174 \begin_inset space \hfill{}
175 \end_inset
176
177 (1639)
178 \end_layout
179
180 \begin_layout Plain Layout
181 \noindent
182 \begin_inset CommandInset line
183 LatexCommand rule
184 offset "0.5ex"
185 width "100line%"
186 height "1pt"
187
188 \end_inset
189
190
191 \end_layout
192
193 \begin_layout NewChessGame
194
195 \end_layout
196
197 \begin_layout Plain Layout
198 \begin_inset Flex SetChessBoard
199 status open
200
201 \begin_layout Plain Layout
202 pgfstyle=straightmove,arrow=to,linewidth=0.1em,smallboard
203 \end_layout
204
205 \end_inset
206
207
208 \end_layout
209
210 \begin_layout Plain Layout
211 \begin_inset Flex Mainline
212 status open
213
214 \begin_layout Plain Layout
215
216 \begin_inset Argument 1
217 status open
218
219 \begin_layout Plain Layout
220
221 outvar
222 \end_layout
223
224 \end_inset
225
226 1.
227  e4 c5 2.
228  Nc3 d6 3.
229  g3 Nc6 4.
230  Bg2 e6 5.
231  Nge2
232 \end_layout
233
234 \end_inset
235
236
237 \end_layout
238
239 \begin_layout Plain Layout
240 \noindent
241 \align center
242 \begin_inset Flex ChessBoard
243 status open
244
245 \begin_layout Plain Layout
246 \noindent
247 \align center
248 \begin_inset Argument 1
249 status open
250
251 \begin_layout Plain Layout
252
253 markmoves={d2-d4},pgfstyle=knightmove,markmove={g1-e2},pgfstyle=circle,markfield
254 s={d4,f4}
255 \end_layout
256
257 \end_inset
258
259
260 \end_layout
261
262 \end_inset
263
264
265 \end_layout
266
267 \begin_layout Plain Layout
268 \noindent
269 \align block
270 So far, so good.
271  The e2 knight controls the d4 and f4 squares, preparing an eventual d4
272  push.
273  The diagrammed position has been reached before in hundreds of GM games.
274 \end_layout
275
276 \begin_layout Plain Layout
277 \begin_inset Flex Mainline
278 status open
279
280 \begin_layout Plain Layout
281
282 5...
283  Be7?!
284 \end_layout
285
286 \end_inset
287
288
289 \end_layout
290
291 \begin_layout Plain Layout
292 \noindent
293 \align block
294 \begin_inset Flex Variation
295 status open
296
297 \begin_layout Plain Layout
298
299 \begin_inset Argument 1
300 status open
301
302 \begin_layout Plain Layout
303
304 invar
305 \end_layout
306
307 \end_inset
308
309 5...
310  Ng7
311 \begin_inset Argument post:1
312 status open
313
314 \begin_layout Plain Layout
315
316
317 \backslash
318 equal{} was better
319 \end_layout
320
321 \end_inset
322
323
324 \end_layout
325
326 \end_inset
327
328
329 \end_layout
330
331 \begin_layout Plain Layout
332 \begin_inset Flex Mainline
333 status open
334
335 \begin_layout Plain Layout
336
337 \begin_inset Argument 1
338 status open
339
340 \begin_layout Plain Layout
341
342 outvar
343 \end_layout
344
345 \end_inset
346
347 6.
348  d4 cxd4 7.
349  Nxd4 a6
350 \end_layout
351
352 \end_inset
353
354
355 \end_layout
356
357 \begin_layout Plain Layout
358 With 7...
359  a6, we are back in the well-trodden theory of this opening.
360 \end_layout
361
362 \begin_layout Plain Layout
363 \noindent
364 \align center
365 \begin_inset Flex ChessBoard
366 status collapsed
367
368 \begin_layout Plain Layout
369
370 \end_layout
371
372 \end_inset
373
374
375 \end_layout
376
377 \begin_layout Plain Layout
378 \begin_inset Flex Mainline
379 status open
380
381 \begin_layout Plain Layout
382
383 8.
384  Nxc6 bxc6 9.
385  O-O Bb7 10.
386  Qg4 Bf6 11.
387  Bf4 Ne7 12.
388  Rad1
389 \end_layout
390
391 \end_inset
392
393
394 \end_layout
395
396 \begin_layout Plain Layout
397 \noindent
398 \align center
399 \begin_inset Flex ChessBoard
400 status open
401
402 \begin_layout Plain Layout
403 \noindent
404 \align center
405 \begin_inset Argument 1
406 status open
407
408 \begin_layout Plain Layout
409
410 markmoves={a1-d1}
411 \end_layout
412
413 \end_inset
414
415
416 \end_layout
417
418 \end_inset
419
420
421 \end_layout
422
423 \begin_layout Plain Layout
424 White continues to develop pieces and also sets a trap for Black.
425 \end_layout
426
427 \begin_layout Plain Layout
428 \begin_inset Flex Mainline
429 status open
430
431 \begin_layout Plain Layout
432
433 12...
434  O-O? 
435 \begin_inset Argument post:1
436 status open
437
438 \begin_layout Plain Layout
439
440 This move loses instantly.
441 \end_layout
442
443 \end_inset
444
445
446 \end_layout
447
448 \end_inset
449
450
451 \end_layout
452
453 \begin_layout Plain Layout
454 The following was better, even though white retains the upper hand.
455 \end_layout
456
457 \begin_layout Plain Layout
458 \begin_inset Flex Variation
459 status open
460
461 \begin_layout Plain Layout
462
463 \begin_inset Argument 1
464 status open
465
466 \begin_layout Plain Layout
467
468 invar
469 \end_layout
470
471 \end_inset
472
473 12...
474  e5 13.
475  Be3 Qc7 14.
476  Na4 O-O
477 \begin_inset Argument post:1
478 status open
479
480 \begin_layout Plain Layout
481
482
483 \backslash
484 wbetter
485 \end_layout
486
487 \end_inset
488
489
490 \end_layout
491
492 \end_inset
493
494
495 \end_layout
496
497 \begin_layout Plain Layout
498 \begin_inset Flex Mainline
499 status open
500
501 \begin_layout Plain Layout
502
503 \begin_inset Argument 1
504 status open
505
506 \begin_layout Plain Layout
507
508 outvar
509 \end_layout
510
511 \end_inset
512
513 13.
514  e5!
515 \end_layout
516
517 \end_inset
518
519
520 \end_layout
521
522 \begin_layout Plain Layout
523 Black's knight and bishop form a bumbling pair here.
524  The bishop is doomed.
525 \end_layout
526
527 \begin_layout Plain Layout
528 \begin_inset Flex Mainline
529 status open
530
531 \begin_layout Plain Layout
532
533 13...
534  Nd5!? 14.
535  Bxd5 cxd5 15.
536  exf6 Qxf6 16.
537  Bxd6 Rfd8 17.
538  Bc7 Rd7 18.
539  Bf4
540 \begin_inset Argument post:1
541 status open
542
543 \begin_layout Plain Layout
544
545 1-0
546 \end_layout
547
548 \end_inset
549
550
551 \end_layout
552
553 \end_inset
554
555
556 \end_layout
557
558 \begin_layout Plain Layout
559 \noindent
560 \align center
561 \begin_inset Flex ChessBoard
562 status collapsed
563
564 \begin_layout Plain Layout
565
566 \end_layout
567
568 \end_inset
569
570
571 \end_layout
572
573 \end_inset
574
575
576 \end_layout
577
578 \end_body
579 \end_document