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
|
|
|
|
|
2024-08-12 10:29:14 +00:00
|
|
|
Format 107
|
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}"
|
2023-07-28 22:22:14 +00:00
|
|
|
PrettyFormat "(\thesection.\arabic{equation})"
|
2011-01-11 19:35:52 +00:00
|
|
|
End
|