]> git.lyx.org Git - lyx.git/blobdiff - lib/layouts/kluwer.layout
layout files: add the new AllowedPlacement
[lyx.git] / lib / layouts / kluwer.layout
index 6f8e5dfea5f097593535bd9eb69bbdb395e3140d..2955ab3ac8408e5b2c1f09b713d1ee6ab59b2159 100644 (file)
@@ -1,5 +1,6 @@
 #% Do not delete the line below; configure depends on this
-#  \DeclareLaTeXClass[kluwer]{article (Kluwer)}
+#  \DeclareLaTeXClass[kluwer]{Kluwer}
+#  \DeclareCategory{Articles}
 # Textclass definition file for kluwer.cls
 # For Kluwer Academic publications:
 # Astrophysics & Space Science, Solar Physics, etc.
@@ -14,7 +15,7 @@
 # 2003-03-03  Updated for lyx 1.3.0.
 
 
-Format 5
+Format 54
 Columns                 1
 Sides                   2
 SecNumDepth             4
@@ -31,6 +32,7 @@ EndFont
 
 
 Style Standard
+       Category              MainText
        Margin                Static
        LatexType             Paragraph
        LatexName             dummy
@@ -42,25 +44,27 @@ Style Standard
 End
 
 
+Input stdcounters.inc
+Input stdfloats.inc
 Input stdinsets.inc
 Input stdsections.inc
 Input stdstruct.inc
 Input stdlists.inc
-Input stdfloats.inc
-Input stdcounters.inc
 Input stdlayouts.inc
 
 NoStyle Chapter
+NoCounter chapter
 NoStyle Part
+NoCounter part
 NoStyle Verse
 
 
 Style Section
        Align                 Center
-       AlignPossible         Center
        Font
          Size                Large
        EndFont
+       TocLevel 1
 End
 
 
@@ -70,6 +74,7 @@ Style Subsection
          Size                Normal
          Shape               SmallCaps
        EndFont
+       TocLevel 2
 End
 
 
@@ -79,6 +84,7 @@ Style Subsubsection
          Size                Normal
          Shape               Italic
        EndFont
+       TocLevel 3
 End
 
 
@@ -88,6 +94,7 @@ Style Paragraph
          Size                Normal
          Shape               Italic
        EndFont
+       TocLevel 4
 End
 
 
@@ -99,10 +106,12 @@ Style Subparagraph
          Size                Normal
          Shape               Italic
        EndFont
+       TocLevel 5
 End
 
 
 Style Title
+       Category              FrontMatter
        Margin                Static
        LatexType             Command
        LatexName             title
@@ -112,11 +121,11 @@ Style Title
        BottomSep             0
        ParSep                1
        Align                 Left
-       AlignPossible         Left
        LabelType             No_Label
        Font
          Size                Largest
        EndFont
+       HTMLTitle             true
 End
 
 
@@ -131,7 +140,6 @@ Style Subtitle
        BottomSep             1.3
        ParSep                1
        Align                 Left
-       AlignPossible         Left
        LabelType             No_Label
        Font
          Family              Roman
@@ -150,7 +158,6 @@ Style Date
        BottomSep             0.5
        ParSep                1
        Align                 Left
-       AlignPossible         Left
        LabelType             No_Label
        Font
          Size                Large
@@ -159,6 +166,7 @@ End
 
 
 Style Author
+       Category              FrontMatter
        Margin                Static
        LatexType             Command
        LatexName             author
@@ -167,7 +175,6 @@ Style Author
        BottomSep             0
        ParSep                0
        Align                 Left
-       AlignPossible         Left
        LabelType             No_Label
        Font
          Size                Normal
@@ -198,7 +205,6 @@ Style AddressForOffprints
        NextNoIndent          1
        Margin                First_Dynamic
        Align                 Block
-       AlignPossible         Block
        TopSep                1
        LabelType             Static
        LabelString           "Address for Offprints:"
@@ -217,7 +223,6 @@ Style RunningTitle
        NextNoIndent          1
        Margin                Dynamic
        Align                 Left
-       AlignPossible         Left
        TopSep                1
        LabelType             Static
        LabelString           "Running title:"
@@ -240,7 +245,6 @@ Style RunningAuthor
        LatexName             runningauthor
        NextNoIndent          1
        Align                 Left
-       AlignPossible         Left
        LabelType             Static
        LabelString           "Running author:"
        LabelSep              M
@@ -267,7 +271,6 @@ Style Abstract
        BottomSep             1
        ParSep                0
        Align                 Block
-       AlignPossible         Block
        LabelType             Static
        LabelString           "Abstract."
        LabelSep              M
@@ -286,7 +289,6 @@ Style Keywords
        LatexName             keywords
        NextNoIndent          1
        Align                 Left
-       AlignPossible         Left
        LabelType             Static
        LabelString           "Keywords:"
        LabelSep              M
@@ -301,6 +303,7 @@ End
 
 
 Style Acknowledgements
+       Category              BackMatter
        Margin                Static
        LatexType             Environment
        LatexName             acknowledgements
@@ -310,8 +313,7 @@ Style Acknowledgements
        BottomSep             1
        ParSep                0
        Align                 Block
-       AlignPossible         Block
-       LabelType             Centered_Top_Environment
+       LabelType             Centered
        LabelString           "Acknowledgements"
        LabelBottomSep        0.5
        LabelFont
@@ -333,7 +335,7 @@ Style Appendix
        ParSep                1
 #  Align                 Block
 #  AlignPossible         Block, Left, Right, Center
-       LabelType             Centered_Top_Environment
+       LabelType             Centered
        LabelString           "Appendix"
        Font
          Series              Bold
@@ -347,6 +349,7 @@ Style References
        LatexType             Bib_Environment
        LatexName             thebibliography
        NextNoIndent          1
+       ToggleIndent          Never
        LeftMargin            MM
        ParSkip               0.4
        ItemSep               0