Re: Any good way to align a tabular enviroment?
"Adam Johnson" <[email protected]> Thu, 17 Mar 2005 11:49:01 -0500
| Newsgroups | gmane.emacs.auc-tex |
|---|---|
| Message-ID | <[email protected]> |
Thanks, David. I just have the chance to try it. It doesn't work on my
Emacs system. When I use the command, Emacs has no response (it is dead).
I must stop and restart it.
BTW: I'm using AUCTeX 11.55
MikTeX 2.4
CVS Emacs 21.3.50.1
Windows XP.
--------
Best Regards,
Adam
----- Original Message -----
From: "David Kastrup" <[email protected]>
To: "Adam Johnson" <[email protected]>
Cc: "AUCTeX List" <[email protected]>
Sent: Sunday, March 13, 2005 5:37 AM
Subject: Re: Any good way to align a tabular enviroment?
> "Adam Johnson" <[email protected]> writes:
>
>> Is there any .el file using together with AUCTeX to align a tabular
>> environment?
>>
>> For example: Given a unformatted tabular environment
>> \begin{tabular}{lcr}
>> a& b& 80\% \\
>> \&& 55555&88\\
>> 12345& 100 & 77
>> \end{tabular}
>>
>> 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
>
> --
> David Kastrup, Kriemhildstr. 15, 44793 Bochum
>