答案1
\hyphenation
是在序言中使用的声明,声明如何自动的连字应该适用于特定的单词,因此
\hyphenation{trans-for-ma-tions}
例如会指定 TeX 可能中断的地方transformations
(在这种情况下这实际上是默认的)。
对于文档正文中的一次性自由连字符,您可以使用,\-
但使用连字符连接是非常错误的been
。
你没有提供一个真实的例子,但我认为你的情况是这样的,有一个满满的盒子:
Overfull \hbox (2.73953pt too wide) in paragraph at lines 8--11
[]\OT1/cmr/m/n/10 In ad-di-tion, mech-a-nis-ti-cally more chal-leng-ing trans-f
or-ma-tions have been
从输入
\documentclass[a4paper]{article}
\addtolength\textwidth{-23.1pt}
\begin{document}
Zzzzzz\dotfill zzzz
In addition, mechanistically more challenging transformations have
been extensively studied in recent years, including
NHC-catalyzed transformation
Zzzzzz\dotfill zzzz
\end{document}
更改been
为be\-en
会删除警告,但代价是使文本更难阅读。有更好的替代方案,例如,如果您添加
\usepackage{microtype}
那么不仅溢出的框会消失,段落中略显丑陋的短小最后一行也会消失,tion
只有transformation
\documentclass[a4paper]{article}
\addtolength\textwidth{-23.1pt}
\usepackage{microtype}
\begin{document}
Zzzzzz\dotfill zzzz
In addition, mechanistically more challenging transformations have
been extensively studied in recent years, including
NHC-catalyzed transformation
Zzzzzz\dotfill zzzz
\end{document}