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

learn more… | top users | synonyms

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
111 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 ...
8
votes
1answer
149 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 ...
3
votes
1answer
82 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“ ...
2
votes
1answer
57 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 ...
3
votes
2answers
94 views

How to obtain a justified 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 ...
3
votes
1answer
99 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 ...
2
votes
2answers
67 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
38 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 ...
0
votes
0answers
143 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
82 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 ...
5
votes
1answer
116 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 ...
6
votes
1answer
209 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
116 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 ...
6
votes
2answers
258 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 ...
3
votes
1answer
47 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 ...
4
votes
1answer
59 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
90 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
174 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
119 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} ...
3
votes
1answer
109 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
68 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 ...
5
votes
2answers
106 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? ...
1
vote
0answers
57 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} ...
4
votes
0answers
57 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 ...
7
votes
1answer
142 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 ...
6
votes
2answers
162 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
63 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 ...
16
votes
2answers
452 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 ...
2
votes
1answer
138 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 ...
0
votes
1answer
104 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- ...
4
votes
4answers
333 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 ...
3
votes
1answer
94 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
74 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
82 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
87 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, ...
26
votes
1answer
600 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 ...
4
votes
1answer
519 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 ...
0
votes
1answer
32 views

Allowing hyphenation in menu sequences [duplicate]

I've adapted Peter Grill's \Menu command in Create a command for 'menu sequences' to type menu sequences in some documents. It looks like hyphenation is not allowed inside these menu sequences ...
2
votes
2answers
68 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 ...
4
votes
1answer
228 views

URL citation: Control breaks and add 'Accessed' as prefix text

Please consider the following BibTex reference output (source can be found below): I am using \bibliographystyle{plain} as the output fits the requirements of a paper I'm writing. I tried natbib, ...
2
votes
1answer
90 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 ...
3
votes
1answer
310 views

Hyphenation with Acronyms

I have difficulties getting hyphenation right in long acronyms with user-defined hyphenation rules when trying to prevent line breaks between the long and the short form. \documentclass{article} ...
9
votes
2answers
202 views

Hyphenation of words containing apostrophes

My question is plain and simple. Any way to hyphen words such as “Lor'themar”, “Kel'Thuzad”, etc.? Using \hyphenation{Kel'-Thu-zad} gives me this error, for instance when compiling. Error in ...
2
votes
1answer
87 views

Problem with Swedish hyphenation using apa6 with \usepackage[swedish]{babel} [duplicate]

I can't seem to get Swedish hyphenation to work within the document when using the apa6 document class, though I am using the Swedish babel package. The problem is not citation related, but concerns ...
4
votes
1answer
92 views

Listings and Babel (with some languages) are breaking hyphenation

In the following document \documentclass{article} %\usepackage[german]{babel} % also try english, ngerman and dutch \usepackage{listings} \begin{document} \thispagestyle{empty} \begin{minipage}{1em} ...
0
votes
0answers
95 views

Em dash out of right margin

I am almost sure this question was already asked somewhere (I couldn't find it). Still why my em dash and the word proceeding it are typeset out of margins? the source is proliferation---nextword ...
4
votes
1answer
80 views

Global setting of hyphenation for words containing dashes

I'm using the word "Zwei-Drittel-Abstimmungsmehrheit" a bunch of times in my document. Often it won't fit into the current line, extending into the right margin. I figured out that the following ...
3
votes
1answer
63 views

LaTeX hyphens pattern file for medical terminology

This might be slightly off topic since my main goal is to hyphenate strings in Java, but please bare with me. So far I've only looked at TeXHyphenator-J and Hyphenation libraries and both of them use ...
4
votes
1answer
213 views

Acro Package - Customise the \printacronyms style with hyphen or other

I am trying to write a List of Acronyms and I am trying to work out how to edit the output format of the \printacronyms lists. The way I would like them to look is as below, it is not essential that ...