[Tex/LaTex] Full name and year as BibTeX key

bibliographiesnatbib

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

Best Answer

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},
}