Latex中文文献的引用(bib)

在写文章中使用bib方式进行

第一步

新建一个引用文档,使用记事本在文章同一个文件夹下新建一个txt,复制粘贴一下代码

@article{article_example,
  author      = {作者},
  title       = {题目},
  journal     = {刊名(全称)},
  year        = {年},
  number      = {卷},
  volume      = {期},
  pages       = {页码},
}

@inproceedings{inproceedings_example,
  author      = {作者},
  title       = {文章题目},
  booktitle   = {Proceedings of the ... (会议名称)},
  address     = {会议召开城市, 会议召开城市所在国家},
  year        = {年},
  pages       = {页码},
}

@incollection{incollection_example,
  author      = {作者},
  title       = {文章题目},
  editor      = {编者},
  booktitle   = {文集标题},
  address     = {出版地},
  publisher   = {出版社},
  year        = {出版年},
  pages       = {页码},
}

@book{book_example,
  author      = {作者},
  title       = {书名},
  edition     = {版次(初版不写)},
  address     = {出版社地点},
  publisher   = {出版社},
  year        = {出版年},
}


@phdthesis{phdthesis_example,
  author      = {作者},
  title       = {文章题目},
  school      = {单位名称},
  address     = {单位地点},
  year        = {年},
}

@mastersthesis{mastersthesis_example,
  author      = {作者},
  title       = {文章题目},
  school      = {单位名称},
  address     = {单位地点},
  year        = {年},
}

@techreport{techreport_example,
  author      = {作者},
  title       = {文章题目},
  address     = {单位地点},
  institution = {单位},
  number      = {报告编号},
  year        = {年},
}

@patent{patent_example,
  author      = {专利拥有人},
  title       = {专利名称, 专利授权国家},
  date        = {专利授权日期},
}

保存为 ref.bib
切记为bib后缀,txt后缀不行的。

第二步

在开头引用宏包

\usepackage{cite}

在文章的末尾\end{document}之前
插入两行
在这里插入图片描述

第三步

使用引用
在需要的地方加入代码,不同的引用使用不同的名称即可。

\cite{article_example}

在这里插入图片描述

第四步

编译
第一遍编译的时候会报错,不用担心,出来的引用也是一个[?],再次编译就可以了。

Copyright © 2020 by RichardYang. All rights reserved.
仅供参考,严禁转载,感谢。

  • 7
    点赞
  • 33
    收藏
    觉得还不错? 一键收藏
  • 6
    评论
评论 6
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值