lyx_mirror/lib/layouts/eqs-within-sections.module
Juergen Spitzmueller 2a62a2c395 update layout format
2012-12-30 18:35:23 +01:00

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 43
Requires amsmath
AddToPreamble
\numberwithin{equation}{section}
EndPreamble
Counter equation
Within section
LabelString "\thesection.\arabic{equation}"
End