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

learn more… | top users | synonyms

11
votes
2answers
244 views

Using breakable hyphen "= in \newcommand

I want to use a breakable hyphen "= in a command: \documentclass[a4paper]{article} \usepackage[ngerman]{babel} \newcommand{\TT}{Test"=Text } \begin{document} This is a test whether the hyphen in \TT ...
5
votes
2answers
643 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} ...
1
vote
1answer
409 views

abntex and hyphenat problems in url formatting

Problem I would like to disable all hyphenation within the document, but I want the bibtex URL entries to be properly hyphenated, and also properly linked according to the hyperref package. Because ...
2
votes
0answers
81 views

How to prevent page breaks inside words? [duplicate]

Possible Duplicate: Suppressing hyphenation across pages I would like to prevent page breaking from happening inside a word. In other words, hyphenation should not take place between pages. ...
8
votes
3answers
841 views

How to avoid wrong hyphenation in headings?

I have the problem, that I am writing a (long) document. Now I found while checking the document for errors a very bad formatting of some heading: The headline is quite long and therefore it has to ...
19
votes
3answers
567 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 ...
12
votes
2answers
8k views

Overfull hbox - How do I fix this?

I have a line in tex which has a markup (as a part of a line) as follows: \texttt{org.springframework.beans.factory.BeanFactory} This is giving a overfull \hbox warning. How do I fix this? I am ...
7
votes
3answers
944 views

Avoid hyphenation in chapter title

I wonder if there is a way to avoid hyphenation of words in the title of a chapter. I have tried \mbox but that makes the word run over the margin. I've also tried inserting a \\ in front of the ...
7
votes
1answer
421 views

long URL's containing “-” in bibtex going beyond page

I have tried several top answers with no luck. Here is what I have in my preamble(compiling with xelatex and bibtex). \documentclass[a4paper,12pt]{article} \usepackage{fontspec} \usepackage{natbib} ...
4
votes
3answers
123 views

Allowing breaks at a location with no spaces or hyphens

I have two letters: A and B. In most situations, I'd like them to appear together with no space, e.g. ("AB"), however, if TeX feels it needs a linebreak or to split these across two pages, this is ...
7
votes
1answer
307 views

Automatic hyphenation of compound words

When I was learning to drive a typewriter (shortly after the death of my pet sabre-tooth), I picked up the habit of using a double hyphen when splitting compound words, thus: The system has a ...
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 ...
7
votes
2answers
621 views

British hyphenation with either xelatex or lualatex

For several reasons, I am working on a source file that should be compilable by either xelatex or lualatex. I would like British hyphenation for the text and am using csquotes and biblatex with ...
4
votes
1answer
142 views

How to limit hyphenation in a multicol environment?

I have a LaTeX document (compiling with pdflatex), with the multicols and microtype package enabled. The document is using two cols using the \begin{multicols}{2} ...\end{multicols} environment. ...
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.
2
votes
2answers
223 views

Cannot generate hyphen

I am new to TEX and am using scribtex as an online latex editor. My problem is that when I put hyphen in my text it sometimes appears and sometimes doesn't appear. What can be the reason for this and ...
9
votes
2answers
565 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 ...
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 ...
6
votes
2answers
870 views

Section titles, hyphenation, manual line breaks - and how to avoid them

I have several section titles in my document that are getting hyphenated, which is quite ugly. I am now looking for some way to avoid the hyphenation, which is is somewhat related to this question, ...
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 ...
13
votes
1answer
158 views

Lines too long due to text inside custom command not being hyphenated

I'm having some problems with lines that turn out to be too long. There are correct hyphenation rules for the word but they aren't being applied. Let me first give the sentence that is too long: An ...
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 ...
2
votes
2answers
485 views

Hyphenation for words with underscore

Can I tell LaTeX that it may hyphen words that contain an underscore _ always before the underscore? I have a lot of code examples in text, like is_error_condition_enum and I would like to tell LaTeX ...
11
votes
7answers
2k views

LaTeX not hyphenating properly, text running off page

I'm having a problem with LaTeX not hyphenating $\beta$-galactosidase, and the word as a result running off the page. I have narrowed down the problem to a particular package, as a bare minumum LaTeX ...
14
votes
2answers
1k views

How to add global hyphenation rules?

I know about discretionary hyphens, \-, about \allowbreak, \nobreak as well as \hyphenation{...} and even \tracingparagraphs=1 to write hyphenations into the log-file. Those are OK for family names or ...
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, ...
3
votes
1answer
158 views

Hyphenation for mixed language document

I'm currently writing my Bachelor's thesis in English but have to include a German abstract. Hyphenation will not work for German words unless I include the ngerman package. But then English words are ...
15
votes
2answers
535 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 ...
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 ...
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 ...
10
votes
3answers
649 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.
3
votes
2answers
701 views

Using hyph-utf8 with plain TeX

I want to use the UTF-8 hyphenation patterns (for Croatian) with plain TeX (pdftex). I've read the documentation on the hyph-utf8 package but I haven't found it very useful. There's mention of a ...
10
votes
2answers
792 views

Hyphenating hyphens: how to change the default \discretionary

My language, Portuguese, have undergone another orthography reform (those committees simply can't avoid themselves from doing this mess from time to time.) Now we have to adapt, which brings us to my ...
19
votes
3answers
439 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?
5
votes
2answers
253 views

Disable hyphenation in apa6e's footnotes

I would like to disable hyphenation in apa6e's footnotes, to match APA's 6th edition guidelines. apa6e uses ragged2e, and the ragged2e documentation (pdf) claims that certain commands can make ...
0
votes
0answers
224 views

Unwanted line breaks in middle of words [duplicate]

Possible Duplicate: How to prevent LaTeX from hyphenating the entire document? I have a two-column article with custom margins. In some points of the text, line breaks occur in the middle ...
6
votes
3answers
741 views

How to hyphenate Portuguese in plain TeX?

I'd like to use plain TeX in Portuguese, but I don't know how to hyphenate in this language, or in any other language than English. What do I have to do?
7
votes
2answers
613 views

Hyphenating a number in the BibTeX pages field

Some journals, such as Phys. Rev. B., use unusual page numbering conventions, such as 081401-1–081401-4. (Depending on the way this gets rendered by your computer, you may not be able to discern that ...
8
votes
1answer
421 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 ...
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 ...
6
votes
1answer
481 views

Emergency stretch hook

Is there a way to automatically set parameters when emergency stretch is required? Here is my situation. After I implemented the solution chosen for unbreakable spaces in Bible verse references, I ...
2
votes
2answers
155 views

Hyphenating a verse range

I am typesetting verses using bibleref and sometimes verse ranges get cut in the end of lines. For example, in: Jean 3.16-18 the cut might happen right after the "-" (which is actually typeset as ...
6
votes
2answers
1k views

Fixing an overfull box

I have an overfull box in a French text which looks like this: The sequence at the end of the line is: d'Ananias~: \og Vous "Vous" cannot be hyphenated and \og inserts a non-secable space, so ...
2
votes
3answers
2k views

babel: “No hyphenation patterns were loaded for the language 'Portuguese'”

I put in the preamble of my document: \usepackage[brazil]{babel} \usepackage[latin1]{inputenc} When I compile as a PDF, I receive the output: "No hyphenation patterns were loaded for(babel) the ...
6
votes
2answers
148 views

Hyphenation of CamelCaseClassNames: Mix automatic and manual?

My text contains some long, CamelCaseClassNames which LaTeX doesn't like to hyphenate automatically. I found the \camelhyph macro on projects:latexcamel and it works perfectly for automatic ...
1
vote
1answer
122 views

Hyphens and minuses are MIA.

I am experiencing a strange bug involving the omission of hyphens in the .dvi file. % This is a sample LaTeX input file. (Version of 12 August 2004.) % % A '%' character causes TeX to ignore all ...
1
vote
1answer
493 views

Unwanted line-breaking of hyphenated word in bibliography

In .bib file: @article{Kurahashi_Yokota2004, author = "Kurahashi, M. and Yokota, A.", title = "Agarivorans albus gen. nov., sp. nov., a $\gamma$-proteobacterium isolated from marine animals", journal ...
2
votes
1answer
373 views

Hyphenation within multicolumn

I've got the following table, which I'd prefer not to split, and it's slightly too wide for the page. How can I make some of the column headings hyphenate? I don't want to have to define a fixed width ...
3
votes
3answers
817 views

Hyphenation of bibliographies with multiple languages using xelatex,xgreek and biblatex

I am trying to use XeLaTeX to produce a document written in Greek that includes both English and Greek bibliography. i am using for this purpose a combination of xgreek, biblatex packages and biber. ...
8
votes
2answers
903 views

ragged2e: “newcommands” option produces “underfull \hbox” warnings

The ragged2e package provides the commands \Centering, \RaggedRight and \RaggedLeft for setting ragged text while allowing hyphenation. The package offers a newcommands option that sets the standard ...