BibTeX, biblatex and biber ⇒ Lastname first in natbib
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
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
NEW: TikZ book now 40% off at Amazon.com for a short time.

Re: Lastname first in natbib
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.
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: 9202
- Joined: Fri Feb 02, 2007 12:06 pm
Lastname first in natbib
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
Best regards and welcome to the board
Thorsten
How to make a "Minimal Example"
Board Rules
Avoidable Mistakes
¹ System: TeX Live 2025 (vanilla), TeXworks 0.6.10
Board Rules
Avoidable Mistakes
¹ System: TeX Live 2025 (vanilla), TeXworks 0.6.10
-
- Posts: 9
- Joined: Sun Nov 16, 2008 5:32 am
Re: Lastname first in natbib
I use apa.bst. Works like a charm.
Re: Lastname first in natbib
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.
Smith B.
Lee S.L.
to be in the list of references/bibliography, and sorted alphabetically according to Last Name. Thanks.
Lastname first in natbib
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
In the orginal file the line looks like
This is based on the answer given by danielpferreira and the link provided in his reply.
JPi
Code: Select all
{ s nameptr "{vv~}{ll}{, f.}{~jj}" format.name$ 't :=.
Code: Select all
{ s nameptr "{f.~}{vv~}{ll}{, jj}" format.name$ 't :=.
JPi
-
- Posts: 141
- Joined: Sun Jun 12, 2011 6:30 am
Re: Lastname first in natbib
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.
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.
Lastname first in natbib
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
and then cite it as
this will render:
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
So you could do
Code: Select all
\defcitealias{biden:2009}{Biden, 2009}
Code: Select all
This is the new display of the paper by~\citepalias{biden:2009}
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
-
- Posts: 141
- Joined: Sun Jun 12, 2011 6:30 am
Lastname first in natbib
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
and then cite it asCode: Select all
\defcitealias{biden:2009}{Biden, 2009}
this will render:Code: Select all
This is the new display of the paper by~\citepalias{biden:2009}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
-
- Posts: 2
- Joined: Mon Dec 08, 2014 6:36 am
Re: Lastname first in natbib
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.
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.