Take the 2-minute tour ×
TeX - LaTeX Stack Exchange is a question and answer site for users of TeX, LaTeX, ConTeXt, and related typesetting systems. It's 100% free, no registration required.

I'd like to reference BibTeX sources with full name and year, e. g. [Adams1979]. Is there an easy way to to this?

share|improve this question
add comment

3 Answers

up vote 10 down vote accepted

Take a look at the natbib or biblatex packages. Either should be able to do what you want.

Edit: Take a look at \setcitestyle for natbib.

Edit 2: Here's a complete example:

\documentclass{article}
\usepackage[authoryear]{natbib}
\bibliographystyle{plainnat}
\setcitestyle{square,aysep={}}
\begin{document}
\citep{adams:79}
\bibliography{test}
\end{document}

And the .bib:

@Article{adams:79,
        author = {Foo Adams},
        year = 1979,
        title = {Test},
        journal = {Test},
}
share|improve this answer
    
Ah, good catch Joseph. That was there for something I tried that didn't work, intended to remove the space before the year. I forgot to delete it. –  TH. Aug 17 '10 at 22:16
    
Am I right that there is no way to include the full or abbreviated first name of the author using natbib? –  h0b0 Aug 18 '10 at 12:15
add comment

You don't have to use natbib to get the references with full name and year. You can do the same by using apalike bibliographystyle and you'll just type the following snippet in your tex file:

\bibliographystyle{apalike}
share|improve this answer
add comment

Using natbib you only need to specify something like

\usepackage[authoryear]{natbib}
\bibliographystyle{plainnat}

You can read its full documentation by typing texdoc natbib on a command line.

share|improve this answer
add comment

Your Answer

 
discard

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.