]> git.lyx.org Git - lyx.git/blobdiff - lib/layouts/stdsections.inc
Fix #7495 by adding layouts for ctex document classes and
[lyx.git] / lib / layouts / stdsections.inc
index 646ad0aca1985665b0f219cdafb1d76bba672e54..6cbc3fa5e8787e797a3547893d1132ee5a6afbfb 100644 (file)
@@ -7,15 +7,15 @@
 # commands that are useful for article-like document classes, but not
 # for letters.
 
-Format 22
+Format 35
 
 Style Part
        Category              Section
        Margin                Dynamic
-       LabelString               "Part \thepart"
-       LabelType                   Counter
+       LabelString           "Part \thepart"
+       LabelType             Counter
        TocLevel              0
-       LabelCounter            part
+       LabelCounter          part
        LatexType             Command
        LatexName             part
        NeedProtect           1
@@ -27,6 +27,7 @@ Style Part
        ParSep                0.8
        Align                 Center
        Alignpossible         Center
+       OptionalArgs          1
        Font
          Series              Bold
          Size                Huge
@@ -38,10 +39,10 @@ End
 Style Chapter
        Margin                Static
        Category              Section
-       LabelString               "Chapter \thechapter"
+       LabelString           "Chapter \thechapter"
        LabelStringAppendix   "Appendix \thechapter"
-       LabelType                   Counter
-       LabelCounter            chapter
+       LabelType             Counter
+       LabelCounter          chapter
        TocLevel              0
        LatexType             Command
        LatexName             chapter
@@ -64,8 +65,8 @@ End
 Style Section
        Category              Section
        Margin                Dynamic
-       LabelType                   Counter
-       LabelCounter            section
+       LabelType             Counter
+       LabelCounter          section
        TocLevel              1
        LatexType             Command
        LatexName             section
@@ -88,7 +89,7 @@ End
 
 Style Subsection
        CopyStyle             Section
-       LabelCounter            subsection
+       LabelCounter          subsection
        TocLevel              2
        LatexName             subsection
        TopSep                0.9
@@ -104,7 +105,7 @@ End
 
 Style Subsubsection
        CopyStyle             Subsection
-       LabelCounter            subsubsection
+       LabelCounter          subsubsection
        TocLevel              3
        LatexName             subsubsection
        TopSep                0.7
@@ -119,7 +120,7 @@ End
 
 Style Paragraph
        CopyStyle             Subsubsection
-       LabelCounter            paragraph
+       LabelCounter          paragraph
        TocLevel              4
        LatexName             paragraph
        TopSep                0.4
@@ -129,11 +130,12 @@ End
 
 Style Subparagraph
        CopyStyle             Paragraph
-       LabelCounter            subparagraph
+       LabelCounter          subparagraph
        TocLevel              5
        LatexName             subparagraph
        NextNoIndent          0
        LeftMargin            MM
 End
 
+Input stdrefprefix.inc
 Input numarticle.inc