以下代码产生错误的参考书目:
\documentclass[final,5p,times,twocolumn, sort&compress]{elsarticle}
\journal{FGCS}
\usepackage[utf8]{inputenc}
\usepackage[british]{babel}
\begin{document}
\cite{cai-two-layer}
\section*{References}
%\bibliographystyle{plain}
%\bibliographystyle{alpha}
%\bibliographystyle{abbrv}
\bibliographystyle{elsarticle-num}
\bibliography{references}
\end{document}
bibtex 条目是:
@article{cai-two-layer,
author = {Łukasz Opio\l{}a and Micha\l{} Wrzeszcz and \L{}ukasz Dutka
and Renata S\l{}ota and Jacek Kitowski},
title = {{Two-Layer Load Balancing for Onedata System}},
journal ={Computing and Informatics},
volume = {37},
number = {1},
year = {2018},
pages = {1-22},
note = {in press},
}
结果是:
如您所见,如果使用宏 \L{},则字母(参见第三作者)不会被禁止,如果使用 UTF-8 字符 Ł,则名称不会被缩写(参见第一作者)。缩写应为 Ł。有什么帮助吗?
答案1
在这种情况下,您可以使用{\L{}}ukasz
适当的缩写。
更详细地说,代码:
\documentclass[final,5p,times,twocolumn, sort&compress]{elsarticle}
\journal{FGCS}
\usepackage[utf8]{inputenc}
\usepackage[british]{babel}
\usepackage{filecontents}% make the MWE self-contained
\begin{filecontents}{references.bib}
@article{cai-two-layer,
author = {Łukasz Opio\l{}a and Micha\l{} Wrzeszcz and {\L{}}ukasz Dutka
and Renata S\l{}ota and Jacek Kitowski},
title = {{Two-Layer Load Balancing for Onedata System}},
journal ={Computing and Informatics},
volume = {37},
number = {1},
year = {2018},
pages = {1-22},
note = {in press},
}
\end{filecontents}
\begin{document}
\cite{cai-two-layer}
\section*{References}
%\bibliographystyle{plain}
%\bibliographystyle{alpha}
%\bibliographystyle{abbrv}
\bibliographystyle{elsarticle-num}
\bibliography{references}
\end{document}
生成: