Re: How to prepend chapter number to section numbers

Praveen C <[email protected]>
Newsgroups gmane.editors.texmacs.user
Message-ID <[email protected]>
Thanks a lot. It works as expected.

best regards
praveen

> On 13-Nov-2023, at 10:59 PM, Giovanni Piredda <[email protected]> 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
>>
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.