![natbib 中的字母顺序](https://linux22.com/image/262951/natbib%20%E4%B8%AD%E7%9A%84%E5%AD%97%E6%AF%8D%E9%A1%BA%E5%BA%8F.png)
我读过关于此的问题,有人说这只是包括natbib
包和plainnat
样式。出于某种原因,我的参考资料不会按字母顺序排序。任何帮助都将不胜感激!我对 LaTeX 还很陌生...
我的命令:
\documentclass[a4paper,norsk]{article}
\usepackage{amstext}
\usepackage{makeidx}
\usepackage{graphicx}
\usepackage[comma,authoryear]{natbib}
\usepackage[norsk]{babel}
\usepackage[hmargin=3cm,vmargin=3.5cm]{geometry}
\pagestyle{plain}
\begin{document}
\begin{thebibliography}{56}
\end{thebibliography}
\printindex
\bibliographystyle{plainnat}
\end{document}
答案1
打印参考书目的命令natbib
是\bibliography{<your-bib-file>}
。请勿使用\begin{thebibliography} ... \end{thebibliography}
。
因此下面的文档应该可以工作:
\documentclass[a4paper,norsk]{article}
\usepackage{amstext}
\usepackage{makeidx}
\usepackage{graphicx}
\usepackage[comma,authoryear]{natbib}
\usepackage[norsk]{babel}
\usepackage[hmargin=3cm,vmargin=3.5cm]{geometry}
\pagestyle{plain}
\begin{document}
Insert some \cite{} commands here to your citations.
\printindex
\bibliographystyle{plainnat}
\bibliography{<your-bib-file>} % Insert the name of your bib file here
\end{document}