[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: emacs latex mode, color highlighting only
From: |
Marco Grazzi |
Subject: |
Re: emacs latex mode, color highlighting only |
Date: |
Thu, 22 Sep 2011 10:09:58 +0200 |
Many thanks.
Are there some lines of code that do the same and which I can add to .emacs
for permanent configuration?
marco
On Wed, 21 Sep 2011 04:55:19 -0400
Eli Zaretskii <eliz@gnu.org> wrote:
> > Date: Tue, 20 Sep 2011 13:22:03 +0200
> > From: Marco Grazzi <marco.grazzi@sssup.it>
> >
> > On Xemacs, it was possible to get color only highlighting (no font),
> > for instance with the mouse
> > Options -> Syntax highlighting -> (selecting color only, and not font)
> >
> > So far I could only enable/disable the fonts&color highlighting jointly,
> > with M-x font-lock-mode or global-font-lock-mode
> >
> > I would really like to have color only highlighting in Latex (for
> > rectangular pasting it is pretty useful not have the characters
> > changing size).
> >
> > Is it possible? Also through customization of the .emacs would much useful
>
> Yes, it is possible, but only through face customization.
>
> Type "M-x list-faces-display RET". Emacs will show the faces it knows
> about. (If you want to customize faces used by a certain mode, be
> sure to visit at least one file that triggers that mode.) Each face
> has a clickable link that will show a customization buffer, where you
> can reset the font to the default one and leave the rest. Then save
> the customizations for future sessions and restart Emacs.
>
--
Marco Grazzi
-----
LEM - Scuola Superiore Sant'Anna
Piazza Martiri della Liberta', 33
56127 Pisa, Italy
Tel. +39-050-883341 Fax +39-050-883344
Web site: http://www.cafed.sssup.it/~marco/