* emacs latex mode, color highlighting only
@ 2011-09-20 11:22 Marco Grazzi
2011-09-21 8:55 ` Eli Zaretskii
0 siblings, 1 reply; 4+ messages in thread
From: Marco Grazzi @ 2011-09-20 11:22 UTC (permalink / raw)
To: help-gnu-emacs
Dear Emacs users,
I recently switched from Xemacs to Emacs.
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
thank you in advance,
marco
^ permalink raw reply [flat|nested] 4+ messages in thread
* Re: emacs latex mode, color highlighting only
2011-09-20 11:22 emacs latex mode, color highlighting only Marco Grazzi
@ 2011-09-21 8:55 ` Eli Zaretskii
2011-09-22 8:09 ` Marco Grazzi
0 siblings, 1 reply; 4+ messages in thread
From: Eli Zaretskii @ 2011-09-21 8:55 UTC (permalink / raw)
To: help-gnu-emacs
> 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.
^ permalink raw reply [flat|nested] 4+ messages in thread
* Re: emacs latex mode, color highlighting only
2011-09-21 8:55 ` Eli Zaretskii
@ 2011-09-22 8:09 ` Marco Grazzi
2011-09-22 12:02 ` Eli Zaretskii
0 siblings, 1 reply; 4+ messages in thread
From: Marco Grazzi @ 2011-09-22 8:09 UTC (permalink / raw)
To: help-gnu-emacs
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/
^ permalink raw reply [flat|nested] 4+ messages in thread
* Re: emacs latex mode, color highlighting only
2011-09-22 8:09 ` Marco Grazzi
@ 2011-09-22 12:02 ` Eli Zaretskii
0 siblings, 0 replies; 4+ messages in thread
From: Eli Zaretskii @ 2011-09-22 12:02 UTC (permalink / raw)
To: help-gnu-emacs
> Date: Thu, 22 Sep 2011 10:09:58 +0200
> From: Marco Grazzi <marco.grazzi@sssup.it>
>
> Many thanks.
>
> Are there some lines of code that do the same and which I can add to .emacs
> for permanent configuration?
When you save the customization for future session, Emacs will add the
necessary Lisp code to your .emacs.
^ permalink raw reply [flat|nested] 4+ messages in thread
end of thread, other threads:[~2011-09-22 12:02 UTC | newest]
Thread overview: 4+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2011-09-20 11:22 emacs latex mode, color highlighting only Marco Grazzi
2011-09-21 8:55 ` Eli Zaretskii
2011-09-22 8:09 ` Marco Grazzi
2011-09-22 12:02 ` Eli Zaretskii
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).