I am writing my CV in LaTeX. I am using biblatex
and want my name (and only my name) to be bold for every reference. Is there a magic way to do this?
A similar question Make one author's name bold every time it shows up in the bibliography was asked, but that answer used BibTeX. While I use the BibTeX backend, I use biblatex
.
Any suggestions?
Best Answer
You can patch the
name:last
,name:first-last
andname:last-first
macros defined inbiblatex.def
. These are used by all of the default name formatting directives and take four arguments:or
In the following we match only on the first and last name parts.
Note that the name parts in the
\boldnames
etoolbox
internal list should follow the format of thebbl
file, which is backend-dependent. The example here covers both biber and BibTeX. With biber you can also perform matching using thehash
field:where
<hash string>
can also be found in thebbl
file.If your name is consistently formatted in the
bib
file an alternative approach is to normalize name punctuation before matching. This example allows you to specify your name in BibTeX's format regardless of the backend.