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,
21 \usepackage[ps,mover]{lyxskak}
26 # To be filled in later. This makes Standard first on the list of layouts.
30 # This is the main line of the chess game. Use PGN notation here.
31 # Also, this layout can be continued with Control-Enter without
32 # starting a new paragraph.
40 LabelString "Mainline:"
55 # This is a variation. It shows up in the normal fashion (styleB).
56 # You are free to redefine it by making a new \variationstyle
57 # as talked about in the skak documentation.
61 LatexName lyxvariation[1]
62 LabelString "Variation:"
67 # This is a subvariation.
70 LatexName lyxvariation[2]
71 LabelString "Subvariation:"
72 LeftMargin MMMMMMMMMMMM
76 # This is a subsubvariation.
79 LatexName lyxvariation[3]
80 LabelString "Subvariation(2):"
81 LeftMargin MMMMMMMMMMMMMMM
85 # This is a subsubsubvariation.
88 LatexName lyxvariation[4]
89 LabelString "Subvariation(3):"
90 LeftMargin MMMMMMMMMMMMMMMMMM
94 # This is a subsubsubsubvariation.
97 LatexName lyxvariation[5]
98 LabelString "Subvariation(4):"
99 LeftMargin MMMMMMMMMMMMMMMMMMMMM
103 # This is a subsubsubsubsubvariation.
106 LatexName lyxvariation[6]
107 LabelString "Subvariation(5):"
108 LeftMargin MMMMMMMMMMMMMMMMMMMMMMMM
112 # Same as mainline, but it does not print the moves (only updates the
117 LeftMargin "HideMoves:M"
119 LabelString "HideMoves:"
123 # This simply prints a block left chessboard.
128 LabelString "[chessboard]"
136 # This prints a centered chessboard.
140 LatexName [\showboard\]
141 LeftMargin MMMMMMMMMMMMMM
142 LabelString "[centered board]"
150 # This should be a list of comma-separated chessboard squares.
151 # Should be placed after a ChessBoard or BoardCentered.
155 LatexName lyxhighlight
157 LabelString "Highlights:"
170 # This should be a list of two squares with an ascii arrow (a1->c3)
171 # Should be placed after a ChessBoard or BoardCentered.
175 LatexName lyxprintarrow
181 # This should be a list of two chessboard squares (again, like g1->e2)
182 # Should be placed after a ChessBoard or BoardCentered.
186 LatexName lyxknightmove
188 LabelString "KnightMove:"