lyx_mirror/lib/layouts/figs-within-sections.module
Juergen Spitzmueller ff42273bb5 Bump layout formats
2012-11-23 09:50:22 +01:00

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 41
Requires amsmath
AddToPreamble
\numberwithin{figure}{section}
EndPreamble
Float
Type figure
NumberWithin section
End