Latex BibTex
||
折腾了一上午,总算是基本会用BibTex管理参考文献了,各种错误估计下次还会碰到,一定要细心!(使用CTex+Winedit)
1.编辑bib库文件时候,作者之间要用“and”连接,而不能直接用逗号! 2. 在tex文件中开头要加上 “\usepackage{cite}”, 结尾用上 “ \bibliographystyle{ieeetr}
bibliography{FirstPaper}{}
”
3.先选择“Latex”然后选择“Bib”,然后再两次“Latex”(有几次选择了PdfLatex才生成了pdf文件,不知道为什么) 4.一定要仔细检查Bib库文件,开头不能有空格,不用的无关项目一定要删除。 5. Bib文件修改完之后一定要保存,然后再编译,按照latex-Bib-latex-latex顺序。 6. 引用时候格式是~\cite{参考文献编号},千万别加Bib库名。 比如Bib的参考文献格式如下:
@ARTICLE{r1,
author = {H.-X.~Chen and Y.-L.~Jiang and J.~Xu and H.-L.~Hu},
title = {Energy-efficient coordinated scheduling mechanism for cellular communication systems with multiple component carriers},
journal = {IEEE J. Sel. Areas Commun.},
year = {2013},
volume = {31},
number = {5},
pages = {959-968},
month = {May.},
}
在tex中引用时候只需 ~\cite{r1}即可。 7. 姓名之间用~,不要敲空格 |