]> git.lyx.org Git - lyx.git/blob - lib/layouts/figs-within-sections.module
60542e908d06efe2bc650d4a7254b3748edad9b6
[lyx.git] / lib / layouts / figs-within-sections.module
1 #\DeclareLyXModule{Number Figures by Section}
2 #DescriptionBegin
3 #Resets the figure number at section start and prepends
4 #the section number to the figure number, as in 'fig. 2.1'.
5 #DescriptionEnd
6
7 Format 68
8
9 Requires amsmath
10
11 AddToPreamble
12         \numberwithin{figure}{section}
13 EndPreamble
14
15 Float
16         Type                  figure
17         NumberWithin          section
18 End