X-Git-Url: https://git.lyx.org/gitweb/?a=blobdiff_plain;f=lib%2Flayouts%2Fscrbook.layout;h=143c3c2d4e84b0caa12052d60b75a0fb0125d5fc;hb=69a6c41b9417c0f069f4eeae2b0f2e932ee39be4;hp=fb17ec4381ae2ea7162a8517be54ec677374c3c5;hpb=12d02d04b2b26bdd49ca8dfcc0c53529c8a20f9d;p=lyx.git diff --git a/lib/layouts/scrbook.layout b/lib/layouts/scrbook.layout index fb17ec4381..143c3c2d4e 100644 --- a/lib/layouts/scrbook.layout +++ b/lib/layouts/scrbook.layout @@ -1,21 +1,43 @@ #% Do not delete the line below; configure depends on this -# \DeclareLaTeXClass[scrbook]{book (koma-script)} +# \DeclareLaTeXClass{KOMA-Script Book} +# \DeclareCategory{Books} # KOMA scrbook textclass definition file. # Bernd Rellermeyer <100.41728@germanynet.de>, 1998/7/11. -# General textclass parameters +Format 96 Input scrclass.inc -Sides 2 -PageStyle Headings +Input numreport.inc + +Sides 2 +PageStyle Headings +DocBookRoot book + NoStyle Abstract - -# Modify bibliography -Style Bibliography - TopSep 4 - LabelString Bibliography - LabelFont - Series Bold - Size Largest + +Style Chapter + LabelString "\thechapter" + TocLevel 0 + DocBookTag title + DocBookTagType paragraph + DocBookSectionTag chapter +End + + +# Equations are numbered by chapter +Counter equation + GuiName Equation + Within chapter + LabelString "\thechapter.\arabic{equation}" +End + + +Style Bibliography + TopSep 4 + LabelString "Bibliography" + LabelFont + Series Bold + Size Largest EndFont + TocLevel 0 End