mailing-list for TeXmacs Users

Text archives Help


Re: [TeXmacs] chapter, section numbering


Chronological Thread 
  • From: marc lalaude-labayle <address@hidden>
  • To: Martial Tarizzo <address@hidden>
  • Cc: texmacs-users <address@hidden>
  • Subject: Re: [TeXmacs] chapter, section numbering
  • Date: Fri, 27 Nov 2015 07:54:33 +0100

Hi, thanks to all.

Here is the solution sent by Jérémy Berthomieu : add <assign|display-section|<macro|nr|nr>> in the preamble of the doc file or in a style file.

Martial, i wanted the chapter to be numbered, but the sections didn't have to get the chapter number. With my texmacs version, the default book style section numbering doesn't work this way.

Regards,

Marc 

2015-11-27 0:58 GMT+01:00 Martial Tarizzo <address@hidden>:
I can't see the problem, as the default numbering scheme is the same as
the book style. (see attached file)

If you want to customize, you can re-define the macros (example for
section tag, you can do the same for the others tags) :
section-nr is the counter for sections
<the-section> is a macro which displays the section header.
<display-section> is a macro used to compute the full header

You can even modify the macros in the middle of a doc (but, who wants to
do that ? Example in parts.tm)

HTH

MT


Le jeudi 26 novembre 2015 à 14:10 +0100, marc lalaude-labayle a écrit :
> Hi,
>
>
> one asks me to write in a book style with the chapters numbered,
> section too but in this way :
>
>
> Part I
> Chapter 1
> 1 Section 1
> 1.1 Subsection 1
>
>
> and not
>
>
> Part I
> Chapter 1
> 1.1 Section 1
> 1.1.1 Subsection
>
>
>
>
> Does anyone know how i can make this ?
>
>
> Thanks in advance.
>
>
> Marc





Archive powered by MHonArc 2.6.19.

Top of page