"Dr. Ing. Dieter Jurzitza" <[email protected]> writes:
Hi Dieter,
> yesterday I got a very helpful hint regarding auto-fill mode. Normally
> I like to work with auto-fill-mode "active", however, working with
> tabular environments this may be boring if the number of columns is
> large. So, as mentioned before, I got the hint regarding
> auto-fill-inhibit-regexp and configured this as shown here:
>
> '(auto-fill-mode 1)
> '(auto-fill-inhibit-regexp ".*&")
>
> however, this will not work for \begin{tabular} or for \end{tabular}
> lines (the latter being rather unproblematic).
I don't see why having auto-fill enabled in \begin{tabular} lines is
problematic... But of course, you can tweak the regexp to match those,
too.
".*\\(?:\\\\\\(?:begin\\|end\\){tabular}\\|&\\)"
This matches any line containing \begin{tabular}, \end{tabular}, or &.
Bye,
Tassilo
_______________________________________________
auctex mailing list
[email protected]
https://lists.gnu.org/mailman/listinfo/auctex