
Ich möchte eine Bibliographie erstellen, in der der Vorname jedes Autors durch einen einzelnen Buchstaben gekennzeichnet ist und jeder Referenz eine Nummer zugewiesen wird:
Beispiel:
[1] P. Ackermann and M. Kreuzer. Grobner basis cryptosystems. Applicable Alg.
in Eng., Commun. and Comput., 17:173–194, 2006.
Undmein Code ist
% 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}
und **Referenzcode ist **
@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}
}
und dies ergibt den folgenden Verweis:
Welches Paket muss ich installieren, um die automatische Bibliografie wie im oben genannten Beispiel mit Zeilennummer zu generieren, und wie?
Beachten Sie, dass mein Code verwendet chicaco
Stil und ich möchte dies ändern und meine Referenz wie im obigen Beispiel zitiert machen
Antwort1
Ich glaube, Sie sollten versuchen, den abbrvnat
Bibliografiestil (und das natbib
Zitatverwaltungspaket) zu verwenden.
\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}