[texhax] natbib: multiple citations, one optional argument
Steve Schwartz
s.j.schwartz at qmul.ac.uk
Thu Dec 9 10:44:14 CET 2004
Alternatively, use the various \citealt, \citealp, \citeyear, etc forms
(more than once if necessary) and construct exactly what you want. See
natnotes documentation for natbib (Google natbib will get you a copy).
HTH
Steve
On Thu, 2004-12-09 at 09:15, Philip G. Ratcliffe wrote:
> > i am trying to cite two references using the
> > \cite{ref29,ref33} form. one of the references is a
> > conference paper specifically on the topic in
> > question, but the other is a textbook that has a
> > one-page table i need to cite. in other words, it's
> > specific enough that i need to cite the specific page,
> > not just the whole book.
> >
> > ideally, the reference would render in LaTeX as [29;
> > 33, p. 659], but the form \cite[p. 659]{ref29,ref33}
> > doesn't handle this correctly -- instead it spits out
> > [29, 33, p. 659].
>
> The natbib package version 2000/07/24 7.0a has a default behaviour of round
> parenthesis and semicolon separators - so you have presumably already
> altered this.
>
> Anyway, \usepackage[square,colon]{natbib} should set the behaviour you want.
>
> If you wish to temporarily turn on semicolon separators (e.g., for such
> cases), then you will need something like
>
> \makeatletter
> \newcommand\setcolons{\renewcommand\NAT at sep{;}}
> \newcommand\setcommas{\renewcommand\NAT at sep{,}}
> \makeatother
>
> in the preamble, which will allow
>
> ... \setcolons \cite[p. 659]{ref29,ref33} \setcommas ...
>
> in the text
>
> Cordialmente, Philip G. Ratcliffe
> -----------------------------------------
> Professor of Nuclear & Subnuclear Physics
> Dipartimento di Fisica e Matematica
> Universita degli Studi dell'Insubria
> via Valleggio 11
> 22100 Como (CO)
> Italy
>
> Tel. +39 (031) 238.6231
> Fax +39 (031) 238.6119
> Cell +39 (340) 2346580
> Web http://www.unico.it/~pgr
> -----------------------------------------
>
> _______________________________________________
> TeX FAQ: http://www.tex.ac.uk/faq
> TeX newsgroup: http://groups.google.com/groups?group=comp.text.tex
> Mailing list archives: http://tug.org/pipermail/texhax/
> More links: http://tug.org/begin.html
>
> Automated subscription management: http://tug.org/mailman/listinfo/texhax
> Human mailing list managers: postmaster at tug.org
--
+-----------------------------------------------------------------+
| Steve Schwartz S.J.Schwartz at qmul.ac.uk |
| Astronomy Unit |
| Queen Mary, Univ. of London Tel: +44 (0)20 7882 5449 |
| Mile End Road Fax: +44 (0)20 8983 3522 |
| London E1 4NS, UK URL: www.space-plasma.qmul.ac.uk/ |
+-----------------------------------------------------------------+
More information about the texhax
mailing list