]> git.lyx.org Git - lyx.git/blobdiff - lib/layouts/stdsections.inc
Was forgetting this.
[lyx.git] / lib / layouts / stdsections.inc
index f000c22a3bb0bdf67c6378596a9d5eed3cd67c06..eddf34786df53510c127c17e2784ddf94d8a39f1 100644 (file)
@@ -1,14 +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 8
 Style Part
+       Category              Section
        Margin                Dynamic
+       LabelString               "Part \thepart"
+       LabelType                   Counter
+       TocLevel              0
+       LabelCounter            part
        LatexType             Command
        LatexName             part
        NeedProtect           1
@@ -18,17 +24,23 @@ Style Part
        TopSep                4
        BottomSep             4
        ParSep                0.8
-       Align                 Center         
+       Align                 Center
        Alignpossible         Center
-       Font 
+       Font
          Series              Bold
          Size                Huge
        EndFont
 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
@@ -38,9 +50,8 @@ Style Chapter
        BottomSep             0.8
        ParSep                0.8
        Align                 Block
-       AlignPossible         Block, Left
        OptionalArgs          1
-       Font 
+       Font
          Series              Bold
          Size                Huge
        EndFont
@@ -48,7 +59,11 @@ End
 
 
 Style Section
+       Category              Section
        Margin                Dynamic
+       LabelType                   Counter
+       LabelCounter            section
+       TocLevel              1
        LatexType             Command
        LatexName             section
        NeedProtect           1
@@ -59,9 +74,8 @@ Style Section
        BottomSep             0.7
        ParSep                0.7
        Align                 Block
-       AlignPossible         Block, Left
        OptionalArgs          1
-       Font 
+       Font
          Series              Bold
          Size                Larger
        EndFont
@@ -70,11 +84,13 @@ End
 
 Style Subsection
        CopyStyle             Section
+       LabelCounter            subsection
+       TocLevel              2
        LatexName             subsection
        TopSep                0.9
        BottomSep             0.5
        ParSep                0.5
-       Font 
+       Font
          Series              Bold
          Size                Large
        EndFont
@@ -83,10 +99,12 @@ End
 
 Style Subsubsection
        CopyStyle             Subsection
+       LabelCounter            subsubsection
+       TocLevel              3
        LatexName             subsubsection
        TopSep                0.7
        BottomSep             0.4
-       Font 
+       Font
          Series              Bold
          Size                Normal
        EndFont
@@ -95,6 +113,8 @@ End
 
 Style Paragraph
        CopyStyle             Subsubsection
+       LabelCounter            paragraph
+       TocLevel              4
        LatexName             paragraph
        TopSep                0.4
        BottomSep             0
@@ -103,7 +123,11 @@ End
 
 Style Subparagraph
        CopyStyle             Paragraph
+       LabelCounter            subparagraph
+       TocLevel              5
        LatexName             subparagraph
        NextNoIndent          0
        LeftMargin            MM
 End
+
+Input numarticle.inc