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

22 lines
464 B
Plaintext
Raw Permalink 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
2024-08-12 10:29:14 +00:00
Format 107
Requires amsmath
AddToPreamble
\numberwithin{equation}{section}
EndPreamble
Counter equation
2020-05-03 02:37:18 +00:00
GuiName Equation
Within section
LabelString "\thesection.\arabic{equation}"
PrettyFormat "(\thesection.\arabic{equation})"
End