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

learn more… | top users | synonyms

6
votes
1answer
5k 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
148 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
296 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
322 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 ...
18
votes
1answer
296 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 ...
6
votes
1answer
169 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
87 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
247 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 ...
14
votes
1answer
748 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
159 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
1k 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: ...
14
votes
3answers
437 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 ...
2
votes
0answers
350 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
546 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
257 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
191 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
655 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
238 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
226 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
391 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
261 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? ...
19
votes
5answers
678 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 ...
21
votes
3answers
766 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
195 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
254 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 ...
9
votes
3answers
538 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 ...
5
votes
3answers
656 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
192 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, ...
2
votes
1answer
778 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 ...
5
votes
1answer
900 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
168 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
297 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
210 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
320 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 ...
4
votes
1answer
712 views

LaTeX hyphenation different for inline optional hyphenation and explicit \hyphenation{…} definition

In a text, I get an overfull hbox. To avoid this, I define an optional hyphenation point: bla bla bla un\-known bla bla bla pdflatex indeed hyphenates the word at that point. But when I declare the ...
10
votes
2answers
618 views

How to emulate \url hyphenating without using the url package?

I'm forced to avoid the url package in a proceedings paper (!) but my bibliography includes a long URL. I already \newcommand{\url}[1]{{\tttext{#1}}} but the URL spills over to the margin as it ...
22
votes
4answers
554 views

Is there a special hyphen-symbol to be used between capital letters?

In words consisting of small letters, the - hyphen seems right. In words (abbreviations, acronyms) consisting of capital letters, the common hyphen appears (at least imho) to be placed too low and to ...
9
votes
3answers
623 views

babel's hyphenation-friendly hyphen "= in multiple languages

Why doesn't the hyphenation work with multiple languages? See code: \documentclass[a4paper]{report} \usepackage[utf8]{inputenc} \usepackage[T1]{fontenc} \usepackage{lmodern} ...
9
votes
1answer
223 views

Glyph alternates break hyphenation

Alan Munn explined in Use stylistic set variations only for certain glyphs how to enable glyph alternates for a certain subset of glyphs. I'm using the second method he described (the other method ...
1
vote
0answers
942 views

Loading hyphenation patterns in Texmaker [closed]

I've got problems making TexMaker / MikTeX 2.9 use polish hyphenation rules. As from what I've read on this forum (e.g. here), babel package should automatically load polish hyphenation rules after ...
4
votes
1answer
504 views

squeeze the text in table

I had gone thro this question and still in my case, i have the overlapping text in the table Here is my MWE \documentclass[a4paper,10pt]{book} \usepackage{pdflscape} % to change certain pages to ...
11
votes
3answers
2k views

How do I prevent TeX from hyphenating acronyms?

Upper-case words look awkward when hyphenated. How do I suppress this behavior?
8
votes
2answers
297 views

Different hyphenation pattern when using oldstyle figures?

It appears that there are different hyphenation patters when using oldstyle figures or not. Consider the following MWE: \documentclass[a4paper,10pt]{scrartcl} \areaset[current]{336pt}{600pt} ...
4
votes
1answer
1k views

Custom hyphenation for different languages in XeTeX

When I define custom hyphenation with \hyphenation in XeTeX, it seems to only work for the main body of the text, but not for the bits inside \text<language> (as in \textgerman) environments. I ...
27
votes
1answer
684 views

In lualatex, hyphenation doesn't seem to work for words that contain certain ligatures

It would seem that hyphenation does not work properly under LuaLaTeX if the hyphenation points occur at places where TeX inserts ligatures. Consider the following MWE, which (i) provides hyphenation ...
7
votes
2answers
362 views

amsmath nobreakdash definition to allow normal hyphenation

In the amsmath package documentation it is written: \newcommand{\n}[1]{$n$\nobreakdash-\hspace{0pt}} The last example shows how to prohibit a linebreak after the hyphen but allow normal ...
20
votes
1answer
473 views

Why does babel not work in Tikz?

Adding child nodes to child nodes in TikZ Mindmap has some example code, where German words are not hyphenated correctly. I was trying to fix it by using inputenc (for Umlaute) and ...
9
votes
1answer
227 views

Hyphenate \ttfamily without hyphen dash

Is it possible to hyphenate text without inserting a hyphen. \documentclass{article} %\usepackage{courier} %\usepackage{bera} %\usepackage{arev} \begin{document} ...
4
votes
1answer
1k views

Hyphenation in Beamer Presentations

I am using beamer in LaTeX to create a presentation. But it seems hyphenation is disabled. At least for the items inside itemize environments and text inside the blocks I don't see any hyphenation ...
29
votes
1answer
2k views

How to automatically hyphenate within \texttt?

This question was phrased as a bug report for LaTeX and I thought it would be helpful to be presented here (including an answer). The person had a lot of "common words" in typewriter font sprinkled ...