diff --git a/lib/layouts/eqs-within-sections.module b/lib/layouts/eqs-within-sections.module index 9dd5498906..4b0ffca0e6 100644 --- a/lib/layouts/eqs-within-sections.module +++ b/lib/layouts/eqs-within-sections.module @@ -1,13 +1,13 @@ -#\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 11 - -Requires amsmath - -AddToPreamble - \numberwithin{equation}{section} -EndPreamble +#\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 11 + +Requires amsmath + +AddToPreamble + \numberwithin{equation}{section} +EndPreamble diff --git a/lib/layouts/figs-within-sections.module b/lib/layouts/figs-within-sections.module index 319637f3ce..98cd34bd6c 100644 --- a/lib/layouts/figs-within-sections.module +++ b/lib/layouts/figs-within-sections.module @@ -1,18 +1,18 @@ -#\DeclareLyXModule{Number Figures by Section} -#DescriptionBegin -#Resets the figure number at section start and prepends -#the section number to the figure number, as in 'fig. 2.1'. -#DescriptionEnd - -Format 11 - -Requires amsmath - -AddToPreamble - \numberwithin{figure}{section} -EndPreamble - -Float - Type figure - NumberWithin section -End +#\DeclareLyXModule{Number Figures by Section} +#DescriptionBegin +#Resets the figure number at section start and prepends +#the section number to the figure number, as in 'fig. 2.1'. +#DescriptionEnd + +Format 11 + +Requires amsmath + +AddToPreamble + \numberwithin{figure}{section} +EndPreamble + +Float + Type figure + NumberWithin section +End diff --git a/lib/layouts/tabs-within-sections.module b/lib/layouts/tabs-within-sections.module index 9d593f269f..221afb8f1f 100644 --- a/lib/layouts/tabs-within-sections.module +++ b/lib/layouts/tabs-within-sections.module @@ -1,18 +1,18 @@ -#\DeclareLyXModule{Number Tables by Section} -#DescriptionBegin -#Resets the table number at section start and prepends -#the section number to the table number, as in 'Table 2.1'. -#DescriptionEnd - -Format 11 - -Requires amsmath - -AddToPreamble - \numberwithin{table}{section} -EndPreamble - -Float - Type figure - NumberWithin section -End +#\DeclareLyXModule{Number Tables by Section} +#DescriptionBegin +#Resets the table number at section start and prepends +#the section number to the table number, as in 'Table 2.1'. +#DescriptionEnd + +Format 11 + +Requires amsmath + +AddToPreamble + \numberwithin{table}{section} +EndPreamble + +Float + Type figure + NumberWithin section +End