[NTG-context] Special numbering

Fabrice Couvreur fabrice1.couvreur at gmail.com
Wed Aug 17 19:12:33 CEST 2022


Hi  Aditya,
Thanks for your help, it works perfectly.
Fabrice

Le mer. 17 août 2022 à 17:48, Aditya Mahajan via ntg-context <
ntg-context at ntg.nl> a écrit :

> On Wed, 17 Aug 2022, Fabrice Couvreur via ntg-context wrote:
>
> > Hello,
> > how to get this
> > Définition 1.1.
> > Proposition 1.2.
> > Définition 1.3.
> > Proposition 1.4.
> >
> > Thanks
> > Fabrice
> >
> > \setupenumerations
> >   [before={\blank},
> >    after={\blank},
> >    alternative=serried,
> >    distance=0.5em,
> >    title=yes,
> >    titleleft=,
> >    titleright=,
> >    titlestyle=normal,
> >    prefix=yes,
> >    prefixsegments=chapter,
> >    way=bychapter,
> >    headcommand=\groupedcommand{}{.},
> >    numbercommand=\groupedcommand{}{},
> >    titlecommand=\groupedcommand{(}{)},
> >    width=broad]
> >
> > \defineenumeration
> >    [definition]
> >    [text=Définition,
> >     number=yes,
> >     style=italic]
> >
> > \defineenumeration
> >    [proposition]
> >    [text=Proposition,
> >     number=yes,
>
> Add:
>
>       counter=definition,
>
> >     style=italic]
>
>
> Now, definition and proposition share the same counter.
>
>
> Aditya___________________________________________________________________________________
> If your question is of interest to others as well, please add an entry to
> the Wiki!
>
> maillist : ntg-context at ntg.nl /
> https://www.ntg.nl/mailman/listinfo/ntg-context
> webpage  : https://www.pragma-ade.nl / http://context.aanhet.net
> archive  : https://bitbucket.org/phg/context-mirror/commits/
> wiki     : https://contextgarden.net
>
> ___________________________________________________________________________________
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mailman.ntg.nl/pipermail/ntg-context/attachments/20220817/7d14de54/attachment.htm>


More information about the ntg-context mailing list