emacs AucTeX:Turn off auto-fill-mode inside a particular LaTeX environment

Posted by Seamus on Super User See other posts from Super User or by Seamus
Published on 2011-07-13T10:48:14Z Indexed on 2012/10/01 9:40 UTC
Read the original article Hit count: 234

Filed under:
|

I like using auto-fill-mode for hard line wrapping. However, when I'm making a big tabular in a .tex file, I like using align-current to have the table look somewhat like it would when printed. The difficulty is that if I have a table that is longer than the line width, auto-fill-mode breaks it, and then align-current can't put things to rights and gets confused.

Is there a way to tell emacs that when I'm between the \begin and \end tags of a particular kind of environment (in this case, tabular), don't word wrap...

© Super User or respective owner

Related posts about emacs

Related posts about auctex