Re: Any good way to align a tabular enviroment?
Erik Frisk <[email protected]> Sun, 13 Mar 2005 12:16:02 +0100
| Newsgroups | gmane.emacs.auc-tex |
|---|---|
| Message-ID | <[email protected]> |
>>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.
/Erik
--
---------------------------------------------------------------------
Erik Frisk email: [email protected]
Dept. of Electrical Engineering tel: +46 13 285714
Linköping University fax: +46 13 282035
S-581 83 Linköping
SWEDEN http://www.fs.isy.liu.se/~frisk/
---------------------------------------------------------------------