mirror of
https://git.lyx.org/repos/lyx.git
synced 2024-11-25 10:58:52 +00:00
21 lines
415 B
Plaintext
21 lines
415 B
Plaintext
#\DeclareLyXModule{Number Equations by Section}
|
|
#\DeclareCategory{Maths}
|
|
#DescriptionBegin
|
|
#Resets the equation number at section start and prepends
|
|
#the section number to the equation number, as in '(2.1)'.
|
|
#DescriptionEnd
|
|
|
|
Format 99
|
|
|
|
Requires amsmath
|
|
|
|
AddToPreamble
|
|
\numberwithin{equation}{section}
|
|
EndPreamble
|
|
|
|
Counter equation
|
|
GuiName Equation
|
|
Within section
|
|
LabelString "\thesection.\arabic{equation}"
|
|
End
|