]> git.lyx.org Git - lyx.git/blobdiff - lib/layouts/kluwer.layout
Fix bug #10273
[lyx.git] / lib / layouts / kluwer.layout
index 3ab749cc22357a7ecc1ec3ea8f55673328b5fde9..af13751e7e5d031b96db97bf584cb9e65e186137 100644 (file)
@@ -1,25 +1,27 @@
 #% 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.
-# 
+#
 # Panayotis "PAP" Papasotiriou <papasot@physics.upatras.gr>
 # (based on the first version kindly offered by
-# Peter "Pit" Sütterlin <P.Suetterlin@astro.uu.nl>)
+# Peter "Pit" Sütterlin <P.Suetterlin@astro.uu.nl>)
 #
 # 2001-06-15  First version from scratch (due to "Pit").
 # 2001-09-09  Enhanced version (due to "PAP").
 #             Need of ERT is considerably minimized.
 # 2003-03-03  Updated for lyx 1.3.0.
 
-# General textclass parameters
+
+Format 60
 Columns                 1
 Sides                   2
-MaxCounter              Counter_Section
 SecNumDepth             4
 PageStyle               Plain
 
+
 DefaultFont
        Family                Roman
        Series                Medium
@@ -28,11 +30,9 @@ DefaultFont
        Color                 None
 EndFont
 
-Preamble
-EndPreamble
 
-# Standard style definition
 Style Standard
+       Category              MainText
        Margin                Static
        LatexType             Paragraph
        LatexName             dummy
@@ -43,66 +43,75 @@ Style Standard
        LabelType             No_Label
 End
 
+
+Input stdcounters.inc
+Input stdfloats.inc
+Input stdinsets.inc
 Input stdsections.inc
-NoStyle Chapter
-NoStyle Part
 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
+
 
-# Section style definition
 Style Section
        Align                 Center
-       AlignPossible         Center
-       Font 
+       Font
          Size                Large
        EndFont
+       TocLevel 1
 End
 
-# Subsection style definition
+
 Style Subsection
-       Font 
+       Font
          Series              Medium
          Size                Normal
          Shape               SmallCaps
        EndFont
+       TocLevel 2
 End
 
-# Subsubection style definition
+
 Style Subsubsection
-       Font 
+       Font
          Series              Medium
          Size                Normal
          Shape               Italic
        EndFont
+       TocLevel 3
 End
 
-# Paragraph style definition
+
 Style Paragraph
-       Font 
+       Font
          Series              Medium
          Size                Normal
          Shape               Italic
        EndFont
+       TocLevel 4
 End
 
-# Subparagraph style definition
+
 Style Subparagraph
        LeftMargin            ""
        NextNoIndent          1
-       Font 
+       Font
          Series              Medium
          Size                Normal
          Shape               Italic
        EndFont
+       TocLevel 5
 End
 
-Input stdlayouts.inc
-NoStyle Verse
 
-# Title style definition
 Style Title
+       Category              FrontMatter
        Margin                Static
        LatexType             Command
        LatexName             title
@@ -112,14 +121,14 @@ Style Title
        BottomSep             0
        ParSep                1
        Align                 Left
-       AlignPossible         Left
        LabelType             No_Label
-       Font 
+       Font
          Size                Largest
        EndFont
+       HTMLTitle             true
 End
 
-# Subtitle style definition
+
 Style Subtitle
        Margin                Static
        LatexType             Command
@@ -131,16 +140,15 @@ Style Subtitle
        BottomSep             1.3
        ParSep                1
        Align                 Left
-       AlignPossible         Left
        LabelType             No_Label
-       Font 
+       Font
          Family              Roman
          Size                Larger
          Shape               Italic
        EndFont
 End
 
-# Date style definition
+
 Style Date
        Margin                Dynamic
        LatexType             Command
@@ -150,15 +158,15 @@ Style Date
        BottomSep             0.5
        ParSep                1
        Align                 Left
-       AlignPossible         Left
        LabelType             No_Label
-       Font 
+       Font
          Size                Large
        EndFont
 End
 
-# Author style definition
+
 Style Author
+       Category              FrontMatter
        Margin                Static
        LatexType             Command
        LatexName             author
@@ -167,15 +175,14 @@ Style Author
        BottomSep             0
        ParSep                0
        Align                 Left
-       AlignPossible         Left
        LabelType             No_Label
-       Font 
+       Font
          Size                Normal
          Series              Bold
        EndFont
 End
 
-# Address style definition
+
 Style Address
        Margin                Static
        LatexType             Command
@@ -185,78 +192,75 @@ Style Address
        BottomSep             0
        Align                 Left
        LabelType             No_Label
-       Font 
+       Font
          Size                normal
          Shape               Italic
        EndFont
 End
 
-# AddressForOffprints style definition
+
 Style AddressForOffprints
        LatexType             Environment
        LatexName             ao
        NextNoIndent          1
        Margin                First_Dynamic
        Align                 Block
-       AlignPossible         Block
        TopSep                1
        LabelType             Static
        LabelString           "Address for Offprints:"
        LabelSep              M
-       LabelFont 
+       LabelFont
          Size                Small
          Shape               Italic
          Color               Red
        EndFont
 End
 
-# RunningTitle style definition
+
 Style RunningTitle
        LatexType             Command
        LatexName             runningtitle
        NextNoIndent          1
        Margin                Dynamic
        Align                 Left
-       AlignPossible         Left
        TopSep                1
        LabelType             Static
        LabelString           "Running title:"
        LabelSep              M
-       Font 
+       Font
          Size                Small
          Series              Bold
        EndFont
-       LabelFont 
+       LabelFont
          Series              Medium
          Shape               Italic
          Color               Red
        EndFont
-End 
+End
+
 
-# RunningAuthor style definition
 Style RunningAuthor
        Margin                Dynamic
        LatexType             Command
        LatexName             runningauthor
        NextNoIndent          1
        Align                 Left
-       AlignPossible         Left
        LabelType             Static
        LabelString           "Running author:"
        LabelSep              M
-       Font 
+       Font
          Size                Small
          Series              Bold
        EndFont
-       LabelFont 
+       LabelFont
          Series              Medium
          Shape               Italic
          Color               Red
        EndFont
-End 
+End
+
 
-# Abstract style definition
-Style Abstract 
+Style Abstract
        Margin                First_Dynamic
        LatexType             Environment
        LatexName             abstract
@@ -267,40 +271,39 @@ Style Abstract
        BottomSep             1
        ParSep                0
        Align                 Block
-       AlignPossible         Block
        LabelType             Static
-       LabelString           Abstract.
+       LabelString           "Abstract."
        LabelSep              M
-       Font 
+       Font
          Size                Small
        EndFont
-       LabelFont 
+       LabelFont
          Series              Bold
        EndFont
-End 
+End
+
 
-# Keywords style definition
 Style Keywords
        Margin                First_Dynamic
        LatexType             Command
        LatexName             keywords
        NextNoIndent          1
        Align                 Left
-       AlignPossible         Left
        LabelType             Static
        LabelString           "Keywords:"
        LabelSep              M
-       Font 
+       Font
          Size                Small
        EndFont
-       LabelFont 
+       LabelFont
          Series              Bold
          Size                Small
        EndFont
-End 
+End
+
 
-# Acknowledgements style definition
 Style Acknowledgements
+       Category              BackMatter
        Margin                Static
        LatexType             Environment
        LatexName             acknowledgements
@@ -310,17 +313,16 @@ Style Acknowledgements
        BottomSep             1
        ParSep                0
        Align                 Block
-       AlignPossible         Block
-       LabelType             Centered_Top_Environment
-       LabelString           Acknowledgements
+       LabelType             Centered
+       LabelString           "Acknowledgements"
        LabelBottomSep        0.5
-       LabelFont 
+       LabelFont
          Series              Bold
          Size                Large
        EndFont
 End
 
-# Appendix style definition
+
 Style Appendix
        Margin                Static
        LatexType             Command
@@ -333,20 +335,21 @@ Style Appendix
        ParSep                1
 #  Align                 Block
 #  AlignPossible         Block, Left, Right, Center
-       LabelType             Centered_Top_Environment
-       LabelString           Appendix
-       Font 
+       LabelType             Centered
+       LabelString           "Appendix"
+       Font
          Series              Bold
          Size                Large
        EndFont
 End
 
-# References style definition
+
 Style References
-       Margin                First_Dynamic   
-       LatexType             Item_Environment        
+       Margin                First_Dynamic
+       LatexType             Bib_Environment
        LatexName             thebibliography
        NextNoIndent          1
+       ToggleIndent          Never
        LeftMargin            MM
        ParSkip               0.4
        ItemSep               0
@@ -354,11 +357,11 @@ Style References
        BottomSep             0.7
        ParSep                0.5
        LabelType             Bibliography
-       LabelString           References
+       LabelString           "References"
        LabelBottomSep        0.7
        Align                 Block
        AlignPossible         Block, Left, Right, Center
-       LabelFont 
+       LabelFont
          Family              Roman
          Size                Normal
          Series              Bold