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

learn more… | top users | synonyms

3
votes
2answers
25 views

Formatting of captions with memoir [on hold]

This is my first question here. I have been reading very useful answers for years. Now, I did not find one that solves my problem. I am typestting a book with the memoir class, and I am finding the ...
7
votes
2answers
112 views

Minimize hyphenations with ragged2e

Nearly every guide to LaTeX recommends \RaggedRight from the ragged2e package over the built-in \raggedright. But I've always been frustrated by too many hyphenated words with \RaggedRight. I ...
6
votes
1answer
85 views

Balance ragged and hyphenation

From Beautiful Evidence: Each paragraph is left-justified but neither excessively hyphenated nor ragged on the right side. The tufte-book class seems to be too ragged. How can I configure the ...
6
votes
1answer
39 views

spacing when hyphen two words

When I tried to type mathematical terminologies, like Hasse-Weil theorem, there is a minor thing which hurts my eyes. The issue is the spacing between and after the hyphen, which you can see in the ...
2
votes
2answers
29 views

How to activate hyphenation in \ttfamily without setting a font explicite?

I am suprised that in the code below no hyphenation is done. And I can not find something about that on the web. Maybe I use the wrong words for searching. \documentclass{scrartcl} ...
4
votes
1answer
40 views

Allowing hyphenation line breaks only when hyphens are placed intentionally

I am trying to typeset a document using XeTeX that uses Tâi-lô (Taiwanese romanization), which separates syllables in a word with hyphens, meaning hyphens are very common. I am also using the paracol ...
0
votes
1answer
20 views

How to center text not including hyphen?

The title of the book placed on the spine needs to be centered. The title includes hyphen - according to Czech standards, the hyphen should be placed also in front of the second word (f.e. in ...
3
votes
1answer
26 views

Additionally hyphenation rules like in InDesign

Is there a package or some penalty setting to control the hyphenation points of a word? In InDesign for example you could define that a word should only be broken after x letters (see link under Set ...
2
votes
2answers
40 views

How to set hyphenation parameters automatically in LuaTeX?

In the following example we need to hyphenate "aa-aa", but not "bbbb". How to set righthyphenmin=2 automatically if all letters of a word are "a", and keep it default for all other cases? ...
0
votes
1answer
30 views

LaTeX not hyphenating with current preamble

I have the following code generated, with my preamble here, and here's just some of the text in it. Below the code I'll show a screenshot of how it looks once compiled. %Setup og layout pakker ...
0
votes
1answer
29 views

Discretionary hyphens for words in dot-notation

we're working on a technical document with some special requirement identifier, which use a dot-notation. For example: FRQ.SW.MOD.GUI.1 FRQ.DATA.LOG.OUT.PRINT.1 As you might expect we get a lot of ...
4
votes
1answer
110 views

How do I hyphenate centered text?

I am trying to achieve text, that uses hyphentation despite being centered. Apparently this is something non-standard to latex. Help very much appreciated. Thanks a lot in advance. MWE: ...
0
votes
1answer
36 views

References not respecting margins with biblatex

I am using biblatex with the biber backend for my bibliography. The problem I encountered is that margins are not always respected. It seems to be a fairly common issue, cf. these possibly related ...
3
votes
1answer
19 views

hyphenation and punctuation with “.–” at the end of the line

I have to edit a text (actually a diary) where the line quite often ends with: .– (point and dash) eg. "Last night I took the subway.–" LaTeX does not break the word "subway" if it's at the end of ...
1
vote
1answer
33 views

Does pdfTex produce warnings when it doesn't find the word hyphenation pattern?

In my document I use babel package and load several languages for correct hyphenation. \usepackage[icelandic, latin, czech]{babel} I add manually words that babel package doesn't know. ...
5
votes
2answers
67 views

Non-English text remove hyphenation

I have huge Russian text and I am trying to build simple solution to have ability off/on hyphenations in the text, in the text numbers and dates as a plane text are possible. I have tried some ...
4
votes
1answer
41 views

Language switch for glossaries acronyms

I use the glossaries package for acronyms of different languages. The problem I face now is that when my main text is e.g. german and I have an english acronym used for the first time within the text ...
5
votes
1answer
67 views

No hyphenation patterns were preloaded

I have a problem with a document I'm writing and I found no suitable response to my problem: Package babel Warning: No hyphenation patterns were preloaded for (babel) the language ...
0
votes
0answers
54 views

How to fix hyphenation of words where last character ends on next line

Does anyone know if it possible to stop this sort of thing where the only the last character or two of a word is hyphenated onto the next line? LaTeX for the above follows: ...
2
votes
1answer
76 views

`\Hy@raisedlink` block hyphenation and perturbate line breaking

the \Hy@raisedlink (used because of what explaned in this answer: http://tex.stackexchange.com/a/17138/7712) seems make trouble with hyphenations. Cf this MWE \documentclass[a4paper]{book} ...
0
votes
1answer
53 views

ConTeXt: Avoid text overflow into right-hand margin

Minimum Working Example (MWE) \starttypescript [serif] [storybody] \definefontsynonym [Serif] [name:couriernew] \stoptypescript \definetypeface[story] [rm] [serif] [storybody] [default] ...
2
votes
0answers
91 views

Some (not all) hyphenated words contain “return” character [closed]

In a document being built with MikTeX, some auto hyphenation is being done with a "return" character (a left pointing arrow with a riser at the right end) instead of a hyphen. This seems to happen ...
1
vote
0answers
46 views

Change \rigthhyphenmin at end of paragraph only

Into paragraph I use: \lefthyphenmin=2 \righthyphenmin=2 and it's correctly for me. But some paragraphs ends with too short right part (two ot three letters) of hypenated word (looks like ...
4
votes
1answer
74 views

Last word penalty

Is there a way to specify penalty only to the last word of a paragraph? \righthyphenmin=3 sets, for instance, 3 letters as a minimum at the beginning of a line. On the other hand, ...
2
votes
1answer
131 views

How to reduce number of hyphenation patterns preloaded in MikTeX?

MikTeX comes with 69 languages preloaded as reported at compilation time: This is XeTeX, Version 3.14159265-2.6-0.99992 (MiKTeX 2.9 64-bit) (preloaded format=xelatex 2015.11.9) 13 NOV 2015 10:35 ...
3
votes
2answers
174 views

Forbid hyphenation of several consecutive words in text

I am trying to avoid hyphenation over odd pages, and I would like to do it manually: forbid hyphenation of some words. When I embrace the hyphenated word in \hbox, some other adjacent word after ...
1
vote
0answers
38 views

Prevent hyphenation

The page has a lot of space but subsection hyphenated. How to prevent this? I need to stretch that title.
2
votes
1answer
52 views

Globally enable hyphenation for the first word in a paragraph

how can I globally enable hyphenation for the first word in a paragraph? A manual workaround is to add \hspace{0pt} in front of the corresponding word, so that it is not counted as first word, but it ...
3
votes
1answer
27 views

Correct hyphenation of “http://” in bibliography

I encounter a problem with an online source in my bibliography and can't find a solution. Whereas all other sources and URLs show "perfect" hyphenation, the first line of the entry of one specific ...
5
votes
2answers
49 views

Why doesn't \nolinebreak work in this case?

When I have something like: (Some-)Thing at the end of the line, LaTeX always breaks after the '-', even when I use: (Some-\nolinebreak)Thing I do know about solutions like using \mbox{}, but I ...
3
votes
2answers
45 views

hyphenation of long words in twocolumn template

I would like to have control on how Latex hyphenates long words. In my example it tries to have a right handed alligment of the paragraph but by doing so it creates big spaces. How do I get rid of ...
2
votes
2answers
42 views

Inconsistent line breaks instead of hyphenation

Working off of this question, I see that XeLaTeX is inconsistently applying hyphenation to my text. As you can see in the MWE, in the paragraph before the \entry, hyphenation is not applied, yet in ...
5
votes
1answer
81 views

Hyphenation anywhere

Is there a (simple) way to allow hypheation a-n-y-w-h-e-r-e in any word?
1
vote
0answers
28 views

Enumerate text crosses the boundaries

I have simple enumeration (using enumitem package) with disabled hyphenation. \documentclass[12pt, oneside]{extarticle} \usepackage[a4paper, left=3cm, right=1.5cm, top=2cm, bottom=2cm, ...
3
votes
0answers
54 views

Why zero lccode does not stop hyphenation in LuaTeX?

Compile the following example with tex and luatex: \nopagenumbers \parindent=0pt \parskip=0pt \def\par{\endgraf\hbox to 15em{\hrulefill}} \hsize=1pt \hfuzz=15em 1 'supercalifragilisticexpialidocious ...
6
votes
0answers
50 views

How to change hyphenation codes with the change of \language in LuaTeX?

For a word to be "hyphenatable", all its characters must have \lccode>0. With \savinghyphcodes=1 in e-TeX all characters are associated with hyphenation codes by means of a special table (this is the ...
5
votes
0answers
79 views

Adding default hyphenation for transliterated Sanskrit

I would like to be able to select, via polyglossia, Sanskrit in Roman script, and thus get some reasonable default hyphenation rules, as there are, in order of priority: ai, au, kh, gh, ch, jh, ṭh, ...
1
vote
0answers
67 views

Hyphenation in danish LaTeX

I can't really make a minimal working example who shows the problem, because the problem just are there sometimes. But here is the code used: \documentclass[twocolumn, a4, 12pt]{article} ...
5
votes
0answers
77 views

Discretionary hyphens don't work in paragraphed footnotes, bug?

I am getting the impression that discretionary hyphens don't work at all in paragraphed footnotes, not really depending on which package is used for the footnotes. I've painfully experienced it with ...
2
votes
3answers
81 views

Prevent line break of dash inital words — hyphenation problems

As my question hasn't been answered yet, I decided to rephrase it. I will try to simply the working example and specify my question. I'm writing a dictionary that contains grammatical forms which are ...
3
votes
1answer
61 views

Swedish text not hyphenated

I'm using a template for cover letters together with the line \usepackage[swedish]{babel} in my preamble. But I've noticed that long words don't get hyphenated (as they should when using babel), and ...
2
votes
2answers
50 views

How to deal with impossible hyphenation

I am wondering if there is any recommended way of dealing with impossible hyphenations like the one from the first line, in the middle. If the column width will be bigger, it would be easier to ...
6
votes
1answer
71 views

Package 'showhyphens' won't show actual hyphenation points for words with ligatures

What exactly does the package showhyphens tell us about hyphenation points? According to its documentation, it "will show all possible hyphenation points". But when the word contains a ligature, it ...
2
votes
1answer
27 views

How to set a character as a potential hyphenation point globally ?

I am generating a LaTeX file, and I got some very long commands containing Windows path, which do not break at line end. For instance, I can have a line like this : This is a ...
9
votes
1answer
133 views

How to avoid a linebreak before a comma in Lua(La)TeX?

This is a (somewhat late) follow up to the question How to avoid a linebreak before a comma? where @MostlyHarmless shows that a line break may be introduced after a word ending with a hyphen even if ...
2
votes
0answers
47 views

Line break at hyphen-initial words in dictionary

I am writing a double-columned dictionary using a quite complex style-file and an external input-file. However, in order to illustrate my problem, I simplified my template, yet incorporated my entire ...
1
vote
1answer
33 views

Location of hyphenation patterns

Where are the hyphenations patterns? Are they the same for xelatex and polyglossia as for latex and babel? (Links to information on how to modify them would also be appreciated.)
0
votes
0answers
24 views

Hyphenation between syllables

In XeLaTeX (with polyglossia), how can one alter the general hyphenation patterns always to divide between syllables? Often this will be acheived by dividing after vowels and between consonants. For ...
4
votes
0answers
82 views

\- doesn't work in footnote

In the following example the \- in the footnote doesn't work. In Indian languages "dh" is one letter and should not be separated by hyphenation. I know I could use \discretionary here, but I want to ...
5
votes
2answers
100 views

[Babel/Polyglossia]: wrong hyphenation?

Consider the following MWE; say you save it in foo.tex. \documentclass{article} \setcounter{secnumdepth}{0} \usepackage{polyglossia} \setmainlanguage{english} \setkeys{english}{variant=british} % ...