lyx_mirror/lib/layouts/eqs-within-sections.module
Jürgen Spitzmüller 5695850a49 * add modules to do equation/figure/table numbering sectionwise.
Use these modules in the AMS classes (instead of preamble hardcoding).

This is bug 6123.

git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@31475 a592a061-630c-0410-9148-cb99ea01b6c8
2009-09-28 11:06:53 +00:00

14 lines
289 B
Plaintext

#\DeclareLyXModule{Number Equations by Section}
#DescriptionBegin
#Resets the equation number at section start and prepends
#the section number to the equation number, as in '(2.1)'.
#DescriptionEnd
Format 11
Requires amsmath
AddToPreamble
\numberwithin{equation}{section}
EndPreamble