X-Git-Url: https://git.lyx.org/gitweb/?a=blobdiff_plain;f=lib%2Flayouts%2Feqs-within-sections.module;h=2d687e9f3a95b814feeae75257cf90e9a553625b;hb=8f9520eda5a0ecf2458341e5d8ea40f5970d54db;hp=c19b78f004be2afc134793b9a66e551146e0696d;hpb=f9377c8bcc63c4bbf2fb598a7de287b7c4259585;p=lyx.git diff --git a/lib/layouts/eqs-within-sections.module b/lib/layouts/eqs-within-sections.module index c19b78f004..2d687e9f3a 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 27 +Format 45 Requires amsmath AddToPreamble \numberwithin{equation}{section} EndPreamble + +Counter equation + Within section + LabelString "\thesection.\arabic{equation}" +End