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:"
57 DocBookAttr role='mainline'
61 # This is a variation. It shows up in the normal fashion (styleB).
62 # You are free to redefine it by making a new \variationstyle
63 # as talked about in the skak documentation.
67 LatexName lyxvariation[1]
68 LabelString "Variation:"
71 DocBookAttr role='variation'
75 # This is a subvariation.
78 LatexName lyxvariation[2]
79 LabelString "Subvariation:"
80 LeftMargin MMMMMMMMMMMM
82 DocBookAttr role='subvariation'
86 # This is a subsubvariation.
89 LatexName lyxvariation[3]
90 LabelString "Subvariation(2):"
91 LeftMargin MMMMMMMMMMMMMMM
93 DocBookAttr role='subsubvariation'
97 # This is a subsubsubvariation.
100 LatexName lyxvariation[4]
101 LabelString "Subvariation(3):"
102 LeftMargin MMMMMMMMMMMMMMMMMM
104 DocBookAttr role='subsubsubvariation'
108 # This is a subsubsubsubvariation.
111 LatexName lyxvariation[5]
112 LabelString "Subvariation(4):"
113 LeftMargin MMMMMMMMMMMMMMMMMMMMM
115 DocBookAttr role='subsubsubsubvariation'
119 # This is a subsubsubsubsubvariation.
122 LatexName lyxvariation[6]
123 LabelString "Subvariation(5):"
124 LeftMargin MMMMMMMMMMMMMMMMMMMMMMMM
126 DocBookAttr role='subsubsubsubsubvariation'
130 # Same as mainline, but it does not print the moves (only updates the
135 LeftMargin "HideMoves:M"
137 LabelString "HideMoves:"
139 DocBookAttr role='hide-moves'
143 # This simply prints a block left chessboard.
148 LabelString "[chessboard]"
154 DocBookAttr role='chess-board'
158 # This prints a centered chessboard.
162 LatexName [\showboard\]
163 LeftMargin MMMMMMMMMMMMMM
164 LabelString "[centered board]"
170 DocBookAttr role='board-centered'
174 # This should be a list of comma-separated chessboard squares.
175 # Should be placed after a ChessBoard or BoardCentered.
179 LatexName lyxhighlight
181 LabelString "Highlights:"
192 DocBookAttr role='highlights'
196 # This should be a list of two squares with an ascii arrow (a1->c3)
197 # Should be placed after a ChessBoard or BoardCentered.
201 LatexName lyxprintarrow
205 DocBookAttr role='arrow'
209 # This should be a list of two chessboard squares (again, like g1->e2)
210 # Should be placed after a ChessBoard or BoardCentered.
214 LatexName lyxknightmove
216 LabelString "KnightMove:"
218 DocBookAttr role='knight-move'