似乎使用 Acronym 包定义的首字母缩略词的单词部分无法连字符。如何确保首字母缩略词的长版本能够正确连字符?
\documentclass{minimal}
\usepackage{acronym}
\hyphenation{Acro-nym}
\acrodef{OA}{Overlengthy Acronym}
\begin{document}
This very very very very lengthy useless sentence contains many words including an \ac{OA} and it should be split.
This very very very very lengthy useless sentence contains many words including an Overlengthy Acronym (OA) and it should be split.
\end{document}
在我的计算机上,前面的 MWE 导致“首字母缩略词”在第二个句子中被拆分,但在第一个句子中没有拆分,尽管生成的文本是相同的。
答案1
这似乎是版本过时的问题,acronym
应该通过更新来解决。