我想\cite{ref}
给我参考编号,它也应该添加到我的参考书目中的引用前面,但是我想在参考书目中的参考书目编号前面添加额外的文字。这意味着在参考列表中我希望有以下内容:
[34]参考文献
[数据库][35]参考
所以我想在参考书目编号前面添加单词 [数据库],但只针对一个特定条目。
\documentclass{elsarticle}
\bibliographystyle{elsarticle-num}
\usepackage{filecontents}
\begin{filecontents}{\jobname.bib}
@Electronic{Dataset,
author = {name1},
year = {2018},
title = {Dataset of something},
howpublished = {Mendeley Data},
}
@Article{Article,
author = {name2},
year = {2018},
title = {Article of something},
howpublished = {Journal},
}
\end{filecontents}
\begin{document}
This is the text citation \cite{article} \cite{Dataset}, and it should
remain like this
\section*{References}
Here I want to add [database] in front of the reference number of the
database, but not for the article.
\bibliography{\jobname}
\end{document}