]> git.lyx.org Git - lyx.git/blobdiff - lib/layouts/scrbook.layout
Update layouts
[lyx.git] / lib / layouts / scrbook.layout
index daa4f8c466779d95bf277098bf2bf6030d297219..0f471165384ed7b192319b45c0754d8fd695e0bd 100644 (file)
@@ -1,29 +1,37 @@
 #% 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.
 
-Format 27
+Format 59
 Input scrclass.inc
 Input numreport.inc
 
-Sides                   2
-PageStyle               Headings
+Sides                  2
+PageStyle              Headings
 
 NoStyle Abstract
 
 
 Style Chapter
-       LabelString          "\thechapter"
+       LabelString     "\thechapter"
        TocLevel 0
 End
 
 
+# Equations are numbered by chapter
+Counter equation
+       Within chapter
+       LabelString "\thechapter.\arabic{equation}"
+End
+
+
 Style Bibliography
-       TopSep                4
-       LabelString           "Bibliography"
+       TopSep          4
+       LabelString     "Bibliography"
        LabelFont
-         Series              Bold
-         Size                Largest
+         Series        Bold
+         Size          Largest
        EndFont
 End