Re: Any good way to align a tabular enviroment?

David Kastrup <[email protected]> Sun, 13 Mar 2005 13:31:15 +0100
Newsgroups gmane.emacs.auc-tex
Message-ID <[email protected]>
Erik Frisk <[email protected]> writes:

>>>After using C-M-\, it can be aligned as following:
>>>\begin{tabular}{lcr}
>>>  a     & b     & 80\% \\
>>>  \&    & 55555 & 88   \\
>>>  12345 & 100   & 77
>>>\end{tabular}
>>>The elements can be aligned at &'s.
>>>
>>>Any .el file or AUCTeX style can format a tabular nicely?  Thanks.
>> M-x align-current RET
>
> Neat, I did not know about that one. Is there a way to only align the
> current latex environment. I could not figure out the scope of
> M-x align-current, but it was larger than I would like.

C-h f align-current RET

-- 
David Kastrup, Kriemhildstr. 15, 44793 Bochum