mailing-list for TeXmacs Users

Text archives Help


Re: How to prepend chapter number to section numbers


Chronological Thread 
  • From: Giovanni Piredda <address@hidden>
  • To: address@hidden
  • Subject: Re: How to prepend chapter number to section numbers
  • Date: Mon, 13 Nov 2023 17:29:45 +0000

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