latex参考文献样式

时间:2022-06-07 06:12:20

原文地址

http://sites.stat.psu.edu/~surajit/present/bib.htm#bibstyle

参考文献默认样式\bibliographystyle{plain}默认引用格式\cite,但是样式是[1],而不是author,有一些宏包可以用来设置author样式的引用。

bibliographystyle

\bibliographystyle可以用来设置参考文献标号及参考文献列表的样式,常用的style有 abbrv, acm, alpha, apalike, ieeetr, plain, siam, unsrt
使用方式为

\bibliographystyle{ieeetr}  
% or: plain,unsrt,alpha,abbrv,acm,apalike,...
...
\begin{document}
...
Reference to a paper in
proceedings \cite{fanty:icassp93},
to an article \cite{linde:tcom80},
and to a book \cite{abut:book90}.
...
\bibliography{abbr_long,pubext}
% expansion macro's + entries from pubext.bib
...
\end{document}

使用效果如下

ieeetr

Reference to a paper in proceedings [1], to an article [2], and to a book [3].
References
[1] M. Fanty, P. Schmid, and R. Cole, ``City name recognition over the telephone,'' in Proc. International Conference on Acoustics, Speech and Signal Processing, vol. I, (Minneapolis, U.S.A.), pp. 549-552, April 1993.
[2] Y. Linde, A. Buzo and R.M. Gray, ``An algorithm for vector quantizer design,'' IEEE Transactions on Communications, vol. 28, pp. 84-95, January 1980.
[3] H. Abut, ed., Vector Quantization. IEEE Press, 1990.

plain,abbrv

Reference to a paper in proceedings [2], to an article [3], and to a book [1].
References
[1] H. Abut, editor. Vector Quantization. IEEE Press, 1990.
[2] M. Fanty, Ph. Schmid, and R. Cole. City name recognition over the telephone. In Proc. International Conference on Acoustics, Speech and Signal Processing, volume I, pages 549-552, Minneapolis, U.S.A., April 1993.
[3] Y. Linde, A. Buzo and R.M. Gray. An algorithm for vector quantizer design. IEEE Transactions on Communications, 28(1):84-95, January 1980.

acm

Reference to a paper in proceedings [2], to an article [3], and to a book [1].
References
[1] ABUT, H., Ed. Vector Quantization. IEEE Press, 1990.
[2] FANTY, M., SCHMID, P., AND COLE, R. City name recognition over the telephone. In Proc. International Conference on Acoustics, Speech and Signal Processing (Minneapolis, U.S.A., April 1993), vol. I, pp. 549-552.
[3] LINDE, Y., BUZO, A., AND GRAY, R.M. An algorithm for vector quantizer design. IEEE Transactions on Communications 28, 1 (January 1980), 84-95.

unsrt

Reference to a paper in proceedings [1], to an article [2], and to a book [3].
References
[1] M. Fanty, Ph. Schmid, and R. Cole, City name recognition over the telephone. In Proc. International Conference on Acoustics, Speech and Signal Processing, volume I, pages 549-552, Minneapolis, U.S.A., April 1993.
[2] Y. Linde, A. Buzo and R.M. Gray. An algorithm for vector quantizer design. IEEE Transactions on Communications, 28(1):84-95, January 1980.
[3] H. Abut, editor. Vector Quantization. IEEE Press, 1990.

alpha

Reference to a paper in proceedings [FSC93], to an article [LBG80], and to a book [Abu90].
References
[Abu90] H. Abut, editor. Vector Quantization. IEEE Press, 1990.
[FSC93] M. Fanty, Ph. Schmid, and R. Cole. City name recognition over the telephone. In Proc. International Conference on Acoustics, Speech and Signal Processing, volume I, pages 549-552, Minneapolis, U.S.A., April 1993.
[LBG80] Y. Linde, A. Buzo and R.M. Gray. An algorithm for vector quantizer design. IEEE Transactions on Communications, 28(1):84-95, January 1980.

apalike

Reference to a paper in proceedings [Fanty et al., 1993], to an article [Linde et al., 1980], and to a book [Abut, 1990].
References
[Abut, 1990] H. Abut, editor. Vector Quantization. IEEE Press, 1990.
[Fanty et al., 1993] Fanty, M., Schmid, P., and Cole., R. (1993). City name recognition
over the telephone. In Proc. International Conference on Acoustics, Speech and Signal
Processing, volume I, pages 549-552, Minneapolis, U.S.A.

[Linde et al, 1980] Y. Linde, A. Buzo and R.M. Gray. An algorithm for vector quantizer
design. IEEE Transactions on Communications, 28(1):84-95.

siam

Reference to a paper in proceedings [2], to an article [3], and to a book [1].
References
[1] H. ABUT, ed., Vector Quantization, IEEE Press, 1990.
[2] M. FANTY, P. SCHMID, AND R. COLE. City name recognition over the telephone, in Proc. International Conference on Acoustics, Speech and Signal Processing, vol.I, Minneapolis, U.S.A., April 1993, pp. 549-552.
[3] Y. LINDE, A. BUZO, AND R.M. GRAY, An algorithm for vector quantizer design, IEEE Transactions on Communications, 28 (1980), pp. 84-95.

citation style

citation style 用来设置正文中的标号样式。

natbib引用命令

常用的natbib命令有\citet(textual cite)\citep(parenthetical cite)\cite相当于\citet,但是最好不要用,因为通常用于定义其他格式的引用。
引用效果如下

\citet{KEY}
Bester et al. (1998)
\citep{KEY}
(Bester et al. 1998)
\citep{KEY1, KEY2, KEY3, KEY4, ...}
(Bester et al. 1998; Garibaldi et al. 1997, 1998a,b; ...)
\citep[hereafter B98]{KEY}
(Bester et al. 1998, hereafter B98)
\citep[e.g.,][]{KEY}
(e.g., Bester et al. 1998)
\citep[see][p. 68]{KEY}
(see Bester et al. 1998, p. 68)

使用*可以获得全部的作者名称

\citet*{KEY}
Bester, Winters, & Alexander (1998)
\citeauthor{KEY}
Bester et al.
\citeyear{KEY}
1998
\citeyearpar{KEY}
(1998)

\citetext可以用于强制在引用周围放置文字

natbib的选项

round---(默认) 圆括号
square---方括号
curly---卷括号
angle---尖括号
colon---(默认)用冒号分隔开多个引用
comma---用逗号分隔开多个引用
authoryear---(默认)引用作者和年代
numbers---引用编号
super---上标编号
sort---将多个引用按照参考文献列表中的顺序排列
longnamesfirst ---任何参考文献的第一条引用都是全作者列表,接下来的是缩写列表

示例代码

\documentclass[11pt]{psuthesis} 
.....
\usepackage[comma,authoryear]{natbib}
....

\begin{document}
...
\citet{KEY}
...
\citep{KEY}
...
\bibliographystyle{ieeetr}
%or: plain,unsrt,alpha,abbrv,acm,apalike,...
\bibliography{abbr_long,pubext}
...
\end{document}