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

learn more… | top users | synonyms

2
votes
1answer
1k views

Don't split words in section title [duplicate]

Possible Duplicate: How to disable hyphenation in all section and subsection titles? No hyphen for a word How to I tell LaTeX not to split words in section title? For example: ...
4
votes
1answer
656 views

correct the hyphenation

How to correct the hyphenation in my paper that is entirely wrong? For example, in my paper, there are wrong hyphenations like result-s, s-mall, s-pace, etc. How can I fix this problem. I don't use ...
4
votes
1answer
240 views

hyphenation rule not acted upon [closed]

In this example, why is the hyphenation rule not used? \documentclass{article} \usepackage{tabu} \hyphenation{abc-def-hij-klm-nop-qrs-tuv-wxyz} \begin{document} \begin{center} \begin{tabu} {|X|X|} ...
23
votes
2answers
13k 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
1answer
405 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
3answers
926 views

Automatic linebreak on specific character

Based on my old question Push long words in a new line, I search for a possibility to allow linebreak on specific character. For example in my case I want to break on "_" (underscore). ...
6
votes
2answers
541 views

French and English text in one document with a single style of footnote

I have a book containing essays variously in English and French and wish hyphenization and other aesthetic issues to match whatever language is in use at the moment, but I want footnotes to follow a ...
25
votes
1answer
336 views

Can LaTeX support multiple classes of hyphenation break point?

I've just come across an interesting snippet in New Hart's Rules (p.59): The New Oxford Spelling Dictionary  therefore uses two levels of word division -- 'preferred' divisions (marked |), which ...
9
votes
1answer
11k views

LaTeX: splitting the words

I have a quite long text, and I sometimes I have words breaking in a weird way, so I wonder if there is some command in LaTeX which will prevent the splitting of words in the whole document?
13
votes
1answer
187 views

Hyphenation exceptions not loaded when using babel with multiple languages

When I use babel with more than one language loaded, my hyphenation exceptions are not used. Here is an example: ====== hy.tex ======= \hyphenation{para-dichloro-diphenyl-trichloro-ethane} ====== ...
6
votes
1answer
336 views

Enable automatic hyphenation for Cthulhu-style's document

This question is based on the following thread: How do I make my document look like it was written by a Cthulhu-worshipping madman? ,where doncherry has provided a nice answer with the highest rate. ...
5
votes
2answers
544 views

Text created with a \newcommand overflows into margin (not xspace question)

I am aware of the use of xspace to handle the space after a macro in different situations. However, it seems that I cannot avoid having my text created with a \newcommand from running into the ...
20
votes
1answer
555 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 ...
7
votes
1answer
219 views

Hyphenation on next-to-last line

On the next-to-last line of a paragraph, I have some hyphenation and on the last line, I only have the end of the word. blablabla cou- cou. New paragraph I thought the command \finalhyphendemerits ...
5
votes
1answer
93 views

How to create a section whose title looks different in the table of content?

I'm writing my thesis, and one of the sections has a title which looks good in the table of content, but it's too long in the main text, so that it goes on the new line by hyphenating one of the ...
4
votes
1answer
326 views

Change the font of \hyphenchar

I'm using Tex with Telugu and English languages. When a word is hyphenated, the hyphen symbol, as apparently is not found in Telugu font, appears as undefined symbol. I want to change it's font to ...
16
votes
1answer
1k 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 ...
3
votes
1answer
175 views

commands in latex hyphenation

In the last weeks I tried to work with LaTeX hyphenation functionality. \c{e8\9es} In the description at the end of this document \c is discribed as lower case letter but this doesn't make sense. So ...
6
votes
3answers
2k views

hyphenation not working

I really searched a lot and tried a lot of hints (also from this site), but I cannot get the global hyphenation command working. In my text, I can set the correct hyphernation like this: ...
18
votes
3answers
525 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 ...
3
votes
0answers
468 views

Xelatex, verbatim and hyphenation [closed]

I have the following problem with XeLatex, Russian language, hyphenation and verbatim. Consider the following tex file (text below). It is compiled with XeLaTex, and before verbatim hyphenation is ...
7
votes
1answer
701 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 ...
6
votes
1answer
324 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
236 views

How to break a word at a given length (without a hyphen)?

The problem is to get The question is justified. The answer is right flush. The dimensions of the rectangle are 5cm and 4cm. The length of the question is unknown. Manually ...
4
votes
3answers
807 views

Something's wrong with tocloft

I want the right margin of TOC to be straight. Instead of this Latex violates the bound (Pic. 1). If babel is commented out (with the last \addcontentsline), the result is still buggy (Pic. 2). ...
9
votes
2answers
270 views

Is there a way to know which words LaTeX hyphenate when I build a .tex [duplicate]

Possible Duplicate: Check all hyphenations within a document I'm having problems with hyphenation patterns in babel's spanish. I'm using MikTeX on Windows and it seems very difficult to ...
9
votes
2answers
235 views

how to enforce correct hyphenation of “(near-)uniform” as “(near-)” + “uniform” instead of “(near-” + “)uniform”?

how to enforce correct hyphenation of (near-)uniform as (near-) uniform instead of (near- )uniform?
1
vote
1answer
570 views

Text is going out of bounds; prohibit the hyphenation of all words

I have such preamble: \documentclass[bachelor, subf]{gost732} \usepackage[a4paper,includefoot, left=3.5cm, right=1cm, top=2cm, bottom=2cm, headsep=1cm, ...
1
vote
1answer
347 views

How to combine package acronym and hyphenation? [closed]

It seems that words part of an acronym defined using the Acronym package have trouble being hyphenated. How can I make sure that the long version of the acronym will be hyphenated correctly? ...
20
votes
5answers
1k views

Hyphenation problem with — versus \textemdash

While investigating problems with hyphenation and em-dashes, I came across this: a piece---perhaps an installation---, involving structural feedback The document class is article. The problem was ...
25
votes
4answers
1k 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
1answer
208 views

Avoid hyphenation around a specific character

I want to use typographic apostrophe (’) in my document. Using a simple ' don't give the same result. I can type the ’ on my keyboard. But XeTeX take it as a normal character, ie. like a letter, and ...
7
votes
1answer
375 views

Reduce number of consecutive lines with hyphenation

How can I reduce the number of consecutive lines ending in a hyphenation? I have a very long document (600 pages) and need an automatic way to tell latex the maximum number of lines ending in a ...
10
votes
3answers
665 views

Why does hyphsubst not work with LuaTeX?

Consider the following MWE: \RequirePackage[ngerman=ngerman-x-latest]{hyphsubst} \documentclass{scrartcl} \usepackage[english]{babel} \usepackage{blindtext} \begin{document} \Blindtext ...
6
votes
3answers
869 views

How to break long word containing symbols but with no hyphen?

Below is my minimum working example: \documentclass[10pt,a4paper,draft]{article} \usepackage[utf8]{inputenc} \usepackage[english]{babel} \usepackage{lipsum} \begin{document} ...
1
vote
1answer
219 views

Hyphenation of words with exotic characters [duplicate]

Possible Duplicate: Adequate hyphenation of words already containing a hyphen As a mathematician, I often have to write documents with long words containing embedded mathematical symbols, ...
3
votes
1answer
1k views

When I prevent hyphenation using an \mbox, the box gets pushed into the right margin

I've used \mbox to prevent LaTeX from breaking certain long words into hyphenated pairs. Now I have a new problem: the unbroken words are extending into the right margin. Here's some minimal sample ...
6
votes
1answer
1k views

Titles too wide and not hyphenated correctly

In my master thesis, I have several complicated titles that are longer than one line and that are not hyphenated but go further than the textwidth (see MWE below). Additionally, while the ...
1
vote
1answer
173 views

What Linux operating system contains patgen for hyphenation?

This question follows previous one. In TexLive, patgen command prompts error of "No such file or directory". I found at About.com that Linux contains patgen. I have Linux Red Hat 9.0 in my system. Can ...
5
votes
1answer
328 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 ...
1
vote
1answer
226 views

Does Windows version of TeX contain patgen?

I know two Windows versions of TeX -- MiKTeX and proTeXt. Do they contain patgen package? If not, what Windows version of TeX contain the package? Can MiKTeX or proTeXt import such package from TeX ...
6
votes
1answer
399 views

Hyphenation patterns / lccode / “.dat” format of hyph-utf8

I have made a new encoding for "modern" greek based on ISO 8859-7. Now I'd like to create hyphenation patterns for it, to use with pdftex (that is, 8 bit based). If I understand correctly, I can do ...
5
votes
1answer
906 views

LaTeX hyphenation different for inline optional hyphenation and explicit \hyphenation{…} definition

In a text, I get an overfull hbox. To avoid this, I define an optional hyphenation point: bla bla bla un\-known bla bla bla pdflatex indeed hyphenates the word at that point. But when I declare the ...
11
votes
2answers
740 views

How to emulate \url hyphenating without using the url package?

I'm forced to avoid the url package in a proceedings paper (!) but my bibliography includes a long URL. I already \newcommand{\url}[1]{{\tttext{#1}}} but the URL spills over to the margin as it ...
23
votes
4answers
671 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 ...
9
votes
3answers
752 views

babel's hyphenation-friendly hyphen "= in multiple languages

Why doesn't the hyphenation work with multiple languages? See code: \documentclass[a4paper]{report} \usepackage[utf8]{inputenc} \usepackage[T1]{fontenc} \usepackage{lmodern} ...
10
votes
1answer
247 views

Glyph alternates break hyphenation

Alan Munn explined in Use stylistic set variations only for certain glyphs how to enable glyph alternates for a certain subset of glyphs. I'm using the second method he described (the other method ...
1
vote
0answers
1k views

Loading hyphenation patterns in Texmaker [closed]

I've got problems making TexMaker / MikTeX 2.9 use polish hyphenation rules. As from what I've read on this forum (e.g. here), babel package should automatically load polish hyphenation rules after ...
4
votes
1answer
655 views

squeeze the text in table

I had gone thro this question and still in my case, i have the overlapping text in the table Here is my MWE \documentclass[a4paper,10pt]{book} \usepackage{pdflscape} % to change certain pages to ...
12
votes
3answers
2k views

How do I prevent TeX from hyphenating acronyms?

Upper-case words look awkward when hyphenated. How do I suppress this behavior?