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

learn more… | top users | synonyms

9
votes
1answer
150 views

Hyphenation does not work with acro and luatex, but with pdftex

I'm using luatex 0.70.1 together with acro 1.2 and I have the following MWE. \documentclass{minimal} \usepackage[ngerman]{babel} \usepackage{acro} \DeclareAcronym{DNA}{ short=DNA, ...
20
votes
1answer
241 views

Hyphenating words with archaic spellings

I often work with texts from the 17- to 1800s that (in addition to now obsolete words) contain familiar words in slightly different spelling. The language of these texts, and of the ones I'm writing, ...
1
vote
0answers
80 views

patgen: tex file generation from dictionary [closed]

I am managing a project where we will need to run patgen on a new niche language (a mixture of English and vernacular). I am just wondering if anyone has any advice on generating the patterns. For ...
1
vote
1answer
203 views

Hyphenation not working in cover letter template

I can't find the reason why hyphenation doesn't work in cover letter template document listed below. %% start of file `template_en.tex'. %% Copyright 2006-2010 Xavier Danaux (xdanaux@gmail.com). % % ...
3
votes
1answer
392 views

How to wrap text in line by adding spaces

I am writing one text which has some very long words but i don't need to split word in multiline using hyphen. I just want to add spaces to fit in the line as shown below. This is my first ...
4
votes
2answers
794 views

Insert hyphenation point in BibTeX using PDFLaTeX and hyperref

How to tell PDFLaTeX to make hyphenation in place where I want it to be? I have my document file: \documentclass[10pt,a4paper]{article} \PassOptionsToPackage{hyphens}{url}\usepackage{hyperref} ...
4
votes
1answer
215 views

\xspace and hyphenation

I was considering to use xspace for some common standard terms in my document, like: \newcommand{\ring}{my secret ring\xspace} I am now wondering, if hyphenation gets it right, when I do this? ...
8
votes
1answer
912 views

How to get XeLaTeX do proper hyphenation and full justification?

I want to use XeLaTeX to design a paperback (11x19cm) using Adobe's Garamond and Myriad as custom fonts. It is entirely written in German. However, both hyphenation and full justification are a mess: ...
7
votes
1answer
890 views

Automatically prevent line-break at hyphen of specific words (e.g. “dual-self”)

Usually questions about hyphenation and line-breaks are concerned about how to allow hyphenation when a word already contains a hyphen. That's not what I'm after: I would like to prevent the word ...
3
votes
0answers
414 views

Problem with Table of Contents chapter line breaking [closed]

I am working with the book document class. Concerning the table of contents, is there any way to break the chapter title as you like? For example, instead of e.g. How to effectively feed swiss ...
5
votes
1answer
139 views

Overfull hbox with British English

I write in British English and occasionally I get an overfull hbox warning because LaTeX does not know how to break a word correctly in its British form. For example, the word 'analysing' causes an ...
4
votes
1answer
310 views

Hyphenation of words connected with a double/triple dash

I can't hyphenate the words Cam•bri•an--Or•do•vi•cian because they are connected with an endash. The same probably happens when using the emdash. I tried this ...
5
votes
3answers
824 views

How to hyphenate a reference that has a lastname with a hyphen?

I need to hyphenate a long lastname with a hyphen in it in a reference, e.g.: @article{LastHyphenName:2013xy, author = {Longlast-Namewithhyphen, Antonio and Anotherlastname, David}, title = {{How to ...
5
votes
2answers
465 views

Change hyphenation patterns only for a chapter

I am currently writing a book in Italian using LyX and I use \usepackage[italian]{babel} in the preamble. However, I need to write a chapter of this book in a different language. How can I change ...
2
votes
1answer
338 views

Faulty output because of Polyglossia issue [closed]

this is my first question on here so I hope I'll include all necessary information right away. I am running MiKTeX 2.9, set up for XeTeX; my Editor is TeXMaker and my OS is Windows 8, 64-bit. ...
3
votes
1answer
70 views

How can I make an em-dash to allow for a linebreak on either side?

How can I make an em-dash allow a linebreak on either side? Optionally, how do I preserve the hyphenation points of the word on both sides? The following code allows for refrigerator---refrigerator ...
8
votes
1answer
564 views

\slash allows for hyphenation of only the word on its left; how to fix it for the right-hand word

I often use \slash to allow for linebreak after the slash. However I found that \slash doesn't allow for hyphenation of the word to its right, while it does for the word on its left. How do I use ...
5
votes
2answers
283 views

hyphenation of text within math

I would like text like \((\abcdefghij,\abcdefghij)\)-pair (with \abcdefghij defined as \textit{abc\-defg\-hij}) to be hyphenated as (abc·defg·hij,·abc·defg·hij)-·pair ("·" indicates all possible ...
10
votes
2answers
469 views

hyphenation next to a parenthesis

I have some very special hyphenation puzzles involving optional hyphens next to parentheses. (semi)group should be hyphenated as (semi-)/group di[rected ]graph should be hyphenated as di-/[rected ...
2
votes
1answer
532 views

Turn off Hyphenation Without Text Running Into the Margins

I am rewriting (and updating) my resume in LaTeX. I was dismayed because LaTeX automatically hyphenates words that need to go onto a new line when a line is too long. I found a way to turn off ...
1
vote
0answers
62 views

Add hyphenation-rule for hyphenated words [duplicate]

Possible Duplicate: Adequate hyphenation of words already containing a hyphen Is there any way to define permissible hyphenations for hyphenated words? For example, even if I have ...
7
votes
3answers
369 views

ConTeXt: Too much hyphenation

I am trying to control the amount of automatic hyphenation in my document. But all the options I specify don't seem to have any effect. The following MWE shows two paragraphs with six hyphenated ...
7
votes
3answers
993 views

temporarily suppress hyphenation

On the title page of an article I want to insert a paragraph containing keywords. For indexing purposes (e. g. web search engines), I'd like to have the keywords unhyphenated (temporarily, of course). ...
3
votes
1answer
445 views

Automatic hyphenation in verbatim text, with guidance

I would like to typeset verbatim text that can have linebreaks on certain text points. I know that spverbatim and listings can break at spaces, but sometimes this is not enough. Of course, no ...
6
votes
1answer
144 views

Why does \uchyph=0 not work for me?

Why does \uchyph=0 not work for me? It is in my preamble, but Istill get names of people hyphenated. Is it a font issue? I typeset with XeLaTeX. Minimal example: try with XeLaTeX with and ...
13
votes
1answer
404 views

hyphenation with special (Estonian) letters

Hyphenation is working correctly most of the time, but it has problems with words that have Estonian letters like õ inside of the word. For example: lõplikumõõtmeline. I write it like this in TeX: ...
2
votes
2answers
113 views

XeLaTeX override default sanskrit hyphenation, do not hyphenate if not indicated

Sanskrit hyphenation is not very good in xelatex as it can possibly not recognize long compound words. I want to override the default hyphenation and hyphenate only where indicated by the \\- command. ...
1
vote
1answer
485 views

Glossaries package and hyphenated (dashed) acronym fail to break across lines

With respect to using the glossaries package, if I have an acronym with a long hyphenated word, it often result in sentences that runs into margins. For example: ...
12
votes
2answers
430 views

Adding letters in hyphenation of Swedish words

Swedish writing conventions states that in compound words, when three successive identical consonants occur, one of them should be omitted. An example of this is glass (ice cream) and strut (cone), ...
1
vote
1answer
210 views

Hyphenate typewriter / avoid overfull \hboxes in code, using fontspec and XeTeX

I would like to avoid overfull \hboxes as a result of inline code, inserted with \textt{foo} or \ttfamily, e.g. in this MWE: % compile with xelatex \documentclass{article} \usepackage[textwidth=4cm, ...
8
votes
1answer
634 views

Babel warns of lack of hyphenation patterns for Hebrew

I use TeX Live including the Hebrew package. I've tried to produce a simple TeX file: \documentclass{article} \usepackage [english,hebrew]{babel} \begin{document} שלום \end{document} but I keep ...
4
votes
2answers
699 views

How and when does hyphenation in beamer slides work?

I don't understand how beamer handles hyphenation. Consider the following example: \documentclass{beamer} \begin{document} \begin{frame} \frametitle{Without hyphenation} Latex is the stable ...
0
votes
0answers
552 views

How to get my teletype (\tt) text to wrap to the next line, rather than run off the edge of the PDF? [duplicate]

Possible Duplicate: \texttt overfull hbox problem How to automatically hyphenate within \texttt? Much of the LaTeX documents I write deal with computer-sciencey stuff that I like to put ...
5
votes
2answers
164 views

Suppressing hyphenation of words that already contain a hyphen

According to the accepted answer of this question TeX never hyphenates words that already contain a hyphen. Nevertheless in a document here I find that the word “Modula-2” is hyphenated, as the ...
3
votes
1answer
296 views

Latex hyphenation exception

I have some problems with my document. I have one sentence with indentation. It is too long and it takes minimum two lines. And I have something like this: Macierz rozproszenia idealnego, ...
1
vote
1answer
588 views

Incompatibility between \nobreakdash and babel

I use the \nobreakdash command to disallow a linebreak after the dash in short expressions like -s, -ar etc. I use ({\nobreakdash}-s, {\nobreakdash}-ar) but it seems not work as can be seen on the ...
2
votes
1answer
301 views

How to avoid hyphenating a word on page break [duplicate]

Possible Duplicate: Suppressing hyphenation across pages I'm writing a paper and it is bad style to hyphenate over page break. Is there a way to tell LaTeX not to hyphenate if it is the ...
2
votes
0answers
418 views

How to turn the hyphenation on? [closed]

I was looking for a clue on how to use cyrillics in an english text and vice versa. Finally I found a solution here: Cyrillic in (La)TeX The solution looks like this \documentclass[article, ...
2
votes
1answer
682 views

Hyphenation of words with accents

I know that hyphenating words with accents produces an error in LaTeX. So what can I do in such an occasion? I am facing a problem like that in my text where I use the Linux Libertine O font as the ...
1
vote
1answer
228 views

Text Alignment problem [closed]

I am having a problem with the alignment in my pdf. The pdf is compiled with Xelatex. Some words instead of being separated with a "-" and continue at the bottom line are written whole in the upper ...
4
votes
1answer
490 views

How can I force hyphenation in chapter titles?

I have a (German and English) document, which uses the scrbook class fromt he KOMA package, with long German words in the chapter titles. I would like Latex to hyphenate those words when necessary, ...
1
vote
1answer
80 views

hyphenation problem with the character &

How to produce the hyphenation of the word (BM&FBOVESPA) I tried to use \hyphenation{BM\&F-BO-VES-PA} in the preamble but did not work
14
votes
4answers
642 views

Prevent global hyphenation for a specific word

I know this is a common question. I want to stop LaTeX splitting the word "Byte". I already searched for the problem and found the solution with \hyphenation. I thought \hyphenation{Byte} would ...
5
votes
2answers
192 views

Forbid hyphenations for a particular text

How can I temporarily forbid hyphenations (or make them more "expensive"), for a particular piece of text? One or two paragraphs.
3
votes
2answers
652 views

! Package babel Error: Language definition file armenian.ldf not found

I'd like to use hyphenation with armenian language. Here is my test code (the armenian text is in utf8). \documentclass[a4paper,12pt]{article} \usepackage{fontspec} \usepackage{xunicode} ...
13
votes
1answer
365 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 ...
9
votes
2answers
703 views

Hyphenation problem

I am having trouble with the hyphenation of a project I am writing. More precisely it will not hyphenate the word $\ast$-homomorphism. I have tried with \hyphenation{ho-mo-mor-phism}, but to no luck. ...
5
votes
1answer
194 views

Ornamental hyphenation character with Xe(La)TeX

Using Xe(La)TeX, how could the hyphenation character be set to any particular glyph in a given font? I'd also like to have the possibility to set a color for the glyph when used for that task and to ...
15
votes
1answer
1k views

How to break long URLs using common hyphenation but adding a line feed indicator?

I saw several questions like this one that request a solution for breaking apart URLs. I wonder if it is possible to hyphenate the words in a URL as it happens in normal text (i.e., breaking apart ...
0
votes
0answers
37 views

Word not hyphenated when surrounded by $ signs, and causing errors without $ signs [duplicate]

Possible Duplicate: Despite using backslash dollar sign, error persists I don't know why, but the word kAudioUnitSubType_RemoteIO is causing problems for me when I type it. I tried ...