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 # Copyright (C) 2001 - The LyX team.
12 # Remaining minor problem:
14 # Sometimes there is too much space under a \showboard, especially
15 # if you use some of the ornamentation commands (\printknightmove,
16 # \highlight or \printarrow). For now, a workaround for the problem
17 # is to insert (using ERT) a \vspace* command (for example,
22 \usepackage[ps,mover]{lyxskak}
31 # To be filled in later. This makes Standard first on the list of layouts.
34 # This is the main line of the chess game. Use PGN notation here.
35 # Also, this layout can be continued with Control-Enter without
36 # starting a new paragraph.
44 LabelString "Mainline: "
60 # This is a variation. It shows up in the normal fashion (styleB).
61 # You are free to redefine it by making a new \variationstyle
62 # as talked about in the skak documentation.
67 LatexName lyxvariation[1]
68 LabelString "Variation: "
72 # This is a subvariation.
76 LatexName lyxvariation[2]
77 LabelString "Subvariation: "
78 LeftMargin MMMMMMMMMMM
81 # This is a subsubvariation.
85 LatexName lyxvariation[3]
86 LabelString "Subvariation(2): "
87 LeftMargin MMMMMMMMMMMMMM
90 # This is a subsubsubvariation.
94 LatexName lyxvariation[4]
95 LabelString "Subvariation(3): "
96 LeftMargin MMMMMMMMMMMMMMMMM
99 # This is a subsubsubsubvariation.
103 LatexName lyxvariation[5]
104 LabelString "Subvariation(4): "
105 LeftMargin MMMMMMMMMMMMMMMMMMMM
108 # This is a subsubsubsubsubvariation.
112 LatexName lyxvariation[6]
113 LabelString "Subvariation(5): "
114 LeftMargin MMMMMMMMMMMMMMMMMMMMMMM
117 # Same as mainline, but it does not print the moves (only updates the
123 LabelString "HideMoves: "
126 # This simply prints a block left chessboard.
132 LabelString "[chessboard]"
139 # This prints a centered chessboard.
144 LatexName [\showboard\]
145 LeftMargin MMMMMMMMMMMMM
146 LabelString "[centered board]"
153 # This should be a list of comma-separated chessboard squares.
154 # Should be placed after a ChessBoard or BoardCentered.
159 LatexName lyxhighlight
161 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.
179 LatexName lyxprintarrow
181 LabelString "Arrow: "
184 # This should be a list of two chessboard squares (again, like g1->e2)
185 # Should be placed after a ChessBoard or BoardCentered.
190 LatexName lyxknightmove
192 LabelString "KnightMove: "