]> 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 5536f90454cd68bc10228b50a944a82e80dd52d8..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 26
+Format 80
 
 Requires amsmath
 
 AddToPreamble
        \numberwithin{equation}{section}
 EndPreamble
+
+Counter equation
+       Within section
+       LabelString "\thesection.\arabic{equation}"
+End