BibTeX, biblatex and bibernatbib | Multiple Sources in one in-line Citation

Information and discussion about BiBTeX - the bibliography tool for LaTeX documents.
Post Reply
latexhelp1
Posts: 141
Joined: Sun Jun 12, 2011 6:30 am

natbib | Multiple Sources in one in-line Citation

Post by latexhelp1 »

Suppose I have 2 sources. Abba et al., 1958 and Pappa, 2005.

I want the citation to appear as (Abba et al, 1958; Pappa, 2005). I cannot figure out a good way to do this with Natbib and Bibtex. My current method does not invoke the et al part. I also want to preserve the hyperreferencing.

Code: Select all

(\citealp*{abba:1958}; \citealp*{pappa:2005}).
That output comes across as (Abba, Babba, Cabba, and Dabba, 1958; Pappa, 2005).
Last edited by latexhelp1 on Fri Jan 27, 2012 1:15 am, edited 1 time in total.

Recommended reading 2024:

LaTeXguide.org • LaTeX-Cookbook.net • TikZ.org

NEW: TikZ book now 40% off at Amazon.com for a short time.

kaiserkarl13
Posts: 707
Joined: Tue Mar 25, 2008 5:02 pm

natbib | Multiple Sources in one in-line Citation

Post by kaiserkarl13 »

If you want it to abbreviate, then don't use citealp*. That's the command to write the full list.

I think what you're looking for is \citep{key1,key2}. That will put parentheses around it (implicitly) and put the separator in automatically. Like so:

Code: Select all

text~\citep{abba:1958,pappa:2005}.
You will probably want to use

Code: Select all

\usepackage[semicolon]{natbib}
so you get semicolons between citations instead of commas. I think semicolons are the default, but just in case.

I have found the following site useful when working with natbib: http://merkel.zoneo.net/Latex/natbib.php
It describes a pretty old version, but most of the commands are still the same.
Post Reply