[Tugindia] Want help in creating counters

Kannan Moudgalya kannan at iitb.ac.in
Sun Jul 11 17:02:43 CEST 2010

Dear All,

For an open source software project based on standard textbooks, I would 
like to modify how the counters are created in LaTeX.

Normally, counters have numbers.  These are incremented automatically.  
One can increase or decrease these numbers at will.

What I want to do is to assign a string to the counter, inside the 
environment that I defined.  In other words, I want to assign an 
arbitrary string to the counter inside the environment.  The value 
assigned should be remembered and be available for cross referencing, in 
the table of contents of that environment, etc.  Actually, the word 
counter is a misnomer here - I do not want it count anything - just to 
accept the value that I assign.



More information about the tugindia mailing list