lyx_mirror/lib/layouts/tabs-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

19 lines
371 B
Plaintext

#\DeclareLyXModule{Number Tables by Section}
#DescriptionBegin
#Resets the table number at section start and prepends
#the section number to the table number, as in 'Table 2.1'.
#DescriptionEnd
Format 11
Requires amsmath
AddToPreamble
\numberwithin{table}{section}
EndPreamble
Float
Type figure
NumberWithin section
End