]> git.lyx.org Git - lyx.git/blob - lib/examples/Modules/Chessboard.lyx
Do not export the content of InsetMathBoxed as text in MathML
[lyx.git] / lib / examples / Modules / Chessboard.lyx
1 #LyX 2.4 created this file. For more info see https://www.lyx.org/
2 \lyxformat 620
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_roman_osf false
36 \font_sans_osf false
37 \font_typewriter_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 \tablestyle default
94 \tracking_changes false
95 \output_changes false
96 \change_bars false
97 \postpone_fragile_content false
98 \html_math_output 0
99 \html_css_as_file 0
100 \html_be_strict false
101 \docbook_table_output 0
102 \docbook_mathml_prefix 1
103 \end_header
104
105 \begin_body
106
107 \begin_layout Title
108
109 \series bold
110 \size larger
111 Email Chess Game analyzed
112 \end_layout
113
114 \begin_layout Author
115
116 \series bold
117 \size large
118 Kayvan A.
119  Sylvan
120 \begin_inset Newline newline
121 \end_inset
122
123 <kayvan@sylvan.com>
124 \end_layout
125
126 \begin_layout Author
127
128 \series bold
129 \emph on
130 Game start 05/29/2001
131 \end_layout
132
133 \begin_layout Standard
134 \begin_inset Flex Multiple Columns
135 status open
136
137 \begin_layout Plain Layout
138 The following game was played at the IECC (International Email Chess Club).
139  It is presented as an example of the fun you can have with \SpecialChar LyX
140 's new chessboard module (using the 
141 \family sans
142 xskak
143 \family default
144  and 
145 \family sans
146 chessboard
147 \family default
148  packages).
149 \end_layout
150
151 \begin_layout Plain Layout
152 \begin_inset CommandInset line
153 LatexCommand rule
154 offset "0.5ex"
155 width "100line%"
156 height "1pt"
157
158 \end_inset
159
160
161 \end_layout
162
163 \begin_layout Plain Layout
164
165 \noun on
166 Sylvan,
167  Kayvan
168 \begin_inset space \hfill{}
169 \end_inset
170
171 Wakeham,
172  Marc
173 \noun default
174
175 \begin_inset Newline newline
176 \end_inset
177
178 (1623)
179 \begin_inset space \hfill{}
180 \end_inset
181
182 (1639)
183 \end_layout
184
185 \begin_layout Plain Layout
186 \noindent
187 \begin_inset CommandInset line
188 LatexCommand rule
189 offset "0.5ex"
190 width "100line%"
191 height "1pt"
192
193 \end_inset
194
195
196 \end_layout
197
198 \begin_layout NewChessGame
199
200 \end_layout
201
202 \begin_layout Plain Layout
203 \begin_inset Flex SetChessBoard
204 status open
205
206 \begin_layout Plain Layout
207 pgfstyle=straightmove,arrow=to,linewidth=0.1em,smallboard
208 \end_layout
209
210 \end_inset
211
212
213 \end_layout
214
215 \begin_layout Plain Layout
216 \begin_inset Flex Mainline
217 status open
218
219 \begin_layout Plain Layout
220
221 \begin_inset Argument 1
222 status open
223
224 \begin_layout Plain Layout
225
226 outvar
227 \end_layout
228
229 \end_inset
230
231 1.
232  e4 c5 2.
233  Nc3 d6 3.
234  g3 Nc6 4.
235  Bg2 e6 5.
236  Nge2
237 \end_layout
238
239 \end_inset
240
241
242 \end_layout
243
244 \begin_layout Plain Layout
245 \noindent
246 \align center
247 \begin_inset Flex ChessBoard
248 status open
249
250 \begin_layout Plain Layout
251 \noindent
252 \align center
253 \begin_inset Argument 1
254 status open
255
256 \begin_layout Plain Layout
257
258 markmoves={d2-d4},pgfstyle=knightmove,markmove={g1-e2},pgfstyle=circle,markfields={d4,f4}
259 \end_layout
260
261 \end_inset
262
263
264 \end_layout
265
266 \end_inset
267
268
269 \end_layout
270
271 \begin_layout Plain Layout
272 \noindent
273 \align block
274 So far,
275  so good.
276  The e2 knight controls the d4 and f4 squares,
277  preparing an eventual d4 push.
278  The diagrammed position has been reached before in hundreds of GM games.
279 \end_layout
280
281 \begin_layout Plain Layout
282 \begin_inset Flex Mainline
283 status open
284
285 \begin_layout Plain Layout
286
287 5...
288  Be7?!
289 \end_layout
290
291 \end_inset
292
293
294 \end_layout
295
296 \begin_layout Plain Layout
297 \noindent
298 \align block
299 \begin_inset Flex Variation
300 status open
301
302 \begin_layout Plain Layout
303
304 \begin_inset Argument 1
305 status open
306
307 \begin_layout Plain Layout
308
309 invar
310 \end_layout
311
312 \end_inset
313
314 5...
315  Ng7
316 \begin_inset Argument post:1
317 status open
318
319 \begin_layout Plain Layout
320
321
322 \backslash
323 equal{} was better
324 \end_layout
325
326 \end_inset
327
328
329 \end_layout
330
331 \end_inset
332
333
334 \end_layout
335
336 \begin_layout Plain Layout
337 \begin_inset Flex Mainline
338 status open
339
340 \begin_layout Plain Layout
341
342 \begin_inset Argument 1
343 status open
344
345 \begin_layout Plain Layout
346
347 outvar
348 \end_layout
349
350 \end_inset
351
352 6.
353  d4 cxd4 7.
354  Nxd4 a6
355 \end_layout
356
357 \end_inset
358
359
360 \end_layout
361
362 \begin_layout Plain Layout
363 With 7...
364  a6,
365  we are back in the well-trodden theory of this opening.
366 \end_layout
367
368 \begin_layout Plain Layout
369 \noindent
370 \align center
371 \begin_inset Flex ChessBoard
372 status collapsed
373
374 \begin_layout Plain Layout
375
376 \end_layout
377
378 \end_inset
379
380
381 \end_layout
382
383 \begin_layout Plain Layout
384 \begin_inset Flex Mainline
385 status open
386
387 \begin_layout Plain Layout
388
389 8.
390  Nxc6 bxc6 9.
391  O-O Bb7 10.
392  Qg4 Bf6 11.
393  Bf4 Ne7 12.
394  Rad1
395 \end_layout
396
397 \end_inset
398
399
400 \end_layout
401
402 \begin_layout Plain Layout
403 \noindent
404 \align center
405 \begin_inset Flex ChessBoard
406 status open
407
408 \begin_layout Plain Layout
409 \noindent
410 \align center
411 \begin_inset Argument 1
412 status open
413
414 \begin_layout Plain Layout
415
416 markmoves={a1-d1}
417 \end_layout
418
419 \end_inset
420
421
422 \end_layout
423
424 \end_inset
425
426
427 \end_layout
428
429 \begin_layout Plain Layout
430 White continues to develop pieces and also sets a trap for Black.
431 \end_layout
432
433 \begin_layout Plain Layout
434 \begin_inset Flex Mainline
435 status open
436
437 \begin_layout Plain Layout
438
439 12...
440  O-O?
441  
442 \begin_inset Argument post:1
443 status open
444
445 \begin_layout Plain Layout
446
447 This move loses instantly.
448 \end_layout
449
450 \end_inset
451
452
453 \end_layout
454
455 \end_inset
456
457
458 \end_layout
459
460 \begin_layout Plain Layout
461 The following was better,
462  even though white retains the upper hand.
463 \end_layout
464
465 \begin_layout Plain Layout
466 \begin_inset Flex Variation
467 status open
468
469 \begin_layout Plain Layout
470
471 \begin_inset Argument 1
472 status open
473
474 \begin_layout Plain Layout
475
476 invar
477 \end_layout
478
479 \end_inset
480
481 12...
482  e5 13.
483  Be3 Qc7 14.
484  Na4 O-O
485 \begin_inset Argument post:1
486 status open
487
488 \begin_layout Plain Layout
489
490
491 \backslash
492 wbetter
493 \end_layout
494
495 \end_inset
496
497
498 \end_layout
499
500 \end_inset
501
502
503 \end_layout
504
505 \begin_layout Plain Layout
506 \begin_inset Flex Mainline
507 status open
508
509 \begin_layout Plain Layout
510
511 \begin_inset Argument 1
512 status open
513
514 \begin_layout Plain Layout
515
516 outvar
517 \end_layout
518
519 \end_inset
520
521 13.
522  e5!
523 \end_layout
524
525 \end_inset
526
527
528 \end_layout
529
530 \begin_layout Plain Layout
531 Black's knight and bishop form a bumbling pair here.
532  The bishop is doomed.
533 \end_layout
534
535 \begin_layout Plain Layout
536 \begin_inset Flex Mainline
537 status open
538
539 \begin_layout Plain Layout
540
541 13...
542  Nd5!?
543  14.
544  Bxd5 cxd5 15.
545  exf6 Qxf6 16.
546  Bxd6 Rfd8 17.
547  Bc7 Rd7 18.
548  Bf4
549 \begin_inset Argument post:1
550 status open
551
552 \begin_layout Plain Layout
553
554 1-0
555 \end_layout
556
557 \end_inset
558
559
560 \end_layout
561
562 \end_inset
563
564
565 \end_layout
566
567 \begin_layout Plain Layout
568 \noindent
569 \align center
570 \begin_inset Flex ChessBoard
571 status collapsed
572
573 \begin_layout Plain Layout
574
575 \end_layout
576
577 \end_inset
578
579
580 \end_layout
581
582 \end_inset
583
584
585 \end_layout
586
587 \end_body
588 \end_document