lyx_mirror/lib/layouts/eqs-within-sections.module

20 lines
397 B
Plaintext
Raw Normal View History

#\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
2019-03-26 16:46:21 +00:00
Format 72
Requires amsmath
AddToPreamble
\numberwithin{equation}{section}
EndPreamble
Counter equation
Within section
LabelString "\thesection.\arabic{equation}"
End