|
From: | Ralf Angeli |
Subject: | Re: [AUCTeX-devel] Re: Fontifying of titles... |
Date: | Tue, 05 Apr 2005 10:51:47 +0200 |
User-agent: | Gnus/5.110003 (No Gnus v0.3) Emacs/22.0.50 (gnu/linux) |
* 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'. Then manouver point onto a line with a section heading. Type `M-: (font-lock-fontify-region (line-beginning-position) (line-end-position)) RET'. 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. -- Ralf
[Prev in Thread] | Current Thread | [Next in Thread] |