有兩個名字的作者不能有空格

有兩個名字的作者不能有空格

我正在使用 bibtex 並發現(在我必須提交論文的前幾天)一個問題。

一個例子是這樣的:

文件:

\documentclass[12pt,a4paper]{report} 
\begin{document}
Single name \cite{single}.
Double name \cite{double}.
\bibliographystyle{abbrvdin}
\bibliography{bibexp}
\end{document}

Bibexp.bib:

@article{double,
    title = {Title of the paper},
    journal = {Journal of WTF},
    author = {First, A. and Second, A. A.},
    year = {2019}
}
@article{single,
    title = {Title of the paper},
    journal = {Journal of WTF},
    author = {First, A. and Second, A.},
    year = {2019}
}

我得到這個: 在此輸入影像描述

我知道我可以刪除作者和“;”之間的空格透過使用這種方法如何在bibtex中「刪除」作者和分號之間的空格

但以我有限的文本知識,我找不到一種方法來處理「:論文標題」之前的空格不一致只有當最後一位作者有兩個名字時才沒有空格,如果他有一個名字有空白。

有沒有快速解決方案(除了改為 biblatex,我沒有時間...)?提前非常感謝您,如果問題已經得到解答,我們深表歉意。

相關內容