lyx_mirror/lib/layouts/figs-within-sections.module
Scott Kostyshak 4b33e60346 Update layouts
I do not commit the update to the following file since it has a
non-trivial change:

  lib/layouts/jlreq-common.inc

I'll ask for confirmation on the list before updating that file.
2024-07-24 10:19:31 -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 106
Requires amsmath
AddToPreamble
\numberwithin{figure}{section}
EndPreamble
Float
Type figure
NumberWithin section
End