LaTeX forum ⇒ BibTeX, biblatex and biberLastname 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

Postby mlj » Tue Aug 31, 2010 2:41 pm

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

Link:
BBcode:
HTML:
Hide post links
Show post links

User avatar
frabjous
Posts: 2064
Joined: Fri Mar 06, 2009 12:20 am
Location: Amherst, MA

Postby frabjous » Tue Aug 31, 2010 5:31 pm

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.

Link:
BBcode:
HTML:
Hide post links
Show post links

User avatar
localghost
Site Moderator
Posts: 9206
Joined: Fri Feb 02, 2007 12:06 pm
Location: Braunschweig, Germany

Postby localghost » Tue Aug 31, 2010 6:06 pm

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
How to make a "Minimal Example"
Board Rules
Avoidable Mistakes


¹ System: openSUSE 13.1 (Linux 3.11.10), TeX Live 2013 (vanilla), TeXworks 0.5 (r1351)
² Posting stopped indefinitely due to offenses

Link:
BBcode:
HTML:
Hide post links
Show post links

pepperedmoth
Posts: 9
Joined: Sun Nov 16, 2008 5:32 am

Postby pepperedmoth » Sat Oct 16, 2010 5:44 pm

I use apa.bst. Works like a charm.

Link:
BBcode:
HTML:
Hide post links
Show post links

fuzzydoor
Posts: 5
Joined: Mon Jun 13, 2011 12:21 pm

Postby fuzzydoor » Thu Jun 23, 2011 7:02 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.

Link:
BBcode:
HTML:
Hide post links
Show post links

juanpi
Posts: 3
Joined: Tue Sep 13, 2011 5:05 pm

Postby juanpi » Tue Sep 13, 2011 5:27 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

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


In the orginal file the line looks like

  1. { 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

Link:
BBcode:
HTML:
Hide post links
Show post links

latexhelp1
Posts: 141
Joined: Sun Jun 12, 2011 6:30 am

Postby latexhelp1 » Mon Oct 24, 2011 7:07 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.

Link:
BBcode:
HTML:
Hide post links
Show post links

juanpi
Posts: 3
Joined: Tue Sep 13, 2011 5:05 pm

Postby juanpi » Mon Oct 24, 2011 12:39 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

  1. \defcitealias{biden:2009}{Biden, 2009}


and then cite it as

  1. 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

Link:
BBcode:
HTML:
Hide post links
Show post links

latexhelp1
Posts: 141
Joined: Sun Jun 12, 2011 6:30 am

Postby latexhelp1 » Mon Oct 24, 2011 7:29 pm

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

  1. \defcitealias{biden:2009}{Biden, 2009}


and then cite it as

  1. 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

Link:
BBcode:
HTML:
Hide post links
Show post links

pudding4869
Posts: 2
Joined: Mon Dec 08, 2014 6:36 am

Postby pudding4869 » Sat Jun 20, 2015 1:48 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.

Link:
BBcode:
HTML:
Hide post links
Show post links


Return to “BibTeX, biblatex and biber”

Who is online

Users browsing this forum: No registered users and 1 guest
http://www.latex-community.org/forum/viewtopic.php?f=50&t=9965
www.latex-community.org
crawl=CC-MAIN-2016-50
85780
application/http; msgtype=response
sha1:KBHQGQCE4KFA4TNHQH56FBNA5T4QNOFP
<urn:uuid:f0d66db8-b7af-4687-84ba-68b29364e19c>
2016-12-02T22:15:01Z
78.46.26.59
sha1:DW4Z4KRDR6BIU2NRSG6QMGXA5GSYX2R7
<urn:uuid:3507cc33-ae1a-4773-87d9-3e8ae0b12d35>
http://www.latex-community.org/forum/viewtopic.php?f=50&t=9965
response
<urn:uuid:58f2c115-5ef9-4c2d-950a-c0bc9f525a02>
robots: classic
hostname: ip-10-31-129-80.ec2.internal
software: Nutch 1.6 (CC)/CC WarcExport 1.0
isPartOf: CC-MAIN-2016-50
operator: CommonCrawl Admin
description: Wide crawl of the web for November 2016
publisher: CommonCrawl
format: WARC File Format 1.0
conformsTo: http://bibnum.bnf.fr/WARC/WARC_ISO_28500_version1_latestdraft.pdf