auctex-devel
[Top][All Lists]
Advanced

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

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


From: David Kastrup
Subject: Re: [AUCTeX-devel] Re: Fontifying of titles...
Date: Tue, 05 Apr 2005 12:54:36 +0200
User-agent: Gnus/5.11 (Gnus v5.11) Emacs/22.0.50 (gnu/linux)

Ralf Angeli <address@hidden> writes:

> * Christian Schlauer (2005-04-05) writes:
>
>>>> Some improvements may be to lower the baseline somewhat to make it
>>>> appear more like an inset
>>
>> I'm a bit curious how this would look...
>
> For a given buffer disable font locking by typing `M-x
> font-lock-mode RET'.

Well, I have font lock disabled, anyway.

> Then manouver point onto a line with a section heading.  Type `M-:
> (font-lock-fontify-region (line-beginning-position)
> (line-end-position)) RET'.

Nothing happens.

> Assuming there is no content on the same line after the end of the
> section, move point to the first brace and type `M-:
> (put-text-property (point) (line-end-position) 'display '(raise
> -.1)) RET'.  You can play a bit with the value for the `raise'
> display property.  It doesn't look good in my opinion.

Well, that's because you lower the braces as well!  That is not the
idea of an inset.  Anyway, I didn't claim it _would_ look good.  OTOH,
the current setting also does not look good IMO.

-- 
David Kastrup, Kriemhildstr. 15, 44793 Bochum




reply via email to

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