Is there any way to get automatic row numbers in table?
For example, if I define table contents as
\begin{tabular} % black magic column definition
\rownumber & foo\\
\rownumber & bar\\
\rownumber & baz\\
\end{tabular}
and get something like
1 | foo
2 | bar
3 | baz
Best Answer
output
If you want to start with the second row use
output
If one wants a heading for the columns use: