]> git.lyx.org Git - lyx.git/blobdiff - lib/layouts/chess.layout
layouts, templates, examples: port my latest changes to trunk
[lyx.git] / lib / layouts / chess.layout
index 851b9ad8dec0b27db5c4672d3bc0477c038c296d..7ec48756b6d5f14fcfc62153e918ca243af4f5e7 100644 (file)
@@ -1,5 +1,5 @@
 #% Do not delete the line below; configure depends on this
-#  \DeclareLaTeXClass[article,lyxskak.sty]{article (Chess)}
+#  \DeclareLaTeXClass[article,calc.sty,lambda.sty,lyxskak.sty,pst-node.sty]{article (Chess)}
 # chess article textclass definition file.
 
 # This layout file was designed to allow easy access to all
 # \vspace*{-0.5in})
 #
 
+Format 35
+
+Requires       chess
+
 Preamble
-       \usepackage[ps,mover]{lyxskak}
        %%% initialize board
        \newgame
 EndPreamble
@@ -33,11 +36,13 @@ Style Mainline
        LatexType             Command
        LatexName             mainline
        Margin                Static
-       LeftMargin            MMMMMM
+       LeftMargin            MMMMMMM
        Labeltype             Static
-       LabelString           "Mainline: "
+       LabelSep              M
+       LabelString           "Mainline:"
        Newline               0
        PassThru              1
+       ParbreakIsNewline     1
        TopSep                0.0
        ParSep                0.0
        LabelFont
@@ -57,8 +62,8 @@ Style Variation
        CopyStyle             Mainline
        LatexType             Command
        LatexName             lyxvariation[1]
-       LabelString           "Variation: "
-       LeftMargin            MMMMMMMM
+       LabelString           "Variation:"
+       LeftMargin            MMMMMMMMM
 End
 
 
@@ -66,8 +71,8 @@ End
 Style SubVariation
        CopyStyle             Variation
        LatexName             lyxvariation[2]
-       LabelString           "Subvariation: "
-       LeftMargin            MMMMMMMMMMM
+       LabelString           "Subvariation:"
+       LeftMargin            MMMMMMMMMMMM
 End
 
 
@@ -75,17 +80,17 @@ End
 Style SubVariation2
        CopyStyle             Variation
        LatexName             lyxvariation[3]
-       LabelString           "Subvariation(2): "
-       LeftMargin            MMMMMMMMMMMMMM
+       LabelString           "Subvariation(2):"
+       LeftMargin            MMMMMMMMMMMMMMM
 End
 
 
 # This is a subsubsubvariation.
-Style                   SubVariation3
+Style SubVariation3
        CopyStyle             Variation
        LatexName             lyxvariation[4]
-       LabelString           "Subvariation(3): "
-       LeftMargin            MMMMMMMMMMMMMMMMM
+       LabelString           "Subvariation(3):"
+       LeftMargin            MMMMMMMMMMMMMMMMMM
 End
 
 
@@ -93,8 +98,8 @@ End
 Style SubVariation4
        CopyStyle             Variation
        LatexName             lyxvariation[5]
-       LabelString           "Subvariation(4): "
-       LeftMargin            MMMMMMMMMMMMMMMMMMMM
+       LabelString           "Subvariation(4):"
+       LeftMargin            MMMMMMMMMMMMMMMMMMMMM
 End
 
 
@@ -102,8 +107,8 @@ End
 Style SubVariation5
        CopyStyle             Variation
        LatexName             lyxvariation[6]
-       LabelString           "Subvariation(5): "
-       LeftMargin            MMMMMMMMMMMMMMMMMMMMMMM
+       LabelString           "Subvariation(5):"
+       LeftMargin            MMMMMMMMMMMMMMMMMMMMMMMM
 End
 
 
@@ -112,7 +117,9 @@ End
 Style HideMoves
        CopyStyle             Mainline
        LatexName             hidemoves
-       LabelString           "HideMoves: "
+       LeftMargin            "HideMoves:M"
+       LabelSep              M
+       LabelString           "HideMoves:"
 End
 
 
@@ -134,7 +141,7 @@ Style BoardCentered
        CopyStyle              Mainline
        LatexType              Command
        LatexName              [\showboard\]
-       LeftMargin             MMMMMMMMMMMMM
+       LeftMargin             MMMMMMMMMMMMMM
        LabelString            "[centered board]"
        KeepEmpty              1
        LabelFont
@@ -149,8 +156,8 @@ Style HighLight
        CopyStyle             Mainline
        LatexType             Command
        LatexName             lyxhighlight
-       LeftMargin            MMMMMMM
-       LabelString           "Highlights: "
+       LeftMargin            MMMMMMMM
+       LabelString           "Highlights:"
        LabelFont
          Color               black
          Series              Bold
@@ -169,8 +176,8 @@ Style Arrow
        CopyStyle             HighLight
        LatexType             Command
        LatexName             lyxprintarrow
-       LeftMargin            MMMMMMM
-       LabelString           "Arrow: "
+       LeftMargin            MMMMMMMM
+       LabelString           "Arrow:"
 End
 
 
@@ -180,8 +187,8 @@ Style KnightMove
        CopyStyle             Arrow
        LatexType             Command
        LatexName             lyxknightmove
-       LeftMargin            MMMMMMM
-       LabelString           "KnightMove: "
+       LeftMargin            MMMMMMMM
+       LabelString           "KnightMove:"
 End
 
 Input article.layout