[Tex/LaTex] get \citeauthor and \citeyear with bibtex

bibtexcitingnatbib

I am using currently using bibtex and the \cite{...} command for all citations. Using the cell bibliography style, citations will appear as e.g. [Jovanović and Janičić, 2005].

However, I would like to be able to extract only the author part or the year part — like natbib's \citeauthor and \citeyear. The reasons I don't want to use natbib are: 1) natbib changes the overall citation style to not include the brackets [] around the citation; 2) natbib doesn't support UTF-8 in the bibliography file; and 3) \citeyear still doesn't output a letter if the same authors published multiple papers in the same year.

Best Answer

Your second observation, that "natbib doesn't support UTF-8 in the bibliography file", isn't quite accurate: it is bibtex, not natbib, that suffers from the ASCII-128 limitation. If you can run bibtex8 instead of bibtex, you can use many more Latin alphabet based character encodings.

Regarding your points 1 and 3: I'm not sure what the concerns you raise are founded on. (You did issue the command \bibliographystyle{cell}, right?) To get natbib to place square brackets rather than round parentheses around the author,year pair, just load the package with the square option and use the \citep command (for "parenthetical citations").

The output of the MWE below shows that \citeyear and \citeauthor work as one would expect them to. In particular, natbib knows perfectly well how to append a, b, etc automatically to the year if the need to do so arises.

enter image description here

Here's the "cellcite.tex" driver file:

\documentclass{article}
\usepackage[square]{natbib}
\bibliographystyle{cell}
\begin{document}
\citep{abcd:2006a,abcd:2006b}

\citeauthor{abcd:2006a}

\citeyear{abcd:2006b}

\bibliography{cellcite}
\end{document}

Finally, the MWE's bib file ("cellcite.bib"):

@incollection{abcd:2006a,
  author      = "Torben G. Andersen and Tim Bollerslev and 
                Peter F. Christoffersen and Francis X. 
                Diebold",
  title       = "Volatility and correlation forecasting",
  chapter     = 15,
  pages       = "777--878",
  editor      = "Graham Elliott and Clive W. J. Granger and 
                Allan Timmermann",
  booktitle   = "Handbook of Economic Forecasting, 
                Volume~1",
  publisher   = "Elsevier",
  address     = "Amsterdam",
  year        = 2006,
}

@incollection{abcd:2006b,
  author      = "Torben G. Andersen and Tim Bollerslev and 
                Peter F. Christoffersen and Francis X. 
                Diebold",
  title       = "Practical volatility and correlation 
                modeling for financial market risk 
                management (with discussion)",
  chapter     = 11,
  pages       = "513--548",
  editor      = "Mark S. Carey and Ren{\'e} M. Stulz",
  booktitle   = "The Risks of Financial Institutions",
  publisher   = "University of Chicago Press",
  address     = "Chicago and London",
  year        = 2006,
}
Related Question