1 #% Do not delete the line below; configure depends on this
2 # \DeclareLaTeXClass[article,calc.sty,lambda.sty,lyxskak.sty,pst-node.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:"
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.
64 LatexName lyxvariation[1]
65 LabelString "Variation:"
70 # This is a subvariation.
73 LatexName lyxvariation[2]
74 LabelString "Subvariation:"
75 LeftMargin MMMMMMMMMMMM
79 # This is a subsubvariation.
82 LatexName lyxvariation[3]
83 LabelString "Subvariation(2):"
84 LeftMargin MMMMMMMMMMMMMMM
88 # This is a subsubsubvariation.
91 LatexName lyxvariation[4]
92 LabelString "Subvariation(3):"
93 LeftMargin MMMMMMMMMMMMMMMMMM
97 # This is a subsubsubsubvariation.
100 LatexName lyxvariation[5]
101 LabelString "Subvariation(4):"
102 LeftMargin MMMMMMMMMMMMMMMMMMMMM
106 # This is a subsubsubsubsubvariation.
109 LatexName lyxvariation[6]
110 LabelString "Subvariation(5):"
111 LeftMargin MMMMMMMMMMMMMMMMMMMMMMMM
115 # Same as mainline, but it does not print the moves (only updates the
120 LeftMargin "HideMoves:M"
122 LabelString "HideMoves:"
126 # This simply prints a block left chessboard.
131 LabelString "[chessboard]"
139 # This prints a centered chessboard.
143 LatexName [\showboard\]
144 LeftMargin MMMMMMMMMMMMMM
145 LabelString "[centered board]"
153 # This should be a list of comma-separated chessboard squares.
154 # Should be placed after a ChessBoard or BoardCentered.
158 LatexName lyxhighlight
160 LabelString "Highlights:"
173 # This should be a list of two squares with an ascii arrow (a1->c3)
174 # Should be placed after a ChessBoard or BoardCentered.
178 LatexName lyxprintarrow
184 # This should be a list of two chessboard squares (again, like g1->e2)
185 # Should be placed after a ChessBoard or BoardCentered.
189 LatexName lyxknightmove
191 LabelString "KnightMove:"