如何在 bibtex 中用 &(和号)代替符号

如何在 bibtex 中用 &(和号)代替符号

我正在编写我想放在两个作者之间的 bib &tex and

  @article{link:cac,
 title   = {A comparison between public key authority and 
            certification authority for distribution of 
            public key},
 author  = {Agarwal, Gaurav and Singh, Saurabh},
 journal = {International Journal of Computer Science 
            and Information Technologies},
 volume  = {1},
 number  = {5},
 pages   = {332--336},
 year    = {2010}
}

输出如下:

G. Agarwal and S. Singh, “A comparison between public key authority and
certification authority for distribution of public key”. International Journal
of Computer Science and Information Technologies, 1(5):332–336, 2010

当我按如下所示更改此代码时。它更改了作者姓名。

@article{link:cac,
     title   = {A comparison between public key authority and 
                certification authority for distribution of 
                public key},
     author  = {Agarwal, Gaurav {\&} Singh, Saurabh},
     journal = {International Journal of Computer Science 
                and Information Technologies},
     volume  = {1},
     number  = {5},
     pages   = {332--336},
     year    = {2010}
    }

其显示的输出如下:

  S. Agarwal, Gaurav & Singh, “A comparison between public key authority and
    certification authority for distribution of public key”. International Journal of Computer Science and Information Technologies, 1(5):332–336, 2010.

我能做什么呢?请帮我制作我的围兜物品。 笔记:我使用 abbrvnat 风格。

答案1

下面的方法可以达到目的(如果你正在使用biblatex):

\documentclass[]{article}

\usepackage{biblatex}
\addbibresource{biblatex-and.bib}

\renewcommand*\finalnamedelim{\addspace\&\space}

\begin{document}
\cite{link:cac}
\printbibliography
\end{document}

相关内容