我的小说中有一行字在我认为自然的地方没有中断。这似乎是由于我使用了 ldots:
``It was fine.'' she said, defensively. ``Just\ldots more and more\ldots sporadic.'' She laughed self-conciously
文档类别是回忆录,我期望行在 \ldots 和下一个单词之间自然断开,但 latex (pdflatex) 似乎不愿意在该点断开。这导致非常长的溢出水平框(36pt 太宽)
答案1
之后没有可行的换行点\ldots
您可以定义自己的版本点,并可以使用换行符
\newcommand{\bdots}{\textellipsis\linebreak[0]}
例子:
\documentclass{memoir}
\newcommand{\bdots}{\textellipsis\linebreak[0]}
\begin{document}
``It was fine.'' she said, defensively.
``Just\bdots more\bdots and\bdots more\bdots sporadic.'' She
laughed\bdots self-consciously
``It was fine.'' she said, defensively.
``Just\bdots more\bdots and\bdots more\bdots sporadic.'' She
laughed\bdots self-consciously
``It was fine.'' she said, defensively.
``Just\bdots more\bdots and\bdots more\bdots sporadic.'' She
laughed\bdots self-consciously
``It was fine.'' she said, defensively.
``Just\bdots more\bdots and\bdots more\bdots sporadic.'' She
laughed\bdots self-consciously
``It was fine.'' she said, defensively.
\end{document}
忽略两个过满的框,重点是显示点后的换行符。
答案2
我认为 \ldots 命令占用了以下空间。您可以将 \ldots 替换为 \ldots{}。
sample\ldots{} text