]> 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 f47bee60e25f44b2f85d057becdb4eb24064c0b9..6cbc3fa5e8787e797a3547893d1132ee5a6afbfb 100644 (file)
@@ -7,9 +7,15 @@
 # commands that are useful for article-like document classes, but not
 # for letters.
 
-Format 4
+Format 35
+
 Style Part
+       Category              Section
        Margin                Dynamic
+       LabelString           "Part \thepart"
+       LabelType             Counter
+       TocLevel              0
+       LabelCounter          part
        LatexType             Command
        LatexName             part
        NeedProtect           1
@@ -21,15 +27,23 @@ Style Part
        ParSep                0.8
        Align                 Center
        Alignpossible         Center
+       OptionalArgs          1
        Font
          Series              Bold
          Size                Huge
        EndFont
+       HTMLTag               h1
 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,17 +53,21 @@ Style Chapter
        BottomSep             0.8
        ParSep                0.8
        Align                 Block
-       AlignPossible         Block, Left
        OptionalArgs          1
        Font
          Series              Bold
          Size                Huge
        EndFont
+       HTMLTag               h1
 End
 
 
 Style Section
+       Category              Section
        Margin                Dynamic
+       LabelType             Counter
+       LabelCounter          section
+       TocLevel              1
        LatexType             Command
        LatexName             section
        NeedProtect           1
@@ -60,17 +78,19 @@ Style Section
        BottomSep             0.7
        ParSep                0.7
        Align                 Block
-       AlignPossible         Block, Left
        OptionalArgs          1
        Font
          Series              Bold
          Size                Larger
        EndFont
+       HTMLTag               h2
 End
 
 
 Style Subsection
        CopyStyle             Section
+       LabelCounter          subsection
+       TocLevel              2
        LatexName             subsection
        TopSep                0.9
        BottomSep             0.5
@@ -79,11 +99,14 @@ Style Subsection
          Series              Bold
          Size                Large
        EndFont
+       HTMLTag               h3
 End
 
 
 Style Subsubsection
        CopyStyle             Subsection
+       LabelCounter          subsubsection
+       TocLevel              3
        LatexName             subsubsection
        TopSep                0.7
        BottomSep             0.4
@@ -91,11 +114,14 @@ Style Subsubsection
          Series              Bold
          Size                Normal
        EndFont
+       HTMLTag               h4
 End
 
 
 Style Paragraph
        CopyStyle             Subsubsection
+       LabelCounter          paragraph
+       TocLevel              4
        LatexName             paragraph
        TopSep                0.4
        BottomSep             0
@@ -104,9 +130,12 @@ End
 
 Style Subparagraph
        CopyStyle             Paragraph
+       LabelCounter          subparagraph
+       TocLevel              5
        LatexName             subparagraph
        NextNoIndent          0
        LeftMargin            MM
 End
 
+Input stdrefprefix.inc
 Input numarticle.inc