help-gnu-emacs
[Top][All Lists]
Advanced

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

Re: gnus font shortcuts


From: Joel J. Adamson
Subject: Re: gnus font shortcuts
Date: Wed, 14 May 2008 10:24:09 -0400
User-agent: Gnus/5.13 (Gnus v5.13) Emacs/23.0.60 (gnu/linux)

David Hansen <david.hansen@gmx.net> writes:

> On Tue, 13 May 2008 12:35:14 -0400 Joel J. Adamson wrote:
>
>> David Hansen <david.hansen@gmx.net> writes:
>>
>>> On Tue, 13 May 2008 11:00:31 -0400 Joel J. Adamson wrote:
>>>
>>>> I stand corrected; I'll put in that since I choose to use a font that
>>>> doesn't have slants, and underlining was originally a printing order for
>>>> italics, underlining is still good ;)
>>>
>>> You can use a different font for italic faces.
>>
>> Interesting: what variable do I customize?
>
> Actually every face that has set the "italic" flag.  I don't know if
> there is a way to find out about all these faces.  A good start is to
> customize-face italic and then set every face you want to be italic to
> "inherit" from the `italic' face.
>
> IMHO italic looks pretty ugly on computer screens, so there are just
> very few cases where I want that (the gnus emphasize thing is one of
> them).

This works: I set an alternative font family (Utopia, same as
variable-pitch) for the italic face, then set the inherit attribute on
the default face to "italic" and now I get italics in a different face.
Very cool.

Here's the excerpt from custom-set-faces:

'(italic ((t (:slant italic :family "Utopia"))))
'(default ((t (:inherit italic))))     

Joel
-- 
Joel J. Adamson
Biostatistician
Pediatric Psychopharmacology Research Unit
Massachusetts General Hospital
Boston, MA  02114
(617) 643-1432
(303) 880-3109
Public key: http://pgp.mit.edu
http://www.unc.edu/~adamsonj

Ineffective security measure:

The information transmitted in this electronic communication is intended only
for the person or entity to whom it is addressed and may contain confidential
and/or privileged material. Any review, retransmission, dissemination or other
use of or taking of any action in reliance upon this information by persons or
entities other than the intended recipient is prohibited. If you received this
information in error, please contact the Compliance HelpLine at 800-856-1983 and
properly dispose of this information.







reply via email to

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