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

learn more… | top users | synonyms

2
votes
1answer
35 views

Broken words and alingments in LaTeX

In LaTeX, how can I stop words be cut at the end of a continuing line? For example at the end of my line there is a word 'ultimately' that once broken changes to 'ulti' and 'mately' in the next line. ...
7
votes
2answers
117 views

Minimize hyphenations with ragged2e

Nearly every guide to LaTeX recommends \RaggedRight from the ragged2e package over the built-in \raggedright. But I've always been frustrated by too many hyphenated words with \RaggedRight. I ...
3
votes
2answers
28 views

Formatting of captions with memoir [on hold]

This is my first question here. I have been reading very useful answers for years. Now, I did not find one that solves my problem. I am typestting a book with the memoir class, and I am finding the ...
6
votes
1answer
88 views

Balance ragged and hyphenation

From Beautiful Evidence: Each paragraph is left-justified but neither excessively hyphenated nor ragged on the right side. The tufte-book class seems to be too ragged. How can I configure the ...
6
votes
1answer
40 views

spacing when hyphen two words

When I tried to type mathematical terminologies, like Hasse-Weil theorem, there is a minor thing which hurts my eyes. The issue is the spacing between and after the hyphen, which you can see in the ...
42
votes
2answers
5k 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 ...
2
votes
2answers
29 views

How to activate hyphenation in \ttfamily without setting a font explicite?

I am suprised that in the code below no hyphenation is done. And I can not find something about that on the web. Maybe I use the wrong words for searching. \documentclass{scrartcl} ...
4
votes
1answer
40 views

Allowing hyphenation line breaks only when hyphens are placed intentionally

I am trying to typeset a document using XeTeX that uses Tâi-lô (Taiwanese romanization), which separates syllables in a word with hyphens, meaning hyphens are very common. I am also using the paracol ...
0
votes
1answer
21 views

How to center text not including hyphen?

The title of the book placed on the spine needs to be centered. The title includes hyphen - according to Czech standards, the hyphen should be placed also in front of the second word (f.e. in ...
3
votes
1answer
28 views

Additionally hyphenation rules like in InDesign

Is there a package or some penalty setting to control the hyphenation points of a word? In InDesign for example you could define that a word should only be broken after x letters (see link under Set ...
2
votes
2answers
46 views

How to set hyphenation parameters automatically in LuaTeX?

In the following example we need to hyphenate "aa-aa", but not "bbbb". How to set righthyphenmin=2 automatically if all letters of a word are "a", and keep it default for all other cases? ...
31
votes
1answer
424 views

Obtain \badness or glue adjustment for each line

This might be interesting for perfectionists and/or fastidious typesetters who would like to improve the document even further (beyond the beyond the magnificence of a book with zero bad boxes). We ...
0
votes
1answer
31 views

LaTeX not hyphenating with current preamble

I have the following code generated, with my preamble here, and here's just some of the text in it. Below the code I'll show a screenshot of how it looks once compiled. %Setup og layout pakker ...
0
votes
1answer
29 views

Discretionary hyphens for words in dot-notation

we're working on a technical document with some special requirement identifier, which use a dot-notation. For example: FRQ.SW.MOD.GUI.1 FRQ.DATA.LOG.OUT.PRINT.1 As you might expect we get a lot of ...
4
votes
1answer
110 views

How do I hyphenate centered text?

I am trying to achieve text, that uses hyphentation despite being centered. Apparently this is something non-standard to latex. Help very much appreciated. Thanks a lot in advance. MWE: ...
0
votes
1answer
38 views

References not respecting margins with biblatex

I am using biblatex with the biber backend for my bibliography. The problem I encountered is that margins are not always respected. It seems to be a fairly common issue, cf. these possibly related ...
3
votes
1answer
19 views

hyphenation and punctuation with “.–” at the end of the line

I have to edit a text (actually a diary) where the line quite often ends with: .– (point and dash) eg. "Last night I took the subway.–" LaTeX does not break the word "subway" if it's at the end of ...
1
vote
1answer
33 views

Does pdfTex produce warnings when it doesn't find the word hyphenation pattern?

In my document I use babel package and load several languages for correct hyphenation. \usepackage[icelandic, latin, czech]{babel} I add manually words that babel package doesn't know. ...
3
votes
1answer
204 views

Greek and Hebrew hyphenation in longer texts in LuaLaTeX

To typeset English + ancient Greek + Hebrew, paragraph length, I use XeLaTeX + polyglossia. I've been trying LuaLaTeX + babel in case this is the way of the future. In the minimum example below, I ...
1
vote
1answer
139 views

avoid hyphenation in chapter title using tikz and titlesec

[This question is similar to the one here, but the solutions given there do not work in my context] In a (fairly complex) book I'm using titlesec and tikz to produce fancy chapter headings, basically ...
5
votes
2answers
70 views

Non-English text remove hyphenation

I have huge Russian text and I am trying to build simple solution to have ability off/on hyphenations in the text, in the text numbers and dates as a plane text are possible. I have tried some ...
4
votes
1answer
41 views

Language switch for glossaries acronyms

I use the glossaries package for acronyms of different languages. The problem I face now is that when my main text is e.g. german and I have an english acronym used for the first time within the text ...
5
votes
1answer
70 views

No hyphenation patterns were preloaded

I have a problem with a document I'm writing and I found no suitable response to my problem: Package babel Warning: No hyphenation patterns were preloaded for (babel) the language ...
35
votes
5answers
13k views

How to force LaTeX not to break the line after a hyphen “-”?

With ~ we can enforce that no line break occures between two words. But this does not seem to work with special characters. I want LaTeX to enforce not to break the line after the - in (re-)creation. ...
2
votes
0answers
91 views

Some (not all) hyphenated words contain “return” character [closed]

In a document being built with MikTeX, some auto hyphenation is being done with a "return" character (a left pointing arrow with a riser at the right end) instead of a hyphen. This seems to happen ...
2
votes
1answer
76 views

`\Hy@raisedlink` block hyphenation and perturbate line breaking

the \Hy@raisedlink (used because of what explaned in this answer: http://tex.stackexchange.com/a/17138/7712) seems make trouble with hyphenations. Cf this MWE \documentclass[a4paper]{book} ...
0
votes
0answers
54 views

How to fix hyphenation of words where last character ends on next line

Does anyone know if it possible to stop this sort of thing where the only the last character or two of a word is hyphenated onto the next line? LaTeX for the above follows: ...
5
votes
3answers
336 views

Hyphenation Problem with german

i have a problem with hyphenation and i could not find a solution. \usepackage[utf8]{inputenc} \usepackage[T1]{fontenc} \usepackage[german,ngerman]{babel} \selectlanguage{ngerman} \usepackage{cite} ...
17
votes
3answers
2k views

Nonbreaking dash that allows hyphenation

The babel package provides useful dash variants, e.g. "~ for a non-breaking dash that forbids hyphenation in the parts, and "= for a breaking dash that allows hyphenation in the parts. However, ...
4
votes
1answer
74 views

Last word penalty

Is there a way to specify penalty only to the last word of a paragraph? \righthyphenmin=3 sets, for instance, 3 letters as a minimum at the beginning of a line. On the other hand, ...
0
votes
1answer
55 views

ConTeXt: Avoid text overflow into right-hand margin

Minimum Working Example (MWE) \starttypescript [serif] [storybody] \definefontsynonym [Serif] [name:couriernew] \stoptypescript \definetypeface[story] [rm] [serif] [storybody] [default] ...
2
votes
1answer
208 views

hyphenation for language ngerman doesn't work in TeXnicCenter/MiKTeX

Hello everyone! I have a problem writing my master's thesis and I hope someone can help. I am using TeXnicCenter 2.02 in combination with MiKTeX 2.9.4248. The Header of my document looks like this: ...
10
votes
2answers
131 views

assign penalty to one discretionary (not all paragraph)

For a quite complex problem that would be too long to describe, I need to set different penalties for different discretionaries in the same paragraphe. It doesn't seem to be possible with pdfTeX (and ...
5
votes
1answer
627 views

What causes this \discretionary error?

I would like to compile my old LaTeX thesis to PDF. The text was created in 1999 (emTeX, I believe) when the computers and the tools were a bit different -- read it, I am returning to LaTeX after 14 ...
50
votes
6answers
9k views

Adequate hyphenation of words already containing a hyphen

Unlike in English, in German there are quite a few words that contain a hyphen, e.g., "Arbeiter-Unfallversicherung" (workers' accident insurance). By default, (La)TeX will only break such words after ...
2
votes
1answer
131 views

How to reduce number of hyphenation patterns preloaded in MikTeX?

MikTeX comes with 69 languages preloaded as reported at compilation time: This is XeTeX, Version 3.14159265-2.6-0.99992 (MiKTeX 2.9 64-bit) (preloaded format=xelatex 2015.11.9) 13 NOV 2015 10:35 ...
12
votes
1answer
104 views

Hyphenation across pages: summary of odd pages with last hyphenated word

AFAIK, LaTeX first makes the paragraphs beautiful, and after that it makes the pages beautiful. Thus if by any chance the pagebreak happens inside a hyphenated word, LaTeX can change the pagebreaks ...
1
vote
0answers
46 views

Change \rigthhyphenmin at end of paragraph only

Into paragraph I use: \lefthyphenmin=2 \righthyphenmin=2 and it's correctly for me. But some paragraphs ends with too short right part (two ot three letters) of hypenated word (looks like ...
3
votes
2answers
174 views

Forbid hyphenation of several consecutive words in text

I am trying to avoid hyphenation over odd pages, and I would like to do it manually: forbid hyphenation of some words. When I embrace the hyphenated word in \hbox, some other adjacent word after ...
1
vote
0answers
38 views

Prevent hyphenation

The page has a lot of space but subsection hyphenated. How to prevent this? I need to stretch that title.
37
votes
2answers
30k 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 ...
2
votes
1answer
52 views

Globally enable hyphenation for the first word in a paragraph

how can I globally enable hyphenation for the first word in a paragraph? A manual workaround is to add \hspace{0pt} in front of the corresponding word, so that it is not counted as first word, but it ...
3
votes
1answer
27 views

Correct hyphenation of “http://” in bibliography

I encounter a problem with an online source in my bibliography and can't find a solution. Whereas all other sources and URLs show "perfect" hyphenation, the first line of the entry of one specific ...
5
votes
2answers
49 views

Why doesn't \nolinebreak work in this case?

When I have something like: (Some-)Thing at the end of the line, LaTeX always breaks after the '-', even when I use: (Some-\nolinebreak)Thing I do know about solutions like using \mbox{}, but I ...
3
votes
2answers
45 views

hyphenation of long words in twocolumn template

I would like to have control on how Latex hyphenates long words. In my example it tries to have a right handed alligment of the paragraph but by doing so it creates big spaces. How do I get rid of ...
2
votes
2answers
42 views

Inconsistent line breaks instead of hyphenation

Working off of this question, I see that XeLaTeX is inconsistently applying hyphenation to my text. As you can see in the MWE, in the paragraph before the \entry, hyphenation is not applied, yet in ...
4
votes
1answer
121 views

Hyphenation with Polyglossia

I'm working with a document in English and Hebrew (using polyglossia), and am trying to add hyphenation in Hebrew wherever a hyphen might be. Based on other questions/answers on this site, I have ...
5
votes
1answer
81 views

Hyphenation anywhere

Is there a (simple) way to allow hypheation a-n-y-w-h-e-r-e in any word?
31
votes
1answer
1k 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 ...
5
votes
0answers
79 views

Adding default hyphenation for transliterated Sanskrit

I would like to be able to select, via polyglossia, Sanskrit in Roman script, and thus get some reasonable default hyphenation rules, as there are, in order of priority: ai, au, kh, gh, ch, jh, ṭh, ...