X-Git-Url: https://git.lyx.org/gitweb/?a=blobdiff_plain;f=lib%2Flayouts%2Fstdsections.inc;h=9844b691e0dacd685ed47c5ceb399a5adc344049;hb=8b92a2a689c2548a263065a24c0d3aa917785cce;hp=476d65f7df2b7d85f653bbc23f150966e8c2b3bb;hpb=f98139e58d4b76c1df86fd613abfb4de9a4867d7;p=lyx.git diff --git a/lib/layouts/stdsections.inc b/lib/layouts/stdsections.inc index 476d65f7df..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 42 +Format 70 Style Part 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 @@ -44,21 +47,24 @@ Style Chapter 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 @@ -71,13 +77,14 @@ End Style 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