[Tex/LaTex] APA 6th referencing

apa6

I need to use APA 6e referencing for Elsevier Journal, Here is the code, I don't know why I encounter errors. I'm not using \documentclass{apa6e} as I need to retain format of Elsevier article.

\documentclass[preprint,12pt,authoryear]{elsarticle}
\usepackage[natbibapa]{apacite}
\journal{Expert Systems with Applications}

\begin{document}
\title{Recurrent neural network and a hybrid model for prediction of stock returns}


\bibliographystyle{apacite}

\bibliography{myrefers}
\end{document}

Best Answer

The errors are caused by the fact that elsarticle loads the natbib package unconditionally, and this is incompatible with apacite.sty. A minimal document demonstrating this is

\documentclass{article}

\usepackage{natbib}
\usepackage{apacite}

\begin{document}

Ouch!

\end{document}

which produces the same error

! Undefined control sequence.
l.1216           \st@rtbibchapter

as in your situation.

A small example correctly using citations in elsarticle would be:

\documentclass[preprint,12pt,authoryear]{elsarticle}

\journal{Expert Systems with Applications}

\begin{document}
\title{Recurrent neural network and a hybrid model for prediction of stock returns}

\cite{article-full}

\bibliographystyle{elsarticle-num-names}

\bibliography{xampl}
\end{document}

Sample output

Related Question