6

I imported natbib properly:

\usepackage{natbib}

Now, when citing in the parenthetical style:

\citep[p. 12]{MyKey}

, where I am sure that my key exists and the author and year are set, in the pdf output it still shows

(1, p.12)

However, I would like to see

(Author Year, p.12) 

Did I miss something?

Also, doing

\usepackage[authoryear]{natbib}

doesn't help.

2
  • 2
    This behaviour depends on the bibliography style in use: which are you using?
    – Joseph Wright
    Commented Sep 8, 2011 at 12:39
  • you were faster, damn :)
    – ptikobj
    Commented Sep 8, 2011 at 12:42

1 Answer 1

10

Sorry, but I already solved it. The solution is to use the right bibliographystyle, namely:

\bibliographystyle{plainnat}

Now it works.

2
  • Does natbib support any other bibliography styles or only this one?
    – ptikobj
    Commented Sep 8, 2011 at 12:49
  • 2
    Natbib (latest version: 8.31b, 2010/09/13) comes with the following three bib style (.bst) files: plainnat, unsrtnat, and abbrevnat. However, it is so flexible that it supports most all bst files out there, even the ones that come with (original) BibTeX (i.e., plain.bst, abbrev.bst, and abbrev.bst). It supports both numeric and author-year citation systems. If you can't find a bibliography style file that meets your specific needs, the tex file makebst.tex (written by the author of natbib) lets you create a new one from scratch.
    – Mico
    Commented Sep 8, 2011 at 13:10

You must log in to answer this question.

Not the answer you're looking for? Browse other questions tagged .