stefano franchi <stefano.franchi <at> gmail.com> writes:

> 
> Is it possible to enumerate the rows of a table, without using external
packages? I vaguely remember seeing a solution to this problem, perhaps in a
Latex list or perhaps here, but I cannot find it anymore. 

It can be done with ERT, if that's what you want. Add the following to the
document preamble:

\newcounter{trow}
\newcommand{\firstrow}{\setcounter{trow}{1}\arabic{trow}.}
\newcommand{\nextrow}{\addtocounter{trow}{1}\arabic{trow}.}

Then add \firstrow in ERT where you want the number of the first row and
\nextrow in ERT where you want the number of each subsequent row. The
punctuation (I adopted a period after the row number can be changed, as can the
counter name (trow) and command names if they conflict with something.

Paul


Reply via email to