默认情况下(使用普通样式)BibTeX按字母顺序排序引用。
如何按文献中出现的顺序排列引文?
默认情况下(使用普通样式)BibTeX按字母顺序排序引用。
如何按文献中出现的顺序排列引文?
当前回答
我使用natbib结合bibliographystyle{apa}。例如:
\begin{document}
The body of the document goes here...
\newpage
\bibliography{bibliography} % Or whatever you decided to call your .bib file
\usepackage[round, comma, sort&compress ]{natbib}
bibliographystyle{apa}
\end{document}
其他回答
unsrt的问题在于格式。使用\bibliographystyle{ieeetr}在文档中按引用顺序获取参考。
您回答了自己的问题——unsrt用于当您希望按照出现顺序列出对ne的引用时。
但你可能也想看看natbib,一个非常灵活的引用包。我无法想象没有它的生活。
我使用natbib结合bibliographystyle{apa}。例如:
\begin{document}
The body of the document goes here...
\newpage
\bibliography{bibliography} % Or whatever you decided to call your .bib file
\usepackage[round, comma, sort&compress ]{natbib}
bibliographystyle{apa}
\end{document}
我想到的最好的是使用unsrt风格,这似乎是一个调整的普通风格。即。
\bibliographystyle{unsrt}
\bibliography{bibliography}
但是,如果我的样式不是默认的呢?
如果您希望引用的数量在文档中按顺序出现,则添加此选项 它们只会在参考页中未排序:
\bibliographystyle{unsrt}