I need to put the bibliography style in my paper like below:
Li, X., Heckman, N. E.(2003). Local linear extrapolation. Journal of Nonparametric Statistics 15, 565–578.
(so called author-year style, year in the parentheses and so forth)-
So I found a file for this style and put it in the style folder of Endnote.
And read my references again and export to Mendeley by XML file.
In Mendeley I also choose that style and export as .bib
file.
Until now, those two programs show the result I want to have.
But it does not change style according to that style in LaTeX.
My LaTeX code is:
\documentclass[authoryear]{elsarticle}
\begin{document}
..........as \citep{Li2003}. .................
\bibliographystyle{elsarticle-harv}
\bibliography{n8}
\end{document}
But this only gives:
Li, X., Heckman, N. E., 2003. Local linear extrapolation. Journal of Nonparametric Statistics 15 (4-5), 565–578.
The year is not in parentheses and other parts are different.
Best Answer
This is a right '.bst' file for this journal. http://www.ctan.org/tex-archive/biblio/bibtex/contrib/newapa
I hope this helps other researchers having the same problem or likely having that problem.
Also, I think this file can apply to other journals of Elsevier.