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

learn more… | top users | synonyms

7
votes
1answer
216 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
92 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
315 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
174 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
516 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
459 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
687 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
315 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
229 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
796 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
264 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
233 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
535 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
334 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 ...
24
votes
3answers
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
358 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
645 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
836 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
215 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
324 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
224 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
395 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 ...
5
votes
1answer
888 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 ...
11
votes
2answers
731 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 ...
23
votes
4answers
648 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
735 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
244 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
1k 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
646 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 ...
12
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
334 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} ...
7
votes
1answer
2k 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 ...
30
votes
1answer
846 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
483 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 ...
21
votes
1answer
607 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
259 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} ...
5
votes
1answer
2k 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 ...
32
votes
1answer
4k 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 ...
3
votes
1answer
485 views

Memoir: Stopping hyphenation in chapter titles in the table of contents

I am working on my dissertation using xelatex and the memoir class. Many of the titles to my chapters contain long words which I don't want to be hypenated in the table of contents. According the ...
28
votes
1answer
799 views

Make hyphenated words in PDF searchable

Is there a way to make hyphenated words in a PDF generated by LuaTeX searchable? If the MWE below is converted to a PDF, searching for "lexicon" (in Acrobat X for example) will not find the word since ...
25
votes
2answers
1k views

Ligature suppression with proper hyphenation and comprehensive word list?

[Update: It's been pointed out that my question(s) here weren't clear (or were too hidden). So I inserted red stars at the points where the questions appear.] In The TeX Book, D.E.K. gives "shelfful" ...
5
votes
2answers
847 views

Linebreak between numbers connected by dash

In my text I am using lots of dates. Now I have the following problem: 1480–1541 (two figures and between them a dash) appears at the end of one line and extends over the line into the margin space ...
12
votes
2answers
396 views

Using breakable hyphen "= in \newcommand

I want to use a breakable hyphen "= in a command: \documentclass[a4paper]{article} \usepackage[ngerman]{babel} \newcommand{\TT}{Test"=Text } \begin{document} This is a test whether the hyphen in \TT ...