lyx_mirror/lib/layouts/figs-within-sections.module
Enrico Forestieri 35c0783bd3 Update layouts
2020-09-28 22:32:30 +02:00

20 lines
393 B
Plaintext

#\DeclareLyXModule{Number Figures by Section}
#\DeclareCategory{Floats & Captions}
#DescriptionBegin
#Resets the figure number at section start and prepends
#the section number to the figure number, as in 'fig. 2.1'.
#DescriptionEnd
Format 84
Requires amsmath
AddToPreamble
\numberwithin{figure}{section}
EndPreamble
Float
Type figure
NumberWithin section
End