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

learn more… | top users | synonyms

2
votes
0answers
37 views

Problem with dash using XeLaTeX

I am writting with LaTeX my bachelor thesis. I am using XeLaTeX because you can easily highlight text with the xesearch package. My problem is that words with a dash like HTML-Request are not broken ...
1
vote
0answers
45 views

Prevent too many hyphens in a row [duplicate]

I would like to set things up that there are never more then three hyphenated lines in a row. Is there a command or parameter for this?
7
votes
0answers
42 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 ...
3
votes
1answer
61 views

Is there a more systematic way to fix hyphenation?

I found out that the Czech word „množina“ meaning “a set” is hyphenated „množi-na“ by TeX rather than „mno-ži-na“. What is worse the word „podmnožina“ meaning “a subset” is hyphenated „podm-noži-na“ ...
8
votes
0answers
85 views

Stop Hyphenating Across Page Breaks

How to prevent hyphenation across page breaks? Here is my minexample: \starttext \dorecurse{200}{Aprikosengeschmacksrichtung } \stoptext What I mean is a feature, which many other typographic ...
2
votes
1answer
23 views

Prevent LaTex from word wrapping subsequent lines

I am writing (partially) in german. German words tend to be quite long and my page is rather slim (I'm using the classicthesis template). So words get wrapped quite often which results in a lot of ...
9
votes
1answer
144 views

How to remove diaeresis after hyphen

To quote Wikipedia: In Dutch, spellings such as coëfficiënt are necessary because the digraphs oe and ie normally represent the simple vowels [u] and [i], respectively. However, hyphenation is now ...
3
votes
2answers
60 views

How to obtain a justyfied paragraph with correct word-spacing in tabular environment?

I'm trying to obtain a tabular with three columns of text vertically aligned on top (using array package and p{'width'}), but I can't figure how to obtain a regular spacing between words, like a ...
1
vote
0answers
41 views

Line breaking in math mode

Under default settings a line can be broken in math mode after binary operator with \binoppenalty or after relation with \relpenalty. I'd like to preserve this behavior but alter the result so the ...
32
votes
7answers
7k views

Allow line break, but without inserting a dash

I have a sentence that contains a number of long dataset names. I would like to allow LaTeX to break these names at certain positions that I would like to specify somehow just like I can use \- to ...
2
votes
2answers
39 views

Hyphenation in list of figures

I am trying to remove hyphenated words from my list of figures and tables and I've no real idea how to do it. I just don't like the look of the same words broken at different points. For example ...
1
vote
0answers
26 views

ConTeXt: Disable Hyphenation, Enable Indentation, and Enable Sorting for Bibliography Entries (Items in List of Publications)

Enable Indentation I've tried: \setuplist [pubs][ before={\indentation}, ] and also: \setuppublications[ indentnext={yes}, indenting={yes}, ] Unfortunately, no effect. I would like both ...
5
votes
1answer
85 views

Is there any way to disable automatic ('discretionary break') hyphenation, while allowing/forcing TeX to break some chosen words?

I have a large document with narrower paragraph width than regular (approx 5 average words long), and I want to disable hyphenation short of having the opportunity to allow hyphenation of chosen words ...
0
votes
0answers
44 views

Package polyglossia Warning: No hyphenation patterns were loaded for `English'

I'm running Arch Linux and installed texlive 2013 via tlmgr. My file is this: \documentclass{paper} \usepackage{lipsum} \usepackage{xltxtra} \usepackage{polyglossia} \setmainlanguage{english} ...
4
votes
2answers
70 views

\hyphenation{…} list is not used

I am using xelatex, couldnt find out why I am not getting hyphens from the list I created. Is this because of my font (Brill), cause I used Times New Roman which renders with my hyphens. Who is to be ...
6
votes
1answer
109 views

Why doesn't LaTeX hyphenate words containing accents, e.g. “développement”? [duplicate]

In this MWE, Latex doesn't hyphen the word "développement" and prefer to create a HUGE hbox. \documentclass[a4paper,12pt,dvipsnames]{report} \usepackage[utf8]{inputenc} \usepackage[french]{babel} ...
5
votes
1answer
91 views

How can I prevent TeX hyphenating one occurrence of a word (locally)?

I'm currently typesetting a test using the exam class and the test consists of some True or False statements. Some statements span a couple of lines, but some could fit in a single line, except for ...
5
votes
2answers
192 views

How to manually set where a word is split?

In my article, words are sometimes split a bit weird. For example: although ev-erywhere isn't wrong, it doesn't read very easily, so I'd like to split it as every-where. How can I do that? I tried ...
1
vote
2answers
70 views

Problem with \hfill and hyphenation

When I use \hfill and in the previous line the last word is hyphenated, the \hfill doesn't work the same way as usual: \documentclass[a4paper, 12pt]{book} \begin{document} Spellings attempt to ...
3
votes
1answer
32 views

Text hypenation inside array-typed environment

I'm trying to write a cases or array environment, inside display mode, with some long line of text. The thing is I can't achieve a linebreak. I know for certain that array won't allow this. I also ...
15
votes
2answers
208 views

Why does \usepackage[british]{babel} change the hyphenation to wrong?

Now I know there are hyphenation differences between British and American English but in no dictionary, British or American, could I find the word "alternate" to be broken down to al·tern·ate instead ...
4
votes
1answer
41 views

General question about controlling hyphenation and document layout

In general, I am letting LaTex do its own thing regarding document layout. I have set the margins and line-spacing according to my University's criteria, but otherwise the only thing I have messed ...
6
votes
1answer
76 views

How to set a global setting for hyphenation of already hyphenated words using XeLaTeX?

Please consider the MWE below, I want to globally invoke hyphenation of already hyphenated words using Babel package, Hyphenat package in English, to get the same effect when using ...
4
votes
1answer
160 views

Is there any automatic way to detect hanging text on the right in LaTeX?

I wonder if there is any automatic approach to detect hanging text all throughout the 200-page thesis, mostly due to hyphenation issues. Consider the output below, there is like a subtle hanging text ...
2
votes
1answer
80 views

Strange hyphenation behaviour with babel's italian option

As an odd recurrence with many previous documents (and by subsequent trials and errors), I noticed that with this default, reduced MWE: \documentclass[a4paper]{article} % \usepackage[OT1]{fontenc} ...
26
votes
1answer
489 views

Why does TeX prefer an overfull box to hyphenating here?

Here is a short file which produces an overfull hbox: \documentclass[12pt]{report} \usepackage[left=1.5in,right=1in,paperwidth=8.5in,paperheight=11in]{geometry} \begin{document} \trivlist ...
53
votes
4answers
38k views

How to prevent LaTeX from hyphenating the entire document?

I can't find where I can remove any kind of hyphenation and just have LaTeX just do a line break. edit: Honestly speaking I just don't like to read hyphenation anywhere and that's the only reason why ...
1
vote
1answer
44 views

Babel Multilingual Hyphenation Order of Precedence?

When I use multiple languages with Babel (e.g., with \usepackage[german,french,latin,english]{babel}), I realize that english is the default language because it is the last listed, but what does Babel ...
1
vote
0answers
60 views

How to suppress hyphenation in figure and table captions?

To suppress hyphenation in section names I use \hyphenpenalty=10000 in \titleformat command. Is there any similar way to suppress hyphenation in figure and table (and longtable) captions?
6
votes
2answers
58 views

How to disable hyphenation in lualatex?

I am using the mechanism outlined in this answer to generate a text-only version of a fairly complex document for spell-checking. This is my first attempt to use lualatex, so this might be littered ...
2
votes
3answers
4k views

babel: “No hyphenation patterns were loaded for the language 'Portuguese'”

I put in the preamble of my document: \usepackage[brazil]{babel} \usepackage[latin1]{inputenc} When I compile as a PDF, I receive the output: "No hyphenation patterns were loaded for(babel) the ...
20
votes
4answers
541 views

It doesn't hyphenate words ending with “—”

UPDATE Well. After a while, I decided to see again about this “problem”, and just discovered that in pdfLaTeX, using \usepackage[utf8]{inputenc} and the — (the unicode —, not the ligature ---) it ...
2
votes
1answer
67 views

How to get rid of the hyphenchar in XeLaTeX

I have the following TeX file which runs on XeLaTeX: \documentclass{article} \usepackage{fontspec} \usepackage{polyglossia,xltxtra} \setdefaultlanguage{malayalam} ...
5
votes
2answers
79 views

Problem with spaces in listings package and hyphenation

I use the listings package and there is a space that is inserted when the line breaks and the code goes to that new line. Why is this space inserted in the new line? How can I remove it? ...
4
votes
0answers
46 views

Which languages defined in babel repeat hyphen at start of line after hyphenation?

Babel (v3.9k) states that: \babelhyphen{repeat} inserts a hard hyphen which is repeated at the beginning of the next line, as done in languages like Polish, Portuguese and Spanish. I checked ...
1
vote
0answers
39 views

german hyphenation

I am using inputenc to have umlauts etc. it works fine, if I am not change hyphenation , but I want to have german hyphenation too. \documentclass[12pt,twoside]{report} \usepackage[a4paper]{geometry} ...
7
votes
1answer
88 views

Hyphenation in listings captions doesn't work correctly

I have the problem that automatic hyphenation in listings caption doesn't work if automatic linebreaking is activated. It works if I set breaklines=false or captionpos=t, which is weird. Is there a ...
4
votes
3answers
489 views

Text without hyphenation with Tikz

How do I get the text does not break the line? I have \begin{tikzpicture} \node[align=left,text width=3cm] {Contemplando a contemporaneidade}; \end{tikzpicture} but i need
0
votes
1answer
54 views

Hyphenation, long words, linebreaks and extdash

Currently I am using LaTeX to write a document in German (= containing many long words). Sometimes, I wish to place a hyphen at the end of the word. For example: Averylongword-, Anotherverylongword- ...
6
votes
2answers
82 views

BibLateX/Biber is incorrectly sorting entries with hyphens in their respective author's last name

UPDATE 2 I now finally understand that this behaviour is indeed a feature that is to be modified according to need. Thank you very much to @moewe for educating me on this. I have now set his/her ...
1
vote
1answer
60 views

Cannot use xgreek in XeLatex with Fedora

I am trying to enable greek hyphenation in a XeLatex document. But when I do I get: |Package `xgreek' version 2.4 by Apostolos Syropoulos |! Undefined control sequence. |\ds@monogreek ->\language ...
2
votes
1answer
76 views

Automatically Detect Foreign Language for Hyphenation?

Is there a LaTeX package that automatically detects which foreign language a particular part of a multi-language TeX document is so that it can hyphenate it appropriately, or do I have to manually ...
4
votes
4answers
287 views

Prevent LaTeX from Preventing Hyphenation

So I know that a common technique in typography to avoid hyphens at a line break is to adjust the spacing of words and letters slightly. I was not aware of LaTeX doing this until today, but now it is ...
2
votes
2answers
47 views

An equivalent of psfrag and polyglossia together?

I need to use psfrag, and Georgian language, for which the only available possibility to get correct hyphenation that I could find was polyglossia. However, seemingly psfrag does not work with xelatex ...
3
votes
1answer
67 views

LaTeX Macro for “code” style, underscore package and hyphenation

I'm looking for a way to nicely set code inside my document. I used \def\code#1{{\texttt{#1}}}, but it still allows the text to be hyphenated. To prevent that, I tried the advise from Prevent ...
0
votes
0answers
59 views

customize hyphenation

I finish writing my article in english, but I think there are many hyphenations, this makes the document a bit ugly. my question: how prevent hyphenation throughout the document, and propose to latex, ...
11
votes
1answer
70 views

Is there a way to apply different penalties to hyphenation points in a word?

Background: The quality of hyphenation points within a word can vary by a large amount. Especially in languages that allow rather arbitrary combinations of words, such as German. As an example, ...
3
votes
2answers
61 views

Can/does hyphenation ignore accents?

LuaLaTeX MWE: \documentclass[11pt]{article} \usepackage{polyglossia} \setotherlanguage{russian} \usepackage{tabu} \usepackage[textwidth=6.5in,textheight=9in,nohead,headheight=39pt,headsep=12pt, ...
7
votes
1answer
173 views

Raise/lower a single character of a font (hyphen)

The font I'm using (Merriweather Sans) places the hyphen a little too high: Is there any way I can fix this for the entire document, in a way that doesn't affect the other fonts? Test document: ...
4
votes
1answer
208 views

Xelatex polyglossia hyphenation

Is there a way to make the polyglossia package solve the hyphenation problem that presents itself in the log as "Overfull \hbox" automatically? (Note: I find that having shorter lines—even for the ...