mirror of
https://git.lyx.org/repos/lyx.git
synced 2024-12-22 13:18:28 +00:00
6dec3e8a6e
Re-categorize remaining modules Improve categorization Give some modules a more descriptive name.
20 lines
393 B
Plaintext
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 72
|
|
|
|
Requires amsmath
|
|
|
|
AddToPreamble
|
|
\numberwithin{figure}{section}
|
|
EndPreamble
|
|
|
|
Float
|
|
Type figure
|
|
NumberWithin section
|
|
End
|