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

learn more… | top users | synonyms

1
vote
1answer
16 views

Hyphenation in nomenclature [duplicate]

I'm using the nomecl package for explaining symbols. However, manual hyphenation rules like Kontrast/Rausch"=Verhältnis for long german words in the description are not working. See the following ...
3
votes
3answers
191 views

Hyphenation of words containing slash

How can I tell LaTeX to automatically split up the german word Kontrast/Rausch-Verhältnis into Kontrast/Rausch-|Ver|hält|nis LaTeX complains that "/" is not a letter.
6
votes
1answer
65 views

soulutf8 strips characters from compound words

I use soulutf8 for underlining in my LaTeX document. However, it seems to be stripping characters from the end of compound words, e.g.: \ul{$n$-rozměrný} results in n-rozměrn However, if I ...
2
votes
1answer
68 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
45 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
0answers
89 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
62 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
25 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
61 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 ...
2
votes
2answers
40 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
29 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
45 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
72 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
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 ...
6
votes
1answer
113 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
193 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
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 ...
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
77 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
162 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
82 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} ...
1
vote
0answers
61 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
59 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
81 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
40 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
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 ...
7
votes
1answer
93 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
83 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
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 ...
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 ...
2
votes
1answer
78 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
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- ...
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 ...
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
71 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, ...
26
votes
1answer
493 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
221 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
27 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
50 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
105 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, ...
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 ...
3
votes
1answer
209 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
118 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
66 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
61 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} ...