I have my bib close to the desired format, except I need the first name to be "lastname, firstname" and subsequent names be "firstname lastname". Currently all names are "lastname, firstname".
This is the how the current bib looks:
[1] Van Noorden, Richard, Maher, Brendan, and Nuzzo, Regina. The top 100 papers. Nature, 514(7524):550, 2014. ISSN 0028-0836.
The desired result is:
[1] Van Noorden, Richard, Brendan Maher, and Regina Nuzzo. The top 100 papers. Nature, 514(7524):550, 2014. ISSN 0028-0836.
I am currently using the following commands in my preamble associated with the bib:
\usepackage{cite}
\usepackage[square,numbers,sort&compress]{natbib}
\bibliographystyle{unsrtnat_lastfirst}
Where unsrtnat_lastfirst is an altered version of the unsrtnat style. I modified it to get the last name to be first, but I do not know how to alter the formatting for subsequent authors. The format.names function is as follows:
FUNCTION {format.names}
{ 's :=
#1 'nameptr :=
s num.names$ 'numnames :=
numnames 'namesleft :=
{ namesleft #0 > }
{ s nameptr "{vv~}{ll}{, jj}{, ff}" format.name$ 't :=
nameptr #1 >
{ namesleft #1 >
{ ", " * t * }
{ numnames #2 >
{ "," * }
'skip$
if$
t "others" =
{ " et~al." * }
{ " and " * t * }
if$
}
if$
}
't
if$
nameptr #1 + 'nameptr :=
namesleft #1 - 'namesleft :=
}
while$
}
I found this related question to be relevant, but was unable to correctly alter my .bst to match. I would like to continue using my preamble (due to other requirements on formatting) but believe I should be able to modify this .bst to have the desired effect (with some help).
Thanks in advance. Happy to edit for more information if needed.