我是 bibtex 的新手,因此我的问题可能很简单。我的问题如下:我需要以“哈佛风格”引用,并且我想使用 natbib 包的 agsm 风格。但是,在文档文本中,我希望在两个作者之间使用“and”而不是“&”符号。
如何实现这一点?
我的 MWE 是:
\documentclass[a4paper,12pt]{article}
\usepackage{fancyhdr}
\usepackage[a4paper,lmargin={2.5cm},rmargin={2.5cm},
tmargin={2cm},bmargin = {2cm}]{geometry}
\usepackage[english]{babel}
\usepackage[utf8x]{inputenc}
\usepackage{amsmath}
\usepackage[]{graphicx}
\usepackage{float}
\usepackage{eurosym}
\usepackage{amsmath} % for equations over multiple lines
\usepackage[hang,bottom]{footmisc} % Fußzeile bleibt am Boden %
\usepackage{filecontents}
\usepackage{grffile}
\usepackage{bbm}
\usepackage{longtable} % table over two pages
\usepackage{graphicx}
\usepackage{caption}
\usepackage{adjustbox}
\usepackage{subcaption}
\usepackage{filecontents}
\usepackage[title,toc,titletoc,page]{appendix}
\usepackage[flushleft]{threeparttable} %note below table
\usepackage{url}
\usepackage{natbib} % havard style citation
\makeatletter
\g@addto@macro{\UrlBreaks}{\UrlOrds}
\makeatother
\newtheorem{theorem}{Definition}[section]
\setlength{\parindent}{0pt}
\setlength{\footnotemargin}{0.8em}
\usepackage{hyperref}
\linespread{1.25}
\floatstyle{plaintop}
\restylefloat{table}
\newcommand\harvardand{\&}
\usepackage{filecontents}
\begin{filecontents*}{Literatur2.bib}
@Article{craigim2010,
Title = {Deploying Enterprise Solutions},
Author = {Craigim WW and Craigim XX},
Journal = {Journal of Force Multiplication and Utilization},
Year = {2010},
}
@Article{craigim2009,
Title = {Marketplace Leveraging},
Author = {Craigim},
Journal = {Journal of Human Assets},
Year = {2009},
}
\end{filecontents*}
\begin{document}
\section{Start}
Why is there always the ampersand between the authors when using \citet{craigim2010}
\bibliography{Literatur2}
\bibliographystyle{agsm}
\end{document}
答案1
改变两种出现方式(在正文和参考书目中)的最简单方法应该是添加
\AtBeginDocument{\renewcommand{\harvardand}{and}}
到你的序言。该.bst
文件使用命令harvardand
打印,&
而上面的命令改为\harvardand
打印and
。