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

learn more… | top users | synonyms

1
vote
1answer
422 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
386 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
199 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
546 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
585 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
420 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
136 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
267 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
533 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
257 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
391 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
603 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
209 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
448 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
568 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
174 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
599 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
337 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
601 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
192 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
891 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
129 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
379 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
528 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
300 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
908 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
866 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
476 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
213 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|} ...
12
votes
2answers
4k 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
319 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
645 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
503 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
286 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 ...
7
votes
1answer
7k views

LaTeX: splitting the words

I have a quite long text, and I sometimes I have words breaking in a weird way, so I wonder if there is some command in LaTeX which will prevent the splitting of words in the whole document?
13
votes
1answer
157 views

Hyphenation exceptions not loaded when using babel with multiple languages

When I use babel with more than one language loaded, my hyphenation exceptions are not used. Here is an example: ====== hy.tex ======= \hyphenation{para-dichloro-diphenyl-trichloro-ethane} ====== ...
6
votes
1answer
311 views

Enable automatic hyphenation for Cthulhu-style's document

This question is based on the following thread: How do I make my document look like it was written by a Cthulhu-worshipping madman? ,where doncherry has provided a nice answer with the highest rate. ...
5
votes
2answers
394 views

Text created with a \newcommand overflows into margin (not xspace question)

I am aware of the use of xspace to handle the space after a macro in different situations. However, it seems that I cannot avoid having my text created with a \newcommand from running into the ...
19
votes
1answer
363 views

Why can words with hyphen char not be hyphenated?

Assume I have a word like Baden-Württemberg. TeX can't hyphenate any of these two word parts. Why? why isn't it something like this: where the small ticks indicate possible hyphenation points. A ...
7
votes
1answer
187 views

Hyphenation on next-to-last line

On the next-to-last line of a paragraph, I have some hyphenation and on the last line, I only have the end of the word. blablabla cou- cou. New paragraph I thought the command \finalhyphendemerits ...
5
votes
1answer
88 views

How to create a section whose title looks different in the table of content?

I'm writing my thesis, and one of the sections has a title which looks good in the table of content, but it's too long in the main text, so that it goes on the new line by hyphenating one of the ...
4
votes
1answer
278 views

Change the font of \hyphenchar

I'm using Tex with Telugu and English languages. When a word is hyphenated, the hyphen symbol, as apparently is not found in Telugu font, appears as undefined symbol. I want to change it's font to ...
15
votes
1answer
881 views

Remove hyphen from word spanning two lines in text copied from a pdf file

If I copy text from a PDF and a word is hyphenated and spans two lines, the copied text contains the "-". For example: Examp- le should be copied as Example not Examp-le The problem is ...
3
votes
1answer
164 views

commands in latex hyphenation

In the last weeks I tried to work with LaTeX hyphenation functionality. \c{e8\9es} In the description at the end of this document \c is discribed as lower case letter but this doesn't make sense. So ...
6
votes
3answers
2k views

hyphenation not working

I really searched a lot and tried a lot of hints (also from this site), but I cannot get the global hyphenation command working. In my text, I can set the correct hyphernation like this: ...
17
votes
3answers
485 views

Reviewing hyphenations with LuaTeX

This question led to a new package: lua-check-hyphen I wrote a question (Accessing pointers in LuaTeX) hoping it would lead me to a way of reviewing the hyphenations with LuaTeX, and without ...
3
votes
0answers
394 views

Xelatex, verbatim and hyphenation [closed]

I have the following problem with XeLatex, Russian language, hyphenation and verbatim. Consider the following tex file (text below). It is compiled with XeLaTex, and before verbatim hyphenation is ...