]> git.lyx.org Git - lyx.git/blobdiff - lib/layouts/scrbook.layout
Introduce HTMLClass tag, to make it easier to give these.
[lyx.git] / lib / layouts / scrbook.layout
index b151219c673ec1e890e9139a063cc611d8540fcb..143c3c2d4e84b0caa12052d60b75a0fb0125d5fc 100644 (file)
@@ -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