I want make my bibliography in which there is comma between author and article name instead of full stop. And also i want to write name of article in inverted commas (as x). Is there any way of writing such type of bibliography
Example:
G. Agarwal & S. Sindh,"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.
My bibliography code:
\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}
Best Answer
As with most traditional BiBTeX formatting issues, this requires hacking the
.bst
file itself, but it's not that hard to do. An alternative is to usebiblatex
.First locate the original
abbrvnat.bst
file. You can find the exact path for your system by usingkpsewhich abbrvnat.bst
from the command line. On a current TeXLive system it is in:Make a copy of this file, and call it e.g.
abbrvnat-quotes.bst
. Put this in your localtexmf
folder:...texmf/bibtex/bst/
or simply place it in the same folder as your source document if you only need this style for that document.Now you need to make the following changes to the file:
enquote
to the file. This should go with the other functions. A simple way is to find theemphasize
function and copy it and then make it look like this:For a more flexible version of the
enquote
function, you can use thecsquotes
package. See How to modify a bibliography style to surround titles in quotes in a bibliography? for details on how to do this.article
function (line 699) and make the following modifications: Change the following line:to:
You need to change all of these pairs of lines to:
For more complex items, the simple line
author format.key output
may not be present. In that case you need to look for thenew.block
line that is between the author output code (whatever that is) and the title code. For thebook
type, for example you will find:In this case you need to remove the
new.block
line.Save the file and use
\bibliographystyle{abbrvnat-quotes}
in your source document.