For several documents I'm preparing, I need to highlight (or underline) occurences of my name within the bibliography.
Is there an easy way of doing this?
It depends on how you prepare the bibliography. If you are preparing it with BibTeX, you can use a trick I mentioned earlier today, which requires you change the .bib files; this definition should go in the .tex file
and an entry in the .bib file will have
However this depends also on how you want the names displayed in the bibliography.
If you don't want to act on the bib files, a different approach might work:
This exploits the fact that BibTeX separates each
For biblatex the situation is more involved; I got something with
for the standard style; but I don't know if there are side effects. Probably acting as Alan Munn suggested in a comment is best.
If you are using biblatex you can override the formatting of the list of authors:
This of course means you have to reproduce formatting of the backend you are using but it allows you to e.g. underline your initials and last name together. The example above is fairly basic (for example it doesn't care about inserting "et al." or "and" as required by some guidelines).
 I might be wrong here (I couldn't make the attached example to work) but it seems to me that egreg's solution works at
Below is a redefined default name formatting macro (based on definition of a
I am using Mendeley to manage my references. It can output a
For me, the shell script contains:
and in my