Skip to Content.
Sympa Menu

texmacs-users - Re: [TeXmacs] Different Counters for different environments - Howto?

Subject: mailing-list for TeXmacs Users

List archive

Re: [TeXmacs] Different Counters for different environments - Howto?


Chronological Thread 
  • From: "Denis J. Navas" <address@hidden>
  • To: address@hidden
  • Subject: Re: [TeXmacs] Different Counters for different environments - Howto?
  • Date: Sun, 03 Apr 2011 10:58:24 -0600
  • Domainkey-signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=message-id:date:from:user-agent:mime-version:to:subject:references :in-reply-to:content-type; b=vUeldZWgQyIWtDn7qhJ2IfZg/S5elBCwCdQVhGXl0DBvx+l+pEymOnMa/BA8zVo1G4 PVQWWhT310xzjmAViw392t5fRK6SWUvTe2ZaVubWhr9j+T2sBgdfXofzXUAUNE98ZHrd UFNrercCwbelHs87gBEXe9TJajt6b/Pk2ZB5U=

El 01/04/2011 02:17 p.m., Andreas Goesele escribió:
Hi!

Sorry to come back to my own question. But I would be very grateful if
at least a few people could help me by answering two questions for me.

I have the problem that the counters for the various environment are not
independent from each other. So I get something like:

Lemma 1
Theorem 2
Note 3
Lemma 4
Theorem 5

What I would like to have is:

Lemma 1
Theorem 1
Note 1
Lemma 2
Theorem 2

Do you have the same experience? Do you know a way in texmacs to make
the counters independent from each other, as in the second example?

(As a matter of fact, I would be happy to have even more flexibility
with my counters. But to have them independent would be at least a
start.)

Thanks again

Andreas Gösele

The manual talks about an american style of numbering, that is what you have experienced.  But also has a package for european style numbering, that is what you want. 

The manual In: GNU TexMacs reference guide -- Standard TexMacs styles -- Common base for most environments -- Counters and conunters groups (named: std-counter in the previous document), saids:
At any moment, you may decide whether the counters of a group share a common
group counter, or whether they all use their individual counters. This
feature is used for instance in order to switch between American style
numbering and European style numbering:

<group-common-counter|g>
  Use a common counter for the group (which is stored in the environment variable g-nr).

<group-individual-counters|g>
  Use an individual counter for each member of the group (this is the default).




Denis Navas



Archive powered by MHonArc 2.6.19.

Top of Page