不要在显式连字符处使用连字符,例如以“non-”开头的单词

不要在显式连字符处使用连字符,例如以“non-”开头的单词

在我的文档中,我不想断开文本后面的任何单词non-,例如,,,non-linear等等non-stationary

我正在使用Windows710,和MikTeX 2.9LaTeX-dvips-ps2pdf

请指教....

平均能量损失

\documentclass[10pt]{book}
\usepackage{mathtools}

\begin{document}
\frenchspacing

with $K$ and $D$ the spring damping coefficients. A relationship between non-convex $K$ and $D$ can ensure that the target value is reached and that no overshoot occurs. As robots cannot move arbitrarily fast, the parameters $K$ and $D$ must be set in such a way to ensure that the path is {\em dynamically} feasible. When the robot moves along a straight line, bounds on the parameters can be set relatively easily. However, there are many reasons why the straight line may be neither desirable nor feasible---for instance, when the robot must avoid obstacles, or when must grasp an it must grasp object particular (e.g., the nonlinear and the robot needs to accelerate and decelerate along the way, computing the optimal path becomes more challenging. One approach is to decompose the path through a series of straight lines, called {\em splines}, or a series of polynomials. A large variety of approaches have been offered to perform this decomposition (see). However, spline decomposition works well, so long as the environment is static.

\end{document}

在此处输入图片描述

答案1

在明确的连字符处断开的惩罚\exhyphenpenalty默认情况下是 50,但您可以添加\exhyphenpenalty=10000以使其永远不会在那里断开。

或者,您可以使用小于 10000 的数字来阻止中断,但在真正困难的线路中允许中断。 在您的示例中,500 足以阻止中断。

\documentclass[10pt]{book}
\usepackage{mathtools}
\exhyphenpenalty=500
\begin{document}
\frenchspacing

with $K$ and $D$ the spring damping coefficients. A relationship
between non-convex $K$ and $D$ can ensure that the target value is
reached and that no overshoot occurs. As robots cannot move
arbitrarily fast, the parameters $K$ and $D$ must be set in such a way
to ensure that the path is {\em dynamically} feasible. When the robot
moves along a straight line, bounds on the parameters can be set
relatively easily. However, there are many reasons why the straight
line may be neither desirable nor feasible---for instance, when the
robot must avoid obstacles, or when must grasp an it must grasp object
particular (e.g., the nonlinear and the robot needs to accelerate and
decelerate along the way, computing the optimal path becomes more
challenging. One approach is to decompose the path through a series of
straight lines, called {\em splines}, or a series of polynomials. A
large variety of approaches have been offered to perform this
decomposition (see). However, spline decomposition works well, so long
as the environment is static.

\end{document}

在此处输入图片描述

相关内容