[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: colorization of mode contents
From: |
Emanuel Berg |
Subject: |
Re: colorization of mode contents |
Date: |
Sat, 25 Jan 2014 15:14:58 +0100 |
User-agent: |
Gnus/5.13 (Gnus v5.13) Emacs/24.3 (gnu/linux) |
Haines Brown <haines@histomat.net> writes:
> In LaTeX/PS mode, the \cite{key} command displays key
> values in green in the raw .tex file. This makes it
> easy to spot the command in a block of text.
Try:
(font-lock-add-keywords
'latex-mode
'(("citeNP\{\\(.*\\)\}" (1 'font-lock-comment-face))))
If nothing happens, after eval, try (latex-mode) or
`M-x latex-mode'. (And change the face to whatever you
like.)
--
underground experts united:
http://user.it.uu.se/~embe8573
- colorization of mode contents, Haines Brown, 2014/01/24
- Re: colorization of mode contents,
Emanuel Berg <=
- Re: colorization of mode contents, Haines Brown, 2014/01/25
- Re: colorization of mode contents, Haines Brown, 2014/01/25
- Re: colorization of mode contents, Emanuel Berg, 2014/01/25
- Re: colorization of mode contents, Emanuel Berg, 2014/01/25
- Re: colorization of mode contents, Haines Brown, 2014/01/26
- Re: colorization of mode contents, Emanuel Berg, 2014/01/26
- Re: colorization of mode contents, Haines Brown, 2014/01/27
- Re: colorization of mode contents, Emanuel Berg, 2014/01/27
- Re: colorization of mode contents, Haines Brown, 2014/01/27