]> git.lyx.org Git - lyx.git/blobdiff - lib/layouts/stdsections.inc
Was forgetting this.
[lyx.git] / lib / layouts / stdsections.inc
index 165ebbed454440c4abd16f442a83927724da7d1e..eddf34786df53510c127c17e2784ddf94d8a39f1 100644 (file)
@@ -1,15 +1,20 @@
 # Standard textclass definition file. Taken from initial LyX source code
 # Author : Matthias Ettrich <ettrich@informatik.uni-tuebingen.de>
-# Transposed by Pascal André <andre@via.ecp.fr>
+# Transposed by Pascal André <andre@via.ecp.fr>
 # Heavily modifed and enhanced by several developers.
 
 # This include files contains all numbered sectionning-related
 # commands that are useful for article-like document classes, but not
 # for letters.
 
-Format 4
+Format 8
 Style Part
+       Category              Section
        Margin                Dynamic
+       LabelString               "Part \thepart"
+       LabelType                   Counter
+       TocLevel              0
+       LabelCounter            part
        LatexType             Command
        LatexName             part
        NeedProtect           1
@@ -30,6 +35,12 @@ End
 
 Style Chapter
        Margin                Static
+       Category              Section
+       LabelString               "Chapter \thechapter"
+       LabelStringAppendix   "Appendix \thechapter"
+       LabelType                   Counter
+       LabelCounter            chapter
+       TocLevel              0
        LatexType             Command
        LatexName             chapter
        NeedProtect           1
@@ -39,7 +50,6 @@ Style Chapter
        BottomSep             0.8
        ParSep                0.8
        Align                 Block
-       AlignPossible         Block, Left
        OptionalArgs          1
        Font
          Series              Bold
@@ -49,7 +59,11 @@ End
 
 
 Style Section
+       Category              Section
        Margin                Dynamic
+       LabelType                   Counter
+       LabelCounter            section
+       TocLevel              1
        LatexType             Command
        LatexName             section
        NeedProtect           1
@@ -60,7 +74,6 @@ Style Section
        BottomSep             0.7
        ParSep                0.7
        Align                 Block
-       AlignPossible         Block, Left
        OptionalArgs          1
        Font
          Series              Bold
@@ -71,6 +84,8 @@ End
 
 Style Subsection
        CopyStyle             Section
+       LabelCounter            subsection
+       TocLevel              2
        LatexName             subsection
        TopSep                0.9
        BottomSep             0.5
@@ -84,6 +99,8 @@ End
 
 Style Subsubsection
        CopyStyle             Subsection
+       LabelCounter            subsubsection
+       TocLevel              3
        LatexName             subsubsection
        TopSep                0.7
        BottomSep             0.4
@@ -96,6 +113,8 @@ End
 
 Style Paragraph
        CopyStyle             Subsubsection
+       LabelCounter            paragraph
+       TocLevel              4
        LatexName             paragraph
        TopSep                0.4
        BottomSep             0
@@ -104,6 +123,8 @@ End
 
 Style Subparagraph
        CopyStyle             Paragraph
+       LabelCounter            subparagraph
+       TocLevel              5
        LatexName             subparagraph
        NextNoIndent          0
        LeftMargin            MM