X-Git-Url: https://git.lyx.org/gitweb/?a=blobdiff_plain;f=lib%2Flayouts%2Feqs-within-sections.module;h=3216914078daa10dfd18c391be84cc6b6ee9dc89;hb=a0f6d3db9e417c8dd3345cb8aecd25a2674aa8f6;hp=703cf555feec741c899d310e26b60ea0c84a1227;hpb=3b716ae11e5f55cf0544521ebd345a341707744e;p=lyx.git diff --git a/lib/layouts/eqs-within-sections.module b/lib/layouts/eqs-within-sections.module index 703cf555fe..3216914078 100644 --- a/lib/layouts/eqs-within-sections.module +++ b/lib/layouts/eqs-within-sections.module @@ -4,10 +4,15 @@ #the section number to the equation number, as in '(2.1)'. #DescriptionEnd -Format 28 +Format 35 Requires amsmath AddToPreamble \numberwithin{equation}{section} EndPreamble + +Counter equation + Within section + LabelString "\thesection.\arabic{equation}" +End