elsarticle を使用して bibtex に入力した順序で参考文献を作成します。

elsarticle を使用して bibtex に入力した順序で参考文献を作成します。

私は、ジャーナルの要件に従って、「elsarticle.cls」、形式「number」、bibtex を使用して、自分の論文を改訂版に載せようとしています。

私の質問は、私の記事では引用順に参考文献が作成されますが、引用順に依存せず、bibtex に入力した順序 (bibtex で著者の姓のアルファベット順に参照を並べ替える) で参考文献を作成したいということです。

どのような助けでも大歓迎です!

以下は、この記事で使用した関連コードです。


\documentclass[preprint]{elsarticle}
\usepackage{lineno,hyperref}
\begin{document}
\section{1}
\bibliography{mybibfile}
\bibliographystyle{elsarticle-num}
\end{document}

答え1

次の例に従ってください: elsarticle を使用した参考文献スタイルauthoryear具体的には、 documentclass オプションで を指定する必要があります。\bibliographystyleである必要がありますelsarticle-harv

\begin{filecontents*}{\jobname.bib}
@article{Diamond1965,
 author={J. A. L. Diamond},
 title={Some Like It Hot},
 journal={J. High Level Cinema},
 year={1965},
}
\end{filecontents*}

\documentclass[authoryear]{elsarticle}

\usepackage[colorlinks=true,linkcolor=black, citecolor=blue, urlcolor=blue]{hyperref}

\begin{document}

\section{The Model}

The main environment modifies that of \cite{Diamond1965}, into two main dimensions

\bibliographystyle{elsarticle-harv}
\bibliography{\jobname}

\end{document}

関連情報