Friday, July 20, 2012

Highlighting in LaTeX with the soul package - highlighting citations

Ok, after a quick search, I found that if you put an extra set of brackets around the \cite{}, then the highlighting should work!!

 So for example, \hl{{\cite{citation}}}

 It should work for other citation types too, \citeyear, etc.  I haven't tried it, but it probably works for other environments.

Here is a screen shot from me:

No comments:

Post a Comment