]> git.lyx.org Git - lyx.git/blobdiff - lib/examples/chessgame.lyx
When a counter is stepped, reset recursively all slaves
[lyx.git] / lib / examples / chessgame.lyx
index 68ed6592dd7030fdbc90b93f1601c632c1dac094..78ef827a26a6b813d9a30dd9a2dd7682a2df58f5 100644 (file)
@@ -1,22 +1,63 @@
-#LyX 1.2 created this file. For more info see http://www.lyx.org/
-\lyxformat 220
-\textclass article
+#LyX 2.2 created this file. For more info see http://www.lyx.org/
+\lyxformat 508
+\begin_document
+\begin_header
+\save_transient_properties true
+\origin /systemlyxdir/examples/
+\textclass chess
 \begin_preamble
 \usepackage{chess-workshop-symbols}
+\smallboard
 \end_preamble
+\use_default_options false
+\maintain_unincluded_children false
 \language english
+\language_package default
 \inputencoding auto
-\fontscheme default
+\fontencoding global
+\font_roman "default" "default"
+\font_sans "default" "default"
+\font_typewriter "default" "default"
+\font_math "auto" "auto"
+\font_default_family default
+\use_non_tex_fonts false
+\font_sc false
+\font_osf false
+\font_sf_scale 100 100
+\font_tt_scale 100 100
 \graphics default
+\default_output_format pdf3
+\output_sync 0
+\bibtex_command default
+\index_command default
 \paperfontsize 12
-\spacing single 
-\papersize letterpaper
-\paperpackage a4
-\use_geometry 1
-\use_amsmath 0
-\use_natbib 0
-\use_numerical_citations 0
+\spacing single
+\use_hyperref false
+\papersize default
+\use_geometry true
+\use_package amsmath 0
+\use_package amssymb 0
+\use_package cancel 0
+\use_package esint 0
+\use_package mathdots 1
+\use_package mathtools 0
+\use_package mhchem 1
+\use_package stackrel 0
+\use_package stmaryrd 0
+\use_package undertilde 0
+\cite_engine basic
+\cite_engine_type default
+\biblio_style plain
+\use_bibtopic false
+\use_indices false
 \paperorientation portrait
+\suppress_date false
+\justification true
+\use_refstyle 0
+\index Index
+\shortcut idx
+\color #008000
+\end_index
 \topmargin 0in
 \bottommargin 0.5in
 \headheight 0in
 \paragraph_separation skip
 \defskip smallskip
 \quotes_language english
-\quotes_times 2
 \papercolumns 2
 \papersides 1
 \paperpagestyle empty
+\tracking_changes false
+\output_changes false
+\html_math_output 0
+\html_css_as_file 0
+\html_be_strict false
+\end_header
 
-\layout Title
+\begin_body
 
+\begin_layout Title
 Email Chess Game analyzed
-\layout Author
+\begin_inset Note Note
+status open
 
+\begin_layout Plain Layout
+
+\series bold
+Note:
+\series default
+ This document does not compile with pdflatex.
+ For viewing and exporting this as PDF, use in the PDF (ps2pdf) or PDF (dvipdfm).
+ The latter is set as default output format.
+\end_layout
+
+\end_inset
+
+
+\end_layout
+
+\begin_layout Author
 Kayvan A.
  Sylvan
-\newline 
+\begin_inset Newline newline
+\end_inset
+
 <kayvan@sylvan.com>
-\layout Date
+\end_layout
 
+\begin_layout Date
 
-\emph on 
+\emph on
 Game start 05/29/2001
-\layout Standard
+\end_layout
 
+\begin_layout Standard
 The following game was played at the IECC (International Email Chess Club).
- It is presented as an example of the fun you can have with LyX's new chess
+ It is presented as an example of the fun you can have with \SpecialChar LyX
+'s new chess
  support.
  You must have xboard installed on your machine to be able to open and view
- the chess positions from LyX.
-\layout Standard
-\line_top \line_bottom 
+ the chess positions from \SpecialChar LyX
+.
+\end_layout
 
-\noun on 
+\begin_layout Standard
+\noindent
+\begin_inset CommandInset line
+LatexCommand rule
+offset "0.5ex"
+width "100line%"
+height "1pt"
+
+\end_inset
+
+
+\end_layout
+
+\begin_layout Standard
+
+\noun on
 Sylvan, Kayvan
-\hfill 
+\begin_inset space \hfill{}
+\end_inset
+
 Wakeham, Marc 
-\newline 
+\begin_inset Newline newline
+\end_inset
+
 (1623)
-\hfill 
+\begin_inset space \hfill{}
+\end_inset
+
 (1639)
-\layout Standard
+\end_layout
 
+\begin_layout Standard
+\noindent
+\begin_inset CommandInset line
+LatexCommand rule
+offset "0.5ex"
+width "100line%"
+height "1pt"
 
-\begin_inset ERT
-status Open
+\end_inset
 
-\layout Standard
 
-\backslash 
-newgame
-\backslash 
-smallboard%
-\layout Standard
+\end_layout
 
-\backslash 
-mainline{1. e4 c5 2. Nc3 d6 3. g3 Nc6 4. Bg2 e6 5. Nge2}
-\end_inset 
+\begin_layout Mainline
+1.
+ e4 c5 2.
+ Nc3 d6 3.
+ g3 Nc6 4.
+ Bg2 e6 5.
+ Nge2
+\end_layout
 
+\begin_layout Standard
+\begin_inset VSpace medskip
+\end_inset
 
-\layout Standard
-\added_space_top medskip 
 
+\end_layout
+
+\begin_layout Standard
 \begin_inset ERT
-status Collapsed
+status collapsed
+
+\begin_layout Plain Layout
 
-\layout Standard
 
-\backslash 
+\backslash
 [
-\end_inset 
+\end_layout
+
+\end_inset
 
 
-\begin_inset External ChessDiagram,"iecc05.fen",""
+\begin_inset External
+       template ChessDiagram
+       filename iecc05.fen
 
-\end_inset 
+\end_inset
 
 
 \begin_inset ERT
-status Inlined
+status collapsed
 
-\layout Standard
+\begin_layout Plain Layout
 
-\backslash 
-]
-\backslash 
-printknightmove{g1}{e2}
-\backslash 
-highlight{d4,f4}
-\end_inset 
 
+\backslash
+]
+\end_layout
 
-\layout Standard
+\end_inset
 
-So far, so good.
- This is all according to theory.
-\layout Standard
 
+\end_layout
 
-\begin_inset ERT
-status Open
+\begin_layout KnightMove
+g1->e2
+\end_layout
 
-\layout Standard
+\begin_layout HighLight
+d4,f4
+\end_layout
 
-\backslash 
-mainline{5... Be7?!} 
-\backslash 
-variation{5... Nge7}
-\backslash 
-equal %
-\layout Standard
+\begin_layout Standard
+\begin_inset VSpace -0.5in*
+\end_inset
 
-\backslash 
-mainline{6. d4 cxd4 7. Nxd4 a6}
-\end_inset 
 
+\end_layout
 
-\layout Standard
+\begin_layout Standard
+So far, so good.
+ This is all according to theory.
+\end_layout
+
+\begin_layout Mainline
+5...
+ Be7?!
+\end_layout
+
+\begin_layout Variation
+5...
+ Nge7 [ 
+\backslash
+equal{} ]
+\end_layout
+
+\begin_layout Mainline
+6.
+ d4 cxd4 7.
+ Nxd4 a6
+\end_layout
+
+\begin_layout Standard
+With 7...
+\begin_inset space ~
+\end_inset
 
-With 7...\SpecialChar ~
 a6, we are back in the well-trodden theory of this opening.
-\layout Standard
-
+\end_layout
 
+\begin_layout Standard
 \begin_inset ERT
-status Collapsed
-
-\layout Standard
-
-\backslash 
-[
-\end_inset 
+status collapsed
 
+\begin_layout Plain Layout
 
-\begin_inset External ChessDiagram,"iecc07.fen",""
 
-\end_inset 
+\backslash
+[
+\end_layout
 
+\end_inset
 
-\begin_inset ERT
-status Collapsed
 
-\layout Standard
+\begin_inset External
+       template ChessDiagram
+       filename iecc07.fen
 
-\backslash 
-]
-\end_inset 
+\end_inset
 
 
-\layout Standard
+\begin_inset ERT
+status collapsed
 
+\begin_layout Plain Layout
 
-\begin_inset ERT
-status Open
 
-\layout Standard
+\backslash
+]
+\end_layout
 
-\backslash 
-mainline{8. Nxc6 bxc6 9. O-O Bb7 10. Qg4 Bf6 11. Bf4 Ne7 12. Rad1}
-\end_inset 
+\end_inset
 
 
-\layout Standard
+\end_layout
 
+\begin_layout Mainline
+8.
+ Nxc6 bxc6 9.
+ O-O Bb7 10.
+ Qg4 Bf6 11.
+ Bf4 Ne7 12.
+ Rad1
+\end_layout
 
+\begin_layout Standard
 \begin_inset ERT
-status Collapsed
+status collapsed
 
-\layout Standard
+\begin_layout Plain Layout
 
-\backslash 
-[
-\end_inset 
 
+\backslash
+[
+\end_layout
 
-\begin_inset External ChessDiagram,"iecc12.fen",""
-
-\end_inset 
+\end_inset
 
 
-\begin_inset ERT
-status Inlined
+\begin_inset External
+       template ChessDiagram
+       filename iecc12.fen
 
-\layout Standard
+\end_inset
 
-\backslash 
-]
-\backslash 
-printarrow{a1}{d1}
-\end_inset 
 
+\begin_inset ERT
+status collapsed
 
-\layout Standard
+\begin_layout Plain Layout
 
-White continues to develop pieces and also sets a trap for Black.
-\layout Standard
 
+\backslash
+]
+\end_layout
 
-\begin_inset ERT
-status Open
+\end_inset
 
-\layout Standard
 
-\backslash 
-mainline{12... O-O?} This loses instantly.
-\layout Standard
-Best was 
-\backslash 
-variation{12... e5 13. Be3 Qc7 14. Na4 O-O}
-\backslash 
-wbetter
-\layout Standard
+\end_layout
 
-\backslash 
-mainline{13. e5!} Black's knight and bishop form a bumbling pair here, the Bishop is doomed.
-\layout Standard
+\begin_layout Arrow
+a1->d1
+\end_layout
 
-\backslash 
-mainline{13... Nd5!? 14. Bxd5 cxd5 15. exf6 Qxf6 16. Bxd6 Rfd8 17. Bc7 Rd7 18. Bf4 1-0 }%
-\layout Standard
+\begin_layout Standard
+\begin_inset VSpace -0.3in*
+\end_inset
 
-\backslash 
-[
-\backslash 
-showboard
-\backslash 
-]
-\end_inset 
 
+\end_layout
 
-\the_end
+\begin_layout Standard
+White continues to develop pieces and also sets a trap for Black.
+\end_layout
+
+\begin_layout Mainline
+12...O-O? [ This move loses instantly.
+ ]
+\end_layout
+
+\begin_layout Variation
+12...
+ e5 13.
+ Be3 Qc7 14.
+ Na4 O-O [ 
+\backslash
+wbetter{} is best ]
+\end_layout
+
+\begin_layout Mainline
+13.
+ e5!
+\end_layout
+
+\begin_layout Standard
+Black's knight and bishop are in each other's way.
+ The bishop is doomed.
+\end_layout
+
+\begin_layout Mainline
+13...
+ Nd5!? 14.
+ Bxd5 cxd5 15.
+ exf6 Qxf6 16.
+ Bxd6 Rfd8 17.
+ Bc7 Rd7 18.
+ Bf4 1-0
+\end_layout
+
+\begin_layout BoardCentered
+
+\end_layout
+
+\end_body
+\end_document