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

learn more… | top users | synonyms

1
vote
0answers
30 views

Ragged2e preventing proper hyphenation of long chemical names

In my thesis I use chemical names containing dashes and numbers in section titles. Additionally, each compound is numbered by using the \cmpd{} command from chemnum-package. To prevent the label from ...
3
votes
2answers
152 views

Force hyphenation for a word beginning with a digit

What is the best way to make LaTeX hyphenate the word 9-dimensional. Currently I have a case where it produces an overfull line without hyphenation. Adding \hyphenation{9-di-men-sional} doesn't work ...
7
votes
2answers
82 views

Latin text not hyphenated at all with LuaLaTeX and polyglossia

I recently noticed that there are numerous under- and overfull hboxes in the document I'm working on. Further inspection revealed that such problems almost always arose when there was Latin text ...
5
votes
2answers
141 views

Put hyphen on the margin, not in the text

Normally Latex puts hyphens inside the text: ------------------------------------ Lorem ipsum dolor sit amet, consec- tetuer adipiscing elit. Aenean com- modo ligula eget dolor. Aenean mas- sa. ...
3
votes
1answer
35 views

Unexpected vertical gap in a table cell

while I'm trying to make a table, I found an unexpected gap in the leftmost cell in a table. Here is my code. \documentclass{article} \usepackage[a4paper,margin=1in]{geometry} \usepackage{tabularx} ...
5
votes
2answers
92 views

Hyphenation tables not working

Consider scratch.tex: \language0 \hyphenation{ab-cdef} \newlanguage\newlang \newlang \hyphenation{abc-def} \language0 \showhyphens{abcdef} \newlang \showhyphens{abcdef} Why in both cases ...
3
votes
0answers
37 views

How do I get the list of all broken-over-two-lines words in my document?

The question is quite simple. When I compile my latex document, the pdf will contain words that are broken over two lines (hyphenated). Is there a way to know all the words that my compiler breaks ...
0
votes
0answers
35 views

hyphenation not working with “programmed” text

I am writing a thesis using my university's documentclass. For this class, I can define a text as acknowledgement in the preamble which is automatically placed within the standard format. These are ...
1
vote
0answers
31 views

Where can I find lists of non-US-English hyphenation exceptions? [closed]

As I learned from Where can I find a list of English hyphenation exceptions?, using the fine collection ushyphex.tex takes care of some of the known wrong hyphenation for US-English. It also includes ...
5
votes
1answer
29 views

enable hyphenation in a single paragraph

Many people want to disable hyphenation in a small block of text. I have the opposite problem: I have disabled hyphenation throughout my document, and I want to enable it for just one paragraph. Is ...
6
votes
0answers
52 views

Correcting wrong choice of character variant from a stylistic set

I'm typesetting a document in German blackletter with XeLaTeX and ran across a peculiar — for want of a better word — error: The hyphenation in itself is okay at that position. However, German ...
4
votes
1answer
75 views

hyphenation with languages in transliteration // forced hyphenation?

I am typesetting (lualatex) a document in a couple of languages. The main language is English. If I use other languages I usually use commands such as \foreigntextquote{french}{text} and ...
2
votes
3answers
65 views

How to disable hyphens in Lyx BibTex?

Can you prevent all divided-word hyphens only in a Lyx document's bibliography? (example divided-word: "Microwave" becomes Mi- on one line, crowave on another)
0
votes
0answers
58 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 ...
3
votes
0answers
55 views

hairspace + hyphen as hyphen char with Fontspec

I would like to use for hyphen character the combination: hairspace + hyphen, in order to clearly but discreetly distinguish hyphenation from division. The traditionnal way (using another character, ...
3
votes
1answer
118 views

Long word wont go to next line

I'm using polyglossia package in my document and have some parts where I don't want to have hyphynation so I'm using \disablehyphenation command as documented. Now when I'm having very long words in a ...
0
votes
0answers
36 views

Auto hyphen in a Report

I am working on a LaTex "report" using WinEdt 9. The complied document contains "hyphen" which are generated by default. Is this possible to prevent from it. I tried \usepackage[none]{hyphenat} which ...
2
votes
2answers
74 views

How to add a global structure specified hyphenation rule?

I have written a document with 200 references. (every round bracket (...) in my document is a collocation (here a combination of three words) which shouldn't get split. What I want is to have the ...
0
votes
0answers
61 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: ...
4
votes
2answers
67 views

How to configure (tweak) babel's hyphenation?

I found out that I can tweak hyphenation settings by writing: \righthyphenmin=6 \lefthyphenmin=6 \usepackage{hyphenat} I like this, because it hyphenates only really long words, leaving all others ...
2
votes
0answers
44 views

Problem with \href for hyphenated web addresses within latex minipage environment

I am trying to use \href to link to a web address that contains hyphens (e.g. http://hyphenated-webpage.com) within a minipage environment, e.g. \usepackage{hyperref} ...
4
votes
1answer
196 views

When hyphenation of a word includes an additional letter [duplicate]

In some languages a word on the form abcxxdef (note that there is only two occurrences of the letter x) is the compound of the two words abcxx and xdef. Sometimes the hyphenation rule is to break the ...
5
votes
1answer
83 views

How can I re-enable hyphenation rules after breaking characters in polyglossia?

When using polyglossia to hyphenate my Turkish documents, I frequently have issues with very long words on short lines. I need it to be more aggressive about hyphenation wherever it can be. One ...
0
votes
0answers
37 views

How can I trace a problem with hyphenation inside special environments?

For quite some time now I've been having trouble with the hyphenation of Turkish text in mdframed environments. I have been unable to come up with a sane MWE that exhibits the problem. It only seems ...
10
votes
1answer
98 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 ...
3
votes
1answer
132 views

two-coloured hyphenation

I want to teach a child reading German. For that purpose I want to produce texts in which the different syllables are marked in two different colours, a common technique to facilitate reading for slow ...
1
vote
1answer
41 views

First word hyphenation in parbox with strut

I've a problem with parbox spacing in combination with hyphenation. What I like to achieve is setting parboxes in a tabular-like way as key value pairs. So I have two parboxes with a given width per ...
4
votes
1answer
43 views

Problem expanding acronyms containing \hyp{} in captions

Since I performed an update of MiKTeX yesterday, acronyms containing \hyp{} do not work correctly in captions anymore. I get the following error message: ! Argument of \__tl_change_case_cs_four:w has ...
0
votes
0answers
128 views

Windows API error 1392 using hyperref

When I compile the following very M(N)WE with pdflatex I get the error message pdflatex: Windows API error 1392: The file or directory is corrupted and unreadable. pdflatex: Data: C:\Program Files ...
3
votes
1answer
129 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} ...
7
votes
2answers
140 views

Polyglossia ignores my custom hyphenation

Polyglossia systematically ignores my custom \hyphenation, and generates overfull hboxes all over the place as a consequence. Here’s an example: \documentclass{article} \usepackage{polyglossia} ...
5
votes
2answers
123 views

Problem in listings, hyphenation not correct

MWE: \documentclass[a4paper,11pt,twocolumn,openany]{book} \usepackage[left=1.5cm,right=1.5cm,top=2.5cm,bottom=2.5cm]{geometry} \usepackage{color} \usepackage{listings} ...
3
votes
1answer
56 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 ...
3
votes
1answer
87 views

Hyphenation/text wrapping in \parbox

I have a \parbox with some text. The text should be wrapped as normal, but it doesn't seam to work, while the words wrap in normal text: \documentclass[a4paper,parskip]{scrartcl} ...
0
votes
0answers
39 views

brokenpenalty for two sided documents

A hyphenated word where one part is on the left and the other part on the right page of a doubled sided document isn't so bad and sometimes necessary to prevent ugly page breaks. However, I would ...
5
votes
1answer
118 views

Wrong hyphenation with \usepackage[croatian]{babel}

The words 'izoliran' and 'kostur' in the MWE \documentclass{article} \usepackage[croatian]{babel} \begin{document} mmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmm izoliran ...
10
votes
1answer
197 views

Reliability of LaTeX hyphenation

I'm not native English. I have to write an academic paper with LaTeX, in US English, without mistakes. My problem is with hyphenation. I do not know whether it is done correctly. I use: MikTeX. ...
2
votes
1answer
69 views

How to deal with many overfull \hboxes in large document?

I am in the process of proofreading a major XeTeX document of more than 600 pages. It is hardly surprising that there are quite a few cases of overfull \hboxes; I usually get about 150 of them. I am ...
0
votes
0answers
91 views

URL hyphenation

I need to hyphenate an URL —I'm the using \url{ } command)—. I've found that one solution is to add the hyphen option to the url package. I've added it but the compilation doesn't work. I get the ...
12
votes
1answer
101 views

Bigfoot changes hyphenchar for compound words

Bigfoot changes the “hyphen” char for compound words: \documentclass{article} \usepackage{bigfoot} \listfiles \DeclareNewFootnote[para]{foo} \begin{document} \footnotefoo{\rule{9.4cm}{1mm} xx ...
4
votes
1answer
167 views

Line break of long author name

I have implemented the Harvard citation style using Biblatex and Biber as described here. This seems to work fine. However, I have now a problem with the line break of long author names, as shown in ...
2
votes
1answer
92 views

biblatex autolang=other breaks authortitle layout

Here's a MWE for autolang=other breaking something with the citation and bibliography layout: you will notice that the author but the first one name aren't capitalized. To me, it would be alright if ...
2
votes
1answer
44 views

hyphsubst conflicts with inputenc

If I load inputenc in combination with hyphsubst the hyphenation works partially. It works for many words, but it does not work for 'Starrkörpertransformationsparameter' if inputenc is loaded ...
1
vote
1answer
56 views

Polyglossia's nohyphenation breaks justified alignment in endnotes

I am using XeLaTeX to typeset a multilingual book with the help of polyglossia. I have footnotes as well as endnotes in multiple languages, and I need to turn-off hyphenation for the entire book. I ...
0
votes
0answers
40 views

Problem with hyphenation

If I use "=, "-, etc. nothing happens. In the PDF it just looks like Test"=Case instead of Test-Case. I've got \usepackage[english,ngerman]{babel} in my packages. Does anyone have an idea?
2
votes
1answer
125 views

Hyphenation, apostrophes and a bi-language document

It would appear pdflatex (with [frenchb,english]{babel}) does not do hyphenation of words with an apostrophe. For example, I wrote "l'arithmétique" which was not hyphened, and the commands ...
0
votes
2answers
72 views

Hyphen that appears only if near end of line

I have a section with the title in the picture. If I don't put the hyphen manually, the word ultimo does not get hyphenated and stays on the first line, producing an Overfull \hbox. But as you can ...
6
votes
1answer
113 views

Does polyglossia with LuaLaTeX hyphenate greek text?

Is there a way to tell polyglossia to hyphenate a Greek text when run with LuaLaTeX? I tried quite a lot (greek as defaultlanguage, as backgroundlanguage, as otherlanguage, with german, with english, ...
7
votes
3answers
172 views

How can I display the possible hyphenation points for words in a language other than US English?

This is a follow-up to tohecz's question, which I'm asking at the suggestion of Mico. The original question asks how to discover the hyphenation points for particular words, and the answers explain ...
1
vote
1answer
96 views

How to get double dash or double hyphen in bibitem?

I am using article class. I have a bibliography by using \bibitem. I want to give page numbers of the form "81--90" where the double hyphens should be made into a (long) dash. When I try this, LaTeX ...