[Tex/LaTex] Make changes in unsrt bibliography style

bibtex

I have a question on changing the order of first/last names of authors using in unsrt bibliography style. I tried with other styles but the closest to what I need is unsrt with a little change.

Unsrt gives the reference as given below

M. Velasquez and P. T. Hester. An analysis of multi-criteria decision making methods. International Journal of Operations Research, 10(2):56–66, 2013.

But I would like something like this

Velasquez, M and Hester, P.T., An analysis of multi-criteria decision making methods. International Journal of Operations Research, 10(2):56–66, 2013.

I just need to change the appearance of first name and surname in this bibliography style. Could you please help on this matter?

Best Answer

I also struggled with unsrt and the sorting of the first and last names in the bibliography.

I use Texmaker 4.3, MiKTeX 2.9, and there is an easy fix for it:

  • Copy the unsrt.bst file from the MiKTeX directory from the folder "MiKTeX 2.9\bibtex\bst\base" into the folder of your .tex document and rename it (e.g. unsrt2.bst)
  • Open it with the editor and go to the section FUNCTION {format.names}
  • Rewrite the following line { s nameptr "{ff~}{vv~}{ll}{, jj}" format.name$ 't := to { s nameptr "{ll}{~ff}{~vv}{, jj}" format.name$ 't :=
  • in the .tex file use the new style: \bibliographystyle{unsrt2}
  • enjoy