I am looking for a tool to flip the rows and columns of a tablular table.
For example
\begin{tabular}{lll}
1 & 2 & 3 \\
4 & 5 & 6
\end{tabular}
should become
\begin{tabular}{ll}
1 & 4 \\
2 & 5 \\
3 & 6
\end{tabular}
This is possible using TeXlipse. I would however prefer a simpler solution with less overhead.
Ideally
- it should run on Linux, however an online solution would be acceptable too if there is one, and
- whatever possible in cells is conserved (comments for instance)
\documentclassand the appropriate packages so that those trying to help don't have to recreate it. – Peter Grill Nov 09 '14 at 19:21