{hyphenation} is about controlling hyphenation in (La)TeX documents.
15
votes
2answers
533 views
babel: Adding ngerman' s language shorthands to english as the main document language
The (n)german language option of the babel package provides various shorthands related to hyphenation, e.g. "-: "an explicit hyphen sign, allowing hyphenation in the
rest of the word" (manual, section ...
23
votes
3answers
2k views
Adequate hyphenation of words already containing a hyphen
Contrary to English, in German there are quite a few words containing a hyphen, e.g. "Arbeiter-Unfallversicherung" (workers' accident insurance). By default, (La)TeX will only break such words after ...
11
votes
3answers
2k views
Option to break urls with carriage-return symbol?
There are several ways to get long, uncooperative URLs to line-break in LaTeX. If you're using pdfLaTeX, then the hyperref package can break them across lines for you, roughly after any /. If you ...
19
votes
3answers
565 views
Specifying multiple hyphenation exception lists for multi-lingual documents
This question led to a new feature in a package:
babel
By default, (La)TeX fails at hyphenating some words, e.g., the English word potable (should be pot-able) or the German word Mor-dop-fer ...
5
votes
3answers
763 views
Replace hyphenation character by a backwards arrow
I am setting e.g. directory names in a typewriter font. These names can become long. With the hyphenat package, I enabled hyphenation. Now, what is missing, is that the hyphenation character is ...
24
votes
1answer
1k views
How to automatically hyphenate within \texttt?
This question was phrased as a bug report for LaTeX and I thought it would be helpful to be presented here (including an answer).
The person had a lot of "common words" in typewriter font sprinkled ...
20
votes
3answers
592 views
Check all hyphenations within a document
I have a book project written in LaTeX, and I have found that quite a number of the hyphenations that TeX produced are wrong. It would be quite painful to scan the document for all hyphenation points, ...
31
votes
3answers
19k 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 ...
20
votes
2answers
613 views
How to create a virtual font?
In his answer to the question Replace hyphenation character by a backwards arrow, Hendrik Vogt writes:
If you come into a situation where you want your hyphenchar to be
something like ...
20
votes
1answer
502 views
Suppressing hyphenation across pages
Is there a way of preventing the last word of a page from being hyphenated?
3
votes
2answers
5k views
Line breaking (or hyphenation?) of references in apalike
This is a problem I encountered some time ago and I never could solve it: how can you achieve correct line-breaking or hyphenation when citing references with the apalike style?
Here is an example:
...
19
votes
2answers
5k views
Prevent hyphenation and use line break in block of text
I have a custom block of text on my title page which can be longer than a single line. By default LaTeX is hyphenating a word at the end of a line, but I want it to break on to the next line.
How do ...
19
votes
3answers
438 views
Where can I find a list of English hyphenation exceptions?
I know that a nice list of (English) hyphenation exceptions was published in TUGboat, in quite a few installments. Is it compiled somewhere in one place?
28
votes
2answers
2k views
What's the benefit of loading babel when writing in English?
When writing in English what is the benefit of loading babel, by \usepackage[english]{babel}, except for the possibility of setting it to use specific English dialects as described in babel: english, ...
19
votes
1answer
330 views
Why does babel not work in Tikz?
Adding child nodes to child nodes in TikZ Mindmap has some example code, where German words are not hyphenated correctly. I was trying to fix it by using inputenc (for Umlaute) and ...
22
votes
7answers
2k views
Avoid hyphenation in “2-D”
How can I avoid hyphenation in words such as "2-D"? \hyphenation{} is not working since the dash is not a letter.
8
votes
1answer
420 views
In LuaTex is it possible to change font/language according to the script/glyphs used?
I am a XeLaTeX user and I often have to typeset english-greek documents. Packages like xgreek or polyglossia are great but in order to apply the correct hyphenation rules you have to declare the text ...
10
votes
3answers
646 views
How to disable hyphenation in all section and subsection titles?
Is there a way to disable hyphenation (splitting up a word) in all section and subsection titles (while leaving hyphenation in the main text unchanged)? They look a bit odd to me. Thank you.
8
votes
2answers
277 views
No hyphen for a word
I want to put pdflatex to not put a hyphen in a word went it comes to the end of the line.
I tried to put a \- in the beginning or the end of that word but it doesn't work.
For example if I put:This ...
7
votes
2answers
3k views
How can I make my text never go over the right margin by always hyphenating or breaking on word-boundaries?
I've seen several different methods that can be used to make long words not go over the right margin, but all of them have been paragraph-based. I need a solution that can apply to the entire text ...
5
votes
1answer
262 views
How to use translate_file correctly in patgen of TexLive?
This question follows previous one about use of patgen.
I installed TeX Live 2011 (thanks Martin) and find patgen (version 2.4) command.
According to manual, command is:
patgen dictionary_file ...
13
votes
3answers
330 views
Reviewing hyphenations with LuaTeX
This question led to a new package:
lua-check-hyphen
I wrote a question (Accessing pointers in LuaTeX) hoping it would lead me to a way of reviewing the hyphenations with LuaTeX, and without ...
10
votes
2answers
1k views
Why words with accented characters can't be automatic hyphenated with the default OT1 enconding?
I was reading the first answer to this question: Why should I use \usepackage[T1]{fontenc}?
[...] the default font encoding (OT1) of TeX
is 7-bit and uses fonts that have 128
glyphs, and so do ...
8
votes
5answers
2k views
Why do hyphenated words cause margin violations (and how can I prevent it)?
Sometimes my text goes past the right margin when there is a hyphenated word involved in the sentence. For example, in the figure below, the line that contains "inter-member" extends further right ...
5
votes
2answers
641 views
pdflatex and \hyphenation
EDITEDx2.
Here is a fairly short latex file.
\documentclass[12pt]{amsart}
\newcommand{\calG}{\mathcal{G}}
\newcommand{\calP}{\mathcal{P}}
\hyphenation{lem-ma none-the-less un-pa-ram-e-ter-ized}
...
12
votes
2answers
7k views
No hyphenation patterns were loaded for the language
I'm using babel package for spanish language. However, each time I compile my document, the package babel throws me a warning:
Package babel Warning: No hyphenation patterns were loaded for
(babel) ...
19
votes
3answers
418 views
Display hyphenation options for a specific word
When TeX produces Overfull box, is puts something like this in the log:
Overfull \hbox (15.47195pt too wide) in paragraph at lines 7--9
[]\OT1/cmr/m/n/10 I re-ally re-ally want to get dis-played the ...
9
votes
2answers
562 views
Is it possible to have hyphenations in \underlined{text}?
In a document I was writing, I had some really long captions and I wanted to emphasize the important parts in them. I tried to use \underline{} but no hyphenation was used at both the caption and at ...
25
votes
1answer
503 views
In lualatex, hyphenation doesn't seem to work for words that contain certain ligatures
It would seem that hyphenation does not work properly under LuaLaTeX if the hyphenation points occur at places where TeX inserts ligatures. Consider the following MWE, which (i) provides hyphenation ...
17
votes
4answers
4k views
LaTeX Hyphenation
Could you please guide me to load the Oxford Dictionary in LaTeX?
I am using MikTeX 2.5 with \usepackage[english]{babel}.
Yes, I need to load the Oxford Dictionary hyphenation patterns in LaTeX.
17
votes
5answers
3k 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 ...
15
votes
2answers
496 views
New language - hyphenation
I'm working in a project (Ubuntu Manual, if you're curious) which requires TeX to create a PDF document. But when we have almost all translated, I've found that there wasn't an hyphenation pattern for ...
12
votes
1answer
246 views
Hyphens at end of line disappear upon pasting, even if they were present in the input
When I paste text from pdflatex output, there are two things about hyphens that I would like to change:
Hyphens paste as "hyphen-minus" (U+002D, "-"), but I would prefer the newer Unicode character ...
6
votes
1answer
322 views
Hyphenation in LaTeX
In the last weeks I tried to work with LaTeX hyphenation functionality.
.es8t .ex1a2 .ex3em .fal6sc .fe6st5a .flu4g3 .furch8 .ga6ner .ge3n4a
\n{.ge5r"o} .ges6 .halb5
so I found out that the ...
5
votes
1answer
161 views
Automatic camel case breaking
Based on my old question Push long words in a new line, I search for a possibility to allow linebreak before a capital character in camel case terms.
For example the term ...
5
votes
2answers
2k views
How to reduce the number of hyphenation?
Sometimes, assume our document contain many long words, TeX may generate some hyphenation at the end of line. But it really hinder our smooth reading. Although I know we can add the hyphenation rule ...
4
votes
2answers
609 views
How to get hanging hyphenation?
I am using XeTeX from TeXLive-2010-Basic in OSX with plain-format.
My try was to follow the TeXbooks setup for commas et such (which I already have working nicely):
\defaulthyphenchar=`‐% it is ...
1
vote
3answers
997 views
List the citation key shown by \citep in the references.
Some months ago, I asked a question regarding bibliography hyphenation issue here.
In a nutshell, when I was having problems with the hyphenation of the citation keys in the text, I included the ...
20
votes
2answers
605 views
Ligature suppression with proper hyphenation and comprehensive word list?
[Update: It's been pointed out that my question(s) here weren't clear (or were too hidden). So I inserted red stars at the points where the questions appear.]
In The TeX Book, D.E.K. gives "shelfful" ...
28
votes
4answers
2k views
How to prevent linebreaks after hyphen if word starts with hyphen?
(Remark: Maybe this is a typically German problem, I'm not sure in which other languages that might be relevant)
Sometimes there are words which start with a hyphen, as they are connected with a word ...
27
votes
1answer
480 views
Make hyphenated words in PDF searchable
Is there a way to make hyphenated words in a PDF generated by LuaTeX searchable? If the MWE below is converted to a PDF, searching for "lexicon" (in Acrobat X for example) will not find the word since ...
21
votes
4answers
425 views
Is there a special hyphen-symbol to be used between capital letters?
In words consisting of small letters, the - hyphen seems right. In words (abbreviations, acronyms) consisting of capital letters, the common hyphen appears (at least imho) to be placed too low and to ...
7
votes
2answers
165 views
How to deal with very long lstinline-phrases like long class names?
According to this Question:
listing: How to deal with very long lines that do not contain spaces?
My problem is that my \lstinline-phrases does not contain any special character like "-". In my ...
4
votes
1answer
1k views
How to prevent hyphenation in title (\maketitle)?
I want to have a \maketitle title page where every word in the title is not hyphenated. Elsewhere I wouldn't mind hyphenation of the title (e.g., in the Reference List), but on the title page it looks ...
16
votes
1answer
451 views
Is it still worthwhile to let TeX try line-breaking without hyphenation?
Here's TeX's line-breaking approach (as I understand it) in a nutshell:
If \pretolerance is positive, try to break a paragraph into lines without inserting discretionary hyphens and without ...
14
votes
1answer
421 views
Remove hyphen from word spanning two lines in text copied from a pdf file
If I copy text from a PDF and a word is hyphenated and spans two lines, the copied text contains the "-". For example:
Examp-
le
should be copied as
Example
not
Examp-le
The problem is ...
6
votes
1answer
155 views
Hyphenation of terms containing symbols other than letters
I'm trying to hyphenate a chemical name and have come into difficulty. The word I'm trying to hyphenate is poly(ethyeneglycol).
I'm using babel and inputenc. I've tried specifying a custom ...
3
votes
1answer
151 views
How I can add my own language [closed]
I wrote an artificial language (conlang).
What I can add my own language in LaTeX? Conlang has more letters than English (utf8 and some ligatures) and specyfic hyphenations.
Where is simple/minimal ...
15
votes
1answer
174 views
Why can words with hyphen char not be hyphenated?
Assume I have a word like Baden-Württemberg. TeX can't hyphenate any of these two word parts. Why?
why isn't it something like this:
where the small ticks indicate possible hyphenation points. A ...
13
votes
3answers
1k views
biblatex: Switching languages for *citations* according to the bibentry's “hyphenation” field
Quoting from section 3.1.2.1 of the biblatex manual:
[The babel] option controls which
language environment is used if the
babel package is loaded and a
bibliography entry includes a
...

