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

learn more… | top users | synonyms

7
votes
1answer
776 views

Automatically prevent line-break at hyphen of specific words (e.g. “dual-self”)

Usually questions about hyphenation and line-breaks are concerned about how to allow hyphenation when a word already contains a hyphen. That's not what I'm after: I would like to prevent the word ...
3
votes
0answers
402 views

Problem with Table of Contents chapter line breaking [closed]

I am working with the book document class. Concerning the table of contents, is there any way to break the chapter title as you like? For example, instead of e.g. How to effectively feed swiss ...
5
votes
1answer
137 views

Overfull hbox with British English

I write in British English and occasionally I get an overfull hbox warning because LaTeX does not know how to break a word correctly in its British form. For example, the word 'analysing' causes an ...
4
votes
1answer
305 views

Hyphenation of words connected with a double/triple dash

I can't hyphenate the words Cam•bri•an--Or•do•vi•cian because they are connected with an endash. The same probably happens when using the emdash. I tried this ...
5
votes
2answers
774 views

How to hyphenate a reference that has a lastname with a hyphen?

I need to hyphenate a long lastname with a hyphen in it in a reference, e.g.: @article{LastHyphenName:2013xy, author = {Longlast-Namewithhyphen, Antonio and Anotherlastname, David}, title = {{How to ...
5
votes
2answers
449 views

Change hyphenation patterns only for a chapter

I am currently writing a book in Italian using LyX and I use \usepackage[italian]{babel} in the preamble. However, I need to write a chapter of this book in a different language. How can I change ...
2
votes
1answer
332 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
70 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 ...
8
votes
1answer
537 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
270 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 ...
9
votes
2answers
434 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
476 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
62 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
356 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 ...
7
votes
3answers
794 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
416 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
139 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
377 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
99 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
464 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
415 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
207 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
597 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
659 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
491 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
142 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
280 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
572 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
284 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
408 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
652 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
222 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
471 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
14
votes
4answers
605 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
182 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
636 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
351 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
667 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
194 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
993 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
37 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 ...
5
votes
0answers
142 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 ...
9
votes
2answers
416 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
559 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
308 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
1k 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
2k 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
926 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
526 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 ...