[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: How to get AucTeX not to mess up the contents of the boxedverbatim e
Re: How to get AucTeX not to mess up the contents of the boxedverbatim environment?
Tue, 19 Oct 2004 12:18:53 +0200
Gnus/5.110003 (No Gnus v0.3) Emacs/21.3.50 (berkeley-unix)
* Adam Funk (2004-10-19) writes:
> I've just started using the boxedverbatim environment of the moreverb
> package (LaTeX Companion, Section 3.3.3). AucTex recognizes the
> verbatim environment and doesn't indent or change the line breaks
> within it (for example when putting a center environment around it with
> C-c C-e).
> How can I set it to treat boxedverbatim the same way?
If you only have to suppress filling, type `M-x customize-variable RET
LaTeX-indent-environment-list RET' and add an entry by using the entry
for the verbatim environment as an example.
If the environment has to be flush left like the verbatim environment
you have to customize the variable `LaTeX-verbatim-regexp' as well.
You didn't write what you actually want to put into the boxedverbatim
environment, but maybe the listings package is a better option. And
this package will be supported by AUCTeX out of the box with the next
release. If you want to try this right away, you can get a snapshot at