I have to use reference styling adopted by elsevier, in which references are quoted like this in latex:
Rukhin et al. (2010), Godbole and Papastavridis (1994)
I put the elsarticle-num.bst
and model4-names.bst
in my folder in which all other latex files of my document are present.
I have put this code in the end of the document:
\section*{References}
\bibliographystyle{elsarticle-num}
\bibliography{referencess}
\nocite{*}
I am referring to the references like this
\cite{1}
but reference does not appear like this
Rukhin et al. (2010)
What can be the possible reason?
\cite{key}
where key is the key for your bib entry. Look into your bibliography file. The entry starts like@book{KEY, .....}
. That's the key you need.references.bib
file, the paper by Rukhin and others will start with something like@article{rukhin2010,
(@article
could be some other type and the string might be different); you should use\cite{rukhin2010}
(with the actual string, of course).\documentclass[authoryear]{elsarticle}
? Maybe with other options, butauthoryear
is necessary to have an author-year citation style.