我写过的某一行似乎永远不会在单词“on groups”上断开,除非我强行添加\linebreak
。我在下图中演示了这一点,该图使用~
下面的代码强制将某些单词连接在一起。我不知道为什么它不会在“on”和“groups”之间断开。
我自己对此没有解决方案/原因。\linebreak
如果我最终将这句话保留在这个位置,我只需添加即可轻松修复它。我只是在这里发布它,供那些对 TeX 感兴趣和/或使用 TeX 的人使用。
\documentclass{article}
\usepackage{geometry}
\geometry{
a4paper,
total={210mm,297mm},
left = 35mm,
right = 35mm,
top = 35mm,
bottom = 35mm,
}
\usepackage{lipsum}
\begin{document}
%\lipsum[1]
Teyssier's original approximation lemma is written for conjugacy-invariant RWs on groups. We ttttttttttttt it to RWs on homogeneous spaces corresponding to Gelfand pairs...
Teyssier's original approximation lemma is written for conjugacy-invariant RWs on groups.~We ttttttttttttt it to RWs on homogeneous spaces corresponding to Gelfand pairs...
Teyssier's original approximation lemma is written for conjugacy-invariant RWs on groups.~We~ttttttttttttt it to RWs on homogeneous spaces corresponding to Gelfand pairs...
Teyssier's original approximation lemma is written for conjugacy-invariant RWs on groups.~We~tttttttttttttttttttttttt it to RWs on homogeneous spaces corresponding to Gelfand pairs...
Teyssier's original approximation lemma is written for conjugacy-invariant RWs on\linebreak groups. We ttttttttttttt it to RWs on homogeneous spaces corresponding to Gelfand pairs...
%\lipsum[1]
\end{document}
David Carlisle 在下面建议,TeX 不允许在不手动输入的情况下将字间距设置为最后一行那么大。我还没有亲自验证过这一点,但我推测他是对的。我猜这更像是设计缺陷比漏洞。当然,没有人喜欢一个过大的框,因为框太大,文本超出了边距,实际上无法打印,而单词间空间则稍大一些!
答案1
这里没有错误,之后的断行on
需要将单词间空格拉伸得比默认允许的更多。您可以使用\sloppy
允许空格拉伸更多,然后它就会在那里断行。