![如何在 Latex2e World Scientific Template 中使用外部 bibtex 文件](https://linux22.com/image/460924/%E5%A6%82%E4%BD%95%E5%9C%A8%20Latex2e%20World%20Scientific%20Template%20%E4%B8%AD%E4%BD%BF%E7%94%A8%E5%A4%96%E9%83%A8%20bibtex%20%E6%96%87%E4%BB%B6.png)
我已经下载了以下乳胶模板来准备论文提交国际人工智能工具杂志: https://www.worldscientific.com/page/ijait/stylefiles-readme-2e
文件ws-ijait.tex是用作主稿件的模板。在模板中,他们提到引用应该以上标形式出现,并且可以按以下方式输入:
%%Typeout the superscript citation as:-
%%(1) word,\cite{1,2,3} and word.\cite{1,2,3}
%%(2) word\cite{4}: word\cite{4}; word\cite{4}?
References in the text are to be numbered consecutively in Arabic
numerals, in the order of first appearance. They are to be cited as
superscripts without parentheses or brackets after punctuation marks
like commas and periods but before punctuation marks like colons,
semi-colons and question marks. Where superscripts might cause
ambiguity, cite references in parentheses in abbreviated form,
e.g. (Ref.~\refcite{2}).
...
\begin{thebibliography}{00}
\bibitem{1} C. M. Wang, J. N. Reddy and K. H. Lee, {\it Shear Deformable
Beams} (Elsevier, Oxford, 2000).
\bibitem{2} R. Loren and D. B. Benson, {\it Introduction to String Field
Theory}, 2nd edn. (Springer-Verlag, New York, 1999).
\bibitem{3} C. M. Wang (ed.), {\it Shear Deformable Beams}
(Elsevier, Oxford, 2000).
\end{thebibliography}
所描述的解决方案假设引用以 \bibitem直接在主稿件中输入表格。但是,就我而言,我更喜欢使用包含以下内容的外部 bib 文件:
@book{ColBenh:93,
editor = "Fr\'ed\'eric Benhamou and Alain Colmerauer" ,
title = "Constraint {L}ogic {P}rogramming, {S}elected {R}esearch",
publisher = "MIT Press",
year = "1993"}
模板已经提供了这样的文件(sample.bib),所以应该可以实现。我已经尝试替换以下内容:
\begin{thebibliography}{00}
...
\end{thebibliography}
和
\bibliography{sample.bib}
和 book{ColBenh:93
,与book{1
,但 cite{1} 只会呈现一个问号。正确的解决方案是什么?
答案1
实际上,只需稍加调整即可实现这一点。
在序言中插入以下行
\usepackage[superscript,biblabel,nomove]{cite}
这将处理上标。要从参考列表中删除文章标题,需要执行类似以下操作这