{hyphenation} is about controlling hyphenation in (La)TeX documents.

learn more… | top users | synonyms

2
votes
1answer
278 views

Faulty output because of Polyglossia issue [closed]

this is my first question on here so I hope I'll include all necessary information right away. I am running MiKTeX 2.9, set up for XeTeX; my Editor is TeXMaker and my OS is Windows 8, 64-bit. ...
3
votes
1answer
64 views

How can I make an em-dash to allow for a linebreak on either side?

How can I make an em-dash allow a linebreak on either side? Optionally, how do I preserve the hyphenation points of the word on both sides? The following code allows for refrigerator---refrigerator ...
7
votes
1answer
342 views

\slash allows for hyphenation of only the word on its left; how to fix it for the right-hand word

I often use \slash to allow for linebreak after the slash. However I found that \slash doesn't allow for hyphenation of the word to its right, while it does for the word on its left. How do I use ...
5
votes
2answers
205 views

hyphenation of text within math

I would like text like \((\abcdefghij,\abcdefghij)\)-pair (with \abcdefghij defined as \textit{abc\-defg\-hij}) to be hyphenated as (abc·defg·hij,·abc·defg·hij)-·pair ("·" indicates all possible ...
8
votes
2answers
312 views

hyphenation next to a parenthesis

I have some very special hyphenation puzzles involving optional hyphens next to parentheses. (semi)group should be hyphenated as (semi-)/group di[rected ]graph should be hyphenated as di-/[rected ...
2
votes
1answer
363 views

Turn off Hyphenation Without Text Running Into the Margins

I am rewriting (and updating) my resume in LaTeX. I was dismayed because LaTeX automatically hyphenates words that need to go onto a new line when a line is too long. I found a way to turn off ...
1
vote
0answers
56 views

Add hyphenation-rule for hyphenated words [duplicate]

Possible Duplicate: Adequate hyphenation of words already containing a hyphen Is there any way to define permissible hyphenations for hyphenated words? For example, even if I have ...
7
votes
3answers
277 views

ConTeXt: Too much hyphenation

I am trying to control the amount of automatic hyphenation in my document. But all the options I specify don't seem to have any effect. The following MWE shows two paragraphs with six hyphenated ...
6
votes
3answers
474 views

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). ...
3
votes
1answer
333 views

Automatic hyphenation in verbatim text, with guidance

I would like to typeset verbatim text that can have linebreaks on certain text points. I know that spverbatim and listings can break at spaces, but sometimes this is not enough. Of course, no ...
6
votes
1answer
120 views

Why does \uchyph=0 not work for me?

Why does \uchyph=0 not work for me? It is in my preamble, but Istill get names of people hyphenated. Is it a font issue? I typeset with XeLaTeX. Minimal example: try with XeLaTeX with and ...
13
votes
1answer
280 views

hyphenation with special (Estonian) letters

Hyphenation is working correctly most of the time, but it has problems with words that have Estonian letters like õ inside of the word. For example: lõplikumõõtmeline. I write it like this in TeX: ...
2
votes
1answer
88 views

XeLaTeX override default sanskrit hyphenation, do not hyphenate if not indicated

Sanskrit hyphenation is not very good in xelatex as it can possibly not recognize long compound words. I want to override the default hyphenation and hyphenate only where indicated by the \\- command. ...
1
vote
1answer
348 views

Glossaries package and hyphenated (dashed) acronym fail to break across lines

With respect to using the glossaries package, if I have an acronym with a long hyphenated word, it often result in sentences that runs into margins. For example: ...
12
votes
2answers
334 views

Adding letters in hyphenation of Swedish words

Swedish writing conventions states that in compound words, when three successive identical consonants occur, one of them should be omitted. An example of this is glass (ice cream) and strut (cone), ...
1
vote
1answer
181 views

Hyphenate typewriter / avoid overfull \hboxes in code, using fontspec and XeTeX

I would like to avoid overfull \hboxes as a result of inline code, inserted with \textt{foo} or \ttfamily, e.g. in this MWE: % compile with xelatex \documentclass{article} \usepackage[textwidth=4cm, ...
8
votes
1answer
459 views

Babel warns of lack of hyphenation patterns for Hebrew

I use TeX Live including the Hebrew package. I've tried to produce a simple TeX file: \documentclass{article} \usepackage [english,hebrew]{babel} \begin{document} שלום \end{document} but I keep ...
4
votes
2answers
465 views

How and when does hyphenation in beamer slides work?

I don't understand how beamer handles hyphenation. Consider the following example: \documentclass{beamer} \begin{document} \begin{frame} \frametitle{Without hyphenation} Latex is the stable ...
0
votes
0answers
271 views

How to get my teletype (\tt) text to wrap to the next line, rather than run off the edge of the PDF? [duplicate]

Possible Duplicate: \texttt overfull hbox problem How to automatically hyphenate within \texttt? Much of the LaTeX documents I write deal with computer-sciencey stuff that I like to put ...
5
votes
1answer
128 views

Suppressing hyphenation of words that already contain a hyphen

According to the accepted answer of this question TeX never hyphenates words that already contain a hyphen. Nevertheless in a document here I find that the word “Modula-2” is hyphenated, as the ...
3
votes
1answer
250 views

Latex hyphenation exception

I have some problems with my document. I have one sentence with indentation. It is too long and it takes minimum two lines. And I have something like this: Macierz rozproszenia idealnego, ...
1
vote
1answer
457 views

Incompatibility between \nobreakdash and babel

I use the \nobreakdash command to disallow a linebreak after the dash in short expressions like -s, -ar etc. I use ({\nobreakdash}-s, {\nobreakdash}-ar) but it seems not work as can be seen on the ...
2
votes
1answer
215 views

How to avoid hyphenating a word on page break [duplicate]

Possible Duplicate: Suppressing hyphenation across pages I'm writing a paper and it is bad style to hyphenate over page break. Is there a way to tell LaTeX not to hyphenate if it is the ...
2
votes
0answers
328 views

How to turn the hyphenation on? [closed]

I was looking for a clue on how to use cyrillics in an english text and vice versa. Finally I found a solution here: Cyrillic in (La)TeX The solution looks like this \documentclass[article, ...
2
votes
1answer
495 views

Hyphenation of words with accents

I know that hyphenating words with accents produces an error in LaTeX. So what can I do in such an occasion? I am facing a problem like that in my text where I use the Linux Libertine O font as the ...
1
vote
1answer
181 views

Text Alignment problem [closed]

I am having a problem with the alignment in my pdf. The pdf is compiled with Xelatex. Some words instead of being separated with a "-" and continue at the bottom line are written whole in the upper ...
4
votes
1answer
393 views

How can I force hyphenation in chapter titles?

I have a (German and English) document, which uses the scrbook class fromt he KOMA package, with long German words in the chapter titles. I would like Latex to hyphenate those words when necessary, ...
1
vote
1answer
80 views

hyphenation problem with the character &

How to produce the hyphenation of the word (BM&FBOVESPA) I tried to use \hyphenation{BM\&F-BO-VES-PA} in the preamble but did not work
13
votes
4answers
504 views

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 ...
5
votes
2answers
158 views

Forbid hyphenations for a particular text

How can I temporarily forbid hyphenations (or make them more "expensive"), for a particular piece of text? One or two paragraphs.
3
votes
2answers
498 views

! Package babel Error: Language definition file armenian.ldf not found

I'd like to use hyphenation with armenian language. Here is my test code (the armenian text is in utf8). \documentclass[a4paper,12pt]{article} \usepackage{fontspec} \usepackage{xunicode} ...
12
votes
1answer
310 views

Hyphens at end of line disappear upon pasting, even if they were present in the input

When I paste text from pdflatex output, there are two things about hyphens that I would like to change: Hyphens paste as "hyphen-minus" (U+002D, "-"), but I would prefer the newer Unicode character ...
9
votes
2answers
499 views

Hyphenation problem

I am having trouble with the hyphenation of a project I am writing. More precisely it will not hyphenate the word $\ast$-homomorphism. I have tried with \hyphenation{ho-mo-mor-phism}, but to no luck. ...
5
votes
1answer
182 views

Ornamental hyphenation character with Xe(La)TeX

Using Xe(La)TeX, how could the hyphenation character be set to any particular glyph in a given font? I'd also like to have the possibility to set a color for the glyph when used for that task and to ...
15
votes
1answer
703 views

How to break long URLs using common hyphenation but adding a line feed indicator?

I saw several questions like this one that request a solution for breaking apart URLs. I wonder if it is possible to hyphenate the words in a URL as it happens in normal text (i.e., breaking apart ...
0
votes
0answers
36 views

Word not hyphenated when surrounded by $ signs, and causing errors without $ signs [duplicate]

Possible Duplicate: Despite using backslash dollar sign, error persists I don't know why, but the word kAudioUnitSubType_RemoteIO is causing problems for me when I type it. I tried ...
4
votes
0answers
118 views

Preventing line break at the start of a long name in `\lstinline`

This question has developed from How to deal with very long lstinline-phrases like long class names?. That question is about line breaking inside a \lstinline phrase. I have provided an answer which ...
7
votes
2answers
314 views

How to deal with very long lstinline-phrases like long class names?

According to this Question: listing: How to deal with very long lines that do not contain spaces? My problem is that my \lstinline-phrases does not contain any special character like "-". In my ...
6
votes
2answers
453 views

acronym does not hyphenate in text

I am using the latest version of acronym (acronym 2010/09/08 v1.36) with Lualatex (Version beta-0.70.2-2012060719) and have a long acronym consisting of six words which is not hyphenated correctly. ...
13
votes
1answer
277 views

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 ...
6
votes
1answer
675 views

Automatic break/hyphen for too long meaningless words

Since there is no pattern for hyphening meaningless words, they should be individually hyphenated/broken with methods such as \hyphenation{longword}, \seqsplit{longword}, etc. However, there should ...
5
votes
1answer
1k views

German hyphenation does not work

My babel configuration includes ngerman and english ... \documentclass[ oneside, openright, titlepage, dottedtoc, numbers=noenddot, headinclude, footinclude=true, cleardoublepage=empty, abstractoff, ...
2
votes
1answer
742 views

Don't split words in section title [duplicate]

Possible Duplicate: How to disable hyphenation in all section and subsection titles? No hyphen for a word How to I tell LaTeX not to split words in section title? For example: ...
4
votes
1answer
391 views

correct the hyphenation

How to correct the hyphenation in my paper that is entirely wrong? For example, in my paper, there are wrong hyphenations like result-s, s-mall, s-pace, etc. How can I fix this problem. I don't use ...
4
votes
1answer
185 views

hyphenation rule not acted upon [closed]

In this example, why is the hyphenation rule not used? \documentclass{article} \usepackage{tabu} \hyphenation{abc-def-hij-klm-nop-qrs-tuv-wxyz} \begin{document} \begin{center} \begin{tabu} {|X|X|} ...
9
votes
2answers
2k views

No hyphen for a word

I want to put pdflatex to not put a hyphen in a word went it comes to the end of the line. I tried to put a \- in the beginning or the end of that word but it doesn't work. For example if I put:This ...
6
votes
1answer
292 views

Automatic camel case breaking

Based on my old question Push long words in a new line, I search for a possibility to allow linebreak before a capital character in camel case terms. For example the term ...
5
votes
3answers
532 views

Automatic linebreak on specific character

Based on my old question Push long words in a new line, I search for a possibility to allow linebreak on specific character. For example in my case I want to break on "_" (underscore). ...
6
votes
2answers
476 views

French and English text in one document with a single style of footnote

I have a book containing essays variously in English and French and wish hyphenization and other aesthetic issues to match whatever language is in use at the moment, but I want footnotes to follow a ...
25
votes
1answer
272 views

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 ...