lyx_mirror/lib/layouts/eqs-within-sections.module
Jürgen Spitzmüller 9a2b2f750c * 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/branches/BRANCH_1_6_X@31476 a592a061-630c-0410-9148-cb99ea01b6c8
2009-09-28 11:09:44 +00:00

14 lines
302 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