bibliographystyle "unsrt" が機能しない

bibliographystyle "unsrt" が機能しない

私はunsrtbibliographystyle を使用していますが、pdf の References セクションの順序が間違っています。.tex ファイルの内容は次のとおりです。

\documentclass{article}
\bibliographystyle{unsrt}
\title{\textbf{\large{Title Goes Here}}}
\author{
Author Name
}
\date{\today}
\begin{document}
\maketitle
\section{Introduction} 
I am using unsrt.
I want to cite these two: ~\cite{JMechPhysSol_analytical} and ~\cite{OrigPaper}.
But they appear in the reverse order.
\begin{thebibliography}{00}
  \bibitem{OrigPaper}
  J. Cheng, E. H. Jordan, B. Barber, M. Gell, 
  ``Thermal/Residual Stress in an Electron Beam Physical Vapor Deposited Thermal Barrier          
  \textit{Acta Mater.}, \textbf{46}, 5839-5850 (1998).
  \bibitem{JMechPhysSol_analytical}
  D. S. Balint, J.W. Hutchinson,
  ``An Analytical model of rumpling in thermal barrier coatings.''
  \textit{J. Mech. Phys. Solids}, \textbf{53}, 949-973 (2005).

\end{thebibliography}
\end{document}

出力は次のとおりです。

ここに画像の説明を入力してください

答え1

BibTeX に参考文献の整理 (および必要に応じて並べ替え) を行わせる必要があります。 を\bibitem手動で入力すると、スタイル ( ) に従って並べ替え/配置することはできませんunsrt。したがって、次の手順に従ってください。

  1. .bib適切な方法で参考文献を別のファイルに書きます。BibTeXエントリ形式
  2. 一度コンパイルしますfilename.tex(正しい/最新の を取得するため.aux)。
  3. 実行しますbibtex filename(正しい/最新の を取得するため.bbl)。
  4. 再度コンパイルしますfilename.tex(正しい/現在の を含めるため.bbl)。

.bib埋め込みを.tex使用した例を以下に示します。filecontents:

ここに画像の説明を入力してください

\documentclass{article}
\usepackage{filecontents}
\begin{filecontents*}{\jobname.bib}
@article{OrigPaper,
  author = {J Cheng and EH Jordan and B Barber and M Gell},
  title = {Thermal/Residual Stress in an Electron Beam Physical Vapor Deposited Thermal Barrier},
  journal = {Acta Mater.},
  volume = {46},
  pages = {5839-5850},
  year = {1998}
}
@article{JMechPhysSol_analytical,
  author = {DS Balint and JW Hutchinson},
  title = {An Analytical model of rumpling in thermal barrier coatings.},
  journal = {J.\ Mech.\ Phys.\ Solids},
  volume = {53},
  pages = {949-973},
  year = {2005}
}
\end{filecontents*}
\bibliographystyle{unsrt}
\title{\textbf{\large{Title Goes Here}}}
\author{Author Name}
\date{\today}
\begin{document}
\maketitle

\section{Introduction} 
I am using \verb|unsrt|.
I want to cite these two:~\cite{JMechPhysSol_analytical} and~\cite{OrigPaper}.

\bibliography{\jobname}
\end{document}

ジャーナルや番号のフォーマットの指定がなかったことに注意してください。.bibこれらはすべて BibTeX によって行われました。

関連情報