]> git.lyx.org Git - features.git/blobdiff - lib/layouts/eqs-within-sections.module
Update layout formats
[features.git] / lib / layouts / eqs-within-sections.module
index ac4528a885671471046e9acf0b5582c55e14b062..432e9b902dda2a2314e9c8cfb790f24944e3b544 100644 (file)
@@ -1,13 +1,19 @@
 #\DeclareLyXModule{Number Equations by Section}
+#\DeclareCategory{Maths}
 #DescriptionBegin
 #Resets the equation number at section start and prepends
 #the section number to the equation number, as in '(2.1)'.
 #DescriptionEnd
 
-Format 29
+Format 80
 
 Requires amsmath
 
 AddToPreamble
        \numberwithin{equation}{section}
 EndPreamble
+
+Counter equation
+       Within section
+       LabelString "\thesection.\arabic{equation}"
+End