lyx_mirror/lib/layouts/figs-within-sections.module
Richard Kimberly Heck d2d7c41643 Update layouts.
2023-07-28 18:21:47 -04:00

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