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}
25 # To be filled in later. This makes Standard first on the list of layouts.
29 # This is the main line of the chess game. Use PGN notation here.
30 # Also, this layout can be continued with Control-Enter without
31 # starting a new paragraph.
38 LabelString "Mainline: "
53 # This is a variation. It shows up in the normal fashion (styleB).
54 # You are free to redefine it by making a new \variationstyle
55 # as talked about in the skak documentation.
59 LatexName lyxvariation[1]
60 LabelString "Variation: "
65 # This is a subvariation.
68 LatexName lyxvariation[2]
69 LabelString "Subvariation: "
70 LeftMargin MMMMMMMMMMM
74 # This is a subsubvariation.
77 LatexName lyxvariation[3]
78 LabelString "Subvariation(2): "
79 LeftMargin MMMMMMMMMMMMMM
83 # This is a subsubsubvariation.
86 LatexName lyxvariation[4]
87 LabelString "Subvariation(3): "
88 LeftMargin MMMMMMMMMMMMMMMMM
92 # This is a subsubsubsubvariation.
95 LatexName lyxvariation[5]
96 LabelString "Subvariation(4): "
97 LeftMargin MMMMMMMMMMMMMMMMMMMM
101 # This is a subsubsubsubsubvariation.
104 LatexName lyxvariation[6]
105 LabelString "Subvariation(5): "
106 LeftMargin MMMMMMMMMMMMMMMMMMMMMMM
110 # Same as mainline, but it does not print the moves (only updates the
115 LabelString "HideMoves: "
119 # This simply prints a block left chessboard.
124 LabelString "[chessboard]"
132 # This prints a centered chessboard.
136 LatexName [\showboard\]
137 LeftMargin MMMMMMMMMMMMM
138 LabelString "[centered board]"
146 # This should be a list of comma-separated chessboard squares.
147 # Should be placed after a ChessBoard or BoardCentered.
151 LatexName lyxhighlight
153 LabelString "Highlights: "
166 # This should be a list of two squares with an ascii arrow (a1->c3)
167 # Should be placed after a ChessBoard or BoardCentered.
171 LatexName lyxprintarrow
173 LabelString "Arrow: "
177 # This should be a list of two chessboard squares (again, like g1->e2)
178 # Should be placed after a ChessBoard or BoardCentered.
182 LatexName lyxknightmove
184 LabelString "KnightMove: "