Latex Citation Style
中有三个主流的 bibliography 包:bibtex, natbib 和 biblatex, 其中 biblatex 支持本地化(多语言), 也更加现代化更加易用。
1 | % 导入 biblatex , 使用 biber 后端 , author-year cite style |
导入 biblatex 可以传入的参数[1]:
backend=biber: 排序 bibliography 的后端程序,默认的biber支持不同的排序方式和多种样式,同时也更易于使用。另一个选项是bibtex, 仅支持排序,没有样式支持。style=alphabetic: bibliography 样式和 citation 样式sorting=ynt: 定义排序方式option 排序顺序 ntyname, title, year nytname, year, title nyvtname, year, volume, title anytalphabetic label, name, year, title anyvtalphabetic label, name, year, volume, title none以 citation 顺序排列
bibliography 样式
style 字段支持的 bibtex 样式[2]:
拓展的样式:
除此之外还可以自定义 bibliography section 的标题:
1 | \printbibliography[title={Whole bibliography}] |
或者以某个标准过滤打印 bibliography:
1 | \printbibliography[type=article,title={Articles only}] |
添加 bibliography section 到目录:
1 | % 顶级目录 |
Citation 样式
没有显示设置时,biblatex 会使用最符合 bibliography 样式的 citation 样式[3]
numberic: 数字样式numberic-comp: 自动聚合连续的数字:[1, 2, 3] 聚合为 [1-3]numberic-verb: 自动分解连续的数字:[1, 2, 3] 分解为 [1];[2];[3]alphabetic:alphabetic-verb: 分解连续的 citationauthoryear:authoryear-comp: 同一个作者的不同年份的引用聚合:Doe 1992, Doe 1995 聚合为 Doe 1992, 1995authoryear-ibid:authoryear-icomp:authortitle:authortitle-comp:authortitle-ibid:authortitle-icomp:authortitle-terse:authortitle-tcomp:authortitle-ticomp:verbose:reading:
期刊样式
| Citation style | biblatex stylename | description |
|---|---|---|
| ACS | chem-acs | American Chemical Society (ACS) style |
| AIP | phys (*) | American Institute of Physics (AIP) style |
| Nature | nature | Nature style |
| Science | science | Science style |
| IEEE | ieee | Institute of Electrical and Electronics Engineers (IEEE) style |
| Chicago | chicago-authordate | Chicago Style |
| MLA | mla | MLA style |
| APA | apa | American Psychological Association (APA) style |