Suppose the following lines (AUCTeX mode active):
\documentclass{article} \begin{document} \begin{tabular}{lrr} Foo & 42.00 & 242.50 \\ Foo bar & 3242.00 & 10.50 \\ \end{tabular} \end{document} With the cursor between \begin{tabular}{lrr} and \end{tabular}, M-x align-current aligns the & characters:
\documentclass{article} \begin{document} \begin{tabular}{lrr} Foo & 42.00 & 242.50 \\ Foo bar & 3242.00 & 10.50 \\ \end{tabular} \end{document} and that's nice. But is it possible to align them further (without doing it manually) in order to obtain the second and third columns as intended in the PDF resulting from this LaTeX code, i.e., aligned to the right as follows:
\documentclass{article} \begin{document} \begin{tabular}{lrr} Foo & 42.00 & 242.50 \\ Foo bar & 3242.00 & 10.50 \\ \end{tabular} \end{document} I tried C-u M-x align-current but without success.