latex中的natbib

今天发现斯普林格的模板默认是author-year引用,原文如下

%% For Springer medical, life sciences, chemistry, geology, engineering and %%
%% computer science publications. %%
%% For use with the natbib package (see below). Default is author-year citations. %%
%% When citations are numbered, please use \usepackage[numbers]{natbib}. %%
%% A lack of punctuation is the key feature. Springer-Verlag 2004/10/15 %%
%% Report bugs and improvements to: Joylene Vette-Guillaume or Frank Holzwarth

一般的期刊都是numbers引用,按照它说明的在导言区加入\usepackage[numbers]{natbib}.即可

找了半天,这货原来在spbasic.bst中,略坑!

补充:这个是按照首字母出现顺序排序,若是想按照引用次序排序,则需要以下操作:


You need to create and use a modified version of the spbasic bibliography style.

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.

转载于:https://www.cnblogs.com/qixianyu/p/7085201.html

  • 0
    点赞
  • 1
    收藏
    觉得还不错? 一键收藏
  • 0
    评论
评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值