首页 > 代码库 > springer模板中的参考文献引用次序问题
springer模板中的参考文献引用次序问题
今天发现springer引用文献默认是按照作者首字母排序,即使在导言区使用\usepackage[numbers]{natbib},那么你文中的参考文献序号顺序不是按行文顺序来的。
解决办法:
-
Find the file
spbasic.bst
on your computer. Create a copy of this file and call the copy, say,spbasic_unsort.bst
. -
Open the file
spbasic_unsort.bst
in a text editor. -
Find the two lines that start with
SORT
(note: uppercase is important), and comment out -- or simply delete -- both of these lines. -
Save the file
spbasic_unsort.bst
either in the directory that contains your main tex file or in a directory that‘s searched by your tex distribution. If you choose the latter method, be sure to also update the filename database of your TeX distribution. -
In your main tex file, change the instruction
\bibliographystyle{spbasic}
to\bibliographystyle{spbasic_unsort}
. Then, rerun LaTeX, BibTeX, and LaTeX twice more to fully propagate all changes.
notion:
One of the instructions said, "Find the two lines that start with SORT
...". Please look for lines 1572 and 1625
If removing lines starting with SORT does not work, that‘s probably because you did not remove temporary files created by LaTeX
springer模板中的参考文献引用次序问题