12

Is it possible to set the number of names to appear in a bibliography entry differently from the maximum number of names that appear in the citation key (using alphabetic style)?

For example,

[ABCD06] Alice, Bob, Carol, and David. "Title", 2006.
[ABC+06] Alice, Bob, Carol, David, and Eve. "Title Revisted," 2007

This is how alpha behaves in BibTeX. With four authors, all are listed in both the entry and the citekey. With five or more, all authors are still listed in the entry but only the first three (with a +) are listed in the citekey.

I played a little (without luck) with maxnames, maxcitenames, and mincitenames but figured it will be quicker to just ask.

2
  • 1
    maxcitenames and maxbibnames isn't it? At least in the latest biblatex... – Seamus Jul 12 '11 at 20:24
  • 2
    or add a different maxnames option to the \printbibliography command itself? – Seamus Jul 12 '11 at 20:24
14
\documentclass{article}

\usepackage[style=alphabetic,maxnames=4,minnames=3,maxbibnames=99]{biblatex}

\usepackage{filecontents}

\begin{filecontents}{\jobname.bib}
@misc{test1,
  author = {Alice and Bob and Carol and David},
  year = {2006},
  title = {Title},
}
@misc{test2,
  author = {Alice and Bob and Carol and David and Eve},
  year = {2007},
  title = {Title revisited},
}
\end{filecontents}

\addbibresource{\jobname.bib}

\begin{document}

Some text \autocite{test1,test2}.

\printbibliography

\end{document}

EDIT: My answer relies on a message from Philipp Lehman, the author of biblatex, at de.comp.text.tex on December 29th, 2010. The significant quote (translated by me):

Relevant for the "alpha" labels is the value of maxnames/minnames set at \begin{document}. The labels are fixed from this point forward. You may freely choose how many names to display afterwards.

EDIT2: When using the package option maxbibnames=99, maxnames/minnames must be set in addition; setting maxcitenames/mincitenames won't produce the desired "alpha" label format.

1
  • 1
    A later answer to a similar question suggests using maxalphanames/minalphanames, upon which this works as expected for me. → tex.stackexchange.com/a/29648/16666 – amon Oct 31 '18 at 17:08

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

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