lyx_mirror/lib/layouts/eqs-within-sections.module
Juergen Spitzmueller 88c1aaf444 Bump layout formats
2019-07-08 16:21:31 +02:00

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