Skip to Content.
Sympa Menu

texmacs-users - Re: How to prepend chapter number to section numbers

Subject: mailing-list for TeXmacs Users

List archive

Re: How to prepend chapter number to section numbers


Chronological Thread 
  • From: Praveen C <address@hidden>
  • To: Giovanni Piredda <address@hidden>
  • Cc: TexMacs Users List <address@hidden>
  • Subject: Re: How to prepend chapter number to section numbers
  • Date: Tue, 14 Nov 2023 08:25:09 +0530

Thanks a lot. It works as expected.

best regards
praveen

> On 13-Nov-2023, at 10:59 PM, Giovanni Piredda <address@hidden> wrote:
>
> Hi Praveen,
>
> I investigated a bit and it seems to me that this macro, to be put in the
> preamble, should do what you want (it changes both the display of the
> section and the one of the subsection):
>
> <assign|display-section|<macro|nr|<chapter-prefix><arg|nr>>>
>
> Please let me know if it works.
>
> Giovanni
>
> On 08/11/23 08:49, Praveen C wrote:
>> Hello
>>
>> I am using course template, and get numbering like this
>>
>> 2 Chapter
>> 1 Section
>> 1.1 Subsection
>>
>> but I would like prepend chapter numbers like this
>>
>> 2 Chapter
>> 2.1 Section
>> 2.1.1 Subsection
>>
>> I have attached an example file.
>>
>> Can you show how to get this style ?
>>
>>
>> Thanks
>> praveen
>>




Archive powered by MHonArc 2.6.24.

Top of Page