bib文件的常用格式及其说明

您所在的位置:网站首页 bib怎么说 bib文件的常用格式及其说明

bib文件的常用格式及其说明

2023-07-02 23:47| 来源: 网络整理| 查看: 265

bib 文件中的项既可以用 {} 也可以用 " " 对于 author 项,有时候是名在前,姓氏在后,有时候是名在后,姓氏在前。两者中间有时用一个 "," 相隔. 有时候在 bib 文件中用上了作者姓名的全称,但是显示结果按照不同的格式设置,会显示简称,名字用首字母大写加 "." 表示

当设置

\bibliographystyle{abbrvnat} \bibliography{Ch4}

且弄丢了 abbrvnat 的文件时就会进行姓名的缩写,但这是否要bib条目中输入的是全名,然后显示的是缩写。

ch1.bib 和 ch2.bib 中 {} 和双引号混用,并且 ch1.bib 手工进行了硬编码的缩写,似乎这是不必要的。如果要利用 abbrvnat 进行缩写,是否要注意姓名的格式和顺序,而不要输错了。

@book{1, //google scholar 多采用此格式 title = {Foundations of machine learning}, author = {Mohri, Mehryar and Rostamizadeh, Afshin and Talwalkar, Ameet}, //当使用逗号时,姓氏在前,名在后,并用逗号隔开 year = {2018}, edition = {second}, publisher = {The MIT Press}, } @book{2, title = {Foundations of machine learning}, // dblp 多采用此格式 author = {Mehryar Mohri and Afshin Rostamizadeh and Ameet Talwalkar}, //当不使用逗号时,按照西文正常写法,名在前,姓在后, year = {2018}, // 缩写会缩写第一个单词 Mehryar -> M. edition = {second}, publisher = {The MIT Press}, } @book{3, title = {Foundations of machine learning}, author = {M. Mohri and A. Rostamizadeh and A. Talwalkar}, // 这里是手工硬编码缩写 year = {2018}, // 在这里,可能 latex 会把 M. 当做一个单词,仅一个字母,缩写仍是这个样子 edition = {second}, publisher = {The MIT Press}, }

这三种在 \bibliographystyle{abbrvnat} 下效果一致

address 一般在美国本土举办,不用写国家名 USA, 在其他国家举办则一般写 city, country, 在美国举办一般写,city, province 对于 incollection 结构 需要有 publisher 项,但这里应该是 inproceedings, 则不需要 publisher 项。

@incollection{NIPS2019_9263, title = {Fast-rate PAC-Bayes Generalization Bounds via Shifted Rademacher Processes}, author = {Yang, Jun and Sun, Shengyang and Roy, Daniel M}, booktitle = {Advances in Neural Information Processing Systems 32}, editor = {H. Wallach and H. Larochelle and A. Beygelzimer and F. d\textquotesingle Alch\'{e}-Buc and E. Fox and R. Garnett}, pages = {10802--10812}, year = {2019}, publisher = {} }

在删去辅助文件式,一不小心把 abbrvant.bst 也删去了,导致参考文献的格式一直不对,年份 2009 在最后面,而非在作者后用括号括起来

会议的 In Proceedings of the 23rd International Conference of Machine Learning (ICML) 注意 1st(first), 2nd(second), 3rd(third), 4th(forth) ... 10th(tenth), 11th, 12th, 13th, 13th, 15th, 20th, 21st, 22nd(twenty second), 23rd (twenty third) ...

之前寒假整理 refenrence 发现, anthor = {} 可以用两种写法: 1. {A B and C D} 2. {B,A and D, C} google scholar 与 dblp 上下载的恰好相反 还发现 title = {} 里面可以使用 $ $ 来标示公式。 今天调试 nips 模板,发现 natbit 要与 plainnat 搭配使用,用 plain 会报错。用google 一下子就搜到了,百度还是搜不到。 https://tex.stackexchange.com/questions/166840/why-do-i-get-author-when-i-use-citet-with-natbib


【本文地址】


今日新闻


推荐新闻


CopyRight 2018-2019 办公设备维修网 版权所有 豫ICP备15022753号-3