我试图对参考文献列表进行编号,但要按出现的顺序排列。我找不到如何做到这一点。
代码大致如下
\usepackage[round, sort, numbers, authoryear]{natbib}
(...)
\bibliographystyle{unsrtnat}
\bibliography{referencias}
\end{document}
该代码生成的文档接近我想要的,但参考列表仍然没有编号。以下是一些屏幕截图。
问题是,我可以将参考文献设置为使用数字或哈佛参考文献样式,但不能同时使用两者。
有没有办法使用 natbib 来做到这一点?
希望您能理解我在这里要做什么并给我一些建议。
多谢!
平均能量损失
.tex
\documentclass{article}
\usepackage[round, sort, numbers, authoryear]{natbib}
\begin{document}
\section{First section}
First I'm going to cite \citep{DBLP:journals/chb/Junco12}. I also want you to read \citet{Kirschner20101237} and \citep*{Ross2009578}. Don't forget to tell me what do you think about them.
\bibliographystyle{unsrtnat}
\bibliography{mwe-ref}
\end{document}
。围兜
@article{DBLP:journals/chb/Junco12,
author = {Reynol Junco},
title = {Too much face and not enough books: The relationship between
multiple indices of Facebook use and academic performance},
journal = {Computers in Human Behavior},
volume = {28},
number = {1},
year = {2012},
pages = {187-198},
ee = {http://dx.doi.org/10.1016/j.chb.2011.08.026},
bibsource = {DBLP, http://dblp.uni-trier.de}
}
@article{Ross2009578,
title = "Personality and motivations associated with Facebook use",
journal = "Computers in Human Behavior",
volume = "25",
number = "2",
pages = "578 - 586",
year = "2009",
url = "http://www.sciencedirect.com/science/article/pii/S0747563208002355",
author = "Craig Ross and Emily S. Orr and Mia Sisic and Jaime M. Arseneault and Mary G. Simmering and R. Robert Orr"}
@article{Kirschner20101237,
title = "Facebook and academic performance",
journal = "Computers in Human Behavior",
volume = "26",
number = "6",
pages = "1237 - 1245",
year = "2010",
issn = "0747-5632",
url = "http://www.sciencedirect.com/science/article/pii/S0747563210000646",
author = "Paul A. Kirschner and Aryn C. Karpinski"}
答案1
我会authoryear
从\usepackage[round, sort, numbers, authoryear]{natbib}
答案2
添加包时改为并\bibliographystyle
保留ieeer
该选项。numbers
Natbib
答案3
你可以尝试使用它。
\usepackage[numbers]{natbib}
\bibliographystyle{ieeetr}
\bibliography{ref}
答案4
对于我来说,使用 NeurIPS 模板,默认情况下会加载natbib
\bibliographystyle{unsrtnat}
\setcitestyle{square,numbers,comma}
对我有用