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.
39 LabelString "Mainline:"
54 # This is a variation. It shows up in the normal fashion (styleB).
55 # You are free to redefine it by making a new \variationstyle
56 # as talked about in the skak documentation.
60 LatexName lyxvariation[1]
61 LabelString "Variation:"
66 # This is a subvariation.
69 LatexName lyxvariation[2]
70 LabelString "Subvariation:"
71 LeftMargin MMMMMMMMMMMM
75 # This is a subsubvariation.
78 LatexName lyxvariation[3]
79 LabelString "Subvariation(2):"
80 LeftMargin MMMMMMMMMMMMMMM
84 # This is a subsubsubvariation.
87 LatexName lyxvariation[4]
88 LabelString "Subvariation(3):"
89 LeftMargin MMMMMMMMMMMMMMMMMM
93 # This is a subsubsubsubvariation.
96 LatexName lyxvariation[5]
97 LabelString "Subvariation(4):"
98 LeftMargin MMMMMMMMMMMMMMMMMMMMM
102 # This is a subsubsubsubsubvariation.
105 LatexName lyxvariation[6]
106 LabelString "Subvariation(5):"
107 LeftMargin MMMMMMMMMMMMMMMMMMMMMMMM
111 # Same as mainline, but it does not print the moves (only updates the
116 LeftMargin "HideMoves:M"
118 LabelString "HideMoves:"
122 # This simply prints a block left chessboard.
127 LabelString "[chessboard]"
135 # This prints a centered chessboard.
139 LatexName [\showboard\]
140 LeftMargin MMMMMMMMMMMMMM
141 LabelString "[centered board]"
149 # This should be a list of comma-separated chessboard squares.
150 # Should be placed after a ChessBoard or BoardCentered.
154 LatexName lyxhighlight
156 LabelString "Highlights:"
169 # This should be a list of two squares with an ascii arrow (a1->c3)
170 # Should be placed after a ChessBoard or BoardCentered.
174 LatexName lyxprintarrow
180 # This should be a list of two chessboard squares (again, like g1->e2)
181 # Should be placed after a ChessBoard or BoardCentered.
185 LatexName lyxknightmove
187 LabelString "KnightMove:"