由买买提看人间百态

boards

本页内容为未名空间相应帖子的节选和存档,一周内的贴子最多显示50字,超过一周显示500字 访问原贴
TeX版 - 怎样让单词不在换行时被打断, avoid hyphenation
相关主题
how to indent all lines in a paragraph \subparagraph question
latex喜欢自己断字,怎么不让它想断就断啊graph question
问两个latex问题【求助】some common problems
怎样在整个文档 disable hyphenation?make a small paragraph having more margins on both sides?
请问如何在in-line math mode下面加一个hyphen?请问如何在table的cell里面写multi-line的paragraph
这个错误信息是什么意思啊?latex能不能silently 编译阿
Label problem怎样在latex里给公式转行
About text width for one pageHow to use keyboard to rearrange the latex so that it won't be too long
相关话题的讨论汇总
话题: mbox话题: hyphenated话题: avoid话题: 换行
进入TeX版参与讨论
1 (共1页)
q******t
发帖数: 50
1
How to avoid hyphenation for a single word?
请教一下, 记得好像有个简单办法能够强迫一个单词不在换行时被打断的。
急用,多谢了!!
设置\righthyphenmin,\lefthyphenmin 等变量我现在不能用。
f********h
发帖数: 149
2
\mbox{donotbreakthisword}

【在 q******t 的大作中提到】
: How to avoid hyphenation for a single word?
: 请教一下, 记得好像有个简单办法能够强迫一个单词不在换行时被打断的。
: 急用,多谢了!!
: 设置\righthyphenmin,\lefthyphenmin 等变量我现在不能用。

z*****n
发帖数: 7639
3
I guess this will make the content in \mbox out of
range.

【在 f********h 的大作中提到】
: \mbox{donotbreakthisword}
T*******n
发帖数: 493
4
There is no need to mess around with the \...hyphenmin primitives.
They don't prevent hyphenation, but are used to set the minimum
letter count in each part of a hyphenated word.
As mentioned, \mbox{...} will work, but should be used as a last
resort.
The better solution is to use the \hyphenation command to teach
(La)TeX how to hyphenate a word. If you never want
"thisisalongword" to be hyphenated, just add
\hyphenation{thisisalongword}
and the word will not be hyphenated from that paragra

【在 q******t 的大作中提到】
: How to avoid hyphenation for a single word?
: 请教一下, 记得好像有个简单办法能够强迫一个单词不在换行时被打断的。
: 急用,多谢了!!
: 设置\righthyphenmin,\lefthyphenmin 等变量我现在不能用。

T*******n
发帖数: 493
5
To avoid bad line breaks (that cause overfull \hbox'es or
other problems) in a paragraph, you can try
\begin{sloppypar}
This is a paragraph that would normally cause bad line
breaks
\end{sloppypar}
This relaxes the line breaking penalties, which might
lead to looser lines in the paragraph.

【在 z*****n 的大作中提到】
: I guess this will make the content in \mbox out of
: range.

q******t
发帖数: 50
6
Thanks for all for helping.
I finally used all the methods, \hyphenation, \mbox, \lefthyphenmin and \
righthyphenmin.
Test right a while for value setting.

【在 T*******n 的大作中提到】
: To avoid bad line breaks (that cause overfull \hbox'es or
: other problems) in a paragraph, you can try
: \begin{sloppypar}
: This is a paragraph that would normally cause bad line
: breaks
: \end{sloppypar}
: This relaxes the line breaking penalties, which might
: lead to looser lines in the paragraph.

1 (共1页)
进入TeX版参与讨论
相关主题
How to use keyboard to rearrange the latex so that it won't be too long请问如何在in-line math mode下面加一个hyphen?
如何设置首段缩进其他段落不缩进?这个错误信息是什么意思啊?
how to comment out a paragraph in TexShop (转载)Label problem
Is there a good LaTeX template for note taking?About text width for one page
how to indent all lines in a paragraph \subparagraph question
latex喜欢自己断字,怎么不让它想断就断啊graph question
问两个latex问题【求助】some common problems
怎样在整个文档 disable hyphenation?make a small paragraph having more margins on both sides?
相关话题的讨论汇总
话题: mbox话题: hyphenated话题: avoid话题: 换行