]> git.lyx.org Git - lyx.git/blobdiff - lib/layouts/eqs-within-sections.module
Use \babelfonts only if babel >= 3.15 is available.
[lyx.git] / lib / layouts / eqs-within-sections.module
index c277185ffd33d357d9baadbc60dec7ee77def78a..a2ceb5471d8eebb380bbfac58f913b6c70c3e37a 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 21
+Format 76
 
 Requires amsmath
 
 AddToPreamble
        \numberwithin{equation}{section}
 EndPreamble
+
+Counter equation
+       Within section
+       LabelString "\thesection.\arabic{equation}"
+End