默认情况下(使用普通样式)BibTeX按字母顺序排序引用。

如何按文献中出现的顺序排列引文?


当前回答

我想到的最好的是使用unsrt风格,这似乎是一个调整的普通风格。即。

\bibliographystyle{unsrt}
\bibliography{bibliography}

但是,如果我的样式不是默认的呢?

其他回答

我想到的最好的是使用unsrt风格,这似乎是一个调整的普通风格。即。

\bibliographystyle{unsrt}
\bibliography{bibliography}

但是,如果我的样式不是默认的呢?

如果你碰巧使用amsrefs,他们将覆盖所有以上-所以注释:

\ usepackage {amsrefs。

我使用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}

我在背页中使用了以下内容,并按升序排列:

\ usepackage{引用的

\ bibliographystyle {unsrt}

这个问题有三个很好的答案。

使用unsrt书目样式,如果你对它的格式满意的话 使用makebst(链接)工具来设计你自己的书目风格

我个人的建议是:

使用bibliatex包(链接)。它是LaTeX世界中最完整和灵活的书目工具。

使用biblatex,您可以编写如下内容

\documentclass[12pt]{article}
\usepackage[sorting=none]{biblatex}
\bibliography{journals,phd-references} % Where journals.bib and phd-references.bib are BibTeX databases
\begin{document}
\cite{robertson2007}
\cite{earnshaw1842}
\printbibliography
\end{document}