1
0
mirror of https://git.lyx.org/repos/lyx.git synced 2024-12-22 05:16:21 +00:00
lyx_mirror/lib/layouts/eqs-within-sections.module
Richard Heck 2d2d946fc6 Update all layouts to format 35.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@38392 a592a061-630c-0410-9148-cb99ea01b6c8
2011-04-15 02:51:32 +00: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 35
Requires amsmath
AddToPreamble
\numberwithin{equation}{section}
EndPreamble
Counter equation
Within section
LabelString "\thesection.\arabic{equation}"
End