mirror of
https://git.lyx.org/repos/lyx.git
synced 2024-11-07 12:32:26 +00:00
bbf287a3c6
Now layout files and modules can extend the cite engines or completely overwrite them, and modify the cite formats. Any CiteEngine definition in a layout/module will completely overwrite those by cite engine files. AddToCiteEngine will extend them (add if they do not exist yet). Any CiteFormat definition in a layout will be preferred to those in cite engines. CiteFormat definitions that are not touched by the former are still active, though (so, as opposed to CiteEngine, a CiteFormat does not completely overwrite those by the engine files). Layout format change.
19 lines
356 B
Plaintext
19 lines
356 B
Plaintext
#\DeclareLyXModule{Number Figures by Section}
|
|
#DescriptionBegin
|
|
#Resets the figure number at section start and prepends
|
|
#the section number to the figure number, as in 'fig. 2.1'.
|
|
#DescriptionEnd
|
|
|
|
Format 68
|
|
|
|
Requires amsmath
|
|
|
|
AddToPreamble
|
|
\numberwithin{figure}{section}
|
|
EndPreamble
|
|
|
|
Float
|
|
Type figure
|
|
NumberWithin section
|
|
End
|