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,
20 \usepackage[ps,mover]{lyxskak}
29 # 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: "
58 # This is a variation. It shows up in the normal fashion (styleB).
59 # You are free to redefine it by making a new \variationstyle
60 # as talked about in the skak documentation.
65 LatexName lyxvariation[1]
66 LabelString "Variation: "
70 # This is a subvariation.
74 LatexName lyxvariation[2]
75 LabelString "Subvariation: "
76 LeftMargin MMMMMMMMMMM
79 # This is a subsubvariation.
83 LatexName lyxvariation[3]
84 LabelString "Subvariation(2): "
85 LeftMargin MMMMMMMMMMMMMM
88 # This is a subsubsubvariation.
92 LatexName lyxvariation[4]
93 LabelString "Subvariation(3): "
94 LeftMargin MMMMMMMMMMMMMMMMM
97 # This is a subsubsubsubvariation.
101 LatexName lyxvariation[5]
102 LabelString "Subvariation(4): "
103 LeftMargin MMMMMMMMMMMMMMMMMMMM
106 # This is a subsubsubsubsubvariation.
110 LatexName lyxvariation[6]
111 LabelString "Subvariation(5): "
112 LeftMargin MMMMMMMMMMMMMMMMMMMMMMM
115 # Same as mainline, but it does not print the moves (only updates the
121 LabelString "HideMoves: "
124 # This simply prints a block left chessboard.
130 LabelString "[chessboard]"
137 # This prints a centered chessboard.
142 LatexName [\showboard\]
143 LeftMargin MMMMMMMMMMMMM
144 LabelString "[centered board]"
151 # This should be a list of comma-separated chessboard squares.
152 # Should be placed after a ChessBoard or BoardCentered.
157 LatexName lyxhighlight
159 LabelString "Highlights: "
171 # This should be a list of two squares with an ascii arrow (a1->c3)
172 # Should be placed after a ChessBoard or BoardCentered.
177 LatexName lyxprintarrow
179 LabelString "Arrow: "
182 # This should be a list of two chessboard squares (again, like g1->e2)
183 # Should be placed after a ChessBoard or BoardCentered.
188 LatexName lyxknightmove
190 LabelString "KnightMove: "