I've avoided editing bst files but I finally encountered something that I felt needed to change. When abbreviating the name Foo Bar Baz, the abbrv bibliography style produces
F.~B.~Baz
which has too much space between the F and the B for my tastes.
After making a copy of
abbrv.bst (and renaming it), we can change the argument to the
format.name$ function (see
Section 18) from
"{f.~}{vv~}{ll}{, jj}" to
"{f{.\nobreak\,}.~}{vv~}{, jj}" to produce a nonbreaking thin space between the F. and the B.
I hope I never again have to edit a a bst.
No comments:
Post a Comment