# bibliographystyle agsm uses deprecated command \bf

I am using natbib with agsm (harvard citation style), which apparently uses the deprecated \bf command. Upon compiling, I receive a hundred warnings. Does this mean that agsm is itself deprecated? If so, how do I get exactly the same layout with a more recent style?

• @MERose The command \bf was deprecated twenty years ago. Unfortunately, people continue to use it. Markus Kohm, in his KOMA classes, decided to add the warning (it's a good thing, in my opinion), but he can do nothing with software from third parties. Nov 27 '15 at 18:21
• @egreg: the old meaning of \bf is deprected, but the definition in the article class imho maps the command to something sensible. People like short commands, and \bf has compared to \bfseries the advantage to be usable in math too. Imho Markus should either drop the command -- nobody can force him to provide it -- or use the article definition. Nov 27 '15 at 20:21

Add \DeclareOldFontCommand{\bf}{\normalfont\bfseries}{\mathbf} to your document to get rid of the warnings.