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

learn more… | top users | synonyms

1
vote
1answer
19 views

Hyphenation in two languages in XeLaTeX + polyglossia

I am fairly new to LaTeX so please excuse any obvious parts of the question. I am looking for a way to setup hyphenation in 2 languages (Greek and English) at the same time. My setup is MacTeX ...
8
votes
1answer
37 views

Context sensitive glyph appears even when hyphenation removes the context

The Alegreya font has a pretty clever feature by which it substitutes the regular f glyph with a variant that has a longer cross stroke when the f is followed by t. The result is that the two cross ...
0
votes
0answers
24 views

empty space between words in a paragraph

I use the command below in the Thesis.tex file to prevent hyphenation at the end of every sentences in a paragraph/text. \tolerance=1 \emergencystretch=\maxdimen \hyphenpenalty=10000 \hbadness=10000 ...
11
votes
1answer
160 views

How are hyphenation patterns written?

In my miktex folder I checked the hyph-en-us.tex file and found letter patterns written like this: \patterns{ .ach4 .ad4der .af1t ... } What do these dots and numbers mean?
3
votes
1answer
17 views

apacite with [natbibapa] fails to line-break authors' names in citation callouts when author name has umlaut

\citep causes problem at the margin when the last name has an umlaut (\"{}). This post is related to my last post here: apacite produces inline citations out of text area when using custom margins ...
4
votes
2answers
45 views

Adding line break without hyphen

I'm writing a lab report about gene sequencing, and I have to put a large sequence of nucleotides. I don't really intend to put it on a special box, just add it as if it were another paragraph only ...
6
votes
1answer
112 views

How to remove orphan character from bibliography

Compile with pdflatex 1.14.16 (Miktex) the following source: \documentclass[11pt,a4paper,english]{memoir} \usepackage[english]{babel} \usepackage{biolinum} \usepackage{XCharter} ...
2
votes
1answer
32 views

Have a macro evaluate to different stuff depending on whether it will be hyphenated

Given a command like this \newcommand{\AB}{$\textsf{A} \subseteq \textsf{B/string}$} is it possible to have the string evaluate to something like \newcommand{\ABhyp}{\textsf{A} is contained in ...
4
votes
1answer
33 views

Change language on a per field basis

I am creating a bilingual (main: greek, secondary: english) document with xelatex and polyglossia and I'm using biblatex with biber for the bibliography management. As biblatex is currently setup the ...
4
votes
1answer
40 views

Prevent Hyphenation across lines + Enforce right margin

My first question here, so it may sound rambling. So far I've found the answers about preventing hyphenation across lines and for setting margins, but I'm having trouble putting it together. This is ...
2
votes
0answers
23 views

Install a hyphenation file for xetex

This is a beginner question: I need to use this hyphenation pattern: https://www.ctan.org/pkg/xetex-greek with xetex, how can I do to install it? Thank you.
3
votes
1answer
16 views

Hypenation for slovakian language

I have problem i need hypenation for slovakian language, as in \documentclass{article} \usepackage[utf8]{inputenc} \begin{document} Do divadelnej štruktúry vstupujú viaceré druhy umenia ako jej ...
4
votes
1answer
40 views

Hyphenation problem with \-

I have just encountered a strange behavior with a long german word: \documentclass[ngerman]{article} \usepackage{babel} \begin{document} Lorem ipsum Lorem ipsum Lorem ipsum Lorem ipsumm ...
7
votes
1answer
83 views

I redefined \- but it does not work in captions

I defined \+ and \- macros for conveniently entering notation. Surprisingly, I noticed that in table and figure captions \- does not work while \+ works. (The same problem appears also in the content ...
5
votes
1answer
71 views

How to prevent particular hyphenations of a word *without* specifying allowed hyphenations

The \hyphenation command can be used to list the allowed hyphenated forms of words. For example, \hyphenation{incor-rect-ly} means that these hyphenations of the word incorrectly are allowed. Is ...
5
votes
2answers
85 views

Why does fontspec interfere with Ligatures? (In retrospect: How the dutch hyphenate)

The tufte sample text (provided by ConTeXt) contains a || sequence which normally gets turned into an emdash. For some reason the inclusion of fontspec disables this. I've tried to use various options ...
6
votes
1answer
44 views

Allow line breaks in date ranges?

Code: \documentclass[10pt,paper=14.8cm:21cm,BCOR=10mm,DIV=12,parskip=half] {scrbook} \usepackage[T1]{fontenc} \usepackage[german]{babel} \usepackage[utf8]{inputenc} \begin{document} Markus hat den ...
4
votes
1answer
154 views

How to get proper German hyphenation?

Code: \documentclass[paper=3.5cm:5cm]{scrbook} \usepackage{german} \usepackage[german]{babel} \usepackage[utf8]{inputenc} \begin{document} Andere übertragen das am besten den Geschwistern. ...
0
votes
0answers
14 views

hyphenation with remapped characters

I have got a large number of useful responses on how to remap a Unicode character in XeLaTeX or LuaLaTeX. Many thanks for all those answers. But how can I make the (Xe|Lua)LaTeX or babel hyphenation ...
2
votes
0answers
22 views

Problem with \usepackage[none]{hyphenat}

I wanted to prevent hypernation in my document so I used "\usepackage[none]{hyphenat}". The problem I am having is that my document margins are being compromised with it. I am using: ...
5
votes
3answers
67 views

Nested lists without hyphenation using sloppypar

I use XeTeX, Version 3.1415926-2.4-0.9998 (TeX Live 2012/W32TeX). I want to create a nested list without hyphenation. I am using the sloppypar environment with hyphenation command to turn off ...
2
votes
0answers
46 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
161 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 ...
8
votes
2answers
111 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
147 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
36 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
98 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
38 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 ...
1
vote
0answers
34 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
33 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 ...
7
votes
0answers
57 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
80 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
78 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
77 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 ...
4
votes
0answers
60 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
126 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
39 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
76 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
79 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
83 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
54 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
201 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
95 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
41 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
100 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
135 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
48 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
55 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
149 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
169 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} ...