mirror of
https://git.lyx.org/repos/lyx.git
synced 2024-11-14 23:12:31 +00:00
19 lines
372 B
Plaintext
19 lines
372 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 60
|
|
|
|
Requires amsmath
|
|
|
|
AddToPreamble
|
|
\numberwithin{equation}{section}
|
|
EndPreamble
|
|
|
|
Counter equation
|
|
Within section
|
|
LabelString "\thesection.\arabic{equation}"
|
|
End
|