mirror of
https://git.lyx.org/repos/lyx.git
synced 2024-11-24 02:35:20 +00:00
5695850a49
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
19 lines
356 B
Plaintext
19 lines
356 B
Plaintext
#\DeclareLyXModule{Number Figures by Section}
|
|
#DescriptionBegin
|
|
#Resets the figure number at section start and prepends
|
|
#the section number to the figure number, as in 'fig. 2.1'.
|
|
#DescriptionEnd
|
|
|
|
Format 11
|
|
|
|
Requires amsmath
|
|
|
|
AddToPreamble
|
|
\numberwithin{figure}{section}
|
|
EndPreamble
|
|
|
|
Float
|
|
Type figure
|
|
NumberWithin section
|
|
End
|