]> git.lyx.org Git - lyx.git/blob - lib/layouts/figs-within-sections.module
New Theorems Module. Contributed by Udicoudco <udifoglle@gmail.com> on the mailing...
[lyx.git] / lib / layouts / figs-within-sections.module
1 #\DeclareLyXModule{Number Figures by Section}
2 #\DeclareCategory{Floats & Captions}
3 #DescriptionBegin
4 #Resets the figure number at section start and prepends
5 #the section number to the figure number, as in 'fig. 2.1'.
6 #DescriptionEnd
7
8 Format 99
9
10 Requires amsmath
11
12 AddToPreamble
13         \numberwithin{figure}{section}
14 EndPreamble
15
16 Float
17         Type                  figure
18         NumberWithin          section
19 End