]> git.lyx.org Git - lyx.git/blobdiff - lib/examples/chessboard-article.lyx
Fix up e5fc7327.
[lyx.git] / lib / examples / chessboard-article.lyx
index a4abf0d0dcc420b5f205e09ffaeea540f242cb88..e402d0fdc44db2e5205fa6c7a70635c6ed3b9899 100644 (file)
@@ -1,17 +1,22 @@
 #LyX 2.4 created this file. For more info see https://www.lyx.org/
-\lyxformat 563
+\lyxformat 564
 \begin_document
 \begin_header
 \save_transient_properties true
-\origin unavailable
-\textclass chessboard
+\origin /systemlyxdir/examples/
+\textclass article
 \begin_preamble
-\usepackage{multicol}
+\AtBeginDocument{%
 \columnsep 0.25in
 \columnseprule 0.4pt
 \hyphenpenalty 10000
+}
 \end_preamble
 \use_default_options true
+\begin_modules
+chessboard
+multicol
+\end_modules
 \maintain_unincluded_children false
 \language english
 \language_package default
 \use_package stackrel 1
 \use_package stmaryrd 1
 \use_package undertilde 1
-\cite_engine biblatex-natbib
-\cite_engine_type authoryear
-\biblatex_bibstyle authoryear
-\biblatex_citestyle authoryear
+\cite_engine basic
+\cite_engine_type default
+\biblio_style plain
 \use_bibtopic false
 \use_indices false
 \paperorientation portrait
 \secnumdepth 3
 \tocdepth 3
 \paragraph_separation skip
-\defskip medskip
+\defskip smallskip
 \is_math_indent 0
 \math_numbering_side default
 \quotes_style english
 \dynamic_quotes 0
 \papercolumns 1
 \papersides 1
-\paperpagestyle default
+\paperpagestyle empty
 \tracking_changes false
 \output_changes false
 \html_math_output 0
@@ -116,37 +120,25 @@ Game start 05/29/2001
 \end_layout
 
 \begin_layout Standard
-\begin_inset ERT
-status collapsed
+\begin_inset Flex Multiple Columns
+status open
 
 \begin_layout Plain Layout
-
-
-\backslash
-begin{multicols}{2}
-\end_layout
-
-\end_inset
-
-
-\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 \SpecialChar LyX
 's new chessboard
layout (based on the 
-\begin_inset Quotes eld
-\end_inset
-
-xskak.sty
-\begin_inset Quotes erd
-\end_inset
-
- package from CTAN
module (using the 
+\family sans
+xskak
+\family default
+ and 
+\family sans
+chessboard
+\family default
+ packages).
 \end_layout
 
-\begin_layout Standard
+\begin_layout Plain Layout
 \begin_inset CommandInset line
 LatexCommand rule
 offset "0.5ex"
@@ -158,14 +150,14 @@ height "1pt"
 
 \end_layout
 
-\begin_layout Standard
+\begin_layout Plain Layout
 
 \noun on
 Sylvan, Kayvan
 \begin_inset space \hfill{}
 \end_inset
 
-Wakeham, Marc 
+Wakeham, Marc
 \noun default
 
 \begin_inset Newline newline
@@ -175,10 +167,10 @@ Wakeham, Marc
 \begin_inset space \hfill{}
 \end_inset
 
- (1639)
+(1639)
 \end_layout
 
-\begin_layout Standard
+\begin_layout Plain Layout
 \noindent
 \begin_inset CommandInset line
 LatexCommand rule
@@ -191,28 +183,39 @@ height "1pt"
 
 \end_layout
 
-\begin_layout Standard
-\begin_inset Flex Mainline
+\begin_layout NewChessGame
+
+\end_layout
+
+\begin_layout Plain Layout
+\begin_inset Flex SetChessBoard
 status open
 
 \begin_layout Plain Layout
+pgfstyle=straightmove,arrow=to,linewidth=0.1em,smallboard
+\end_layout
 
-\begin_inset Argument 1
-status collapsed
+\end_inset
 
-\begin_layout Plain Layout
 
-outvar
 \end_layout
 
-\end_inset
+\begin_layout Plain Layout
+\begin_inset Flex Mainline
+status open
 
+\begin_layout Plain Layout
 
-\begin_inset Argument 2
+\begin_inset Argument 1
 status open
 
 \begin_layout Plain Layout
 
+outvar
+\end_layout
+
+\end_inset
+
 1.
  e4 c5 2.
  Nc3 d6 3.
@@ -226,57 +229,35 @@ status open
 
 \end_layout
 
-\end_inset
-
-
-\end_layout
-
-\begin_layout Standard
+\begin_layout Plain Layout
 \noindent
 \align center
 \begin_inset Flex ChessBoard
 status open
 
 \begin_layout Plain Layout
+\noindent
+\align center
 \begin_inset Argument 1
 status open
 
 \begin_layout Plain Layout
 
-d2-d4
+markmoves={d2-d4},pgfstyle=knightmove,markmove={g1-e2},pgfstyle=circle,markfield
+s={d4,f4}
 \end_layout
 
 \end_inset
 
 
-\begin_inset Argument 3
-status open
-
-\begin_layout Plain Layout
-d4,f4
 \end_layout
 
 \end_inset
 
 
-\begin_inset Argument 2
-status open
-
-\begin_layout Plain Layout
-g1-e2
 \end_layout
 
-\end_inset
-
-
-\end_layout
-
-\end_inset
-
-
-\end_layout
-
-\begin_layout Standard
+\begin_layout Plain Layout
 \noindent
 \align block
 So far, so good.
@@ -285,13 +266,8 @@ So far, so good.
  The diagrammed position has been reached before in hundreds of GM games.
 \end_layout
 
-\begin_layout Standard
-\begin_inset Flex Mainline
-status open
-
 \begin_layout Plain Layout
-
-\begin_inset Argument 2
+\begin_inset Flex Mainline
 status open
 
 \begin_layout Plain Layout
@@ -305,12 +281,7 @@ status open
 
 \end_layout
 
-\end_inset
-
-
-\end_layout
-
-\begin_layout Standard
+\begin_layout Plain Layout
 \noindent
 \align block
 \begin_inset Flex Variation
@@ -328,20 +299,9 @@ invar
 
 \end_inset
 
-
-\begin_inset Argument 2
-status open
-
-\begin_layout Plain Layout
-
 5...
  Ng7
-\end_layout
-
-\end_inset
-
-
-\begin_inset Argument 3
+\begin_inset Argument post:1
 status open
 
 \begin_layout Plain Layout
@@ -361,14 +321,14 @@ equal{} was better
 
 \end_layout
 
-\begin_layout Standard
+\begin_layout Plain Layout
 \begin_inset Flex Mainline
 status open
 
 \begin_layout Plain Layout
 
 \begin_inset Argument 1
-status collapsed
+status open
 
 \begin_layout Plain Layout
 
@@ -377,12 +337,6 @@ outvar
 
 \end_inset
 
-
-\begin_inset Argument 2
-status open
-
-\begin_layout Plain Layout
-
 6.
  d4 cxd4 7.
  Nxd4 a6
@@ -393,21 +347,16 @@ status open
 
 \end_layout
 
-\end_inset
-
-
-\end_layout
-
-\begin_layout Standard
+\begin_layout Plain Layout
 With 7...
  a6, we are back in the well-trodden theory of this opening.
 \end_layout
 
-\begin_layout Standard
+\begin_layout Plain Layout
 \noindent
 \align center
 \begin_inset Flex ChessBoard
-status open
+status collapsed
 
 \begin_layout Plain Layout
 
@@ -416,19 +365,10 @@ status open
 \end_inset
 
 
-\begin_inset Newline newline
-\end_inset
-
-
 \end_layout
 
-\begin_layout Standard
-\begin_inset Flex Mainline
-status open
-
 \begin_layout Plain Layout
-
-\begin_inset Argument 2
+\begin_inset Flex Mainline
 status open
 
 \begin_layout Plain Layout
@@ -446,24 +386,21 @@ status open
 
 \end_layout
 
-\end_inset
-
-
-\end_layout
-
-\begin_layout Standard
+\begin_layout Plain Layout
 \noindent
 \align center
 \begin_inset Flex ChessBoard
 status open
 
 \begin_layout Plain Layout
+\noindent
+\align center
 \begin_inset Argument 1
 status open
 
 \begin_layout Plain Layout
 
-a1-d1
+markmoves={a1-d1}
 \end_layout
 
 \end_inset
@@ -476,29 +413,19 @@ a1-d1
 
 \end_layout
 
-\begin_layout Standard
+\begin_layout Plain Layout
 White continues to develop pieces and also sets a trap for Black.
 \end_layout
 
-\begin_layout Standard
-\begin_inset Flex Mainline
-status open
-
 \begin_layout Plain Layout
-
-\begin_inset Argument 2
+\begin_inset Flex Mainline
 status open
 
 \begin_layout Plain Layout
 
 12...
- O-O?
-\end_layout
-
-\end_inset
-
-\begin_inset Argument 3
+ O-O? 
+\begin_inset Argument post:1
 status open
 
 \begin_layout Plain Layout
@@ -516,11 +443,11 @@ This move loses instantly.
 
 \end_layout
 
-\begin_layout Standard
+\begin_layout Plain Layout
 The following was better, even though white retains the upper hand.
 \end_layout
 
-\begin_layout Standard
+\begin_layout Plain Layout
 \begin_inset Flex Variation
 status open
 
@@ -536,22 +463,11 @@ invar
 
 \end_inset
 
-
-\begin_inset Argument 2
-status open
-
-\begin_layout Plain Layout
-
 12...
  e5 13.
  Be3 Qc7 14.
  Na4 O-O
-\end_layout
-
-\end_inset
-
-
-\begin_inset Argument 3
+\begin_inset Argument post:1
 status open
 
 \begin_layout Plain Layout
@@ -571,7 +487,7 @@ wbetter
 
 \end_layout
 
-\begin_layout Standard
+\begin_layout Plain Layout
 \begin_inset Flex Mainline
 status open
 
@@ -587,12 +503,6 @@ outvar
 
 \end_inset
 
-
-\begin_inset Argument 2
-status open
-
-\begin_layout Plain Layout
-
 13.
  e5!
 \end_layout
@@ -602,23 +512,13 @@ status open
 
 \end_layout
 
-\end_inset
-
-
-\end_layout
-
-\begin_layout Standard
+\begin_layout Plain Layout
 Black's knight and bishop form a bumbling pair here.
  The bishop is doomed.
 \end_layout
 
-\begin_layout Standard
-\begin_inset Flex Mainline
-status open
-
 \begin_layout Plain Layout
-
-\begin_inset Argument 2
+\begin_inset Flex Mainline
 status open
 
 \begin_layout Plain Layout
@@ -629,7 +529,13 @@ status open
  exf6 Qxf6 16.
  Bxd6 Rfd8 17.
  Bc7 Rd7 18.
- Bf4 1-0
+ Bf4
+\begin_inset Argument post:1
+status open
+
+\begin_layout Plain Layout
+
+1-0
 \end_layout
 
 \end_inset
@@ -642,11 +548,11 @@ status open
 
 \end_layout
 
-\begin_layout Standard
+\begin_layout Plain Layout
 \noindent
 \align center
 \begin_inset Flex ChessBoard
-status open
+status collapsed
 
 \begin_layout Plain Layout
 
@@ -657,17 +563,6 @@ status open
 
 \end_layout
 
-\begin_layout Standard
-\begin_inset ERT
-status collapsed
-
-\begin_layout Plain Layout
-
-
-\backslash
-end{multicols}
-\end_layout
-
 \end_inset