mirror of
https://git.lyx.org/repos/lyx.git
synced 2024-12-23 13:31:49 +00:00
5695850a49
Use these modules in the AMS classes (instead of preamble hardcoding). This is bug 6123. git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@31475 a592a061-630c-0410-9148-cb99ea01b6c8
14 lines
289 B
Plaintext
14 lines
289 B
Plaintext
#\DeclareLyXModule{Number Equations by Section}
|
|
#DescriptionBegin
|
|
#Resets the equation number at section start and prepends
|
|
#the section number to the equation number, as in '(2.1)'.
|
|
#DescriptionEnd
|
|
|
|
Format 11
|
|
|
|
Requires amsmath
|
|
|
|
AddToPreamble
|
|
\numberwithin{equation}{section}
|
|
EndPreamble
|