\documentclass[twoside, a4paper, 12pt]{article}
\usepackage{natbib}
\begin{document}
\cite{pastorstambaugh} blah blah blah
\cite{pastorstambaugh2} blah blah blah
\bibliographystyle{apa-good}
\bibliography{bibliography}
\end{document}
我有两篇参考文献,作者相同,年份相同,均发表于 2002 年。 pastorstambaugh
先发表pastorstambaugh2
而后发表。因此,我希望前者在引用时显示 (2002a),后者在引用时显示 (2002b)。此外,我希望前者在参考文献列表中列在后者之前。
在我的 .bib 文件中我有:
@article{pastorstambaugh,
author = "P{\'a}stor, L. and Stambaugh, R.",
title = "{``Mutual fund performance and seemingly unrelated assets''}",
year = "2002",
journal = "Journal of Financial Economics",
volume = "63",
number = "3",
pages = "315--349",
month = "may 30"
}
@article{pastorstambaugh2,
author = "P{\'a}stor, L. and Stambaugh, R.",
title = "{``Investing in equity mutual funds''}",
year = "2002",
journal = "Journal of Financial Economics",
volume = "63",
number = "3",
pages = "351--380",
month = "june 3"
}
但是,当我输出文件时,顺序被颠倒了,如下所示:
我怎样才能得到我想要的订单?
答案1
BibTeX(或者更好的是apa-good
)不会根据月份字段来决定哪篇参考文献发表于另一篇之前。如果年份和作者相同,它会根据标题的字母顺序进行排序。
对于这种情况,请修改您的 bib 文件为
@article{pastorstambaugh,
author = "P{\'a}stor, L. and Stambaugh, R.",
title = "{{\GG{20020530}}Mutual fund performance and seemingly unrelated assets}",
year = "2002",
journal = "Journal of Financial Economics",
volume = "63",
number = "3",
pages = "315--349",
month = "May 30",
}
@article{pastorstambaugh2,
author = "P{\'a}stor, L. and Stambaugh, R.",
title = "{{\GG{20020603}}Investing in equity mutual funds}",
year = "2002",
journal = "Journal of Financial Economics",
volume = "63",
number = "3",
pages = "351--380",
month = "June 3",
}
并添加
\newcommand{\GG}[1]{}
到文档前言中。为什么\GG
?因为这是我首先想到的名字。;-)
使用您喜欢的任何免费命令名称。
自包含示例:
\begin{filecontents*}{\jobname.bib}
@article{pastorstambaugh,
author = "P{\'a}stor, L. and Stambaugh, R.",
title = "{{\GG{20020530}}Mutual fund performance and seemingly unrelated assets}",
year = "2002",
journal = "Journal of Financial Economics",
volume = "63",
number = "3",
pages = "315--349",
month = "May 30",
}
@article{pastorstambaugh2,
author = "P{\'a}stor, L. and Stambaugh, R.",
title = "{{\GG{20020603}}Investing in equity mutual funds}",
year = "2002",
journal = "Journal of Financial Economics",
volume = "63",
number = "3",
pages = "351--380",
month = "June 3",
}
\end{filecontents*}
\documentclass[twoside, a4paper, 12pt]{article}
\usepackage{natbib}
\newcommand{\GG}[1]{}
\begin{document}
\cite{pastorstambaugh} blah blah blah
\cite{pastorstambaugh2} blah blah blah
\bibliographystyle{apa-good}
\bibliography{\jobname}
\end{document}
请注意,您不应在标题周围添加引号;如果需要,参考书目样式的工作就是添加引号(apa-good
显然,这不是)。