Featured Book

LaTeX Beginners Guide

Who is online

In total there are 3 users online :: 1 registered, 0 hidden and 2 guests (based on users active over the past 5 minutes)
Most users ever online was 1327 on Tue Nov 05, 2013 7:11 pm

Users browsing this forum: Google [Bot] and 2 guests

Partner Sites

TeXwelt - Fragen und Antworten goLaTeX
TeXblog
TeXnicCenter
TeXample

Lastname first in natbib

Add tags Information and discussion about BiBTeX - the bibliography tool for LaTeX documents.

Lastname first in natbib

Postby mlj on Tue Aug 31st, 2010

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
mlj
 
Posts: 1
Joined: Tue Aug 31st, 2010

Re: Lastname first in natbib

Postby frabjous on Tue Aug 31st, 2010

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.
User avatar
frabjous
 
Posts: 2065
Joined: Fri Mar 6th, 2009
Location: Amherst, MA

Re: Lastname first in natbib

Postby localghost on Tue Aug 31st, 2010

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
User avatar
localghost
Site Moderator
 
Posts: 9219
Joined: Fri Feb 2nd, 2007
Location: Braunschweig, Germany

Re: Lastname first in natbib

Postby pepperedmoth on Sat Oct 16th, 2010

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

Re: Lastname first in natbib

Postby fuzzydoor on Thu Jun 23rd, 2011

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.
fuzzydoor
 
Posts: 5
Joined: Mon Jun 13th, 2011

Re: Lastname first in natbib

Postby juanpi on Tue Sep 13th, 2011

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

Code: Select all  •  Open in writeLaTeX
{ s nameptr "{vv~}{ll}{, f.}{~jj}" format.name$ 't :=.


In the orginal file the line looks like

Code: Select all  •  Open in writeLaTeX
{ 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
juanpi
 
Posts: 3
Joined: Tue Sep 13th, 2011

Re: Lastname first in natbib

Postby latexhelp1 on Mon Oct 24th, 2011

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 25th, 2011, edited 1 time in total.
latexhelp1
 
Posts: 141
Joined: Sun Jun 12th, 2011

Re: Lastname first in natbib

Postby juanpi on Mon Oct 24th, 2011

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

Code: Select all  •  Open in writeLaTeX
\defcitealias{biden:2009}{Biden, 2009}


and then cite it as

Code: Select all  •  Open in writeLaTeX
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
juanpi
 
Posts: 3
Joined: Tue Sep 13th, 2011

Re: Lastname first in natbib

Postby latexhelp1 on Mon Oct 24th, 2011

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

Code: Select all  •  Open in writeLaTeX
\defcitealias{biden:2009}{Biden, 2009}


and then cite it as

Code: Select all  •  Open in writeLaTeX
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 12th, 2011


Return to BiBTeX

Who is online

Users browsing this forum: Google [Bot] and 2 guests