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

learn more… | top users | synonyms

6
votes
2answers
48 views

BibLateX/Biber is incorrectly sorting entries with hyphens in their respective author's last name

UPDATE 2 I now finally understand that this behaviour is indeed a feature that is to be modified according to need. Thank you very much to @moewe for educating me on this. I have now set his/her ...
1
vote
1answer
23 views

Babel Multilingual Hyphenation Order of Precedence?

When I use multiple languages with Babel (e.g., with \usepackage[german,french,latin,english]{babel}), I realize that english is the default language because it is the last listed, but what does Babel ...
10
votes
2answers
127 views

Why does \usepackage[british]{babel} change the hyphenation to wrong?

Now I know there are hyphenation differences between British and American English but in no dictionary, British or American, could I find the word "alternate" to be broken down to al·tern·ate instead ...
2
votes
1answer
33 views

Automatically Detect Foreign Language for Hyphenation?

Is there a LaTeX package that automatically detects which foreign language a particular part of a multi-language TeX document is so that it can hyphenate it appropriately, or do I have to manually ...
0
votes
1answer
28 views

Hyphenation, long words, linebreaks and extdash

Currently I am using LaTeX to write a document in German (= containing many long words). Sometimes, I wish to place a hyphen at the end of the word. For example: Averylongword-, Anotherverylongword- ...
4
votes
4answers
265 views

Prevent LaTeX from Preventing Hyphenation

So I know that a common technique in typography to avoid hyphens at a line break is to adjust the spacing of words and letters slightly. I was not aware of LaTeX doing this until today, but now it is ...
3
votes
1answer
40 views

LaTeX Macro for “code” style, underscore package and hyphenation

I'm looking for a way to nicely set code inside my document. I used \def\code#1{{\texttt{#1}}}, but it still allows the text to be hyphenated. To prevent that, I tried the advise from Prevent ...
0
votes
0answers
43 views

customize hyphenation

I finish writing my article in english, but I think there are many hyphenations, this makes the document a bit ugly. my question: how prevent hyphenation throughout the document, and propose to latex, ...
11
votes
1answer
48 views

Is there a way to apply different penalties to hyphenation points in a word?

Background: The quality of hyphenation points within a word can vary by a large amount. Especially in languages that allow rather arbitrary combinations of words, such as German. As an example, ...
3
votes
2answers
39 views

Can/does hyphenation ignore accents?

LuaLaTeX MWE: \documentclass[11pt]{article} \usepackage{polyglossia} \setotherlanguage{russian} \usepackage{tabu} \usepackage[textwidth=6.5in,textheight=9in,nohead,headheight=39pt,headsep=12pt, ...
24
votes
1answer
415 views

Why does TeX prefer an overfull box to hyphenating here?

Here is a short file which produces an overfull hbox: \documentclass[12pt]{report} \usepackage[left=1.5in,right=1in,paperwidth=8.5in,paperheight=11in]{geometry} \begin{document} \trivlist ...
4
votes
1answer
58 views

Xelatex polyglossia hyphenation

Is there a way to make the polyglossia package solve the hyphenation problem that presents itself in the log as "Overfull \hbox" automatically? (Note: I find that having shorter lines—even for the ...
0
votes
1answer
22 views

Allowing hyphenation in menu sequences [duplicate]

I've adapted Peter Grill's \Menu command in Create a command for 'menu sequences' to type menu sequences in some documents. It looks like hyphenation is not allowed inside these menu sequences ...
2
votes
2answers
38 views

An equivalent of psfrag and polyglossia together?

I need to use psfrag, and Georgian language, for which the only available possibility to get correct hyphenation that I could find was polyglossia. However, seemingly psfrag does not work with xelatex ...
4
votes
1answer
42 views

URL citation: Control breaks and add 'Accessed' as prefix text

Please consider the following BibTex reference output (source can be found below): I am using \bibliographystyle{plain} as the output fits the requirements of a paper I'm writing. I tried natbib, ...
1
vote
1answer
41 views

Cannot use xgreek in XeLatex with Fedora

I am trying to enable greek hyphenation in a XeLatex document. But when I do I get: |Package `xgreek' version 2.4 by Apostolos Syropoulos |! Undefined control sequence. |\ds@monogreek ->\language ...
3
votes
1answer
141 views

Hyphenation with Acronyms

I have difficulties getting hyphenation right in long acronyms with user-defined hyphenation rules when trying to prevent line breaks between the long and the short form. \documentclass{article} ...
9
votes
2answers
57 views

Hyphenation of words containing apostrophes

My question is plain and simple. Any way to hyphen words such as “Lor'themar”, “Kel'Thuzad”, etc.? Using \hyphenation{Kel'-Thu-zad} gives me this error, for instance when compiling. Error in ...
2
votes
1answer
54 views

Problem with Swedish hyphenation using apa6 with \usepackage[swedish]{babel} [duplicate]

I can't seem to get Swedish hyphenation to work within the document when using the apa6 document class, though I am using the Swedish babel package. The problem is not citation related, but concerns ...
4
votes
1answer
41 views

Listings and Babel (with some languages) are breaking hyphenation

In the following document \documentclass{article} %\usepackage[german]{babel} % also try english, ngerman and dutch \usepackage{listings} \begin{document} \thispagestyle{empty} \begin{minipage}{1em} ...
0
votes
0answers
51 views

Em dash out of right margin

I am almost sure this question was already asked somewhere (I couldn't find it). Still why my em dash and the word proceeding it are typeset out of margins? the source is proliferation---nextword ...
3
votes
1answer
34 views

Global setting of hyphenation for words containing dashes

I'm using the word "Zwei-Drittel-Abstimmungsmehrheit" a bunch of times in my document. Often it won't fit into the current line, extending into the right margin. I figured out that the following ...
3
votes
1answer
38 views

LaTeX hyphens pattern file for medical terminology

This might be slightly off topic since my main goal is to hyphenate strings in Java, but please bare with me. So far I've only looked at TeXHyphenator-J and Hyphenation libraries and both of them use ...
3
votes
1answer
58 views

Acro Package - Customise the \printacronyms style with hyphen or other

I am trying to write a List of Acronyms and I am trying to work out how to edit the output format of the \printacronyms lists. The way I would like them to look is as below, it is not essential that ...
1
vote
0answers
41 views

Prevent header hyphenation in tabulary

How is it possible to prevent tabulary environment hyphenating table headers? Perhaps redefining \tyformat, but I can't find any reference to this command. EDIT As suggested in comments, I tried ...
2
votes
1answer
58 views

Issues with justification

I was going through this tex files www.biostat.umn.edu/~brad/8400/HQuick_cv.tex‎. However, when I use this tex, the text is not justified properly See the words establishments, Experimental are ...
1
vote
0answers
31 views

Using "= in preamble with babel [duplicate]

I have noticed a strange behaviour when switching between the packages german and babel with the german option. There is obviously a difference in how "= is handled in the preamble: ...
2
votes
0answers
62 views

Is there a way to tell if LaTeX knows how to hyphenate a word? [duplicate]

I regularly write chemistry documents with odd words in them. Is there a way to know if LaTeX knows it can hyphenate a word? I'm wondering as the person beside me just discovered that the person whose ...
2
votes
1answer
79 views

Less hyphenations - any value to change?

I don't want to prevent LaTeX from hyphenating - unfortunately I write in a language, which consists of rather long words. That results in quite a lot of hyphenations, not to mention that I have to ...
3
votes
0answers
121 views

LaTeX hyphenation problems in Spanish [closed]

I am using this preamble on my document, edited with TeXStudio/MiKTeX and I am getting several words not hyphenated and past the margin limits on the right side. As you can probably see, I am very new ...
7
votes
1answer
128 views

Raise/lower a single character of a font (hyphen)

The font I'm using (Merriweather Sans) places the hyphen a little too high: Is there any way I can fix this for the entire document, in a way that doesn't affect the other fonts? Test document: ...
3
votes
1answer
73 views

How do I make an inline list respect margins without hyphenation?

I'm using the enumitem package to create inline lists in my resume. I currently have a snippet of code that looks like \begin{description} \item[Frameworks/Libraries:] ...
2
votes
1answer
95 views

LyX Hyphenation

In LyX I want my paragraphs to be justified, without the use of hyphenation. I am using \exhyphenpenalty=10000\hyphenpenalty=10000 in my preamble and it works, but I notice that the first line of the ...
5
votes
1answer
65 views

New line without hyphenation, just break it at the end of the line

I have a question about the automatic line breaking in latex. Right now i wright some text and its formatting it like this: Lorem Ipsum is simply dummy text of the printing and typesetting industry. ...
8
votes
1answer
75 views

Hyphenation of the word “paraboloid”

It seems like my TeX does not hyphenate the word "paraboloid" on its own. After adding \hyphenation{para-boloid} (I hope that's the right hyphenation...) to the preamble everything is fine. My ...
2
votes
1answer
66 views

modernCV seems to forbid any hyphenation. How can I switch that off?

I'm writing a document with the help of the modernCV class, using (a modification of) the casual style. It looks like this class is penalizing hyphenation pretty severely. Why is that so? I can't find ...
15
votes
2answers
462 views

moving the whole word to next line when there is no free space

Is there any option in tabular that can move the whole word to the next line whenever the length of the word is greater than the fixed cell size? Currently I use \begin{tabular}{ | p{2cm} | } And ...
20
votes
1answer
274 views

How to I force a word to move to the end of the line?

How do I force my document to pull selected words to the end of each line (and to hyphenate them as well, if needed)? I have an old document. I know the page size and I think I've found the ...
0
votes
0answers
48 views

Problem with \hfill and hyphenation

When I use \hfill and in the previous line the last word is hyphenated, the \hfill doesn't work the same way as usual: \documentclass[a4paper, 12pt]{book} \begin{document} Spellings attempt to ...
5
votes
1answer
101 views

Can I proofread babel hyphenation rules for a specific language?

I wonder where I can find and proofread the babel hyphenation rules. Would it be possible to learn from those hyphenation rules (for example for a student of a language) where to place a hyphen?
17
votes
4answers
381 views

It doesn't hyphenate words ending with “—”

Note: Every — you see in the code is an em-dash. I'writing a paper, and XeLaTeX doesn't hyphenate words which end with – (traditional LaTeX ---). After reading the comments, I realized this is a ...
0
votes
0answers
36 views

Package for avoiding hyphen in text?

Is there any package which can be used for avoiding hyphen in text? Regards
5
votes
0answers
54 views

No hyphenation of long words in narrow boxes [duplicate]

I stumbled across an hyphenation problem which I cannot explain or solve. When I use a narrow box containing a long word with a width longer than the box width, this word is not hyphenated. The ...
2
votes
0answers
76 views

How can I line-break a long string of numeric digits and hyphens?

I have a cls file that contains a definition for source code: \lstnewenvironment{code}[1][] { \lstset{ basicstyle=\ttfamily\footnotesize, breaklines=true, ...
2
votes
1answer
73 views

LuaLaTeX and multilanguage support

I've a little issue managing fixed names in my TeX class. I'm using the babel package for multilanguage hyphenation support so far, but I would like to deactivate the fixed names provided by babel. I ...
14
votes
1answer
147 views

Does \\ suppress hyphenation for the following word?

I am not sure, if this is a bug of the package showhyphens or some LaTeX-behaviour I don't understand. Please have a look on the following example: % arara: lualatex \documentclass[ngerman]{article} ...
4
votes
1answer
31 views

Wrong hyphenation with LY1 font ecoding?

Here I found the statement that no special hyphenation patterns are needed with LY1 font encoding. Yet I stumbled upon different hyphenation in connection with non-letters (such as quotation marks) in ...
3
votes
1answer
82 views

Line break at hyphen in source inserts space in output

I prefer to wrap lines in my LaTeX source, and my editor will often choose a hyphen as a good place to split the line. Unfortunately, if a hyphenated word doesn't appear in the output file at a line ...
0
votes
1answer
79 views

Right justification not correct

I am writing my thesis and I have started noticing wrong right justification. I have corrected some of them by replacing dashes with \hyp{}. However, I still struggle with the example below (citation ...
5
votes
1answer
38 views

How to define a complicated hyphenation for Chinese pinyin

I am setting a document with Chinese pinyin. I use \- to separate syllables in pinyin phrases (eg. zhong\-wen). This not only allows for proper hyphenation, but also allows spell check in ...