在 bibtex 中指定论文语言

在 bibtex 中指定论文语言

我想引用一篇非英文的博士论文;但我希望论文中能提到其语言在......之外标题的撇号。例如,我对输出感兴趣

J. Doe,“这是论文标题,”(拉丁文),博士论文,无名大学,无名大学,2021 年。

假设实际.tex文件是

\documentclass{IEEEtran}

\begin{document}

The Ph.D. thesis of J. Doe~\cite{reference1}.


\bibliography{references}
\bibliographystyle{IEEEtran}

\end{document}

该文件的一个选项references.bib

@phdthesis{reference1,
author = {John Doe},
title = {This is the dissertation title (in Latin)},
school = {University of Nowhere},
address = {Nowhere},
year = {2021},
}

但是,很明显,它会在标题的撇号内写出语言,这是不理想的。我添加了选项

language = {Latin},

但什么都没发生。有什么帮助吗?

答案1

两个选项。我个人更喜欢第二个。

  1. 非常 hackish,并且很大程度上取决于文件的具体ieeetran输出方式.bbl。您在主文档中定义一个新命令\inlatin,该命令会删除尾随内容,''并打印出来,'' (in latin)。然后您修改 bib 条目以使其具有title = {....\inlatin}

  2. 添加note字段。这使bib文件可移植,但“注释”的显示位置取决于样式文件。

显示两种输出的示例。

\documentclass{IEEEtran}
\def\inlatin,''{,'' (in latin)}

\begin{document}

The Ph.D. thesis of J. Doe~\cite{reference1}.

\cite{referencenote}

\bibliography{references}
\bibliographystyle{IEEEtran}

\end{document}

references.bib

@phdthesis{reference1,
author = {John Doe},
title = {This is the dissertation title\inlatin},
school = {University of Nowhere},
address = {Nowhere},
year = {2021},
}

@phdthesis{referencenote,
author = {John Doe},
title = {This is the dissertation title},
school = {University of Nowhere},
address = {Nowhere},
year = {2021},
note = {Dissertation in Latin}
}

产量

在此处输入图片描述

相关内容