![在我的文章中使用哈佛参考文献的简单方法](https://linux22.com/image/416643/%E5%9C%A8%E6%88%91%E7%9A%84%E6%96%87%E7%AB%A0%E4%B8%AD%E4%BD%BF%E7%94%A8%E5%93%88%E4%BD%9B%E5%8F%82%E8%80%83%E6%96%87%E7%8C%AE%E7%9A%84%E7%AE%80%E5%8D%95%E6%96%B9%E6%B3%95.png)
我有一个.bib
文件,其中存放了所有参考资料,格式如下:
@article{chiambaretto2019,
title = "All for One and One for All? - Knowledge broker roles in managing tensions of internal coopetition: The Ubisoft case",
journal = "Research Policy",
volume = "48",
number = "3",
pages = "584-600",
year = "2019",
doi = "10.1016/j.respol.2018.10.009",
author = "Paul Chiambaretto and David Masse and Nicola Mirc"
}
我之前曾以 LaTeX 格式准备过一篇论文,该论文bibliographystyle .bst
被一家期刊拒绝了(该期刊有一个完美的模板和自己的文件)。不幸的是,我试图提交给的新期刊没有现成的模板(Emerald 期刊之一),并且要求参考文献符合格式harvard
。无论我做什么,我都无法将格式更改为harvard
,每次我一步一步搜索时都会出现几个错误tex.stackexchange
,但每次都会出现新的错误。我该怎么做才能在更改文件最少部分的情况下使用该harvard
格式?.bib
.tex
这些是之后的代码\documentclass
:
\usepackage{graphicx}
\usepackage{amssymb}
\usepackage{afterpage}
\usepackage{lscape}
\usepackage{xcolor}
\usepackage{color,soul}
\usepackage{multirow}
\usepackage{float}
\usepackage{pgfplots}
\usepackage{lineno,hyperref}
\usepackage{booktabs}
\usepackage{amsmath}
\usepackage{ifthen}
\usepackage{geometry}
\usepackage{xcolor}
\usepackage{endnotes}
\usepackage{authblk}
\usepackage{array}
\usepackage[skip=0pt]{caption}
\definecolor{findOptimalPartition}{HTML}{D7191C}
\definecolor{storeClusterComponent}{HTML}{FDAE61}
\definecolor{dbscan}{HTML}{ABDDA4}
\definecolor{constructCluster}{HTML}{2B83BA}
\newcolumntype{P}[1]{>{\centering\arraybackslash}p{#1}}
\newcommand{\hlgreen}[1]{{\sethlcolor{green}\hl{#1}}}
\usepackage{natbib}
\setcitestyle{authoryear,round,aysep={}}
也位于\begin{document}
:
\bibliography{mybibMD}
我还使用了以前日记模板中的命令\citep
和模板,这些命令和模板非常棒,非常有用。但似乎不太管用。\citet
harvard
答案1
看一看这里。
简而言之,您想要使用natbib
(您所做的)\bibliographystyle{agsm}
,并删除\setcitestyle{authoryear,round,aysep={}}
。
\bibliographystyle{agsm}
做你想做的一切:)。
PS:尝试发布一个可行的示例。例如:
\documentclass{article}
\usepackage{filecontents}
\begin{filecontents}{mybibMD.bib}
@article{chiambaretto2019,
title = "All for One and One for All? - Knowledge broker roles in managing tensions of internal coopetition: The Ubisoft case",
journal = "Research Policy",
volume = "48",
number = "3",
pages = "584-600",
year = "2019",
doi = "10.1016/j.respol.2018.10.009",
author = "Paul Chiambaretto and David Masse and Nicola Mirc"
}
\end{filecontents}
\usepackage{graphicx}
\usepackage{amssymb}
\usepackage{amsmath}
\usepackage{afterpage}
\usepackage{lscape}
\usepackage{xcolor}
\usepackage{color,soul}
\usepackage{multirow}
\usepackage{float}
\usepackage{pgfplots}
\usepackage{lineno,hyperref}
\usepackage{booktabs}
\usepackage{amsmath}
\usepackage{ifthen}
\usepackage{geometry}
\usepackage{xcolor}
\usepackage{endnotes}
\usepackage{authblk}
\usepackage{array}
\usepackage[skip=0pt]{caption}
\usepackage{natbib}
\begin{document}
bla bla \citep{chiambaretto2019}
ha? \citet{chiambaretto2019}
\bibliographystyle{agsm}
\bibliography{mybibMD}
\end{document}