Latex: 制作需要的参考文献格式
Latex: 制作和修改需要的参考文献格式(.bst)
一般的期刊或者会议都会提供参考文献格式模板(.bst),但是如果没有提供的话,你可以选择自己制作一个bst或者寻找类似的再修改bst文件。这是一篇教你制作需要的参考文献格式(.bst)的文章。文章主要包括两方面内容:1、从头制作.bst文件,包括对book,article,proceedings等等进行格式设置;2、根据需要微调做好的bst文件。(建议看下文档A BibTEX Guide via Examples)
如果参考文献格式要求排序按出现顺序,引用方式为数字,作者只出现三个,超过三个用et al 表示。例要求参考文献格式为:
Journal articles
[6] Borwn, L., Thomas, H., James, C., et al.:'The title of the paper, IET Communications, 2012, 6, (5), pp 125-138
制作bst文件
- 准备工作 ,安装CTEX,如果已安装就跳过这步。从清华镜像网站下载CTEX套装下载点这里;下载Full版本。
- win+R快捷键输入cmd后回车,键入latex makebst。回答出现的一系列问题就可以制作自己的bst文件了。如果对问题不确定,可以选择默认的选项(*),直接按回车表示选择默认选项。
以下xx表示选择的内容
- Do you want a description of the usage? 是否需要使用说明?yes;
- Enter the name of the MASTER file (default=merlin.mbs)输入主文件名,默认
- Name of the final OUTPUT .bst file? (default extension=bst),给输出的bst文件命名,这里我输入fly来命名我的文件;
- Give a comment line to include in the style file.Something like for which journals it is applicable.写在bst文件开头描述这个bst文件的用途等,可以写可以不写,我这里写*For CSDN**;
- Do you want verbose comments? yes可以在路径下的mbs文件中查看关于问题不同选项的意思
- Name of language definition file (default=merlin.mbs)给定义语言的文件命名,我这里选默认
- Include file(s) for extra journal names? 默认
- <<INTERNAL LANGUAGE SUPPORT (if no external language file) (*) English words used explicitly (b) Babel (words replaced by commands defined in babelbst.tex)
默认 - STYLE OF CITATIONS: (*) Numerical as in standard LaTeX (a) Author-year with some non-standard interface (b) Alpha style, Jon90 or JWB90 for single or multiple authors (o) Alpha style, Jon90 even for multiple authors (f) Alpha style, Jones90 (full name of first author) © Cite key (special for listing contents of bib file) 文章中引用的格式,这里我选择默认,以数字出现
- HTML OUTPUT (if non author-year citations) (*) Normal LaTeX output (h) Hypertext output, in HTML code, in paragraphs (n) Hypertext list with sequence numbers (k) Hypertext with keys for viewing databases 超文本的输出方式,是和正文一样还是实现超链接?默认
- LANGUAGE FIELD (*) No language field (l) Add language field to switch hyphenation patterns temporarily 语言字段,默认
- ANNOTATIONS: (*) No annotations will be recognized (a) Annotations in annote field or in .tex file of citekey name 注释,默认
- PRESENTATIONS: (*) Do not add presentation type for conference talks § Add presentation, speaker not highlighted (b) Presentation, speaker bold face (i) Presentaion, speaker italic © Presentaion, speaker in small caps默认
- ORDERING OF REFERENCES (if non-author/year and non-alph)(参考文献排序方式) (*) Alphabetical by all authors(按作者字母) ©Citation order (unsorted, like unsrt.bst)(按引用顺序) (d) Year ordered and then by authors(先按年再按作者) ® Reverse year ordered and then by authors 选c
- ORDE ON VON PART (if not citation order) (*) Sort on von part (de la Maire before Defoe) (x) Sort without von part (de la Maire after Mahone) Select:默认
- AUTHOR NAMES: (*) Full, surname last (John Frederick Smith) (f) Full, surname first (Smith, John Frederick) (i) Initials + surname (J. F. Smith) ® Surname + initials (Smith, J. F.) (s) Surname + dotless initials (Smith J F) (w) Surname + comma + spaceless initials (Smith, J.F.) (x) Surname + pure initials (Smith JF) (y) Surname + comma + pure initials (Smith, JF) (z) Surname + spaceless initials (Smith J.F.) (a) Only first name reversed, initials (AGU sty