我正在使用\usepackage{natbib}
和\bibliographystyle{agsm}
。
我想从引文中删除“&”并将其替换为“and”(例如:我需要“Fama and French (1993)”而不是“Fama & French (1993)”)。
我怎样才能做到这一点?
答案1
natbib.sty
套
\renewcommand\bibstyle@agsm{\bibpunct{(}{)}{,}{a}{}{,}\gdef\harvardand{\&}}
对于agsm
样式;要获得所需的输出,您需要重新定义\harvardand
(延迟重新定义\AtBeginDocument
):
\documentclass{article}
\usepackage{natbib}
\AtBeginDocument{\renewcommand\harvardand{and}}
%just for the example; in your actual document you don't need this
\usepackage{filecontents}
\begin{filecontents*}{xyyzzz.bib}
@article{HacheEtAl2013,
title={Experimental evidence for an ideal free distribution in a breeding population of a territorial songbird},
author={Hach{\'e}, Samuel and Villard, Marc-Andr{\'e}},
journal={Ecology},
volume={94},
number={4},
pages={861--869},
year={2013},
}
\end{filecontents*}
\begin{document}
\cite{HacheEtAl2013}
\bibliographystyle{agsm}
\bibliography{xyyzzz}
\end{document}
结果: