參考書目風格:作者的名字作為單字母

參考書目風格:作者的名字作為單字母

我想產生參考書目,其中每個作者的名字都用單個字母表示,並且每個參考文獻都給出一個數字:

例子:

[1] P. Ackermann and M. Kreuzer. Grobner basis cryptosystems. Applicable Alg.
in Eng., Commun. and Comput., 17:173–194, 2006. 

我的程式碼是

% B I B L I O G R A P H Y
% -----------------------

% The following statement selects the style to use for references.  It controls the sort order of the entries in the bibliography and also the formatting for the in-text labels.
\bibliographystyle{chicago}
% This specifies the location of the file containing the bibliographic information.
% It assumes you're using BibTeX (if not, why not?).
\cleardoublepage % This is needed if the book class is used, to place the anchor in the correct page,
                 % because the bibliography will start on its own page.
                 % Use \clearpage instead if the document class uses the "oneside" argument
\phantomsection  % With hyperref package, enables hyperlinking from the table of contents to bibliography
% The following statement causes the title "References" to be used for the bibliography section:
\renewcommand*{\bibname}{References}

% Add the References to the Table of Contents
\addcontentsline{toc}{chapter}{\textbf{References}}

\bibliography{nu-ethesis}

**參考代碼是**

@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}
    }

並給出如下參考: 參考](https://i.stack.imgur.com/XGn6Z.png)![1

我需要安裝哪個軟體包來產生自動參考書目(如上面提到的帶有行號的範例)以及如何產生?

注意 我的程式碼使用chicaco樣式,我想更改它並按照上面示例中引用的方式進行參考

答案1

我相信您可以嘗試使用abbrvnat參考書目風格(和natbib引文管理包。

在此輸入影像描述

\RequirePackage{filecontents}
\begin{filecontents}{mybib.bib}
@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}
}
\end{filecontents}

\documentclass{article}
\usepackage[numbers]{natbib}
\bibliographystyle{abbrvnat}

\begin{document}
\noindent
\citet{link:cac}, \cite{link:cac}
\bibliography{mybib}
\end{document}

相關內容