[Top][All Lists]

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

Re: [AUCTeX-devel] Re: Fontification of titles in LaTeX slides

From: Ralf Angeli
Subject: Re: [AUCTeX-devel] Re: Fontification of titles in LaTeX slides
Date: Thu, 08 Sep 2005 14:57:30 +0200
User-agent: Gnus/5.110004 (No Gnus v0.4) Emacs/22.0.50 (gnu/linux)

* Reiner Steib (2005-08-03) writes:

> On Wed, Aug 03 2005, Ralf Angeli wrote:
>> * Reiner Steib (2005-08-02) writes:
>>> On Tue, Aug 02 2005, Ralf Angeli wrote:
>>>> Do other LaTeX classes for producing slides have special macros for
>>>> titles as well?  
> [...]
>> What I found with help of
>> <URL:>:
>> beamer:       \frametitle
> [ And \begin{frame}{<title>} or \begin{frame}{<title>}{<subtitle>} as
> pointed out by Jochen K├╝pper. ]

As the \begin flavors are kinda hard to do I only implemented the
\frametitle case for now.

>>>> In this case we could add a new keyword class for such titles
>>>> instead [...]

There now is a new `slide-title' class and an associated face named
`font-latex-slide-title-face'.  It inherits from
`font-lock-type-face', so the color is different from the faces used
for the sectioning commands.  This seemed appropriate because IIRC
there is at least one slide class where sectioning commands can be
used besides title commands.

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.


reply via email to

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