]> git.lyx.org Git - lyx.git/blobdiff - lib/layouts/scrbook.layout
Disable deprecated-copy warning with clang10
[lyx.git] / lib / layouts / scrbook.layout
index 3e3cc413b88f94dfa1338714258d8caaf8954cd1..adccc35733e4df10a790eb93284c9e379d53b582 100644 (file)
@@ -1,28 +1,38 @@
 #% 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 9
+Format 80
 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
+       TocLevel        0
 End