Coloring of citations (when using \citep, \citet, etc. as
opposed to just using \cite) is not properly working. Details
from the stackexchange post
(http://emacs.stackexchange.com/questions/27591/auctex-citation-color)
are here:
When inserting a reference in a LaTeX document (using Auctex) I normally type:
\cite{joebob_2010}
where "\cite" shows up in blue font, while "joebob_2010" shows up reddish/purple. I like this coloring. However, when I use
\citep{joebob_2010}
all text shows up white.
In my .emacs file I put:
(add-hook 'LaTeX-mode-hook
(lambda ()
(font-lock-add-keywords nil '(("\\(\\\\citep\\)\\s-*{" 1 font-lock-keyword-face t)))
(font-lock-add-keywords nil '(("\\(\\\\citet\\)\\s-*{" 1 font-lock-keyword-face t)))
))
This changed the color of "\citep" to blue, but the reference to "joebob_2010" remains white. Can I modify this to have the same coloring as "\cite{joebob_2010}"?