]> git.lyx.org Git - lyx.git/blobdiff - lib/layouts/svmult.layout
Add frontispiece layout to KOMA classes
[lyx.git] / lib / layouts / svmult.layout
index 5bad41f7f33fd16eaf49c25cdfa3eed5c94e1106..67a9b80fe5829ff468ac8a37e517b076694958b2 100644 (file)
@@ -1,5 +1,5 @@
 #% Do not delete the line below; configure depends on this
-#  \DeclareLaTeXClass[svmult,natbib.sty]{Springer SV Mult}
+#  \DeclareLaTeXClass[svmult,natbib.sty]{Springer Contributed Books (svmult)}
 #  \DeclareCategory{Books}
 #  Author: Koji Yokota <yokota@res.otaru-uc.ac.jp>
 #          adapted: Marcus Kriele <mkriele@mac.com> and Uwe Stöhr (April 2011)
@@ -8,10 +8,13 @@
 #  Class and style files and templates are found at:
 #       http://wiki.lyx.org/Examples/Springer
 #
-Format 42
+Format 90
 
 Input svcommon.inc
 
+# Even though this layout can also be used for articles...
+DocBookRoot                    book
+
 ClassOptions
        FontSize        ""
 End
@@ -34,14 +37,16 @@ NoStyle Acknowledgements
 Style Title*
        CopyStyle       Title
        LatexName       title*
-       LabelString     "Title*: "
+       LabelString     "Title*:"
        LabelSep        "xxx"
        LabelType       Static
        Margin          First_Dynamic
        HTMLTitle       true
        LabelFont
-         Color         Blue
+         Color         textlabel1
        EndFont
+       # DocBook: should be a separator for articles, but it's not supposed to be in TOC. 
+       # If it was, it would be easy to use DocBookSection.
 End
 
 Style Title
@@ -67,6 +72,10 @@ Style Contributors
        CopyStyle       Foreword
        LabelString     "List of Contributors"
        LatexName       contributors
+       DocBookTag             title
+       DocBookTagType         paragraph
+       DocBookSection         true
+       DocBookSectionTag      preface
 End
 
 Style Contributor_List
@@ -74,6 +83,7 @@ Style Contributor_List
        LatexName       thecontriblist
        TopSep          0.7
        BottomSep       0.4
+       DocBookTag  para
 End
 
 Style Author
@@ -89,7 +99,7 @@ Style Author
        EndFont
        LabelFont
          Family        Typewriter
-         Color         Blue
+         Color         textlabel1
        EndFont
 End