BibTex 无编号

BibTex 无编号

我正在使用在 overleaf 上找到的论文模板,但在正确格式化参考书目时遇到了问题。

在我的 main.tex 中,有一个部分包含 backmat/bibliography 文件夹中的所有内容

% BIBLIOGRAPHY WITH BIBTEX %
\include{backmatter/bibliography}

该文件夹本身包含一个 bibliography.tex 文件,其中包含以下内容:

%*******************************************************
% Bibliography
%*******************************************************
\cleardoublepage
\phantomsection
\addcontentsline{toc}{part}{References}
\printbibliography[title=References]
\nocite{*}
\vspace{2.5cm}

包含整个文档的所有包的包文件夹包含以下参考书目行(我添加了 \bibliographystyle{plain} 希望它能将其转换为 [1],但没有):

 % To enable the bibliography
    \usepackage[refsection=part,citestyle=harvard,style=authoryear,natbib=true,backend=biber]{biblatex}
    \bibliographystyle{plain}
    \bibliography{bibliography}

目前,我的引用和内嵌引用的格式如下:

%  ===== MY IN-LINE CITATION ====

(Stats, 2020)

%  ===== Citation in References page ====

Internet World (2020). Most common languages used on the internet as of January
2020, by share of internet users. url: https://www.statista.com/statistics/262946/
share-of-the-most-common-languages-on-the-internet/ (visited on 10/08/2022)

%  ===== MY CITATION in bibliography.bib ====
@online{Statista,
    title = {Most common languages used on the internet as of January 2020, by share of internet users},
    author ={Internet World Stats},
    year= {2020},
    url={https://www.statista.com/statistics/262946/share-of-the-most-common-languages-on-the-internet/},
    urldate = {2022-10-08}
}

我想进行更改,以便我的行内引用从 (Stats, 2020) 更改为 [1],并且我的参考页面中的引用前面有相同的编号,如下所示:

[1] Internet World (2020). Most common languages used on the internet as of January
    2020, by share of internet users. url: https://www.statista.co
[2] NEXT REFERENCE

相关内容