赞
踩
目录
(1) 设置参考文献的类型 (bibliography style)
先在文章末尾(\end {document}
之前)写好需要插入的参考文献,逐一写出,例如:
- \begin{thebibliography}{99}
- \bibitem{ref1}Zheng L, Wang S, Tian L, et al., Query-adaptive late fusion for image search and person re-identification, Proceedings of the IEEE Conference on Computer Vision and Pattern Recognition, 2015: 1741-1750.
- \bibitem{ref2}Arandjelović R, Zisserman A, Three things everyone should know to improve object retrieval, Computer Vision and Pattern Recognition (CVPR), 2012 IEEE Conference on, IEEE, 2012: 2911-2918.
- \bibitem{ref3}Lowe D G. Distinctive image features from scale-invariant keypoints, International journal of computer vision, 2004, 60(2): 91-110.
- \bibitem{ref4}Philbin J, Chum O, Isard M, et al. Lost in quantization: Improving particular object retrieval in large scale image databases, Computer Vision and Pattern Recognition, 2008. CVPR 2008, IEEE Conference on, IEEE, 2008: 1-8.
- \end{thebibliography}
上面列出了5个参考文献,{thebibliography}的选项99指的是参考文献的个数最大为99,可以设置为别的数。
- \cite{ref1}
-
- \cite{ref1, ref5}
这样编译后就可以得到:
[1]
[1, 5]
这种方法需要建立参考文献数据库,引用的时候调用所需要的参考文献。
BibTeX 是一种格式和一个程序,用于协调LaTeX的参考文献处理。
BibTeX 使用数据库的的方式来管理参考文献。BibTeX 文件的后缀名为 .bib 。先来看一个栗子:
- @article{name1,
- author = {作者, 多个作者用 and 连接},
- title = {标题},
- journal = {期刊名},
- volume = {卷20},
- number = {页码},
- year = {年份},
- abstract = {摘要, 这个主要是引用的时候自己参考的, 这一行不是必须的}
- }
- @book{name2,
- author ="作者",
- year="年份2008",
- title="书名",
- publisher ="出版社名称"
- }
说明:
第一行@article 告诉 BibTeX 这是一个文章类型的参考文献,还有其它格式, 例如 article, book, booklet, conference, inbook, incollection, inproceedings,manual, misc, mastersthesis, phdthesis, proceedings, techreport, unpublished 等等。
接下来的"name1",就是你在正文中应用这个条目的名称。
其它就是参考文献里面的具体内容。
为了在LaTeX中使用BibTeX 数据库, 必须先做下面三件事:
标准的为 plain: \bibliographystyle{plain}
将上面的命令放在 LaTeX 文档的\begin{document}
后边. 其它的类型包括:
- `unsrt` – 基本上跟 plain 类型一样,除了参考文献的条目的编号是按照引用的顺序,而不是按照作者的字母顺序.
- `alpha` – 类似于 plain 类型,当参考文献的条目的编号基于作者名字和出版年份的顺序.
- `abbrv` – 缩写格式 .
当在文档中想使用引用时, 插入 LaTeX 命令\cite{引用文章名称}
。
“引用文章名称” 就是前边定义@article后面的名称。
在 LaTeX 的结束前输入\bibliography{bibfile}
。这里bibfile 就是你的 BibTeX 数据库文件 bibfile.bib的文件名。
分为下面四步:
Copyright © 2003-2013 www.wpsshop.cn 版权所有,并保留所有权利。