X-Git-Url: https://git.lyx.org/gitweb/?a=blobdiff_plain;f=lib%2Flayouts%2Fstdsections.inc;h=fa42eacb281dcae1ccbf1c1c17951185b232f6bb;hb=761648b1f7d1df9de87921143b8004b6d3dd21e9;hp=05580ce130aa90fa7a2e2c40397d600ac30865b8;hpb=2a62a2c3957b89489580f59150c20e45a66e4b43;p=lyx.git diff --git a/lib/layouts/stdsections.inc b/lib/layouts/stdsections.inc index 05580ce130..fa42eacb28 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 43 +Format 82 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,12 +31,17 @@ 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 Size Huge EndFont HTMLTag h1 + DocBookTag title + DocBookSectionTag part + DocBookForceAbstractTag partintro End @@ -44,40 +50,46 @@ 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 Size Huge EndFont HTMLTag h1 + DocBookTag title + DocBookSectionTag chapter 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,12 +99,16 @@ 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 Size Larger EndFont HTMLTag h2 + DocBookTag title + DocBookSectionTag section End @@ -134,6 +150,7 @@ Style Paragraph LatexName paragraph TopSep 0.4 BottomSep 0 + HTMLTag h5 End @@ -144,6 +161,7 @@ Style Subparagraph LatexName subparagraph NextNoIndent 0 LeftMargin MM + HTMLTag h6 End Input stdrefprefix.inc