[texhax] counter _inside_ table/tabular
Lars Madsen
daleif at imf.au.dk
Tue Mar 3 22:08:57 CET 2009
Bryan W. Lepore wrote:
> i'm stuck on the problem of putting a counter *inside* a table
> (specifically longtable) to number each entry within the single table.
> seems reasonable for latex, right?
>
> here's what i tried so far - so i think it is NOT as simple as :
>
> \newcounter{myCounter} %<- in preamble
> \setcounter{myCounter} %<- increment=1
> .....
> \value{myCounter} %<- in longtable environment
>
> error is :
> ! Missing number, treated as zero.
>
> is that right? i may need these other packages i've been reading about?
>
> -bryan
>
full minimal example please (a lot easier for us to work with)
/daleif
More information about the texhax
mailing list