GeneralNeed help with cite/referencing

LaTeX specific issues not fitting into one of the other forums of this category.
Post Reply
Chirion
Posts: 2
Joined: Thu Nov 13, 2008 2:13 pm

Need help with cite/referencing

Post by Chirion »

Hi,
I need to format some references this way:
[Smith 2000, p. 5, Jones 2005, p. 10]

I manage to reference to two authors plus page numbers for one of the references like: [Smith 2000, Jones 2005, p.10]
How do I get page numbers for the scond reference as well?
I've tried
\cite [p. 10][p. 5]{Smith2000, Jones2005} and \cite [p.10, p. 5]{Smith2000, Jones2005}
without success.

The header of my texfile:
\documentclass{scrreprt}

\usepackage{cite}
\usepackage[ansinew]{inputenc}
\usepackage[ngerman]{babel}
\usepackage{babelbib}

\usepackage{graphics}
\usepackage{picins}

\usepackage{setspace}
\onehalfspacing


Any help is appreciated!
Thanks!

C.

Recommended reading 2024:

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

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

gmedina
Posts: 2313
Joined: Wed Jul 11, 2007 11:45 pm

Need help with cite/referencing

Post by gmedina »

Hi,

one possibility is to use the natbib package along with its \citetext command, as described in the natbib documentation (pp. 7ff.).

You cannot use simultaneously the natbib and cite packages, so you will have to take out the cite package. That should be no problem since natbib allows you to do the same things as the cite package.
1,1,2,3,5,8,13,21,34,55,89,144,233,...
Chirion
Posts: 2
Joined: Thu Nov 13, 2008 2:13 pm

Need help with cite/referencing

Post by Chirion »

:D

Thank you VERY much!!
A combination of \citetext and \citealp does exactly what I needed!
Thanks, thanks, thanks!!!
Post Reply