[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[AUCTeX-devel] Re: Fontification of titles in LaTeX slides
From: |
Reiner Steib |
Subject: |
[AUCTeX-devel] Re: Fontification of titles in LaTeX slides |
Date: |
Thu, 08 Sep 2005 18:09:41 +0200 |
User-agent: |
Gnus/5.11 (Gnus v5.11) Emacs/22.0.50 (gnu/linux) |
On Thu, Sep 08 2005, Ralf Angeli wrote:
> There are no extra options for adjusting the font size or for
> switching to `color' fontification as in the sectioning case because
> only a single face is involved. I thought about making the type of
> fontification of slide titles dependent on
> `font-latex-fontify-sectioning' as well, but decided against it in
> order to give people the possibility to customize fontification of
> sectioning commands and slide titles independently.
>
> Comments appreciated.
Would it make sense to use `font-latex-fontify-sectioning' in the
defface for the calculation of the size?
--8<---------------cut here---------------start------------->8---
--- font-latex.el 08 Sep 2005 15:33:35 +0200 5.137
+++ font-latex.el 08 Sep 2005 15:37:24 +0200
@@ -931,7 +931,9 @@
:group 'font-latex-highlighting-faces)
(defface font-latex-slide-title-face
- (let* ((scale 1.2)
+ (let* ((scale (if (numberp font-latex-fontify-sectioning)
+ font-latex-fontify-sectioning
+ 1.1))
(size (when (featurep 'xemacs)
(round (* 0.9 (face-height 'default) scale)))))
(if (featurep 'xemacs)
--8<---------------cut here---------------end--------------->8---
Or (* f-l-f-s f-l-f-s) / (* 1.1 1.1) if 1.2 seems "better" than 1.1.
Bye, Reiner.
--
,,,
(o o)
---ooO-(_)-Ooo--- | PGP key available | http://rsteib.home.pages.de/