[texhax] Optional argument to \cite{}

Dan vi5u0-texhax at yahoo.co.uk
Thu Jul 15 20:49:11 CEST 2010

On Thu, 15 Jul 2010, Steve Schwartz wrote:

> Hmm, this is actually true (to my surprise). In looking into the
> natbib.dtx I see that Pat Daly didn't use the variosu \cite commands
> within the documentation, but merely typeset what he thought it should
> do. Note, however, that the citep form does work as advertised, namely:
> \citep[pp~171--176]{dumb91} results in:
> [2, pp 171-176]

> so you can get what you intended by:
> \citeauthor{dumb91}~\citep[pp~171--176]{dumb91}

Yep, thanks.

> Returning to your original question, with multiple citations and
> multiple annotations of page numbers, natbib has enough capability to
> allow you to roll your own. Here goes (tested)

Yep again - I rolled something with \citetext and \citenum that seemed
to work.

Thanks again,


More information about the texhax mailing list