{hyphenation} is about controlling hyphenation in (La)TeX documents.
Questions tagged [hyphenation]
1103 questions
254
votes
8 answers
How to prevent LaTeX from hyphenating the entire document?
I can't find where I can remove any kind of hyphenation and just have LaTeX just do a line break.
edit:
Honestly speaking I just don't like to read hyphenation anywhere and that's the only reason why I wanted to remove it.
It is a matter of style,…
Splashy
- 5,915
68
votes
2 answers
How to manually set where a word is split?
In my article, words are sometimes split a bit weird. For example: although ev-erywhere isn't wrong, it doesn't read very easily, so I'd like to split it as every-where.
How can I do that? I tried typing every\-where (provided by the babel package),…
Jeroen
- 4,491
52
votes
3 answers
Overfull hbox - How do I fix this?
I have a line in tex which has a markup (as a part of a line) as follows:
\texttt{org.springframework.beans.factory.BeanFactory}
This is giving a overfull \hbox warning. How do I fix this?
I am using MiKTeX 2.7 on Windows 7.
mihirg
- 817
50
votes
7 answers
Avoid hyphenation in "2-D"
How can I avoid hyphenation in words such as "2-D"? \hyphenation{} is not working since the dash is not a letter.
ltxsun
- 875
32
votes
4 answers
Where can I find a list of English hyphenation exceptions?
I know that a nice list of (English) hyphenation exceptions was published in TUGboat, in quite a few installments. Is it compiled somewhere in one place?
mbork
- 13,385
31
votes
3 answers
Is it acceptable to hyphenate people’s names?
In some circumstances, for example, B.~Alexander may result in B. Alexan-newlineder. Is this acceptable?
If not, is there an elegant way to suppress it? (\hyphenation is too cumbersome and sometimes inflexible.)
ȷ̇c
- 1,841
27
votes
1 answer
Can LaTeX support multiple classes of hyphenation break point?
I've just come across an interesting snippet in New Hart's Rules (p.59):
The New Oxford Spelling Dictionary therefore uses two levels of word
division -- 'preferred' divisions (marked |), which are acceptable
under almost any circumstances,…
Brent.Longborough
- 27,991
20
votes
4 answers
temporarily suppress hyphenation
On the title page of an article I want to insert a paragraph containing keywords. For indexing purposes (e. g. web search engines), I'd like to have the keywords unhyphenated (temporarily, of course). At the same time, the paragraph should be…
AlexG
- 54,894
20
votes
1 answer
Add hyphenation pattern for word with special characters
The \hyphenation command can be used to add extra hyphenation patterns globally to a document. This is useful for special words, that are not present in the general hyphenation patterns.
\hyphenation{
chro-no-ampe-ro-met-ric
mic-ro-graphs}
The…
hjb981
- 1,387
17
votes
4 answers
Prevent global hyphenation for a specific word
I know this is a common question.
I want to stop LaTeX splitting the word "Byte".
I already searched for the problem and found the solution with \hyphenation.
I thought \hyphenation{Byte} would solve my problem. But unfortunately it doesn't work. I…
JustCoding
- 271
15
votes
1 answer
How are hyphenation patterns written?
In my miktex folder I checked the hyph-en-us.tex file and found letter patterns written like this:
\patterns{
.ach4
.ad4der
.af1t
...
}
What do these dots and numbers mean?
Giorgi
- 1,069
13
votes
1 answer
Warn of long words without a hyphenation pattern?
For unusual words, is there a quick way to check if I must specify my own hyphenation pattern?
In this example, the word 'cacheability' needs a custom pattern. I do not want to scan my document looking for the problem words jutting into the margin.…
srking
- 1,125
13
votes
1 answer
What is the scope of \hyphenpenalty?
What is the scope of the \hyphenpenalty command? E.g.
\hyphenpenalty=0
Dear hyphens! You are welcome here! Welcome!
{
\hyphenpenalty=100000
We don't want no pesky hyphens inside dis here block! Dey tuk r jurrbs!
}
I sure hope those…
13
votes
2 answers
Define global hyphenation for words containing numbers
In my thesis a have a lot of occurences of the word like ABC2011abc and I want them to be hyphenated as ABC2011\-abc.
Is it possible to define a global hyphenation rule, like say with \hyphenation?
Search and replace would be a last measure and…
tobi
- 131
12
votes
3 answers
Hyphenation of words containing slash
How can I tell LaTeX to automatically split up the german word
Kontrast/Rausch-Verhältnis
into
Kontrast/Rausch-|Ver|hält|nis
LaTeX complains that "/" is not a letter.
Robinaut
- 1,061
- 1
- 9
- 16