[Tuglist] Variable Assignments in LaTeX
Manoj K N
tuglist@tug.org.in
Thu, 9 May 2002 20:14:45 +0530
Hello.
How does one assign the value of a counter to a variable? I want
\s@vefignum to take the value of \c@figure, change \c@figure to a new
value, and later to re-assign the value \s@vefignum of \c@figure. I tried
the following piece of LaTeX code:
\makeatletter\newcount\s@vefignum\s@vefignum\c@figure
.....
\c@figure\s@vefignum\makeatother
This does not seem to work; I am getting an error
!Missing number, treated as zero.
How do I correct this?
Thanks.
Manoj.
--
Manoj K N,
Texas Instruments India Limited,
Wind Tunnel Road, Bangalore. PIN: 560017.
Karnataka, India.
Ph: +91-80-5099894
12 Deg 58 Min N, 77 Deg 39 Min E