Suppose I want a \gotocolumn
command, with the following behavior: in a tabular with n or more columns, \gotocolumn{n}
would expand to the shortest combination of \\
and &
necessary to bring us forward into the n'th column. So for instance...
- In the first column of a table,
\gotocolumn{3}
would expand to& &
. - In the second column of a table,
\gotocolumn{3}
would expand to&
. - In the third column of a table,
\gotocolumn{3}
would expand to\relax
. - In the fourth or subsequent column of a table,
\gotocolumn{3}
would expand to\\ & &
.
Has this been done? Could it be done? Thoughts on how?