LaTex\TexStduio设置参考文献Bibtex

  • \emph 变换字体表示强调(直体变斜体,斜体变直体)
  • \cite{标识} 表示引用,\citet \citep都是引用格式(需添加相应宏包\natlib

一次管理,一次使用

参考格式

% \begin{thebibliography}{编号样本}
%	\bibitem[记号]{引用标志}文献条目1
%	\bibitem[记号]{引用标志}文献条目2
%	……
% \end{thebibliography}
% 其中文献条目包括: 作者、题目、出版社、年代、版本、页码等
% 引用时候可以采用:\cite{引用标志1,引用标志2,……}

举例

\begin{document}
	引用一篇文章\cite{article1}
	引用一本书\cite{book1}等等
	\begin{thebibliography}{99}
		\bibitem{article1}陈立辉,苏伟,蔡川,陈晓云.\emph{基于LaTex的Web数学公式提取方法研究}[J]. 计算机科学. 2014(06)
		\bibitem{book1}William H. Press,Saul A. Teukolsky, William T. Vetterling, Brian P. Flannery, \emph{Numberical Recipes 3rd Edition: The Art of Scientific Computing} Cambridge University Press, New York, 2007.
		\bibitem{latexGuide} Kopka Helmut, W. Daly Patrick,\emph{Guide to \LaTeX}, $4^{th}$ Edition. Available at \texttt{http://www.amazon.com}.	% \texttt 打字机字体
		\bibitem{latexMath} Graetzer George, \emph{Math Into \LaTeX}, BirkhAouser Boston; 3 edition (June 22, 2000).
	\end{thebibliography}
\end{document}

在这里插入图片描述

一次管理多次使用(英文文献)

一定要编译两次!!!!!

1. 首先在当前目录下创建一个bib文件

保存所需要引用的参考文献。格式如下:({mittelbach2004和patashnik1984bibtex都是引用标识符)

@BOOK{mittelbach2004,
title = {The {
   
   {\LaTeX}} Companion},
publisher = {Addison-Wesley},
year = {2004},
author = {Frank Mittelbach},
series = {Tools and Techniques for Computer Typesetting},
address = {Boston},
edition = {Second}
}

@article{patashnik1984bibtex,
	title={BIBTEX 101},
	author={Patashnik, Oren},
	year={1984}
}

2. 在latex文件中指定参考文献的排版样式

\bibliographystyle{plain} %指定参考文献的排版样式,plain格式

3. 在正文中引入所需要的参考文献

(我的参考文献保存在testRefence.bib中)
\bibliography{testRefence} %引入需要的参考文献

\bibliography{testRefence,testReference2} 多个文件用逗号隔开

举例

\documentclass{ctexart}

\bibliographystyle{plain}	 %指定参考文献的排版样式,plain格式

\begin{document}
	这是一个参考文献的引用:\cite{mittelbach2004}
	这是另一个引用:\cite{patashnik1984bibtex}
	\bibliography{testRefence}	%引入需要的参考文献
	

\end{document}

在这里插入图片描述

一次管理多次使用(中文文献)

  1. 下载Zeroto
  2. 浏览器添加zeroto connector扩展文件
  3. 进入你所要引用的文献页面点击(下图为火狐浏览器实例
    火狐的zeroto connector插件
  4. 进入zotero应用,可以看见你保存的文献
  5. 右击文献
    在这里插入图片描述
    在这里插入图片描述
  6. 选择导出格式为BiTex
    在这里插入图片描述
  7. 选择文件导出路径并指定文件名,文件以bib作为后缀名
  8. 引用结果
\documentclass{ctexart}

\bibliographystyle{plain}	 %指定参考文献的排版样式,plain格式

\begin{document}
	这是一个参考文献的引用:\cite{mittelbach2004}
	
	这是另一个引用:\cite{patashnik1984bibtex}
	
	这是一个来自知网的文献:\cite{__nodate}
	
	\bibliography{testRefence,testReference2}	%引入需要的参考文献
	

\end{document}

在这里插入图片描述

快速获取引用格式tips

引用Google scholar的文献时,可以点击
在这里插入图片描述
根据需要选择引用模板
在这里插入图片描述

扫描二维码关注公众号,回复: 15558684 查看本文章

猜你喜欢

转载自blog.csdn.net/weixin_42173136/article/details/121015634