我正在撰写一篇将在 IEEE 上发表的论文。我试图添加这样的连续引用:[15]-[20],而不是 [15],[16],[17],[18],[19],[20]。
我对 [15],[16],[17],[18],[19],[20] 使用以下语法:
\cite{Spacy} \cite{NLTK} \cite{text2emotion} \cite{lexicalrichness} \cite{textblob} \cite{core_nlp}
但是,当我尝试时:
\cite{Spacy}-\cite{core_nlp}
我得到:[15]-[16] 而不是 [15]-[20]
这是因为我使用的是 .bib 文件,并且这些引用在我的论文中只出现过一次。
我怎样才能解决这个问题?
答案1
您需要将所有围兜物品放在同\cite
一个
\cite{bib1,bib2,bib3,bib4,bib5}
这里我使用了
bibtex
withcite
包,但是操作是一样的biblatex
。
考虑以下 MWE:
\documentclass[journal]{IEEEtran}
\usepackage[T1]{fontenc}
\usepackage{lipsum}% for dumpy text
\usepackage{cite}
\title{IEEE Transactions on LaTeX}
\author{Teddy van Jerry, \IEEEmembership{Student Member, IEEE}}
\begin{document}
\maketitle
\section{Cite Put Together}
\lipsum[1]
\cite{tipping2001sparse,wei2021channel,hu2018super,wang2012generalized,fang2015support}
Look they are continuous!
\bibliographystyle{IEEEtran}
\bibliography{IEEEabrv, ref.bib}
\end{document}
bib 文件名为ref.bib
:
@article{tipping2001sparse,
title = {Sparse {Bayesian} learning and the relevance vector machine},
author = {Tipping, Michael E},
journal = {J. Mach. Learn. Res.},
volume = {1},
pages = {211--244},
month = jun,
year = {2001}
}
@article{wei2021channel,
title = {Channel Estimation for {RIS} Assisted Wireless Communications--Part {II}: An Improved Solution Based on Double-Structured Sparsity},
author = {Wei, Xiuhong and Shen, Decai and Dai, Linglong},
journal = IEEE_J_COML,
volume = {25},
number = {5},
pages = {1403--1407},
month = may,
year = {2021},
publisher = {IEEE}
}
@article{hu2018super,
title = {Super-resolution channel estimation for mmWave massive {MIMO} with hybrid precoding},
author = {Hu, Chen and Dai, Linglong and Mir, Talha and others},
journal = IEEE_J_VT,
volume = {67},
number = {9},
pages = {8954--8958},
month = jun,
year = {2018},
publisher = {IEEE}
}
@article{wang2012generalized,
title = {Generalized orthogonal matching pursuit},
author = {Wang, Jian and Kwon, Seokbeop and Shim, Byonghyo},
journal = IEEE_J_SP,
volume = {60},
number = {12},
pages = {6202--6216},
month = dec,
year = {2012},
publisher = {IEEE}
}
@inproceedings{fang2015support,
title = {Support knowledge-aided sparse {Bayesian} learning for compressed sensing},
author = {Fang, Jun and Shen, Yanning and Li, Fuwei and others},
booktitle = {Proc. {IEEE} Int. Conf. on Acoust., Speech, Signal Process. ({ICASSP})},
pages = {3786--3790},
year = {2015}
}
你现在将拥有