我想要生成参考书目,其中每个作者的名字都用单个字母表示,并且每个参考文献都给出一个数字:
例子:
[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}
}
并提供以下参考:
我需要安装哪个包来生成像上面提到的带有行号的示例的自动参考书目,以及如何安装?
注意 我的代码使用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}