2009-09-28 11:06:53 +00:00
|
|
|
#\DeclareLyXModule{Number Equations by Section}
|
2019-04-04 16:43:29 +00:00
|
|
|
#\DeclareCategory{Maths}
|
2009-09-28 11:06:53 +00:00
|
|
|
#DescriptionBegin
|
|
|
|
#Resets the equation number at section start and prepends
|
|
|
|
#the section number to the equation number, as in '(2.1)'.
|
|
|
|
#DescriptionEnd
|
|
|
|
|
2020-09-27 20:47:28 +00:00
|
|
|
Format 82
|
2009-09-28 11:06:53 +00:00
|
|
|
|
|
|
|
Requires amsmath
|
|
|
|
|
|
|
|
AddToPreamble
|
|
|
|
\numberwithin{equation}{section}
|
|
|
|
EndPreamble
|
2011-01-11 19:35:52 +00:00
|
|
|
|
|
|
|
Counter equation
|
2020-05-03 02:37:18 +00:00
|
|
|
GuiName Equation
|
2011-01-11 19:35:52 +00:00
|
|
|
Within section
|
|
|
|
LabelString "\thesection.\arabic{equation}"
|
|
|
|
End
|