I'm using natbib, german babel and natbib creates output of the form
Foo and Bar (1337)
I would like to get
Foo & Bar (1337) for citet and
(Foo & Bar 1337) respectively for citep.
TeX - LaTeX Stack Exchange is a question and answer site for users of TeX, LaTeX, ConTeXt, and related typesetting systems. It only takes a minute to sign up.
Sign up to join this communityAssuming you're using \bibliographstyle{plainnat}
, put a copy of plainnat.bst
in your working folder and rename it to myplainnat.bst
(later, this file should go to the appropriate location in your local TEXMF folder). In this copy, look for FUNCTION {format.lab.names}
and specifically for " and "
. Replace the latter with " \& "
and save your modified copy. Compile your .tex
file with \bibliographstyle{myplainnat}
. The expression "and" in citations (but not in the bibliography) should now be replaced with "&".
If you want "&" also as separator in the bibliography, replace every instance of " and "
in plainnat
(there should be three of them) with " \& "
.
EDIT: At least with regard to citations, it works the same way with chicago.bst
. I don't know how to get small caps with natbib
, though. My advice would be to switch to biblatex -- see this question for details.
One option I have used previously is \renewcommand{\betweenauthors}{&}
-- however it appears not to work with standard .bst files such as apalike.bst
.
An alternative is to use the custom-bib
package to generate your own .bst
file - it does have an explicit option (AMPERSAND) that lets you choose between an and
and an &
in your list of authors.
Using custom-bib
is as easy as running latex makebst.tex
(e.g. latex /usr/local/texlive/2010/texmf-dist/tex/latex/custom-bib/makebst.tex
for my installation) and following the prompts.
apalike.bst
either; seems I used it in conjunction with a .bst
file generated using custom-bib; have edited my answer accordingly
Jun 6, 2011 at 3:13
\bibliographystyle
do you use?