natbib: Combining author-year and numerical references

natbib: Combining author-year and numerical references

Post by andrea » Sat, 14 Jun 2008 06:55:34


To save space, it would be convenient to be able to mix author-year
and numerical references. I'm pressed for space in a proposal, and
converting some references to numerical references would give me quite
a bit more room. On the other hand, sometimes it's very useful to see
who the authors were and when the work was published, so it's good to
be able to use author-year references. I would expect the
bibliography to look something like this:

1. A.N. Other 1992. Blabla. 32:98-117.
2. B.M. Otter 2007. Hehehe. 67:9-76.
etc.

Is this possible in natbib?

Andreas
 
 
 

natbib: Combining author-year and numerical references

Post by t.m.trzeci » Sat, 14 Jun 2008 07:41:40


According to natbib documentation \citet{Smith2000} will produce
'Smith [1]' in numerical mode, so the author's name is included in the
reference. \citep{Smith2000} will just give '[1]', so it's compact.

Mixing numerical and author-year citation styles together strikes me
as a very ugly thing to do. Why would you want to do that?

Cheers,

Tomek

 
 
 

natbib: Combining author-year and numerical references

Post by andrea » Sat, 14 Jun 2008 11:00:29


I want to be able to get something like "Smith (2000)" or "... prior
studies show this effect to be unimportant^{31}."


As I said, I'm pressed for space and over many pages with lots of
citations this can save me an entire paragraph. Normally I would not
do this.
 
 
 

natbib: Combining author-year and numerical references

Post by t.m.trzeci » Sat, 14 Jun 2008 17:44:52


You can use natbib with 'super' option for superscripted citations. In
this case:
'prior studies \citet{Smith2000}' -> 'prior studies Smith^{1}'
'prior studies \citep{Smith2000}' -> 'prior studies^{1}'
Wouldn't that suffice? And it will be even more compact than using
'Smith (2000)'.


I understand your motivation but it does not excuses poor typographic
decisions, IMO.
Anyway, if you really must have author-year and numerical style
citations together then and use 'super' option, a suitable author-year
bst style and redefine \citet as:
\renewcommand{\citet}[1]{\citeauthor{#1} (\citeyear{#1})}

Cheers,

Tomek
 
 
 

natbib: Combining author-year and numerical references

Post by andrea » Mon, 16 Jun 2008 01:24:20


Thanks, but that only works if you do not have multiple citations by
the same authors in the same year (because it produces: "XYZ
(2008,2008)" and not "XYZ (2008a,2008b)") and cross-references in the
bibliography itself come out as "In ^31" rather than "In [31].

Andreas
 
 
 

natbib: Combining author-year and numerical references

Post by t.m.trzeci » Mon, 16 Jun 2008 08:40:07


That was just a quick hack. I'm surprised that it even works for
multiple citations.


So now you want to add another citation style to the mix? Sorry, I
don't know how to help you. *** packages are written to help you
maintain consistent style in your documents and it seems that you are
trying to achieve just the opposite thing.

Good luck with your proposal,

Tomek