all messages for Emacs-related lists mirrored at yhetil.org
 help / color / mirror / code / Atom feed
* How to get AucTeX not to mess up the contents of the boxedverbatim environment?
@ 2004-10-19  9:43 Adam Funk
  2004-10-19 10:18 ` Ralf Angeli
  0 siblings, 1 reply; 3+ messages in thread
From: Adam Funk @ 2004-10-19  9:43 UTC (permalink / raw)


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

^ permalink raw reply	[flat|nested] 3+ messages in thread

* Re: How to get AucTeX not to mess up the contents of the boxedverbatim environment?
  2004-10-19  9:43 How to get AucTeX not to mess up the contents of the boxedverbatim environment? Adam Funk
@ 2004-10-19 10:18 ` Ralf Angeli
  2004-10-20 13:07   ` Adam Funk
  0 siblings, 1 reply; 3+ messages in thread
From: Ralf Angeli @ 2004-10-19 10:18 UTC (permalink / raw)


* 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

^ permalink raw reply	[flat|nested] 3+ messages in thread

* Re: How to get AucTeX not to mess up the contents of the boxedverbatim environment?
  2004-10-19 10:18 ` Ralf Angeli
@ 2004-10-20 13:07   ` Adam Funk
  0 siblings, 0 replies; 3+ messages in thread
From: Adam Funk @ 2004-10-20 13:07 UTC (permalink / raw)


On Tuesday 19 October 2004 11:18, Ralf Angeli wrote:

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

I did both of those.  Perfect!

Thanks,
Adam

^ permalink raw reply	[flat|nested] 3+ messages in thread

end of thread, other threads:[~2004-10-20 13:07 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2004-10-19  9:43 How to get AucTeX not to mess up the contents of the boxedverbatim environment? Adam Funk
2004-10-19 10:18 ` Ralf Angeli
2004-10-20 13:07   ` Adam Funk

Code repositories for project(s) associated with this external index

	https://git.savannah.gnu.org/cgit/emacs.git
	https://git.savannah.gnu.org/cgit/emacs/org-mode.git

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.