BibTeX是一个Latex下使用的文献管理工具和文件格式。它包含如下的类型
@string
用来定义缩写@string { foo="Mrs. Foo"}
@preamble
@comment
是注释- 文献条目(entry),如
@article
,@book
,@inproceedings
等
一个文献条目(entry)包含文献类型(@类型
表示), 引用时使用的名称,及相应的子项(tag)组成
@misc{ patashnik-bibtexing,
author = "Oren Patashnik",
title = "BIBTEXing",
year = "1988" }
一个子项(tag)由名称(field),等号(=),及后面的内容(content)组成。
- 名称(field)是忽略大小写的。
- 内容(content)部分,需要用花括号
{
,}
或"
来表示字符串,用#
来连接两个字符串Title = { {Bib}\TeX} Title = "{Bib}\TeX" Title = "{Bib}" # "\TeX"
用
@string
定义的缩写,只能用在连接字符串的操作中@string{btx = "{\textsc{Bib}\TeX}"} Title = btx # "ing"
整数的内容(content)也可以不用
"
引用。
一个完整的条目(entry)如下
@article{mrx05,
auTHor = "Mr. X",
Title = {Something Great},
publisher = "nob" # "ody",
YEAR = 2005,
}
WikiPedia中给出了一些条目(entry)的类型:
- article
- An article from a journal or magazine
- 必要:
author
,title
,journal
,year
,volume
- 可选:
number
,pages
,month
,doi
,note
,key
- book
- A book with an explicit publisher.
- 必要:
author/editor
,title
,publisher
,year
- 可选:
volume/number
,series
,address
,edition
,month
,note
,key
,url
- booklet
- A work that is printed and bound, but without a named publisher or sponsoring institution.
- 必要:
title
- 可选:
author
,howpublished
,address
,month
,year
,note
,key
- conference
- The same as inproceedings, included for Scribe compatibility.
- 必要:
author
,title
,booktitle
,year
- 可选:
editor
,volume/number
,series
,pages
,address
,month
,organization
,publisher
,note
,key
- inbook
- A part of a book, usually untitled. May be a chapter (or section, etc.) and/or a range of pages.
- 必要:
author/editor
,title
,chapter/pages
,publisher
,year
- 可选:
volume/number
,series
,type
,address
,edition
,month
,note
,key
- incollection
- A part of a book having its own title.
- 必要:
author
,title
,booktitle
,publisher
,year
- 可选:
editor
,volume/number
,series
,type
,chapter
,pages
,address
,edition
,month
,note
,key
- inproceedings
- An article in a conference proceedings.
- 必要:
author
,title
,booktitle
,year
- 可选:
editor
,volume/number
,series
,pages
,address
,month
,organization
,publisher
,note
,key
- manual
- Technical documentation.
- 必要:
title
- 可选:
author
,organization
,address
,edition
,month
,year
,note
,key
- mastersthesis
- A master’s thesis.
- 必要:
author
,title
,school
,year
- 可选:
type
,address
,month
,note
,key
- misc
- For use when nothing else fits.
- 必要:
none
- 可选:
author
,title
,howpublished
,month
,year
,note
,key
- phdthesis
- A Ph.D. thesis.
- 必要:
author
,title
,school
,year
- 可选:
type
,address
,month
,note
,key
- proceedings
- The proceedings of a conference.
- 必要:
title
,year
- 可选:
editor
,volume/number
,series
,address
,month
,publisher
,organization
,note
,key
- techreport
- A report published by a school or other institution, usually numbered within a series.
- 必要:
author
,title
,institution
,year
- 可选:
type
,number
,address
,month
,note
,key
- unpublished
- A document having an author and title, but not formally published
- 必要:
author
,title
,note
- 可选:
month
,year
,key