Re: Any good way to align a tabular enviroment?

Erik Frisk <[email protected]> Sun, 13 Mar 2005 15:46:12 +0100
Newsgroups gmane.emacs.auc-tex
Message-ID <[email protected]>
>>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
> 

I had already done that. However, the help text [1] did not give me, 
with only little elisp knowledge and a lisp course 10 years back in time 
as a background, enough information on how to align only the current 
latex environment. What an "alignment section" is and if/how to write 
rules to do what I want is still unclear.

	/Erik

[1]
align-current is an interactive autoloaded Lisp function in `align'.
(align-current &optional rules exclude-rules)

Call `align' on the current alignment section.
This function assumes you want to align only the current section, and
so saves you from having to specify the region.  If rules or
exclude-rules is set to a list of rules (see `align-rules-list'), it
can be used to override the default alignment rules that would have
been used to align that section.

-- 
---------------------------------------------------------------------
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/
---------------------------------------------------------------------