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

learn more… | top users | synonyms

6
votes
1answer
30 views

Set hyphenation with polyglossia

If babel doesn't know how to hyphenate a word, I can inform it of good line breaks with \babelhyphenation: \documentclass{article} \usepackage[nynorsk]{babel} ...
5
votes
1answer
29 views

Longtable Long Word wrapping issue

Im trying to wrap long words in a longtable and its not quite working right. some of the words spill over to the next cell. any help would be great thanks! \documentclass{report} ...
1
vote
0answers
36 views

No hyphenation for author within a paragraph

I am using biblatex and biber. Inside the text I use the commands citet, parencites or citewith author-year. I would like to prevent that the last name sometimes gets hyphenated in the text. Is there ...
8
votes
1answer
143 views

Stop Hyphenating Across Page Breaks

How to prevent hyphenation across page breaks? Here is my minexample: \starttext \dorecurse{200}{Aprikosengeschmacksrichtung } \stoptext What I mean is a feature, which many other typographic ...
3
votes
2answers
87 views

How to obtain a justified paragraph with correct word-spacing in tabular environment?

I'm trying to obtain a tabular with three columns of text vertically aligned on top (using array package and p{'width'}), but I can't figure how to obtain a regular spacing between words, like a ...
5
votes
3answers
823 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 ...
2
votes
2answers
112 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
27 views

Missing hyphenation patterns in XeLaTeX [closed]

I'm using tlmgr to manage packages, I have installed babel-hungarian and hyphen-hungarian, but hyphenation is not working. \documentclass{article} \usepackage{xltxtra} \usepackage[hungarian]{babel} ...
5
votes
2answers
163 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 ...
6
votes
1answer
46 views

Hyphenation with \RaggedRight

This is based on egreg's code and comments to Indenting text in \tabfill (tabbing environment), in which a command \tabfill is defined so that it wraps lines in a tabbing environment. One problem ...
0
votes
1answer
31 views

Enforcing no hyphenation of the last word in the first line of Definition while keeping the line well-aligned

I am using the IEEEtran theorem environment and \newtheorem{definition}{Definition}[section] to customize the definitions. Generally, I am satisfied with its output: However, for another definition ...
1
vote
1answer
42 views

Hyphenation of first Author in Apacite

I'm using apacite for my bibliography and for in-text citations. Unfortunately the first Author in a multi-author citation does not get hyphenated. Is there anything I can do to make everything in an ...
2
votes
1answer
49 views

LaTeX: display hyphenation and justification problems

(At least) The article, report and book classes support the option draft, which displays hyphenation and justification problems with a black square, but also does not load figures. I could have the ...
3
votes
1answer
97 views

How to suppress hyphenation in figure and table captions?

To suppress hyphenation in section names I use \hyphenpenalty=10000 in \titleformat command. Is there any similar way to suppress hyphenation in figure and table (and longtable) captions?
2
votes
1answer
42 views

Break on special characters in inline verbatim

I'm using Pandoc to generate LaTeX. My text contains inline code spans (backticks in markdown) that are rendered as \texttt{...} in TeX. However, some of them are quite long and overflow the line, for ...
14
votes
1answer
232 views

Ligatures and hyphenations: the effect of empty brace groups {}

For the following example, \hsize =2in shelf{}ful shelf{}ful shelf{}ful rot{}ten rot{}ten shelf{}ful shelf{}ful shelf{}ful shelf{}ful shelf{}ful rot{}ten rot{}ten shelf{}ful shelf{}ful \bye The ...
3
votes
1answer
188 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, ...
3
votes
1answer
50 views

Long file path get out of right margin on PDF

A simple LyX document consisting of one long file path, is wrapped inside the LyX GUI to the next line; but when exported to PDF it 'continues' after the right margin end. I'd expect it to be ...
0
votes
0answers
22 views

How to add hyphenation rule to local directory?

I have local directory install, but can't install automatic hyphenation for it. How to install properlly local directory in Miktex, and locate in it hyphenation folder (which holds the algorithm) to ...
1
vote
1answer
45 views

No hyphenat exceeds line length instead of newline

When using \usepackage[none]{hyphenat} no hyphenation will occur as expected. However the maximum line length will be exceeded by some words that are normally be hyphenated instead of placing the word ...
1
vote
1answer
46 views

Bilingual hyphenation

I use the following preable in my document and I have a problem regardind hyphenation in new lines when I use both english and greek in my text. When I use only greek without the babel package then ...
0
votes
0answers
23 views

for greek: insert minimal spacing, add point for hyphenation

I want to define for greek a command/shortcut similar to the german "|, which inserts minimal space and marks the (by far) preferred point for hyphenation. Additionally I need a second ...
4
votes
2answers
75 views

Patgen to create hyphenation dictionary for UTF-8 language

I am having trouble creating an hyphenation dictionary for the Khmer language with patgen. I keep getting errors like, "Bad representation" and "Bad character" but I am not sure what I am doing wrong. ...
1
vote
1answer
20 views

Problem with installed font and babel

I am using the fonts specified in my MWE writing usually greek. I am currently writing a document in english and I want hyphenation so I tried to use \usepackage[english]{babel}. Doing so I get a lot ...
10
votes
1answer
209 views

No hyphenation of a word in square brackets

I'm having square brackets in normal text. Unfortunately latex won't hyphenate the enclosed word. This is the code: \documentclass[]{article} \usepackage[ngerman]{babel} ...
3
votes
1answer
98 views

Line breaking in math mode

Under default settings a line can be broken in math mode after binary operator with \binoppenalty or after relation with \relpenalty. I'd like to preserve this behavior but alter the result so the ...
5
votes
2answers
64 views

How to hyphenate automatically within \texttt when using T1 encoding and lmodern

I was looking for a way to enable hyphenation within \texttt. I found this answer and it seemed perfect: simple and useful to many people. I chose to enable hyphenation globally in \texttt and as ...
5
votes
0answers
47 views

highlighting words which cannot be hyphenated

is there any package which can automatically highlight unhyphenable words in output PDF? I.e. words which are not in the list of words for hyphenation. For example: I'm using polyglossia package. ...
1
vote
0answers
85 views

Lyx - Enable emphasized text hyphenation, prevent overflow

I use emphasis in Lyx to indicate variables in a description of a computational algorithm. Some of these variables have a long name. Lyx does not attempt to hyphenate these variables when they enter ...
5
votes
0answers
39 views

Error when using selnolig and lua-check-hyphen: attempt to index global 'debug' (a boolean value)

\documentclass{article} \usepackage{fontspec} % required for selnolig \usepackage{selnolig} \usepackage{lua-check-hyphen} \begin{document} Foo \end{document} Using my two favorite lualatex packages ...
23
votes
3answers
14k views

No hyphenation patterns were loaded for the language

I'm using babel package for spanish language. However, each time I compile my document, the package babel throws me a warning: Package babel Warning: No hyphenation patterns were loaded for (babel) ...
0
votes
0answers
15 views

Stop all hyphenation in beamerposter [duplicate]

I'm using beamerposter for the first time. I want to prevent all hyphenation. How can this be done?
38
votes
2answers
7k 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, ...
0
votes
2answers
74 views

How to make LaTeX properly hyphenate a word followed or preceded by a triple dash?

I'm using memoir class to write a novel. As it is widely known, writer comments inside novel characters' dialogues are usually enclosed between long dashes which in turn are written as a triple dash ...
6
votes
1answer
71 views

How to give BibTeX author names with diacritics and hyphen?

I am trying to give a bibtex record for an author whose name contains a diacritic and a hyphen. You may take this name as an example: Klopotsko Müller-Wachtendonk According to this answer I ...
1
vote
0answers
42 views

Words not affected by hyphenation algorithm

I was wondering is there a way to find out which words are not affected by hyphenation algorithm? Also, what would be the most appropriate (read: elegant) solution to deal with those words? I was ...
6
votes
2answers
67 views

eco package causing illegal hyphenation

I'm using the LaTeX eco package to default to text figures/\oldstylenums throughout my document. However, for some strange reason it seems to be causing TeX to think it's okay to hyphenate within ...
10
votes
3answers
4k views

A short hyphen in a math formula

In a LyX math formula, I want to write something like "r-number". However, the usual dash looks too long (like a minus sign). I am looking for a short, possibly upper hyphen. I couldn't find it in the ...
2
votes
0answers
32 views

How to define command like "| (german) for greek language? --: allowhyphens, noligature, minimal space

For my polutonikogreek documents I want to use commands/shortcuts like the "| of germanb.ldf, which is ...
58
votes
4answers
43k views

How to prevent LaTeX from hyphenating the entire document?

I can't find where I can remove any kind of hyphenation and just have LaTeX just do a line break. edit: Honestly speaking I just don't like to read hyphenation anywhere and that's the only reason why ...
3
votes
3answers
108 views

Latex, how to “avoid” syllabify or hyphenation

I've a problem with latex (I'm new with it): it hyphenates :) :) I'm writing my thesis and I don't want the hyphenation. The strange thing is the fact that when I write the \chapter there is no ...
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
44 views

Hyphenation of words with accents doesn't work [duplicate]

Hyphenation of words with accents doesn't work. I'm writing my document in Portuguese so I have accents like '`~^ for some words but these words are not hyphenated. How do I solve this? THIS WAS ...
2
votes
1answer
41 views

Locally disabling hyphenation in a multicolumn list

How can I locally disable hyphenation in the following itemized list? I want to disable it only in a specific list in my document. \documentclass[12pt,letterpaper]{article} \usepackage{enumitem} ...
4
votes
1answer
93 views

Correct way to specify discretionary hyphens in bib files with biblatex/biber

Today I unexpectedly received the dreaded character not set up for use with LaTeX from inputenc. In this case, I was also pretty sure the error came from a .bib file. However, I grepped everything in ...
1
vote
0answers
26 views

Babel with UKenglish does not use British English hyphenation? [duplicate]

I am having trouble understanding the hyphenation rules of "babel". According to this question, selecting either UKenglish or british should result in Oxford dictionary type hyphenation. But it ...
3
votes
1answer
65 views

Justify text from right in two column springer document class

I am facing one problem in justifying text in springer document class. my code is as below \documentclass[twocolumn]{svjour3} %\documentclass[conference]{IEEEtran} \usepackage{graphicx} ...
2
votes
1answer
84 views

Should I emphasize the hyphen, here? [closed]

I need to emphasize one part of a combined word containing a hyphen (cis-Golgi). What would be correct? Including or excluding the hyphen / minus in \emph{}? Does it make a difference?
3
votes
3answers
265 views

Hyphenation of words containing slash

How can I tell LaTeX to automatically split up the german word Kontrast/Rausch-Verhältnis into Kontrast/Rausch-|Ver|hält|nis LaTeX complains that "/" is not a letter.
1
vote
1answer
37 views

Hyphenation in nomenclature [duplicate]

I'm using the nomecl package for explaining symbols. However, manual hyphenation rules like Kontrast/Rausch"=Verhältnis for long german words in the description are not working. See the following ...