当前位置:   article > 正文

[Latex]参考文献的格式:数字,作者+年份_latex参考文献格式

latex参考文献格式

参考资料:

一、共同的参考文献和正文

共同的.bib文件

@article{greenwade93,
    author  = "George D. Greenwade",
    title   = "The {C}omprehensive {T}ex {A}rchive {N}etwork ({CTAN})",
    year    = "1993",
    journal = "TUGBoat",
    volume  = "14",
    number  = "3",
    pages   = "342--351"
}

@inproceedings{2019Optimizing,
	title={Optimizing Rebalance Scheme for Dock-Less Bike Sharing Systems with Adaptive User Incentive},
	author={ Duan, Y.  and  Wu, J. },
	booktitle={2019 20th IEEE International Conference on Mobile Data Management (MDM)},
	year={2019},
}
@article{2013Spectral,
	title={Spectral Networks and Locally Connected Networks on Graphs},
	author={ Bruna, J.  and  Zaremba, W.  and  Szlam, A.  and  Lecun, Y. },
	journal={Computer Science},
	year={2013},
}
  • 1
  • 2
  • 3
  • 4
  • 5
  • 6
  • 7
  • 8
  • 9
  • 10
  • 11
  • 12
  • 13
  • 14
  • 15
  • 16
  • 17
  • 18
  • 19
  • 20
  • 21
  • 22

共同的正文

\maketitle{Can Kao Wen Xian }
\section{Introduction}

\subsection{How to add Citations and a References List}

You can simply upload a \verb|.bib| file containing your BibTeX entries, created with a tool such as JabRef. You can then cite entries from it, like this: 

cankao0:\cite{greenwade93}. 

cankan1:\cite{2013Spectral}

cankao2:\cite{2019Optimizing}

  • 1
  • 2
  • 3
  • 4
  • 5
  • 6
  • 7
  • 8
  • 9
  • 10
  • 11
  • 12
  • 13

二、参考文献的引入方法

无论什么类型,引入文献主要包括以下几个步骤.

2.1 声明引入的使用包(usepackage)

\documentclass{article} 
% article是文章的类型,可选择的还有:elsarticle(爱思唯尔的期刊), book, beamer, letter, reporter
%%%其他引入包,例如:
\usepackage[english]{babel} %引入babel包中的english,指的是识别英文.\usepackage[greek,russian]{babel}指的是识别希腊语和俄语
\usepackage{natbib}%\usepackage[option]{natbib},option是可添加的选项,也可以不添.natbib是对bib(参考文献)的一种排序管理.
  • 1
  • 2
  • 3
  • 4
  • 5
  1. 声明文章的类型(开头必有的):\documentclass{}
  2. 声明语言类型(英语,中文,俄语)等.几乎也是必有的: \usepackage{babel}
  3. 声明其他的类型的usepackage: 例如,\usepackage[utf8]{inputenc}输入的识别符号格式为utf8
  4. 声明参考文献的usepackage: babel,

2.2 正文的引用

《LaTeX中的参考文献——作者年代引用》

\cite{}
cankao0:\cite{greenwade93}. 

cankan1:\cite{2013Spectral}

cankao2:\cite{2019Optimizing}
  • 1
  • 2
  • 3
  • 4
  • 5

在这里插入图片描述

\citet{}

命令\citet{...}\citet*{...}表示只给年份加括号. 例如

  • \citet{Fleming1975-Deterministic}的编译结果为: Fleming and Rishel (1975).
  • 当作者数量 ≥ 3 \geq3≥3 时, \citet{...}编译结果中只会显示第一作者和年份, 例如: \citet{Chong2013TiB-mathematical}(此条文献共三位作者)的编译结果为: Chong et al. (2013).
  • 若我们希望显示所有的作者, 可用\citet*{...}来处理, 例如 \citet*{Chong2013TiB-mathematical} 的编译结果为: Chong, Tchuenche, and Robert (2013) .
\citep{}

命令 \citep{...} \citep*{...}表示给作者和年份都加括号, 效果为: (作者, 年份). 例如

  • \citep{Hattaf2012IB-Optimal}编译结果为: (Hattaf and Yousfi, 2012).
  • 当作者数量 ≥ 3 \geq3≥3 时, \citep{...}也会只显示第一作者,
  • 我们可以使用\citep*{…}使其显示全部作者, 例如\citep*{Lahrouz2018PASMaiA-Dynamics}(此条文献共有四位作者)编译结果为: (Lahrouz, Mahjour, Settati, and Bernoussi, 2018).
\citeauthor{}

只显示作者,不显示年份.例如:

  • 只有一个人名:只显示第一作者
  • 两个人名:用and连接两个作者
  • 3个及以上的人名:只显示第一作者+et al.
案例

代码

\documentclass{article}
\usepackage[round,authoryear]{natbib}
\bibliographystyle{unsrtnat}
\title{Can Kao Wen Xian}
\author{You}

\begin{document}
\maketitle % 编译正文前的内容
\section{Introduction}

\subsection{How to add Citations and a References List}

You can simply upload a \verb|.bib| file containing your BibTeX entries, created with a tool such as JabRef. You can then cite entries from it, like this: 

cankao0:\cite{greenwade93}.  \citeauthor{greenwade93}, \citep{greenwade93}

cankan1:\cite{2013Spectral}. \citeauthor{2013Spectral} ,\citep{2013Spectral}

cankao2:\cite{2019Optimizing}. \citeauthor{2019Optimizing} , \citep{2019Optimizing}


\bibliography{sample}

\end{document}
  • 1
  • 2
  • 3
  • 4
  • 5
  • 6
  • 7
  • 8
  • 9
  • 10
  • 11
  • 12
  • 13
  • 14
  • 15
  • 16
  • 17
  • 18
  • 19
  • 20
  • 21
  • 22
  • 23
  • 24

成果

在这里插入图片描述

2.3 文献格式的命令

指的提醒的是,这里指的附录(或者说文献的结尾部分)中参考文献所呈现的样式. 通常有8种.见 《bibliographystyle类型》

  • plain,按字母的顺序排列,比较次序为作者、年度和标题.
  • unsrt,样式同plain,只是按照引用的先后排序.
  • alpha,用作者名首字母+年份后两位作标号,以字母顺序排序.
  • abbrv,类似plain,将月份全拼改为缩写,更显紧凑.
  • ieeetr,国际电气电子工程师协会期刊样式.
  • acm,美国计算机学会期刊样式.
  • siam,美国工业和应用数学学会期刊样式.
  • apalike,美国心理学学会期刊样式.

2.4 导入bib文件

\bibliography{sample}这里的sample是指同目录下的sample.bib文件.这里的后缀.bib可省略.
在这里插入图片描述

三、参考文献包

3.1 参考文献的usepackage–nabib

\usepackage[option]{natbib}中的option的选项:
指的提醒的是,这里的选项是指正文引入中呈现的风格.

  • round:圆括号
  • square:方括号
  • curly:大括号
  • angle:尖括号
  • semicolon:用分号来分割多个引用
  • colon:与semicolon相同
  • comma:用逗号来分割多个引用
  • authoryear:作者-年份 引用格式
  • number:数字 引用格式
  • super:位于上标的数字 引用格式,例如在 Nature 期刊中
  • sort:根据参考文献的列表来对多个引用排序
  • sort&compress:与sort相同,不过会尽可能地压缩多个数字引用
  • compress:压缩引用,不排序
  • longnamefirst:任何参考文献的第一个引用将会打印作者的全名
  • sectionbib:与chapterbib包配合使用,把参考文献添加在目录中,当作一个不编号的节(section),而不是一个不编号的章(chapter)。
  • nonamebreak:避免作者名字用连字号连接
  • elide:忽略合并参考文献的共同部分

3.2 与babel可搭配的biliographystyle

《Natbib书目样式》

  • dinat
  • plainnat
  • abbrvnat
  • unsrtnat
  • rusnat

四、 案例演示

4.1 没有nabib+ alpha

alpha是用作者名首字母+年份后两位作标号,以字母顺序排序.. 并以该方式生成一个默认的索引序列.
BZSL13
DW19
Gre93
以首字母B>D>G的顺序在参考文献中排序.

代码

\documentclass{article}

\title{Can Kao Wen Xian}
\author{You}

\begin{document}
\maketitle % 编译正文前的内容
\section{Introduction}

\subsection{How to add Citations and a References List}

You can simply upload a \verb|.bib| file containing your BibTeX entries, created with a tool such as JabRef. You can then cite entries from it, like this: 

cankao0:\cite{greenwade93}. 

cankan1:\cite{2013Spectral}

cankao2:\cite{2019Optimizing}

\bibliographystyle{alpha}
\bibliography{sample}

\end{document}
  • 1
  • 2
  • 3
  • 4
  • 5
  • 6
  • 7
  • 8
  • 9
  • 10
  • 11
  • 12
  • 13
  • 14
  • 15
  • 16
  • 17
  • 18
  • 19
  • 20
  • 21
  • 22
  • 23

成品
在这里插入图片描述

4.2 没有nabib包+plain

plain,按字母的顺序排列,比较次序为作者、年度和标题.

代码

\documentclass{article}

\title{Can Kao Wen Xian}
\author{You}

\begin{document}
\maketitle % 编译正文前的内容
\section{Introduction}

\subsection{How to add Citations and a References List}

You can simply upload a \verb|.bib| file containing your BibTeX entries, created with a tool such as JabRef. You can then cite entries from it, like this: 

cankao0:\cite{greenwade93}. 

cankan1:\cite{2013Spectral}

cankao2:\cite{2019Optimizing}

\bibliographystyle{plain}
\bibliography{sample}

\end{document}
  • 1
  • 2
  • 3
  • 4
  • 5
  • 6
  • 7
  • 8
  • 9
  • 10
  • 11
  • 12
  • 13
  • 14
  • 15
  • 16
  • 17
  • 18
  • 19
  • 20
  • 21
  • 22
  • 23

成品

在这里插入图片描述

4.3 没有nabib包+unsrt

样式同plain,只是按照引用的先后排序.
代码

\documentclass{article}

\title{Can Kao Wen Xian}
\author{You}

\begin{document}
\maketitle % 编译正文前的内容
\section{Introduction}

\subsection{How to add Citations and a References List}

You can simply upload a \verb|.bib| file containing your BibTeX entries, created with a tool such as JabRef. You can then cite entries from it, like this: 

cankao0:\cite{greenwade93}. 

cankan1:\cite{2013Spectral}

cankao2:\cite{2019Optimizing}

\bibliographystyle{unsrt}
\bibliography{sample}

\end{document}

  • 1
  • 2
  • 3
  • 4
  • 5
  • 6
  • 7
  • 8
  • 9
  • 10
  • 11
  • 12
  • 13
  • 14
  • 15
  • 16
  • 17
  • 18
  • 19
  • 20
  • 21
  • 22
  • 23
  • 24

成品
在这里插入图片描述

4.4 nabib+plainnat

代码1

\usepackage{natbib}
\bibliographystyle{plainnat}
  • 1
  • 2

成品1
在这里插入图片描述

代码2 :round的作用是方括号变为圆括号

\usepackage[round]{natbib}
\bibliographystyle{plainnat}
  • 1
  • 2

在这里插入图片描述

代码3

\usepackage[square,numbers]{natbib}
\bibliographystyle{plainnat}
  • 1
  • 2

在这里插入图片描述

4.5 nabib+unsrtnat

代码

\usepackage[round]{natbib}
\bibliographystyle{unsrtnat}
  • 1
  • 2

在这里插入图片描述

4.6 nabib +rusnat

代码

\usepackage[round]{natbib}
\bibliographystyle{rusnat}
  • 1
  • 2

在这里插入图片描述

代码2

\usepackage[square,numbers]{natbib}
\bibliographystyle{rusnat}
  • 1
  • 2

成品2
在这里插入图片描述

五、APA案例演示:(作者+年份)

部分期刊投稿需要参考文献APA格式,并且正文引用需要(作者,年)形式.

5.1 普通的使用

代码

\documentclass{article} %期刊格式
\usepackage[round,authoryear]{natbib} %圆括号, 作者年份的格式
\bibliographystyle{unsrtnat} %按照引用顺序排序
  • 1
  • 2
  • 3

引用

\citep{greenwade93}
\citep{2013Spectral}
\citep{2019Optimizing}

  • 1
  • 2
  • 3
  • 4

成果

在这里插入图片描述

5.2 爱思唯尔的使用

在使用如下包

\documentclass{elsarticle}
\usepackage[round,authoryear]{natbib}
  • 1
  • 2

的时候, 会报错: option clash for package nabib,意思为:nabib的选项冲突了. 本质原因在于:elsarticle中已经导入了nabib包了.又重新导入后则会出现报错. 既然冲突了,尝试解决.
尝试方法一: 删除nabib的导入

\documentclass{elsarticle}
\bibliographystyle{unsrtnat}
\title{Can Kao Wen Xian}
\author{You}

\begin{document}
\maketitle % 编译正文前的内容
\section{Introduction}

\subsection{How to add Citations and a References List}

You can simply upload a \verb|.bib| file containing your BibTeX entries, created with a tool such as JabRef. You can then cite entries from it, like this: 

cankao0:\cite{greenwade93}.  \citeauthor{greenwade93}, \citep{greenwade93}

cankan1:\cite{2013Spectral}. \citeauthor{2013Spectral} ,\citep{2013Spectral}

cankao2:\cite{2019Optimizing}. \citeauthor{2019Optimizing} , \citep{2019Optimizing}


\bibliography{sample}

\end{document}
  • 1
  • 2
  • 3
  • 4
  • 5
  • 6
  • 7
  • 8
  • 9
  • 10
  • 11
  • 12
  • 13
  • 14
  • 15
  • 16
  • 17
  • 18
  • 19
  • 20
  • 21
  • 22
  • 23

结果看到,没有APA的方式,只是数字的方式的引入.
在这里插入图片描述

尝试方法二: 在elsarticle中添加option:round,authoryear

\documentclass[round,authoryear]{elsarticle}
\bibliographystyle{unsrtnat}
\title{Can Kao Wen Xian}
\author{You}

\begin{document}
\maketitle % 编译正文前的内容
\section{Introduction}

\subsection{How to add Citations and a References List}

You can simply upload a \verb|.bib| file containing your BibTeX entries, created with a tool such as JabRef. You can then cite entries from it, like this: 

cankao0:\cite{greenwade93}.  \citeauthor{greenwade93}, \citep{greenwade93}

cankan1:\cite{2013Spectral}. \citeauthor{2013Spectral} ,\citep{2013Spectral}

cankao2:\cite{2019Optimizing}. \citeauthor{2019Optimizing} , \citep{2019Optimizing}


\bibliography{sample}

\end{document}

  • 1
  • 2
  • 3
  • 4
  • 5
  • 6
  • 7
  • 8
  • 9
  • 10
  • 11
  • 12
  • 13
  • 14
  • 15
  • 16
  • 17
  • 18
  • 19
  • 20
  • 21
  • 22
  • 23
  • 24

在这里插入图片描述

声明:本文内容由网友自发贡献,不代表【wpsshop博客】立场,版权归原作者所有,本站不承担相应法律责任。如您发现有侵权的内容,请联系我们。转载请注明出处:https://www.wpsshop.cn/w/从前慢现在也慢/article/detail/572256
推荐阅读
相关标签
  

闽ICP备14008679号