我使用的是 abbrvnat 样式,但我希望标签出现在每个引用旁边。例如,我希望:
[Atzori et al., 2010] L. Atzori, A. Iera, and G. Morabito. The Internet
of Things: A Survey. Computer Networks, 54(15):2787-2805, 2010.
代替 :
L. Atzori, A. Iera, and G. Morabito. The Internet of Things: A Survey.
Computer Networks, 54(15):2787-2805, 2010.
在下面的代码中:
%文件:Temp.tex\
\documentclass[12pt]{report}\
\usepackage{setspace}\
\usepackage[top=2.5cm, bottom=2.5cm, left=3.5cm, right=2.5cm] {geometry}\
\usepackage[latin1]{inputenc}\
\usepackage[T1]{fontenc}\
\usepackage[english]{babel}\
\usepackage[square]{natbib}\
\begin{document}\
\begin{abstract}\
The IoT~\citep{ref1}\
\end{abstract}\
\bibliographystyle{abbrvnat}\
\bibliography{biblioTemp}\
\end{document}\
%文件:biblioTemp.bib\
@article{ref1,\
author = {Luigi Atzori and Antonio Iera and Giacomo Morabito},\
title = {{The Internet of Things: A Survey}},\
journal = {Computer Networks},\
volume = {54},\
number = {15},\
pages = {2787-2805},\
year = {2010},\
issn = {1389-1286}\
}\
%输出\
%所需输出\