X-Git-Url: https://git.lyx.org/gitweb/?a=blobdiff_plain;f=lib%2Fexamples%2Fchessgame.lyx;h=78ef827a26a6b813d9a30dd9a2dd7682a2df58f5;hb=3e7dee32edeb1cf3cd72be56cf021d3a64fc235c;hp=89f2ac6c97fffc2d30a43a31a88db542c4b6f588;hpb=970386d4a80f1949bcaa1817eaa9c9617a469521;p=lyx.git diff --git a/lib/examples/chessgame.lyx b/lib/examples/chessgame.lyx index 89f2ac6c97..78ef827a26 100644 --- a/lib/examples/chessgame.lyx +++ b/lib/examples/chessgame.lyx @@ -1,23 +1,63 @@ -#LyX 1.3 created this file. For more info see http://www.lyx.org/ -\lyxformat 221 +#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 +\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 @@ -27,226 +67,326 @@ \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 + -\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 Mainline +\end_layout + +\begin_layout Standard +\noindent +\begin_inset CommandInset line +LatexCommand rule +offset "0.5ex" +width "100line%" +height "1pt" + +\end_inset + + +\end_layout +\begin_layout Mainline 1. e4 c5 2. Nc3 d6 3. g3 Nc6 4. Bg2 e6 5. Nge2 -\layout Standard +\end_layout +\begin_layout Standard +\begin_inset VSpace medskip +\end_inset -\begin_inset ERT -status Open - -\layout Standard - -\backslash -vspace*{-0.2in} -\end_inset +\end_layout -\layout Standard -\added_space_top medskip - +\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","" -\end_inset +\begin_inset External + template ChessDiagram + filename iecc05.fen + +\end_inset \begin_inset ERT -status Collapsed +status collapsed + +\begin_layout Plain Layout -\layout Standard -\backslash +\backslash ] -\end_inset +\end_layout + +\end_inset -\layout KnightMove +\end_layout +\begin_layout KnightMove g1->e2 -\layout HighLight +\end_layout +\begin_layout HighLight d4,f4 -\layout Standard - - -\begin_inset ERT -status Open +\end_layout -\layout Standard +\begin_layout Standard +\begin_inset VSpace -0.5in* +\end_inset -\backslash -vspace*{-0.5in} % This is a hack! -\end_inset +\end_layout -\layout Standard - +\begin_layout Standard So far, so good. This is all according to theory. -\layout Mainline +\end_layout +\begin_layout Mainline 5... Be7?! -\layout Variation +\end_layout +\begin_layout Variation 5... Nge7 [ -\backslash +\backslash equal{} ] -\layout Mainline +\end_layout +\begin_layout Mainline 6. d4 cxd4 7. Nxd4 a6 -\layout Standard +\end_layout -With 7...\SpecialChar ~ -a6, we are back in the well-trodden theory of this opening. -\layout Standard +\begin_layout Standard +With 7... +\begin_inset space ~ +\end_inset +a6, we are back in the well-trodden theory of this opening. +\end_layout +\begin_layout Standard \begin_inset ERT -status Collapsed +status collapsed -\layout Standard +\begin_layout Plain Layout -\backslash + +\backslash [ -\end_inset +\end_layout + +\end_inset -\begin_inset External ChessDiagram,"iecc07.fen","" +\begin_inset External + template ChessDiagram + filename iecc07.fen -\end_inset +\end_inset \begin_inset ERT -status Collapsed +status collapsed + +\begin_layout Plain Layout -\layout Standard -\backslash +\backslash ] -\end_inset +\end_layout +\end_inset -\layout Mainline +\end_layout + +\begin_layout Mainline 8. Nxc6 bxc6 9. O-O Bb7 10. Qg4 Bf6 11. Bf4 Ne7 12. Rad1 -\layout Standard - +\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,"iecc12.fen","" -\end_inset +\begin_inset External + template ChessDiagram + filename iecc12.fen + +\end_inset \begin_inset ERT -status Collapsed +status collapsed + +\begin_layout Plain Layout -\layout Standard -\backslash +\backslash ] -\end_inset +\end_layout + +\end_inset -\layout Arrow +\end_layout +\begin_layout Arrow a1->d1 -\layout Standard +\end_layout +\begin_layout Standard +\begin_inset VSpace -0.3in* +\end_inset + + +\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 Variation +\end_layout +\begin_layout Variation 12... e5 13. Be3 Qc7 14. Na4 O-O [ -\backslash +\backslash wbetter{} is best ] -\layout Mainline +\end_layout +\begin_layout Mainline 13. e5! -\layout Standard +\end_layout +\begin_layout Standard Black's knight and bishop are in each other's way. The bishop is doomed. -\layout Mainline +\end_layout +\begin_layout Mainline 13... Nd5!? 14. Bxd5 cxd5 15. @@ -254,6 +394,11 @@ Black's knight and bishop are in each other's way. Bxd6 Rfd8 17. Bc7 Rd7 18. Bf4 1-0 -\layout BoardCentered +\end_layout + +\begin_layout BoardCentered + +\end_layout -\the_end +\end_body +\end_document