1 #% Do not delete the line below; configure depends on this
2 # \DeclareLaTeXClass[article,calc.sty,lambda.sty,lyxskak.sty,pst-node.sty]{Chess}
3 # \DeclareCategory{Articles}
4 # chess article textclass definition file.
6 # This layout file was designed to allow easy access to all
7 # the cool features of the skak package for chess notation.
9 # Author : Kayvan A. Sylvan <kayvan@sylvan.com>
11 # Remaining minor problem:
13 # Sometimes there is too much space under a \showboard, especially
14 # if you use some of the ornamentation commands (\printknightmove,
15 # \highlight or \printarrow). For now, a workaround for the problem
16 # is to insert (using ERT) a \vspace* command (for example,
29 # To be filled in later. This makes Standard first on the list of layouts.
33 # This is the main line of the chess game. Use PGN notation here.
34 # Also, this layout can be continued with Control-Enter without
35 # starting a new paragraph.
43 LabelString "Mainline:"
59 # This is a variation. It shows up in the normal fashion (styleB).
60 # You are free to redefine it by making a new \variationstyle
61 # as talked about in the skak documentation.
65 LatexName lyxvariation[1]
66 LabelString "Variation:"
71 # This is a subvariation.
74 LatexName lyxvariation[2]
75 LabelString "Subvariation:"
76 LeftMargin MMMMMMMMMMMM
80 # This is a subsubvariation.
83 LatexName lyxvariation[3]
84 LabelString "Subvariation(2):"
85 LeftMargin MMMMMMMMMMMMMMM
89 # This is a subsubsubvariation.
92 LatexName lyxvariation[4]
93 LabelString "Subvariation(3):"
94 LeftMargin MMMMMMMMMMMMMMMMMM
98 # This is a subsubsubsubvariation.
101 LatexName lyxvariation[5]
102 LabelString "Subvariation(4):"
103 LeftMargin MMMMMMMMMMMMMMMMMMMMM
107 # This is a subsubsubsubsubvariation.
110 LatexName lyxvariation[6]
111 LabelString "Subvariation(5):"
112 LeftMargin MMMMMMMMMMMMMMMMMMMMMMMM
116 # Same as mainline, but it does not print the moves (only updates the
121 LeftMargin "HideMoves:M"
123 LabelString "HideMoves:"
127 # This simply prints a block left chessboard.
132 LabelString "[chessboard]"
140 # This prints a centered chessboard.
144 LatexName [\showboard\]
145 LeftMargin MMMMMMMMMMMMMM
146 LabelString "[centered board]"
154 # This should be a list of comma-separated chessboard squares.
155 # Should be placed after a ChessBoard or BoardCentered.
159 LatexName lyxhighlight
161 LabelString "Highlights:"
174 # This should be a list of two squares with an ascii arrow (a1->c3)
175 # Should be placed after a ChessBoard or BoardCentered.
179 LatexName lyxprintarrow
185 # This should be a list of two chessboard squares (again, like g1->e2)
186 # Should be placed after a ChessBoard or BoardCentered.
190 LatexName lyxknightmove
192 LabelString "KnightMove:"