## LaTeX forum ⇒ BibTeX, biblatex and biber ⇒ Lastname first in natbib

Information and discussion about BiBTeX - the bibliography tool for LaTeX documents.
mlj
Posts: 1
Joined: Tue Aug 31, 2010 2:35 pm

### Lastname first in natbib

Hi,

I've recently started using natbib. The style abbrvnat is almost exactly what I need, except for the fact that the author's first name initial comes before the last name. Are there any styles that are just like abbrvnat but where the order of names is reversed? I've been searching for hours without results.

thanks,
Martin

frabjous
Posts: 2064
Joined: Fri Mar 06, 2009 12:20 am
Location: Amherst, MA
Someone might have a more direct answer to your quesiton, but I'm a fan of making my own .bst file.

latex makebst

from the command line will walk you through a multiple choice list of options for a bib style, and then create one for you.

localghost
Site Moderator
Posts: 9206
Joined: Fri Feb 02, 2007 12:06 pm
Location: Braunschweig, Germany
The biblatex package might be worth a look. At the moment my experience with this package is very limited. So I might not be able to help.

Best regards and welcome to the board
Thorsten
LaTeX Community Moderator

¹ System: openSUSE 42.2 (Linux 4.4.52), TeX Live 2016 (vanilla), TeXworks 0.6.1

pepperedmoth
Posts: 9
Joined: Sun Nov 16, 2008 5:32 am
I use apa.bst. Works like a charm.

fuzzydoor
Posts: 5
Joined: Mon Jun 13, 2011 12:21 pm
Has anyone figured out how to do this? What I need is:

Smith B.
Lee S.L.

to be in the list of references/bibliography, and sorted alphabetically according to Last Name. Thanks.

juanpi
Posts: 3
Joined: Tue Sep 13, 2011 5:05 pm
To modify this behavior you can copy the file abbrvnat.bst to the folder where you have your tex document. Rename the file to your preferred name, I used abbrvnat_custom.bst and replace line number 222 with this code

`{ s nameptr "{vv~}{ll}{, f.}{~jj}" format.name\$ 't :=.`

In the orginal file the line looks like

`{ s nameptr "{f.~}{vv~}{ll}{, jj}" format.name\$ 't :=.`

This is based on the answer given by danielpferreira and the link provided in his reply.

JPi

latexhelp1
Posts: 141
Joined: Sun Jun 12, 2011 6:30 am
This is a slightly related question though I did not know what forum to put it in.

I use natbib, bibtex, and the corresponding cite commands in the text. I have one article whose authorship is technically an individual and an organization. For example, suppose I have an article that is authored by Joe Biden and the Center for American Progress in 2009. However, in the text, for whatever reason, suppose I only want the article to appear as if it had been written by Biden: Biden (2009). I do not want Biden et al. (2009), just Biden (2009). (I do not want to discuss the integrity of listing only Biden in text for this fictional example. It seems to be the conventional citation method with this particular source).

Normally I would do (Biden, 2009)\nocite{biden:2009} so that the citation is properly done in the references section but it appears only as Biden in the text. However, because I do hyperref, if I do nocite, then there will not be a hyperref to this citation.

I cannot seem to find a version of citet, citep, etc... that is for citing only the last name of only the first author and not to use an et al.

I cannot think of a way to manipulate the bibtex formatting to achieve this, which I recognize would an alternative solution. That is, somehow tricking bibtex into thinking that Center for American Progress is not an author but still listing it before the year (as my other references do per the bibliographystyle package that I use) and not messing up the italicizing and order of the other parts of the reference (i.e. title and so forth).

I would very much appreciate any advice that you have. I realize that was quite the message. I would gladly include code, but I cannot think of a simple code to write to reflect what I am trying to do.

In sum, I want to do the following:
1. Have in the reference section, the article be listed as Biden and Center for American Progress (2009). Title, ..... etc....
2. Have in the text Biden (2009).
3. Have in the text a hyperref around Biden (2009) like I do for all my other citations.
Last edited by latexhelp1 on Tue Oct 25, 2011 3:45 pm, edited 1 time in total.

juanpi
Posts: 3
Joined: Tue Sep 13, 2011 5:05 pm
I ma not sure I understand your problem, but full customization of the appearance of a citation can be achieved with aliases.
So you could do

`\defcitealias{biden:2009}{Biden, 2009}`

and then cite it as

`This is the new display of the paper by~\citepalias{biden:2009}`

this will render:
This is the new display of the paper by (Biden, 2009)

and will be linked normally.

In the reference sheet of natbib (have it always at hand )

http://merkel.zoneo.net/Latex/natbib.php

you can find more information

I hope this helps.

JPi

latexhelp1
Posts: 141
Joined: Sun Jun 12, 2011 6:30 am
This is absolutely perfect! I do not know how to thank you enough.

juanpi wrote:I ma not sure I understand your problem, but full customization of the appearance of a citation can be achieved with aliases.
So you could do

`\defcitealias{biden:2009}{Biden, 2009}`

and then cite it as

`This is the new display of the paper by~\citepalias{biden:2009}`

this will render:
This is the new display of the paper by (Biden, 2009)

and will be linked normally.

In the reference sheet of natbib (have it always at hand )

http://merkel.zoneo.net/Latex/natbib.php

you can find more information

I hope this helps.

JPi

pudding4869
Posts: 2
Joined: Mon Dec 08, 2014 6:36 am
You may wish to try 'agu' bibliography style.

I was using 'natbib', had the same problem and jumped to agu (American Geophysical Union). It fixed the lastname first issue, and apart from that I can't tell the difference between the two styles.

Return to “BibTeX, biblatex and biber”

### Who is online

Users browsing this forum: No registered users and 5 guests