X-Git-Url: https://git.lyx.org/gitweb/?a=blobdiff_plain;f=lib%2Flayouts%2Fstdsections.inc;h=05580ce130aa90fa7a2e2c40397d600ac30865b8;hb=d8a6e0ab70962134792c5eca585fdcd013204649;hp=165ebbed454440c4abd16f442a83927724da7d1e;hpb=04efe3c40a01b25f8b0561771a5698d1dda0567d;p=lyx.git diff --git a/lib/layouts/stdsections.inc b/lib/layouts/stdsections.inc index 165ebbed45..05580ce130 100644 --- a/lib/layouts/stdsections.inc +++ b/lib/layouts/stdsections.inc @@ -1,15 +1,21 @@ # Standard textclass definition file. Taken from initial LyX source code # Author : Matthias Ettrich -# Transposed by Pascal André +# Transposed by Pascal André # Heavily modifed and enhanced by several developers. -# This include files contains all numbered sectionning-related +# This include file contains all numbered sectionning-related # commands that are useful for article-like document classes, but not # for letters. -Format 4 +Format 43 + Style Part + Category Sectioning Margin Dynamic + LabelString "Part \thepart" + LabelType Counter + TocLevel 0 + LabelCounter part LatexType Command LatexName part NeedProtect 1 @@ -21,15 +27,26 @@ Style Part ParSep 0.8 Align Center Alignpossible Center + Argument 1 + LabelString "Short Title|S" + Tooltip "The part as it appears in the table of contents/running headers" + EndArgument Font Series Bold Size Huge EndFont + HTMLTag h1 End Style Chapter Margin Static + Category Sectioning + LabelString "Chapter \thechapter" + LabelStringAppendix "Appendix \thechapter" + LabelType Counter + LabelCounter chapter + TocLevel 0 LatexType Command LatexName chapter NeedProtect 1 @@ -39,17 +56,24 @@ Style Chapter BottomSep 0.8 ParSep 0.8 Align Block - AlignPossible Block, Left - OptionalArgs 1 + Argument 1 + LabelString "Short Title|S" + Tooltip "The chapter as it appears in the table of contents/running headers" + EndArgument Font Series Bold Size Huge EndFont + HTMLTag h1 End Style Section + Category Sectioning Margin Dynamic + LabelType Counter + LabelCounter section + TocLevel 1 LatexType Command LatexName section NeedProtect 1 @@ -60,17 +84,22 @@ Style Section BottomSep 0.7 ParSep 0.7 Align Block - AlignPossible Block, Left - OptionalArgs 1 + Argument 1 + LabelString "Short Title|S" + Tooltip "The section as it appears in the table of contents/running headers" + EndArgument 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 +108,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 +123,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 +139,12 @@ End Style Subparagraph CopyStyle Paragraph + LabelCounter subparagraph + TocLevel 5 LatexName subparagraph NextNoIndent 0 LeftMargin MM End +Input stdrefprefix.inc Input numarticle.inc