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

learn more… | top users | synonyms

15
votes
1answer
1k 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 ...
6
votes
1answer
175 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 ...
11
votes
2answers
526 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
698 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
328 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 ...
7
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
1k 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
684 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
246 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|} ...
26
votes
2answers
15k 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 ...
7
votes
1answer
433 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
980 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
548 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 ...
26
votes
1answer
343 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 ...
9
votes
1answer
11k 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
190 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
337 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
568 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 ...
21
votes
1answer
591 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 ...
8
votes
1answer
226 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
94 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
337 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 ...
16
votes
1answer
1k 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
176 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: ...
18
votes
3answers
538 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
496 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 ...
7
votes
1answer
708 views

Hyphenation in LaTeX

In the last weeks I tried to work with LaTeX hyphenation functionality. .es8t .ex1a2 .ex3em .fal6sc .fe6st5a .flu4g3 .furch8 .ga6ner .ge3n4a \n{.ge5r"o} .ges6 .halb5 so I found out that the ...
6
votes
1answer
332 views

Hyphenation of terms containing symbols other than letters

I'm trying to hyphenate a chemical name and have come into difficulty. The word I'm trying to hyphenate is poly(ethyeneglycol). I'm using babel and inputenc. I've tried specifying a custom ...
3
votes
1answer
239 views

How to break a word at a given length (without a hyphen)?

The problem is to get The question is justified. The answer is right flush. The dimensions of the rectangle are 5cm and 4cm. The length of the question is unknown. Manually ...
4
votes
3answers
822 views

Something's wrong with tocloft

I want the right margin of TOC to be straight. Instead of this Latex violates the bound (Pic. 1). If babel is commented out (with the last \addcontentsline), the result is still buggy (Pic. 2). ...
9
votes
2answers
272 views

Is there a way to know which words LaTeX hyphenate when I build a .tex [duplicate]

Possible Duplicate: Check all hyphenations within a document I'm having problems with hyphenation patterns in babel's spanish. I'm using MikTeX on Windows and it seems very difficult to ...
9
votes
2answers
236 views

how to enforce correct hyphenation of “(near-)uniform” as “(near-)” + “uniform” instead of “(near-” + “)uniform”?

how to enforce correct hyphenation of (near-)uniform as (near-) uniform instead of (near- )uniform?
1
vote
1answer
598 views

Text is going out of bounds; prohibit the hyphenation of all words

I have such preamble: \documentclass[bachelor, subf]{gost732} \usepackage[a4paper,includefoot, left=3.5cm, right=1cm, top=2cm, bottom=2cm, headsep=1cm, ...
1
vote
1answer
356 views

How to combine package acronym and hyphenation? [closed]

It seems that words part of an acronym defined using the Acronym package have trouble being hyphenated. How can I make sure that the long version of the acronym will be hyphenated correctly? ...
20
votes
5answers
1k views

Hyphenation problem with — versus \textemdash

While investigating problems with hyphenation and em-dashes, I came across this: a piece---perhaps an installation---, involving structural feedback The document class is article. The problem was ...
25
votes
4answers
1k views

Display hyphenation options for a specific word

When TeX produces Overfull box, is puts something like this in the log: Overfull \hbox (15.47195pt too wide) in paragraph at lines 7--9 []\OT1/cmr/m/n/10 I re-ally re-ally want to get dis-played the ...
9
votes
1answer
208 views

Avoid hyphenation around a specific character

I want to use typographic apostrophe (’) in my document. Using a simple ' don't give the same result. I can type the ’ on my keyboard. But XeTeX take it as a normal character, ie. like a letter, and ...
7
votes
1answer
396 views

Reduce number of consecutive lines with hyphenation

How can I reduce the number of consecutive lines ending in a hyphenation? I have a very long document (600 pages) and need an automatic way to tell latex the maximum number of lines ending in a ...
10
votes
3answers
689 views

Why does hyphsubst not work with LuaTeX?

Consider the following MWE: \RequirePackage[ngerman=ngerman-x-latest]{hyphsubst} \documentclass{scrartcl} \usepackage[english]{babel} \usepackage{blindtext} \begin{document} \Blindtext ...
6
votes
3answers
898 views

How to break long word containing symbols but with no hyphen?

Below is my minimum working example: \documentclass[10pt,a4paper,draft]{article} \usepackage[utf8]{inputenc} \usepackage[english]{babel} \usepackage{lipsum} \begin{document} ...
1
vote
1answer
220 views

Hyphenation of words with exotic characters [duplicate]

Possible Duplicate: Adequate hyphenation of words already containing a hyphen As a mathematician, I often have to write documents with long words containing embedded mathematical symbols, ...
3
votes
1answer
1k views

When I prevent hyphenation using an \mbox, the box gets pushed into the right margin

I've used \mbox to prevent LaTeX from breaking certain long words into hyphenated pairs. Now I have a new problem: the unbroken words are extending into the right margin. Here's some minimal sample ...
6
votes
1answer
1k views

Titles too wide and not hyphenated correctly

In my master thesis, I have several complicated titles that are longer than one line and that are not hyphenated but go further than the textwidth (see MWE below). Additionally, while the ...
1
vote
1answer
173 views

What Linux operating system contains patgen for hyphenation?

This question follows previous one. In TexLive, patgen command prompts error of "No such file or directory". I found at About.com that Linux contains patgen. I have Linux Red Hat 9.0 in my system. Can ...
5
votes
1answer
329 views

How to use translate_file correctly in patgen of TexLive?

This question follows previous one about use of patgen. I installed TeX Live 2011 (thanks Martin) and find patgen (version 2.4) command. According to manual, command is: patgen dictionary_file ...
1
vote
1answer
228 views

Does Windows version of TeX contain patgen?

I know two Windows versions of TeX -- MiKTeX and proTeXt. Do they contain patgen package? If not, what Windows version of TeX contain the package? Can MiKTeX or proTeXt import such package from TeX ...
6
votes
1answer
399 views

Hyphenation patterns / lccode / “.dat” format of hyph-utf8

I have made a new encoding for "modern" greek based on ISO 8859-7. Now I'd like to create hyphenation patterns for it, to use with pdftex (that is, 8 bit based). If I understand correctly, I can do ...