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

learn more… | top users | synonyms

0
votes
1answer
117 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
28 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
40 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. \begin{...
5
votes
2answers
102 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
53 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 ...
6
votes
1answer
328 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 `...
2
votes
1answer
86 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
111 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
92 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
55 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
91 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
153 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
192 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 re-...
1
vote
0answers
40 views

Prevent hyphenation [closed]

The page has a lot of space but subsection hyphenated. How to prevent this? I need to stretch that title.
2
votes
1answer
85 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
33 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
57 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
62 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
50 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
95 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
29 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, bindingoffset=...
3
votes
0answers
61 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
68 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
123 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
113 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} \usepackage[...
5
votes
0answers
101 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
113 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
119 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
54 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
81 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
31 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 \texttt{very\...
9
votes
1answer
146 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
54 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
37 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
29 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
94 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
154 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} % \...
2
votes
1answer
53 views

First letter bold compatible with hyphenation

I ve been trying many solutions found on stack exchange to have a command that make bold the first letter of a word. All of them work. With every solution I have tried I have an hyphenation problem ...
9
votes
1answer
246 views

Hyphenation penalty

Say I have done \hyphenation{a-no-ma-ly}. In the text, the word is broken ano-maly. This is (etymologically) displeasing, but may be better than the spacing that would result from barring it. Can I do ...
12
votes
1answer
115 views

Hyphenation across pages: summary of odd pages with last hyphenated word

AFAIK, LaTeX first makes the paragraphs beautiful, and after that it makes the pages beautiful. Thus if by any chance the pagebreak happens inside a hyphenated word, LaTeX can change the pagebreaks (...
2
votes
1answer
43 views

Typewriter hyphenation with special characters

I read this answer, and this one about how to hyphenate \texttt text and handling special chars. However, it is not really doing what I intend. \documentclass{scrreprt} \usepackage{classicthesis,...
3
votes
3answers
181 views

Spanish hyphenation and UTF8 characters in plain TeX with pdfcsplain, xetex and luatex

I am trying to figure how to use OPmac for Spanish documents because the easy setting of the structure document in plain TeX. However, using pdfcsplain or xetex/luatex engines, I have no luck with the ...
1
vote
2answers
117 views

how to get latex to hyphenate a word that contains a slash? [duplicate]

I'm using 'und/oder' (German for 'and/or') in one of my texts (I know it's not nice :)). Latex separates it 'und/o-der' which is not nice. Using \mbox fixes that problem. Trying to find a general ...
6
votes
1answer
106 views

Changing the hyphenation style

I saw in an article (here on page 43, note 2, in french) an intersting way to hyphenate words. I thought it would be intersting, as an exercise, to try and reproduce it using XeTeX. It looks like this:...
5
votes
3answers
193 views

Babel fails to hyphenate when the word contains periods

babel can hyphenate disputas: \documentclass{article} \usepackage[nynorsk]{babel} \begin{document} \parbox{0pt}{\hspace{0pt}disputas} \end{document} But it fails when the word contains a period: ...
7
votes
2answers
376 views

How to type a non-breaking hyphen (dash, “-” character) in scientific or technical documents

I am writing scientific or technical documents in LaTeX. Often I need to type a non-breaking space, for example when using equation references: Equation~\eqref{eq:equation1example} shows blaa... Is ...
3
votes
1answer
143 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 +...
10
votes
2answers
109 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 ...
11
votes
1answer
330 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
69 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 ...