lyx_mirror/lib/layouts/eqs-within-sections.module
Enrico Forestieri a401b26640 Update layouts
2023-05-09 12:10:45 +02:00

21 lines
416 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 100
Requires amsmath
AddToPreamble
\numberwithin{equation}{section}
EndPreamble
Counter equation
GuiName Equation
Within section
LabelString "\thesection.\arabic{equation}"
End