X-Git-Url: https://git.lyx.org/gitweb/?a=blobdiff_plain;f=lib%2Flayouts%2Fstdsections.inc;h=e752ee197a02bb7f259ad5b4f0704ce7af6aa05c;hb=f8f9eec358c5dcd45665defed13d51c0b304fb8e;hp=fb1920f1e5bf55df741619c88cd783b500d82953;hpb=b0aa0db10aae4a51d48f060e642f05542e89f370;p=lyx.git diff --git a/lib/layouts/stdsections.inc b/lib/layouts/stdsections.inc index fb1920f1e5..e752ee197a 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 68 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