[Tugindia] RE: Counters

Suresh A.L sureshal at sps.co.in
Fri Dec 26 14:12:25 CET 2003


Dear Sir,

I am having the pages numbers indicated with alphanumeric values.

	Say Page number:  A241

I need to take only the numeric value "241" alone and asign it 
to a counter, (without including 'A') to manipulate the text. 
I have to split the text as  'A'  and  '241'. 

Do we have any solution for this?

Thanking you,

with regards
suresh

-----Original Message-----
From: Bhaskaracharya Pratishthana [mailto:bhaskara_p at vsnl.com]
Sent: Saturday, December 27, 2003 5:10 AM
To: TUGIndia Mailing List
Subject: Re: [Tugindia] RE: Counters



hi,

Suresh A.L wrote:
> Dear All,
> 
> I have the page ranges like this,
> 
> 	A241, A242, ... etc.
> 	B241, B242, ... etc.

Please use these commands after \begin{document}
\setcounter{241}
\renewcommand{\thepage}{A\arabic{page}}

this will produce A241, A242 etc.
for B241,
Change A->B in renewcommand

best wishes,
Manjusha Joshi


_______________________________________________
Home:        http://www.tug.org.in/
unsubscribe: http://tug.org/mailman/listinfo/tugindia


More information about the tugindia mailing list