X-Git-Url: https://git.lyx.org/gitweb/?a=blobdiff_plain;f=lib%2Flayouts%2Fstdsections.inc;h=9844b691e0dacd685ed47c5ceb399a5adc344049;hb=8b92a2a689c2548a263065a24c0d3aa917785cce;hp=74470e3cfcf52f75312dbbf3bb9499085ddbd017;hpb=182d13ee6aa68c306aa3b2788f6d9ed6c1741f51;p=lyx.git diff --git a/lib/layouts/stdsections.inc b/lib/layouts/stdsections.inc index 74470e3cfc..9844b691e0 100644 --- a/lib/layouts/stdsections.inc +++ b/lib/layouts/stdsections.inc @@ -7,19 +7,20 @@ # commands that are useful for article-like document classes, but not # for letters. -Format 41 +Format 70 Style Part - Category Section + Category Sectioning Margin Dynamic LabelString "Part \thepart" - LabelType Counter - TocLevel 0 + LabelType Static + TocLevel -1 LabelCounter part LatexType Command LatexName part NeedProtect 1 NextNoIndent 1 + ToggleIndent Never Labelsep xxx ParSkip 0.4 TopSep 4 @@ -30,6 +31,8 @@ Style Part Argument 1 LabelString "Short Title|S" Tooltip "The part as it appears in the table of contents/running headers" + InsertCotext 1 + IsTocCaption 1 EndArgument Font Series Bold @@ -41,24 +44,27 @@ End Style Chapter Margin Static - Category Section + Category Sectioning LabelString "Chapter \thechapter" LabelStringAppendix "Appendix \thechapter" - LabelType Counter + LabelType Above LabelCounter chapter TocLevel 0 LatexType Command LatexName chapter NeedProtect 1 NextNoIndent 1 + ToggleIndent Never ParSkip 0.4 - TopSep 4 + TopSep 2 BottomSep 0.8 ParSep 0.8 Align Block Argument 1 LabelString "Short Title|S" Tooltip "The chapter as it appears in the table of contents/running headers" + InsertCotext 1 + IsTocCaption 1 EndArgument Font Series Bold @@ -69,15 +75,16 @@ End Style Section - Category Section + Category Sectioning Margin Dynamic - LabelType Counter + LabelType Static LabelCounter section TocLevel 1 LatexType Command LatexName section NeedProtect 1 NextNoIndent 1 + ToggleIndent Never LabelSep xxx ParSkip 0.4 TopSep 1.3 @@ -87,6 +94,8 @@ Style Section Argument 1 LabelString "Short Title|S" Tooltip "The section as it appears in the table of contents/running headers" + InsertCotext 1 + IsTocCaption 1 EndArgument Font Series Bold @@ -134,6 +143,7 @@ Style Paragraph LatexName paragraph TopSep 0.4 BottomSep 0 + HTMLTag h5 End @@ -144,6 +154,7 @@ Style Subparagraph LatexName subparagraph NextNoIndent 0 LeftMargin MM + HTMLTag h6 End Input stdrefprefix.inc