]> git.lyx.org Git - lyx.git/blob - lib/layouts/chessboard.module
Update layout versions
[lyx.git] / lib / layouts / chessboard.module
1 #\DeclareLyXModule[chessboard.sty,chessfss.sty,xskak.sty]{Chessboard}
2 #DescriptionBegin
3 #Support for the chessboard package to print chess games
4 #See chessboard-article.lyx example file.
5 #DescriptionEnd
6 # Author: Kornel Benko <kornel@lyx.org>
7 #         Jürgen Spitzmüller <spitz@lyx.org>
8
9 Format 71
10
11 #
12 # XSkak basics
13 #
14
15 Style NewChessGame
16         LatexType               command
17         LatexName               newchessgame
18         Margin                  Dynamic
19         LabelType               Static
20         LabelSep                XX
21         LabelString             "[Start New Chess Game]"
22         LabelFont
23                 Family         typewriter
24                 Series         Medium
25                 Size           Normal
26                 Color          red
27         EndFont
28         KeepEmpty               1
29         Argument 1
30                 LabelString     "Options"
31                 MenuString      "Chessgame Options"
32                 ToolTip         "See xskak manual for a comprehensive list of keys and values"
33                 PassThru        1
34                 Font
35                         Color   latex
36                         Family  typewriter
37                 EndFont
38         EndArgument
39         Requires                xskak
40 End
41
42
43 InsetLayout Flex:Mainline
44         LyXType                 custom
45         LatexType               command
46         LatexName               mainline
47         Decoration              classic
48         LabelString             "Mainline:"
49         PassThru                1
50         ParbreakIsNewline       1
51         LabelFont
52                 Color           blue
53         EndFont
54         Font
55                 Color           blue
56         EndFont
57         Argument 1
58                 LabelString     "Options"
59                 MenuString      "Mainline Options"
60                 ToolTip         "See xskak manual for possible options"
61                 Font
62                         Color   latex
63                         Family  typewriter
64                 EndFont
65         EndArgument
66         Argument post:1
67                 LabelString     "Comment"
68                 MenuString      "Comment"
69                 LeftDelim       "<br/>"
70                 RightDelim      "%"
71                 Font
72                         Color   green
73                 EndFont
74         EndArgument
75         Requires                xskak
76 End
77
78 InsetLayout Flex:Variation
79         CopyStyle               Flex:Mainline
80         LatexName               variation
81         LabelString             Variation
82 End
83
84
85 #
86 # Chessboard additions
87 #
88
89 InsetLayout Flex:SetChessBoard
90         LyxType                 custom
91         Decoration              classic
92         LatexType               command
93         LatexName               setchessboard
94         LabelString             "Global Chessboard Settings"
95         Font
96                 Color           latex
97                 Family          typewriter
98         EndFont
99         LabelFont
100                 Color           blue
101         EndFont
102         Requires                chessboard
103 End
104
105
106 InsetLayout Flex:SetBoardStoreStyle
107         CopyStyle               Flex:SetChessBoard
108         LabelString             "Set Chessboard Style"
109         Argument 1
110                 Mandatory       true
111                 LabelString     "Style Name"
112                 MenuString      "Chessboard Style Name"
113                 ToolTip         "Here you can store chessboard settings under a style name for later reuse. See chessboard manual for details."
114                 AutoInsert      true
115                 Decoration      conglomerate
116         EndArgument
117 End
118
119
120 InsetLayout Flex:ChessBoard
121         LyxType                 custom
122         Decoration              classic
123         LatexType               command
124         LatexType               command
125         LatexName               chessboard
126         LabelString             "Chessboard"
127         Argument 1
128                 LabelString     "Options"
129                 MenuString      "Chessboard Options"
130                 ToolTip         "See chessboard manual for a comprehensive list of keys and values"
131                 PassThru        1
132                 Font
133                         Color   latex
134                         Family  typewriter
135                 EndFont
136         EndArgument
137         Requires                chessboard
138 End
139