mirror of
https://git.lyx.org/repos/lyx.git
synced 2024-11-23 10:18:50 +00:00
adefdf8eeb
This reverts commit 7c041af642
.
We will hold this back until we fix the issue discussed here:
https://marc.info/?l=lyx-devel&m=171733833610242&w=2
20 lines
394 B
Plaintext
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 104
|
|
|
|
Requires amsmath
|
|
|
|
AddToPreamble
|
|
\numberwithin{figure}{section}
|
|
EndPreamble
|
|
|
|
Float
|
|
Type figure
|
|
NumberWithin section
|
|
End
|