Re: page numbering: 1, 3, 5, ...



I haven't looked into the definition of \thepage (probably it does just the
\arabic) but wouldn't it in general be a better idea to use the old
definition like:

\let\thep@ge\thepage
\renewcommand\thepage{\thep@ge\stepcounter{page}}

Suppose \thepage was a command that outputs \arabic or \roman numbering
depending on the context, for example.

Just a question though, I may have said something stupid here :D

Michael.

"El Bandolero" <bando@xxxxxxxxxxxxx> schreef in bericht
news:1op18l9ricfq7.18lolloqmcsyt$.dlg@xxxxxxxxxxxxx
> Il Tue, 30 Aug 2005 17:45:54 +0200, Ulrich M. Schwarz ha scritto:
>
>> Note the lack of something like \arabic{page} that would actually
>> yield the number. Note also that your numbering goes 2, 4, 8, 16...
>> (assuming the output is done between the \addcounter s).
>
> (actually it worked exponentially, like 2^n-1
> ;-)
>
> But now I've got it!
>
> \renewcommand{\thepage}{
> \arabic{page}
> \stepcounter{page}
> }
>
> Thank you very much...
>
> --
> ciao
> Bando


.



Relevant Pages