mirror of
https://git.lyx.org/repos/lyx.git
synced 2024-11-06 11:23:45 +00:00
d0aa20afcf
A fix to layout2layout is needed first. See:
https://www.mail-archive.com/search?l=mid&q=20200927192424.GA1224%40GIOVE
This reverts commit 5d7efd2fa9
.
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 82
|
|
|
|
Requires amsmath
|
|
|
|
AddToPreamble
|
|
\numberwithin{figure}{section}
|
|
EndPreamble
|
|
|
|
Float
|
|
Type figure
|
|
NumberWithin section
|
|
End
|