auctex-devel
[Top][All Lists]
Advanced

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

[AUCTeX-devel] Re: Fontifying of titles...


From: Ralf Angeli
Subject: [AUCTeX-devel] Re: Fontifying of titles...
Date: Sat, 09 Apr 2005 22:58:59 +0200
User-agent: Gnus/5.110003 (No Gnus v0.3) Emacs/22.0.50 (gnu/linux)

* Ralf Angeli (2005-04-09) writes:

> * David Kastrup (2005-04-09) writes:
>
>> Perhaps easier would be:
>>
>> (save-excursion
>>   (move-beginning-of-line)
>>   (if (< (vertical-motion 1) 1)
>>       col
>>     (backward-char)
>>     (min (current-column) col)))
>
> Neat.

And funny!

Try this: Copy the following text into a LaTeX buffer.

text text text text text text text text text text text \emph{foot foot
  foot} text text text text text text text text text

Fold it with `C-c C-o C-p' or whatever command you prefer and fill the
paragraph with `M-q' (assuming the value of `fill-column' is 70).
Yikes!

-- 
Ralf





reply via email to

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