如何使参考文献从论文中的编号 [1] 开始出现

如何使参考文献从论文中的编号 [1] 开始出现

我目前正在使用

\bibliographystyle{abbrv}
\bibliography{reference}

在主脚本中引用参考文献,并在另一个.bib 文件中添加参考文献,如下所示:

@inproceedings{kriukova2018using,
  title={Using explicit semantic analysis and Word2Vec in measuring semantic relatedness of Russian paraphrases},
  author={Kriukova, Anna and Mitrofanova, Olga and Sukharev, Kirill and Roschina, Natalia},
  booktitle={International Conference on Digital Transformation and Global Society},
  pages={350--360},
  year={2018},
  organization={Springer}
}

但论文中第一次引用不是从 1 号开始的。我怎样才能让它从 [1] 号开始?

这是我的整个主要部分:

    \documentclass[journal]{IEEEtran}
%\documentclass{article}
\usepackage{amsmath,tabularx}
\usepackage{cite}
\usepackage{balance}
\usepackage{times}
\usepackage{url}
\usepackage{graphics}
\usepackage{color}
%\usepackage[pdftex]{hyperref}
\usepackage{cite}
\usepackage{amsmath,amssymb,amsfonts}
\usepackage{algorithmic}
\usepackage{graphicx}
\usepackage{textcomp}
\usepackage{tabularx}
\usepackage{booktabs}
\usepackage{adjustbox,lipsum}
\usepackage{notoccite}
%\usepackage[numbers, sort&compress]{natbib}

% *** CITATION PACKAGES ***
%
%\usepackage{cite}
% cite.sty was written by Donald Arseneau
% V1.6 and later of IEEEtran pre-defines the format of the cite.sty package
% \cite{} output to follow that of the IEEE. Loading the cite package will
% result in citation numbers being automatically sorted and properly
% "compressed/ranged". e.g., [1], [9], [2], [7], [5], [6] without using
% cite.sty will become [1], [2], [5]--[7], [9] using cite.sty. cite.sty's
% \cite will automatically add leading space, if needed. Use cite.sty's
% noadjust option (cite.sty V3.8 and later) if you want to turn this off
% such as if a citation ever needs to be enclosed in parenthesis.
% cite.sty is already installed on most LaTeX systems. Be sure and use
% version 5.0 (2009-03-20) and later if using hyperref.sty.
% The latest version can be obtained at:
% http://www.ctan.org/pkg/cite
% The documentation is contained in the cite.sty file itself.







\hyphenation{op-tical net-works semi-conduc-tor}


\begin{document}

\title{ggg}
%





% make the title area
\maketitle
\begin{abstract}
gggg
\end{abstract}

% Note that keywords are not normally used for peerreview papers.

\begin{IEEEkeywords}
gggg
\end{IEEEkeywords}




\input Introduction.tex
\input RelatedWork.tex
\input System.tex
\input Experiment.tex
%\input Discussion.tex
\input Conclusion.tex

%\balance

\appendices
% use section* for acknowledgment
\section*{Acknowledgment}



%abbrv
\bibliographystyle{unsrt}
\bibliography{reference}


\end{document}

答案1

许多目前存在以下几种书目样式:(a) 生成数字样式的引文标注;(b) 不按作者姓氏的字母顺序对书目条目进行排序。其中四种是:

  • unsrt-- 原始 BibTeX 样式文件之一,可追溯到 1980 年代初期。为了减轻一些与引用相关的负担,cite在使用unsrt参考书目样式时加载该包是个好主意。

  • unsrtnat-- 重新实现unsrtnatbib引文管理包一起分发的。如果您的 bib 条目包含诸如urldoi或 之类的字段,则很有用isbn。请确保使用natbib选项加载numbers

  • ieeetr-- 每一个古老的文献,如plainabbrvunsrt。请务必加载cite引文管理包。

  • IEEEtran。由IEEE 出版机构提供。基本上,IEEEtran就是ieeetr。务必使用选项加载。unsrtnatunsrtnatbibnumbers

答案2

我过去曾使用过 biblatex,方式如下:

\RequirePackage[backend=biber,bibstyle=trad-plain,citestyle=numeric,sorting=none,backref=false]{biblatex}

\DeclareFieldFormat{labelnumberwidth}{[#1]}

\defbibenvironment{bibliography}
  {\list 
    {\printfield[labelnumberwidth]{labelnumber}} 
  {\setlength{\labelwidth}{\labelnumberwidth}% 
   \setlength{\leftmargin}{0pt}% 
   \setlength{\labelsep}{0.5\biblabelsep}% 
   \setlength{\itemsep}{3mm}%\bibitemsep}% 
   \setlength{\itemindent}{\labelwidth}% 
   \addtolength{\itemindent}{\labelsep}% 
   \setlength{\parsep}{\bibparsep}% 
   %\setlength{\listparindent}{-\labelwidth}
   }%
   \renewcommand*{\makelabel}[1]{##1}} 
{\endlist} 
{\item}
\bibliography{references} 

该代码不是我的,但我过去发现并编辑过,所以如果有人找到真正的来源(它在 tex.stackexchange.com 上)请通知我添加来源。

相关内容