]> git.lyx.org Git - lyx.git/blobdiff - lib/layouts/stdsections.inc
More tweaks, and some fixes for missing files in the makefiles, while we're at it.
[lyx.git] / lib / layouts / stdsections.inc
index 165ebbed454440c4abd16f442a83927724da7d1e..c42dc09ca685ca5461dbe0f3851639b36a3a6c4b 100644 (file)
@@ -1,15 +1,19 @@
 # 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 6
 Style Part
        Margin                Dynamic
+       LabelString           "Part \thepart"
+       LabelType             Counter
+       TocLevel              0
+       LabelCounter          part
        LatexType             Command
        LatexName             part
        NeedProtect           1
@@ -30,6 +34,11 @@ End
 
 Style Chapter
        Margin                Static
+       LabelString           "Chapter \thechapter"
+       LabelStringAppendix   "Appendix \thechapter"
+       LabelType             Counter
+       LabelCounter          chapter
+       TocLevel              0
        LatexType             Command
        LatexName             chapter
        NeedProtect           1
@@ -39,7 +48,6 @@ Style Chapter
        BottomSep             0.8
        ParSep                0.8
        Align                 Block
-       AlignPossible         Block, Left
        OptionalArgs          1
        Font
          Series              Bold
@@ -50,6 +58,9 @@ End
 
 Style Section
        Margin                Dynamic
+       LabelType             Counter
+       LabelCounter          section
+       TocLevel              1
        LatexType             Command
        LatexName             section
        NeedProtect           1
@@ -60,7 +71,6 @@ Style Section
        BottomSep             0.7
        ParSep                0.7
        Align                 Block
-       AlignPossible         Block, Left
        OptionalArgs          1
        Font
          Series              Bold
@@ -71,6 +81,8 @@ End
 
 Style Subsection
        CopyStyle             Section
+       LabelCounter          subsection
+       TocLevel              2
        LatexName             subsection
        TopSep                0.9
        BottomSep             0.5
@@ -84,6 +96,8 @@ End
 
 Style Subsubsection
        CopyStyle             Subsection
+       LabelCounter          subsubsection
+       TocLevel              3
        LatexName             subsubsection
        TopSep                0.7
        BottomSep             0.4
@@ -96,6 +110,8 @@ End
 
 Style Paragraph
        CopyStyle             Subsubsection
+       LabelCounter          paragraph
+       TocLevel              4
        LatexName             paragraph
        TopSep                0.4
        BottomSep             0
@@ -104,6 +120,8 @@ End
 
 Style Subparagraph
        CopyStyle             Paragraph
+       LabelCounter          subparagraph
+       TocLevel              5
        LatexName             subparagraph
        NextNoIndent          0
        LeftMargin            MM