mirror of
https://git.lyx.org/repos/lyx.git
synced 2024-12-28 06:49:43 +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
353 B
Plaintext
19 lines
353 B
Plaintext
#\DeclareLyXModule{Number Tables by Section}
|
|
#DescriptionBegin
|
|
#Resets the table number at section start and prepends
|
|
#the section number to the table number, as in 'Table 2.1'.
|
|
#DescriptionEnd
|
|
|
|
Format 68
|
|
|
|
Requires amsmath
|
|
|
|
AddToPreamble
|
|
\numberwithin{table}{section}
|
|
EndPreamble
|
|
|
|
Float
|
|
Type figure
|
|
NumberWithin section
|
|
End
|