LaTeX 允许在新的子句开始之前在结束的破折号和逗号之间换行

LaTeX 允许在新的子句开始之前在结束的破折号和逗号之间换行

我很惊讶,当上一行被刷新时,LaTeX 会将破折号后面的逗号放在新行上。我的直觉和风格感告诉我,它们永远不应该分开。例如:

\documentclass[a4paper]{book}
\usepackage[top=35mm, bottom=38mm, inner=40mm, outer=24mm]{geometry}
\usepackage[UKenglish]{babel}

\begin{document}

Foo bar. The erosion responsible for ‘residuals’ is less related to the material process of 
creation---e.g., rewriting in the sense of Mondrian or blurring the edges in the sense of 
Rothko---, but to the double nature of time\ldots

\end{document}

在此处输入图片描述

为什么第二行不以破折号结尾逗号?这是(英式)英语中正确的换行方式吗?

答案1

你太倒霉了,因为逗号真的太细了。通过加载 ,你很可能可以避免所有这些情况microtype

但是,如果你想要安全起见,请输入\textemdash,不会添加自由裁量中断的类型,如以下问题的答案中所述--- 与 \textemdash 的连字符问题

在输入不发生改变的情况下,使用 的输出microtype与使用 的输出相同\textemdash,;当然,microtype还有其他好处。

在此处输入图片描述

相关内容