[texhax] constructing labels from counters
Moshe Kamensky
samvimes at fastmail.fm
Thu Jul 27 12:12:42 CEST 2006
Hi,
I would like to construct a label for \label and \ref from a counter, so
that I can do something like
\newcommand{\foo}{\stepcounter{foo}\label{bar:\value{foo}}...}
But the above example using \value doesn't work, nor when I replace it
by, say, \alph{foo}. Is there a way to achieve this?
Thanks,
Moshe
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 189 bytes
Desc: not available
Url : http://tug.org/pipermail/texhax/attachments/20060727/c3d0d5e3/attachment-0001.bin
More information about the texhax
mailing list