auctex
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [AUCTeX] wrapping text in verbatim environments


From: thomas
Subject: Re: [AUCTeX] wrapping text in verbatim environments
Date: Wed, 17 May 2006 11:29:38 +0200

On 5/17/06, Ralf Angeli <address@hidden> wrote:
* thomas (2006-05-16) writes:

> I would like to wrap the text in verbatim environments (to - say - 70
> characters), just like in mail-mode. I don't want the whole document
> to be wrapped, but just the portion of verbatim text I am editing. If
> it is not possible to have an automatic wrapping (auto-fill-mode (?)),
> at least, a manual wrapping with M-q.

You could remove verbatim environments from
`LaTeX-indent-environment-list', but this will enable indentation as
well.

But will it do the trick? I think I was not very clear. What I want is
a possibility to make sure that a line is never longer as 70
characters (or 60, or 80). When you type an email in emacs, the
mail-fill mode automatically insterts a newline character after 72
letters. You can also do that manually with M-q.
With verbatim environments, the line continues in the right margin
when it is too long. When I paste the ouptut of a shell command in a
latex file, I don't want to format the whole output myself, that is to
cut the lines which are too long. I thought auctex could maybe do that
automatically.
Thanks

Thomas




reply via email to

[Prev in Thread] Current Thread [Next in Thread]