如何使用 BibTeX 按外观排序引文? [英] How to order citations by appearance using BibTeX?

查看:18
本文介绍了如何使用 BibTeX 按外观排序引文?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

默认情况下(使用 plain 样式)BibTeX 按字母顺序排列引文.

By default (using the plain style) BibTeX orders citations alphabetically.

如何按照在文档中出现的顺序对引用进行排序?

How to order the citations by order of appearance in the document?

推荐答案

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

There are three good answers to this question.

  • 如果您对其格式感到满意,请使用 unsrt 参考书目样式
  • 使用 makebst (链接) 设计自己的书目风格的工具
  • Use the unsrt bibliography style, if you're happy with its formatting otherwise
  • Use the makebst (link) tool to design your own bibliography style

还有我个人的建议:

  • 使用 biblatex(link).它是 LaTeX 世界中最完整、最灵活的参考书目工具.
  • Use the biblatex package (link). It's the most complete and flexible bibliography tool in the LaTeX world.

使用 biblatex,你会写出类似的东西

Using biblatex, you'd write something like

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

这篇关于如何使用 BibTeX 按外观排序引文?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆