🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

2 total messages Started by Adam Funk Tue, 19 Oct 2004 09:43
How to get AucTeX not to mess up the contents of the boxedverbatim environment?
#12023
Author: Adam Funk
Date: Tue, 19 Oct 2004 09:43
10 lines
1432 bytes
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?

Thanks,
Adam
Re: How to get AucTeX not to mess up the contents of the boxedverbatim environment?
#12024
Author: Ralf Angeli
Date: Tue, 19 Oct 2004 10:18
26 lines
2080 bytes
* 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
<URL:http://theotp1.physik.uni-ulm.de/~ste/comp/emacs/auctex/snapshots/>.

Followup-To: gnu.emacs.help
-- 
Ralf
Thread Navigation

This is a paginated view of messages in the thread with full content displayed inline.

Messages are displayed in chronological order, with the original post highlighted in green.

Use pagination controls to navigate through all messages in large threads.

Back to All Threads