惯性聚合 高效追踪和阅读你感兴趣的博客、新闻、科技资讯
阅读原文 在惯性聚合中打开

推荐订阅源

奇客Solidot–传递最新科技情报
奇客Solidot–传递最新科技情报
大猫的无限游戏
大猫的无限游戏
博客园 - 聂微东
Jina AI
Jina AI
The Cloudflare Blog
V
Visual Studio Blog
博客园_首页
量子位
酷 壳 – CoolShell
酷 壳 – CoolShell
博客园 - 【当耐特】
爱范儿
爱范儿
博客园 - 三生石上(FineUI控件)
小众软件
小众软件
博客园 - 司徒正美
阮一峰的网络日志
阮一峰的网络日志
Last Week in AI
Last Week in AI
V
V2EX
钛媒体:引领未来商业与生活新知
钛媒体:引领未来商业与生活新知
博客园 - 叶小钗
freeCodeCamp Programming Tutorials: Python, JavaScript, Git & More
WordPress大学
WordPress大学
宝玉的分享
宝玉的分享
T
Tailwind CSS Blog
博客园 - Franky

jdhao's digital space

Conversion between base64 and OpenCV or PIL Image 腾讯云对象存储博客图床开启 CDN 加速(不需要购买额外域名) Search and Replace in Multiple Files in Vim/Neovim Change Table Column Width in LaTeX Image or Table Side by Side in LaTeX LaTeX 并排显示图像或表格 Firenvim: Neovim inside Your Browser Content inside HTML tags missing in Latest Hugo? Creating Markdown Front Matter with Ultisnips Labelme JSON 标注格式转 voc XML 格式 Nifty Nvim Techniques That Make My Life Easier -- Series 6 macOS 下如何为视频制作字幕 Running Command Asynchronously inside Neovim Resolving Merge Conflict after Git Stash Pop Pylint: command not found? A Hands-on Experience with Neovim's Built-in LSP Support How to Convert PDF to Images with Imagemagick 互联网上常用缩略语集锦 File Backup in Neovim Converting PDF Pages to Images with Poppler Nifty Nvim Techniques That Make My Life Easier -- Series 5 Neovim Configuration for System-wide Use How to sort a list of tuple or list in Python -- lambda or itemgetter? Building A Vim Statusline from Scratch 人类第一颗原子弹爆炸始末 Distributed Training in PyTorch with Horovod Learning Expect Programming Essential Knowledge about SSH Nifty LaTeX Techniques -- Series 1 更改 Adsense 邮寄地址,重新寄送 PIN
LaTeX 中参考文献管理以及注意事项
2015-10-16 · via jdhao's digital space

LaTeX 写作中,参考文献一般单独放在一个 *.bib 文件中,每个文章对应该文件的一个 条目,每个文章有一个独一无二的 Key,在文章中使用 key 来引用对应的文章。 bibtex 可以根据 *.bib 文件产生 LaTeX 可以识别的引用条目,然后我们才可以在 LaTeX 中引用相关的文献。 本文主要写一些和文献管理以及引用相关的注意事项。

关于多个作者的姓名如何正确分开#

一般来说,如果一篇文章有多个作者,作者姓名之间直接用 and 连接,作者姓名按照 first_name last_name 或者 first_name middle_name last_name 来写即可,如果一 个作者名字不是这种形式,那么需要用花括号把作者的 last_name括起来,以便 bibtex 程序能够正确识别作者姓名。例如,

San Zhang and Si Li and Ma Zi Wang
G{\”o}del
Jose {Dos Santos}

引用的文字与文献之间用 ~ (tilde) 连接#

为了防止 LaTeX 把文字和对应的引文编号排版在两行,文字和对应的引文之间要使用 ~ 符号,这在 LaTeX 中被称为 unbreakable space ,举例如下,

Zhang et al.~\cite{zhangsan2010cvpr}

另外,在引用 Figure,table,equation 等内容是也要使用 unbreakable space,例如

Fig.~\ref{fig:foo1}
Table~\ref{tab:bar1}
Eqn.~\ref{eq:foo1}

为引用的文献选择正确的 entry type 以及 field 名称#

不同的参考文献有不同的类型,我们必须为参考文献指定正确的类型,例如 article, conference 等。同时,不同类型可能需要不同的域(field)。

常用的参考文献的类型以及含义#

@article :An article from a journal or magazine
@inproceedings: An article in a conference proceedings
@conference: The same as inproceedings
@book: A book with an explicit publisher
@booklet: A work that is printed and bound, but without a named publisher or sponsoring institution
@inbook: A part of a book, which may be a chapter (or section or whatever) and/or a range of pages
@incollection: A part of a book having its own title
@manual: Technical documentation
@mastersthesis: A Master's thesis
@misc: Use this type when nothing else fits
@phdthesis: A PhD thesis
@proceedings: The proceedings of a conference
@techreport: A report published by a school or other institution, usually numbered within a series
@unpublished: A document having an author and title, but not formally published

field 类型#

常用的 field 类型以及说明如下

author
The name(s) of the author(s), in the format described in the LaTeX book.

title
The work's title, typed as explained in the LaTeX book.

booktitle
Title of a book, part of which is being cited. See the LaTeX book for how to type titles. For book entries, use the title field instead.

chapter
A chapter (or section or whatever) number.

journal
A journal name. Abbreviations are provided for many journals.

year
The year of publication or, for an unpublished work, the year it was written. Generally it should consist of four numerals, such as 1984, although the standard styles can handle any year whose last four nonpunctuation characters are numerals, such as `\hbox{(about 1984)}'.

volume
The volume of a journal or multi-volume book.

howpublished
How something strange has been published. The first word should be capitalized.

edition
The edition of a book---for example, ``Second''. This should be an ordinal, and should have the first letter capitalized, as shown here; the standard styles convert to lower case when necessary.

institution
The sponsoring institution of a technical report.

key
Used for alphabetizing, cross referencing, and creating a label when the ``author'' information is missing. This field should not be confused with the key that appears in the cite command and at the beginning of the database entry.

month
The month in which the work was published or, for an unpublished work, in which it was written. You should use the standard three-letter abbreviation, as described in Appendix B.1.3 of the LaTeX book.

number
The number of a journal, magazine, technical report, or of a work in a series. An issue of a journal or magazine is usually identified by its volume and number; the organization that issues a technical report usually gives it a number; and sometimes books are given numbers in a named series.
organization
The organization that sponsors a conference or that publishes a manual.

pages
One or more page numbers or range of numbers, such as 42--111 or 7,41,73--97 or 43+ (the `+' in this last example indicates pages following that don't form a simple range). To make it easier to maintain Scribe-compatible databases, the standard styles convert a single dash (as in 7-33) to the double dash used in TeX to denote number ranges (as in 7--33).

school
The name of the school where a thesis was written.

series
The name of a series or set of books. When citing an entire book, the the title field gives its title and an optional series field gives the name of a series or multi-volume set in which the book is published.

field 与 entry 的名称都是 case insensitive#

field 与 entry 的名称都是 case insensitive,因此 authorAuthorAUTHOR之 间没有区别。

title 中保持某些字符的大小写状态#

title 中的字母大小写对最终输出是没有影响的,大小写等格式由参考文献的风格来决定 1,因此如果想要保持 title 中某些字母的大写,需要用花括号把字母括起来。如:

title = "Proof of the {R}iemann {H}ypothesis"

参考#