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 would like to disable the compression of author-year citations in natbib. For example, the following source code generates the output "[Miller, 2001, 2002]":

\documentclass{article}

\usepackage{filecontents}

\begin{filecontents}{test.bib}
@article{meyer2001,
  title = {foo},
  year = {2001},
  author = {K. Miller},
  journal = {Nature}
}
@article{meyer2002,
  title = {bar},
  year = {2002},
  author = {K. Miller},
  journal = {Science}
}
\end{filecontents}

\usepackage{natbib}

\begin{document}

\citep{meyer2001,meyer2002}.

\bibliographystyle{plainnat}
\bibliography{test}

\end{document}

However, I would like to have the output "[Miller, 2001, Miller, 2002]" instead. I would be glad for any suggestions!

share|improve this question

1 Answer 1

Consider to switch to biblatex.

\documentclass{article}

\usepackage[style=authoryear]{biblatex}

\usepackage{filecontents}

\begin{filecontents}{\jobname.bib}
@article{meyer2001,
title = {foo},
year = {2001},
author = {K. Miller},
journal = {Nature},
}
@article{meyer2002,
title = {bar},
year = {2002},
author = {K. Miller},
journal = {Science},
}
\end{filecontents}

\addbibresource{\jobname.bib}

\begin{document}

\autocite{meyer2001,meyer2002}

\printbibliography

\end{document}

enter image description here

share|improve this answer

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.