]> git.lyx.org Git - lyx.git/blobdiff - lib/layouts/stdsections.inc
Allow literate documents other than noweb to work out of the box. Currently
[lyx.git] / lib / layouts / stdsections.inc
index f47bee60e25f44b2f85d057becdb4eb24064c0b9..ad70dcfc80f9668fac69d614bb913d466ec07d24 100644 (file)
@@ -7,9 +7,14 @@
 # commands that are useful for article-like document classes, but not
 # for letters.
 
-Format 4
+Format 11
 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