X-Git-Url: https://git.lyx.org/gitweb/?a=blobdiff_plain;f=lib%2Flayouts%2Fscrbook.layout;h=143c3c2d4e84b0caa12052d60b75a0fb0125d5fc;hb=69a6c41b9417c0f069f4eeae2b0f2e932ee39be4;hp=b151219c673ec1e890e9139a063cc611d8540fcb;hpb=27de1486ca34aaad446adb798d71a77d6f6304da;p=lyx.git diff --git a/lib/layouts/scrbook.layout b/lib/layouts/scrbook.layout index b151219c67..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 - EndFont + +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