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

learn more… | top users | synonyms

4
votes
4answers
300 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
78 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
63 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
77 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
74 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, ...
26
votes
1answer
515 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
327 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
29 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
54 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
137 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
66 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
244 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
147 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
73 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
67 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
75 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 ...
4
votes
1answer
72 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
51 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
147 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
72 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
65 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
64 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
90 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
374 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
217 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
91 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
262 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
83 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
80 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
184 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
514 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
299 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 ...
1
vote
2answers
72 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
121 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?
20
votes
4answers
564 views

It doesn't hyphenate words ending with “—”

UPDATE Well. After a while, I decided to see again about this “problem”, and just discovered that in pdfLaTeX, using \usepackage[utf8]{inputenc} and the — (the unicode —, not the ligature ---) it ...
0
votes
0answers
40 views

Package for avoiding hyphen in text?

Is there any package which can be used for avoiding hyphen in text? Regards
5
votes
0answers
55 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
153 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
84 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 ...
15
votes
1answer
176 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
36 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
90 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
95 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
46 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 ...
3
votes
1answer
103 views

Strikethrough Cyrillic text in XeTeX preserving hyphenation

I was looking for the way to create a strikeout text in XeTeX. After some googling I found two packages that supposedly could do that: ulem and soul. However, it turned out that both of them have some ...
1
vote
0answers
56 views

suspended hyphen without linebreak between word and hyphen

I have a word combination like this metallo-porphyrins and -phthalocyanines which eventually gives a linebreak between the hyphen and the word phthalocyanines. I tried to include the ngerman package ...
5
votes
1answer
502 views

Prevent biblatex from printing the language name and use language only for hyphenation

In my .bib-file the language field is filled out in all entries. As MWE, they all look (as expected) like: @Collection{Bakker:Grammar, editor = {Egbert J[an] Bakker}, gender = {sm}, title ...
0
votes
2answers
137 views

bidi and hyperref change hyphenation

I try to compile th following document. If I load both bidi and hyperref, Mittelbach is not hyphenated. If I comment out one of them, everything is fine. The bstfile is here: ...
3
votes
2answers
150 views

Hyphenation and section titles with geometry

I am using classicthesis and the geometry package for my thesis. Some section titles are not hyphenated correctly, but instead reach into the margin. It seem not to be possible to use, e.g., \-, to ...