TeX - LaTeX Stack Exchange is a question and answer site for users of TeX, LaTeX, ConTeXt, and related typesetting systems. Join them; it only takes a minute:

Sign up
Here's how it works:
  1. Anybody can ask a question
  2. Anybody can answer
  3. The best answers are voted up and rise to the top

How do I cite authors in LaTeX?

I tried using natbib package

---- doc.tex ----


---- doc.bib ----

     author = {Broder, Andrei Z.},

but all I get is (author?) (in bold).

share|improve this question

migrated from stackoverflow.com Aug 30 '12 at 1:39

This question came from our site for professional and enthusiast programmers.

up vote 33 down vote accepted

At a bare minimum, your LaTeX source file needs to contain these elements for \citeauthor to work:

---- doc.tex ----




---- doc.bib ----

    author    = "Michel Goossens and Frank Mittlebach and Alexander Samarin",
    title     = "The LaTeX Companion",
    year      = "1993",
    publisher = "Addison-Wesley",
    address   = "Reading, Massachusetts"

The correct compilation cycle for the document is then as follows:

latex doc
bibtex doc
latex doc
latex doc

The first compilation generates the list of cited works for BibTeX. Then BibTeX uses that information to generate a .bbl file from doc.bib containing all of the citations formatted according to the bibliography style you choose. The second compilation incorporates the .bbl into the document, and the third compilation updates all of the cross-references (e.g. citations).

Here is the output for the example above:

LaTeX output

share|improve this answer
plainnat was my problem. I didn't know that natbib uses different styles. I used alpha and I should have used alphanat. Unfortunately I do not have alphanat.bst and I couldn't find the file on internet (though the page you indicated says it provided by default). Do you know where to get it from? Also for some reason I don't see the indexes (eg. [4]) when using plainnat. Why? – Alexandru Jun 3 '09 at 20:26
Whoops, there is no alphanat.bst--I've fixed the Wikibooks article (I wrote the table of natbib-compatible styles ;-) ). I believe plainnat.bst is the style you're looking for--the plain and alpha citation format appears to be the same, it's just that in the bibliography, plain uses numbers for the cross-references, whereas alpha uses abbreviated last names and two-digit years. natbib defaults to author-year cross-references, but it can also do numerical cross-references if you use "\usepackage[numbers]{natbib}" instead of "\usepackage{natbib}" – las3rjock Jun 3 '09 at 21:47
I still have some problems obtaining numbers in the biography! instead of [4] Author, Title, I get only Author, Title I tried \usepackage[numbers]{natbib} and "plainnat" with no success. – Alexandru Jun 4 '09 at 9:11
I've updated my example and included an image of the output. I hope that will help you track down your problem. – las3rjock Jun 4 '09 at 17:49
The same thing also happens when using other bibliography styles. For exaple, using \bibliographystyle{unsrt} with command \citeauthor{some_id} produces (author?), whereas using \bibliographystyle{unsrtnat} with \citeauthor{some_id} produces the desired result. – tjanez Sep 3 '13 at 8:30


The simplest way is the one described in section "Embed system". You provide a list of sources and refer to them in text by \cite{ReferenceKey}.

I love Wikipedia\cite{Wikipedia}.


  bla bla bla.

  Other Title,
  other bla bla.

share|improve this answer
No, this way you won't cite authors by name. Not voting this down because it's correct, if we disregard the fact that the question was about natbib, actually :) – volodyako Jun 3 '09 at 16:04
The question was about citing author. natbib happens to provide such functionality. – Alexandru Jun 4 '09 at 9:12
Oops, sorry. Didn't imagine there is such a thing as citing an author. – zilupe Jun 6 '09 at 9:33

Your Answer


By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.