Wil*_*son 183
这个问题有三个很好的答案.
unsrt如果您对其格式感到满意,请使用参考书目样式makebst (链接)工具设计自己的书目风格我的个人建议:
biblatex包(链接).它是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}
Run Code Online (Sandbox Code Playgroud)
小智 120
更改
\bibliographystyle{plain}
Run Code Online (Sandbox Code Playgroud)
至
\bibliographystyle{ieeetr}
Run Code Online (Sandbox Code Playgroud)
然后重建了几次,以取代.aux和.bbl当您使用普通样式作了文件.
或者只是删除.aux和.bbl文件并重建.
如果你使用MiKTeX,你不需要额外下载任何东西.
sda*_*aau 19
只是一个简短的说明 - 我正在使用修改版本的plain.bst与我的Latex文件一起坐在目录中; 事实证明按照外观顺序排序是一个相对容易的变化; 找到这段代码:
...
ITERATE {presort}
SORT
...
Run Code Online (Sandbox Code Playgroud)
...并评论它 - 我转向:
...
%% % avoid sort:
%% ITERATE {presort}
%%
%% SORT
...
Run Code Online (Sandbox Code Playgroud)
...然后,在运行bibtex之后pdflatex,pdflatex- 引用将按外观顺序排序(也就是说,它们将是未分类的:)).
干杯!
编辑:刚才意识到我写的内容实际上是@ChrisN的评论:" 你可以编辑它以删除SORT命令 ";)
Bre*_*dan 17
我想出的最好的是使用unsrt风格,这似乎是一种调整plain风格.即
\bibliographystyle{unsrt}
\bibliography{bibliography}
Run Code Online (Sandbox Code Playgroud)
但是如果我的风格不是默认的呢?
小智 6
我对 Bibtex(以及一般的 Latex)有点陌生,我想重温这篇旧帖子,因为我发现它出现在我的许多关于 Latex 中书目排序的 Google 搜索查询中。
我对这个问题提供了一个更详细的答案,希望它可以帮助一些与我面临同样困难的新手。
以下是调用参考书目的主 .tex 文件的示例:
\documentclass{article}
\begin{document}
So basically this is where the body of your document goes.
``FreeBSD is easy to install,'' said no one ever \cite{drugtrafficker88}.
``Yeah well at least I've got chicken,'' said Leeroy Jenkins \cite{goodenough04}.
\newpage
\bibliographystyle{ieeetr} % Use ieeetr to list refs in the order they're cited
\bibliography{references} % Or whatever your .bib file is called
\end{document}
Run Code Online (Sandbox Code Playgroud)
...以及 .bib 文件本身的示例:
@ARTICLE{ goodenough04,
AUTHOR = "G. D. Goodenough and others",
TITLE = "What it's like to have a sick-nasty last name",
JOURNAL = "IEEE Trans. Geosci. Rem. Sens.",
YEAR = "xxxx",
volume = "xx",
number = "xx",
pages = "xx--xx"
}
@BOOK{ drugtrafficker88,
AUTHOR = "G. Drugtrafficker",
TITLE = "What it's Like to Have a Misleading Last Name",
YEAR = "xxxx",
PUBLISHER = "Harcourt Brace Jovanovich, Inc."
ADDRESS = "The Florida Alps, FL, USA"
}
Run Code Online (Sandbox Code Playgroud)
请注意 .bib 文件中的参考文献以相反的顺序列出,但参考文献以它们在论文中引用的顺序列出。
有关 .bib 文件格式的更多信息,请访问:http : //en.wikibooks.org/wiki/LaTeX/Bibliography_Management
| 归档时间: |
|
| 查看次数: |
307270 次 |
| 最近记录: |