]> git.lyx.org Git - lyx.git/blobdiff - lib/examples/chess-article.lyx
Add new dialog for templates and examples
[lyx.git] / lib / examples / chess-article.lyx
index 68ba4e193fe8767ac19b9fbe8a7a701acee01c48..01f297508d017d000f4ec1ce2aaebc6fb757a0b1 100644 (file)
@@ -1,27 +1,70 @@
-#LyX 1.2 created this file. For more info see http://www.lyx.org/
-\lyxformat 220
+#LyX 2.3 created this file. For more info see http://www.lyx.org/
+\lyxformat 544
+\begin_document
+\begin_header
+\save_transient_properties true
+\origin /systemlyxdir/examples/
 \textclass chess
 \begin_preamble
 \usepackage{multicol}
-\usepackage{chess-workshop-symbols}
+\usepackage{chessfss}
 \smallboard
 \columnsep 0.25in
 \columnseprule 0.4pt
 \hyphenpenalty 10000
 \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
+\use_microtype false
+\use_dash_ligatures false
 \graphics default
+\default_output_format pdf3
+\output_sync 0
+\bibtex_command default
+\index_command default
 \paperfontsize 12
-\spacing single 
-\papersize Default
-\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 1
+\use_package amssymb 1
+\use_package cancel 1
+\use_package esint 1
+\use_package mathdots 1
+\use_package mathtools 1
+\use_package mhchem 1
+\use_package stackrel 1
+\use_package stmaryrd 1
+\use_package undertilde 1
+\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
+\use_minted 0
+\index Index
+\shortcut idx
+\color #008000
+\end_index
 \leftmargin 0.5in
 \topmargin 0.5in
 \rightmargin 0.5in
 \tocdepth 3
 \paragraph_separation skip
 \defskip medskip
-\quotes_language english
-\quotes_times 2
+\is_math_indent 0
+\math_numbering_side default
+\quotes_style english
+\dynamic_quotes 0
 \papercolumns 1
 \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 Standard
-\align center 
+\begin_body
 
-\series bold 
-\size larger 
+\begin_layout Standard
+\align center
+
+\series bold
+\size larger
 Email Chess Game analyzed
-\size large 
+\size large
+
+\begin_inset Newline newline
+\end_inset
 
-\newline 
 
-\newline 
+\begin_inset Newline newline
+\end_inset
+
 Kayvan A.
  Sylvan
-\newline 
+\begin_inset Newline newline
+\end_inset
+
 <kayvan@sylvan.com>
-\size default 
-\emph on 
+\size default
+\emph on
 
-\newline 
+\begin_inset Newline newline
+\end_inset
+
+
+\begin_inset Newline newline
+\end_inset
 
-\newline 
 Game start 05/29/2001
-\layout Standard
+\end_layout
+
+\begin_layout Standard
+\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
+
+\begin_layout Plain Layout
+
+\series bold
+Note:
+\series default
+ Depending on your \SpecialChar LaTeX
+-system you might have to add the option 
+\begin_inset Quotes cld
+\end_inset
+
+dvips
+\begin_inset Quotes crd
+\end_inset
+
+ to the document class options to get proper DVI output.
+\end_layout
 
+\end_inset
 
+
+\end_layout
+
+\begin_layout Standard
 \begin_inset ERT
-status Collapsed
+status collapsed
+
+\begin_layout Plain Layout
 
-\layout Standard
 
-\backslash 
+\backslash
 begin{multicols}{2}
-\end_inset 
+\end_layout
 
+\end_inset
 
-\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
  layout (based on the 
 \begin_inset Quotes eld
-\end_inset 
+\end_inset
 
 skak.sty
 \begin_inset Quotes erd
-\end_inset 
+\end_inset
 
  package from CTAN).
-\layout Standard
-\added_space_top medskip \added_space_bottom smallskip \line_top \line_bottom 
+\end_layout
+
+\begin_layout Standard
+\noindent
+\begin_inset VSpace medskip
+\end_inset
+
 
-\noun on 
+\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 
-\noun default 
+\noun default
+
+\begin_inset Newline newline
+\end_inset
 
-\newline 
 (1623)
-\hfill 
+\begin_inset space \hfill{}
+\end_inset
+
  (1639)
-\layout Mainline
-\added_space_bottom bigskip 
+\end_layout
+
+\begin_layout Standard
+\noindent
+\begin_inset CommandInset line
+LatexCommand rule
+offset "0.5ex"
+width "100line%"
+height "1pt"
+
+\end_inset
+
+
+\begin_inset VSpace smallskip
+\end_inset
+
+
+\end_layout
+
+\begin_layout Mainline
 1.
  e4 c5 2.
  Nc3 d6 3.
  g3 Nc6 4.
  Bg2 e6 5.
  Nge2
-\layout BoardCentered
+\end_layout
+
+\begin_layout Standard
+\begin_inset VSpace bigskip
+\end_inset
+
+
+\end_layout
 
-\layout HighLight
+\begin_layout BoardCentered
 
+\end_layout
+
+\begin_layout HighLight
 d4,f4
-\layout Arrow
+\end_layout
 
+\begin_layout Arrow
 d2->d4
-\layout KnightMove
+\end_layout
 
+\begin_layout KnightMove
 g1->e2
-\layout Standard
+\end_layout
 
+\begin_layout Standard
+\begin_inset VSpace -0.75in*
+\end_inset
 
-\begin_inset ERT
-status Collapsed
 
-\layout Standard
+\begin_inset Note Note
+status collapsed
+
+\begin_layout Plain Layout
+This vertical space is a hack
+\end_layout
 
-\backslash 
-vspace*{-0.75in} % This is a hack!
-\end_inset 
+\end_inset
 
 
-\layout Standard
+\end_layout
 
+\begin_layout Standard
 So far, so good.
  The e2 knight controls the d4 and f4 squares, preparing an eventual d4
  push.
  The diagrammed position has been reached before in hundreds of GM games.
-\layout Mainline
+\end_layout
 
+\begin_layout Mainline
 5...
  Be7?! 
-\layout Variation
+\end_layout
 
+\begin_layout Variation
 5...
  Nge7 [ 
-\backslash 
+\backslash
 equal{} was better.
  ]
-\layout Mainline
+\end_layout
 
+\begin_layout Mainline
 6.
  d4 cxd4 7.
  Nxd4 a6
-\layout Standard
+\end_layout
 
+\begin_layout Standard
 With 7...
  a6, we are back in the well-trodden theory of this opening.
-\layout BoardCentered
+\end_layout
 
-\layout Mainline
+\begin_layout BoardCentered
 
+\end_layout
+
+\begin_layout Mainline
 8.
  Nxc6 bxc6 9.
  O-O Bb7 10.
  Qg4 Bf6 11.
  Bf4 Ne7 12.
  Rad1
-\layout BoardCentered
-
-\layout Arrow
-
-a1->d1
-\layout Standard
+\end_layout
 
+\begin_layout BoardCentered
 
-\begin_inset ERT
-status Collapsed
+\end_layout
 
-\layout Standard
+\begin_layout Arrow
+a1->d1
+\end_layout
 
-\backslash 
-vspace*{-0.5in} % Another hack!
-\end_inset 
+\begin_layout Standard
+\begin_inset VSpace -0.5in*
+\end_inset
 
 
-\layout Standard
+\end_layout
 
+\begin_layout Standard
 White continues to develop pieces and also sets a trap for Black.
-\layout Mainline
+\end_layout
 
+\begin_layout Mainline
 12...
  O-O? [ This move loses instantly.
  ]
-\layout Standard
+\end_layout
 
+\begin_layout Standard
 The following was better, even though white retains the upper hand.
-\layout Variation
+\end_layout
 
+\begin_layout Variation
 12...
  e5 13.
  Be3 Qc7 14.
  Na4 O-O [ 
-\backslash 
+\backslash
 wbetter ]
-\layout Mainline
+\end_layout
 
+\begin_layout Mainline
 13.
  e5!
-\layout Standard
+\end_layout
 
+\begin_layout Standard
 Black's knight and bishop form a bumbling pair here.
  The bishop is doomed.
-\layout Mainline
+\end_layout
 
+\begin_layout Mainline
 13...
  Nd5!? 14.
  Bxd5 cxd5 15.
@@ -222,19 +396,27 @@ Black's knight and bishop form a bumbling pair here.
  Bxd6 Rfd8 17.
  Bc7 Rd7 18.
  Bf4 1-0
-\layout BoardCentered
+\end_layout
 
-\layout Standard
+\begin_layout BoardCentered
 
+\end_layout
 
+\begin_layout Standard
 \begin_inset ERT
-status Collapsed
+status collapsed
 
-\layout Standard
+\begin_layout Plain Layout
 
-\backslash 
+
+\backslash
 end{multicols}
-\end_inset 
+\end_layout
+
+\end_inset
+
 
+\end_layout
 
-\the_end
+\end_body
+\end_document