auctex
[Top][All Lists]
Advanced

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

Re: [AUCTeX] Configuring LaTeX-fill command


From: Ralf Angeli
Subject: Re: [AUCTeX] Configuring LaTeX-fill command
Date: Mon, 06 Oct 2008 21:22:25 +0200

* Kannan Moudgalya (2008-10-06) writes:

> Ralf Angeli wrote:
>>
>> You could tell the filling code to break before opening braces by
>> customizing `LaTeX-fill-break-at-separators', see
>> (info "(auctex)Filling").  However, this will affect any type of braces
>> and not be confined to \intertext.
>>   
> Do you mean that I have to use the following command?
>
> '(LaTeX-fill-break-at-separators (quote (\{ \})))

Yes, something like that.

> This seems to make no difference.  What mistake am I making?

In my case it is working fine, i.e. \intertext gets its own line.  Do
you perhaps have a setup where `fill-column' is so large that the whole
argument of \intertext fits into one line?  Because the line is only
broken in front of the macro if its argument does not fit in it.

Hm, perhaps a better alternative for your problem would be to customize
`LaTeX-paragraph-commands'.  Macros listed in that variable will not be
filled together with the lines above or below them.  But you have to add
the respective line breaks before or after it yourself.

And the problem is that the implementation is currently broken.  If you
try to set it you will get an error at the moment.  I'll be checking a
fix for that into CVS shortly.

-- 
Ralf




reply via email to

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