1 #% Do not delete the line below; configure depends on this
2 # \DeclareLaTeXClass[article,lyxskak.sty]{article (Chess)}
3 # chess article textclass definition file.
5 # This layout file was designed to allow easy access to all
6 # the cool features of the skak package for chess notation.
8 # Author : Kayvan A. Sylvan <kayvan@sylvan.com>
10 # Remaining minor problem:
12 # Sometimes there is too much space under a \showboard, especially
13 # if you use some of the ornamentation commands (\printknightmove,
14 # \highlight or \printarrow). For now, a workaround for the problem
15 # is to insert (using ERT) a \vspace* command (for example,
28 # To be filled in later. This makes Standard first on the list of layouts.
32 # This is the main line of the chess game. Use PGN notation here.
33 # Also, this layout can be continued with Control-Enter without
34 # starting a new paragraph.
42 LabelString "Mainline:"
57 # This is a variation. It shows up in the normal fashion (styleB).
58 # You are free to redefine it by making a new \variationstyle
59 # as talked about in the skak documentation.
63 LatexName lyxvariation[1]
64 LabelString "Variation:"
69 # This is a subvariation.
72 LatexName lyxvariation[2]
73 LabelString "Subvariation:"
74 LeftMargin MMMMMMMMMMMM
78 # This is a subsubvariation.
81 LatexName lyxvariation[3]
82 LabelString "Subvariation(2):"
83 LeftMargin MMMMMMMMMMMMMMM
87 # This is a subsubsubvariation.
90 LatexName lyxvariation[4]
91 LabelString "Subvariation(3):"
92 LeftMargin MMMMMMMMMMMMMMMMMM
96 # This is a subsubsubsubvariation.
99 LatexName lyxvariation[5]
100 LabelString "Subvariation(4):"
101 LeftMargin MMMMMMMMMMMMMMMMMMMMM
105 # This is a subsubsubsubsubvariation.
108 LatexName lyxvariation[6]
109 LabelString "Subvariation(5):"
110 LeftMargin MMMMMMMMMMMMMMMMMMMMMMMM
114 # Same as mainline, but it does not print the moves (only updates the
119 LeftMargin "HideMoves:M"
121 LabelString "HideMoves:"
125 # This simply prints a block left chessboard.
130 LabelString "[chessboard]"
138 # This prints a centered chessboard.
142 LatexName [\showboard\]
143 LeftMargin MMMMMMMMMMMMMM
144 LabelString "[centered board]"
152 # This should be a list of comma-separated chessboard squares.
153 # Should be placed after a ChessBoard or BoardCentered.
157 LatexName lyxhighlight
159 LabelString "Highlights:"
172 # This should be a list of two squares with an ascii arrow (a1->c3)
173 # Should be placed after a ChessBoard or BoardCentered.
177 LatexName lyxprintarrow
183 # This should be a list of two chessboard squares (again, like g1->e2)
184 # Should be placed after a ChessBoard or BoardCentered.
188 LatexName lyxknightmove
190 LabelString "KnightMove:"