![在参考文献部分按时间标准对同一作者、不同年份的论文进行排序](https://linux22.com/image/471052/%E5%9C%A8%E5%8F%82%E8%80%83%E6%96%87%E7%8C%AE%E9%83%A8%E5%88%86%E6%8C%89%E6%97%B6%E9%97%B4%E6%A0%87%E5%87%86%E5%AF%B9%E5%90%8C%E4%B8%80%E4%BD%9C%E8%80%85%E3%80%81%E4%B8%8D%E5%90%8C%E5%B9%B4%E4%BB%BD%E7%9A%84%E8%AE%BA%E6%96%87%E8%BF%9B%E8%A1%8C%E6%8E%92%E5%BA%8F.png)
我正在写一篇论文,发现了下一个问题:我有 6 篇论文,作者相同(Brocas 和 Carrillo),年份不同。.bib 的代码如下:
@article{brocas2018determinants,
title={The determinants of strategic thinking in preschool children},
author={Brocas, Isabelle and Carrillo, Juan D.},
journal={PLoS ONE},
volume={13},
number={5},
pages={e0195456},
year={2018},
publisher={Public Library of Science San Francisco, CA USA}
}
@article{brocas2020introduction,
title={Introduction to special issue “Understanding Cognition and Decision Making by Children.” Studying decision-making in children: Challenges and opportunities},
author={Brocas, Isabelle and Carrillo, Juan D.},
journal={Journal of Economic Behavior \& Organization},
volume={179},
pages={777--783},
year={2020a},
publisher={Elsevier}
}
@article{brocas2020iterative,
title={Iterative dominance in young children: Experimental evidence in simple two-person games},
author={Brocas, Isabelle and Carrillo, Juan D.},
journal={Journal of Economic Behavior \& Organization},
volume={179},
pages={623--637},
year={2020b},
publisher={Elsevier}
}
@article{brocas2020evolution,
title={The evolution of choice and learning in the two-person beauty contest game from kindergarten to adulthood},
author={Brocas, Isabelle and Carrillo, Juan D.},
journal={Games and Economic Behavior},
volume={120},
pages={132--143},
year={2020c},
publisher={Elsevier}
}
@article{brocas2021steps,
title={Steps of reasoning in children and adolescents},
author={Brocas, Isabelle and Carrillo, Juan D.},
journal={Journal of Political Economy},
volume={129},
number={7},
pages={2067--2111},
year={2021a},
publisher={The University of Chicago Press Chicago, IL}
}
@article{brocas2021dynamic,
title={Dynamic coordination in efficient and fair strategies: a developmental perspective},
author={Brocas, Isabelle and Carrillo, Juan D.},
year={2021b},
howpublished = {CEPR Discussion Paper No. DP16683},
publisher={CEPR Discussion Paper No. DP16683}
}
另外,我使用的参考书目代码是下一个:
\usepackage[style=apa, sorting=nyt]{biblatex}
\addbibresource{references.bib}
如您所见,我需要以 APA 格式按作者和出版年份对参考书目进行排序。问题是,当我使用 编译参考书目时,\printbibliography
我获得了以下内容:
所以这种书目的排序很混乱,我不知道我的书目遵循了哪些标准。请问,有人能帮我解决这个问题吗?我向你保证,我在不同的博客上搜索过,我尝试了所有我找到的方法,任何改变或改进都行……提前谢谢你。这有点紧急,因为我必须完成这篇论文的写作,这是我要做的最后一件事……
亲切的问候,
答案1
就我所知,在字段中biber
输入非数字字符(例如a
和)是错误的。果然,发出了如下消息b
year
biber
“警告 - 条目‘brocas2020introduction’中的旧年份字段‘2020a’不是整数 - 这可能无法正确排序。”
如果您忽略biber
警告信息,后果自负。
该怎么办?只需在相应字段的开头输入诸如\noopsort{a}
和之类的指令\noopsort{b}
——其中\noopsort
定义为,即它不输出任何内容。\providecommand{\noopsort}[1]{}
title
@article
顺便说一句,使用entry 类型来表示 entry是不正确的brocas2021dynamic
;您应该使用 entry 类型@techreport
。
\documentclass{article}
\providecommand{\noopsort}[1]{} % a special "do nothing" macro
% create a bib file "on the fly":
\begin{filecontents}[overwrite]{references.bib}
@article{brocas2018determinants,
title ={The determinants of strategic thinking in preschool children},
author ={Brocas, Isabelle and Carrillo, Juan D.},
journal={PLoS ONE},
volume ={13},
number ={5},
pages ={e0195456},
year ={2018},
publisher={Public Library of Science San Francisco, CA USA}
}
@article{brocas2020introduction,
title ={\noopsort{a}{Introduction} to special issue ``{Understanding}
Cognition and Decision Making by Children.'' {Studying}
decision-making in children: Challenges and opportunities},
author ={Brocas, Isabelle and Carrillo, Juan D.},
journal={Journal of Economic Behavior \& Organization},
volume ={179},
pages ={777--783},
year ={2020},
publisher={Elsevier}
}
@article{brocas2020iterative,
title ={\noopsort{b}{Iterative} dominance in young children:
{Experimental} evidence in simple two-person games},
author ={Brocas, Isabelle and Carrillo, Juan D.},
journal={Journal of Economic Behavior \& Organization},
volume ={179},
pages ={623--637},
year ={2020},
publisher={Elsevier}
}
@article{brocas2020evolution,
title ={\noopsort{c}{The} evolution of choice and learning in the
two-person beauty contest game from kindergarten to adulthood},
author ={Brocas, Isabelle and Carrillo, Juan D.},
journal={Games and Economic Behavior},
volume ={120},
pages ={132--143},
year ={2020},
publisher={Elsevier}
}
@article{brocas2021steps,
title ={\noopsort{a}{Steps} of reasoning in children and adolescents},
author ={Brocas, Isabelle and Carrillo, Juan D.},
journal={Journal of Political Economy},
volume ={129},
number ={7},
pages ={2067--2111},
year ={2021},
publisher={The University of Chicago Press Chicago, IL}
}
@techreport{brocas2021dynamic,
title ={\noopsort{b}{Dynamic} coordination in efficient and
fair strategies: A developmental perspective},
author={Brocas, Isabelle and Carrillo, Juan D.},
year ={2021},
type ={CEPR Discussion Paper},
number={16683},
xpublisher={CEPR Discussion Paper No. DP16683}
}
\end{filecontents}
\usepackage[style=apa]{biblatex} % no need for option 'sorting=nyt'
\addbibresource{references.bib}
\begin{document}
\cite{brocas2018determinants,
brocas2021steps,
brocas2021dynamic,
brocas2020introduction,
brocas2020iterative,
brocas2020evolution}
\printbibliography
\end{document}