I'd like to indicate one or more authors in a bibliography entry that should be highlighted, e.g., boldface. This solution allows one to indicate one author from the list, using an index provided in the auxiliary field usera.

How would the solution be changed in order to allow multiple authors, e.g.,

author = {J. Doe and J. Smith and J. Quincy}
usera = {1,3}

This would result in the first and third authors being highlighted.


You can parse the usera field using \docsvfield. Here is a simplified macro from the linked solution that will set all author names indicated by usera in italics.

  \ifboolexpr{ test {\ifcurrentname{author}} and not test {\iffieldundef{usera}} }

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.