all messages for Emacs-related lists mirrored at yhetil.org
 help / color / mirror / code / Atom feed
* colorization of mode contents
@ 2014-01-24 16:43 Haines Brown
  2014-01-25 14:14 ` Emanuel Berg
  0 siblings, 1 reply; 13+ messages in thread
From: Haines Brown @ 2014-01-24 16:43 UTC (permalink / raw)
  To: help-gnu-emacs

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.

Unfortunately, I'm using a cite command peculiar to the achicago style,
which is \citeNP{key}. Key values are no longer colored, but I would like
them to be. 

I get the impression highlighting of command is done with emacs' M-x
font-lock-mode RET. But AUCTeX apparently imposes its own scheme
activated by tex-font-setup. I don't know whether I need somehow to
configure AUCTeX or emacs. 

Since "citeNP" is unlikely to appear in other contexts, could I use a
setq statement in .emacs to highight it as a verbatim? Do I use the
LaTeX-verbatim-environments variable? I'm lost at this point.  

Haines Brown

  


^ permalink raw reply	[flat|nested] 13+ messages in thread

end of thread, other threads:[~2014-01-27 19:36 UTC | newest]

Thread overview: 13+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2014-01-24 16:43 colorization of mode contents Haines Brown
2014-01-25 14:14 ` Emanuel Berg
2014-01-25 15:55   ` Haines Brown
2014-01-25 17:15     ` Emanuel Berg
2014-01-25 20:56   ` Haines Brown
2014-01-25 23:05     ` Emanuel Berg
2014-01-25 23:21       ` Emanuel Berg
2014-01-26 12:35       ` Haines Brown
2014-01-26 15:51         ` Emanuel Berg
2014-01-27 15:49           ` Haines Brown
2014-01-27 16:56             ` Emanuel Berg
2014-01-27 19:36               ` Haines Brown
2014-01-25 21:27   ` Stefan Monnier

Code repositories for project(s) associated with this external index

	https://git.savannah.gnu.org/cgit/emacs.git
	https://git.savannah.gnu.org/cgit/emacs/org-mode.git

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.