Questions tagged [hyphenation]

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

Filter by
Sorted by
Tagged with
0 votes
0 answers
13 views

8bit patterns for LuaTeX and XeTeX

Consider the following dummy file \bgroup \catcode`^^F1=11 \lccode "F1="F1 \patterns{ 1b 1c 1d 1f 1g 1h 1j 1k 1l 1m 1n 1^^f1 1p 1q 1r 1s 1t 1v 1w 1x 1y 1z } \egroup \endinput Is it ...
jarnosz's user avatar
  • 4,203
0 votes
0 answers
87 views

Can I change how LaTeX evaluates hyphenation?

At least for German-language documents (and especially when using microtype) LaTeX, to my taste, puts too much emphasis on preventing hyphenation. Is there any parameter that can be changed so that, ...
keth-tex's user avatar
  • 454
0 votes
0 answers
33 views

polyglossia and Portuguese

What is the current incantation for making hyphenation work with polyglossia? In olden times, ie. two years ago, I used \setmainlanguage{portuges}. It doesn’t work anymore... I get no hyphenation. I’...
Parjánya's user avatar
  • 135
0 votes
1 answer
29 views

Force hyphenation or make newline in \tt

Overview The goal is to get a tt rendering but with no right text overflow, in any case. I try to force LaTeX to make hyphenation or, if it’s not possible, newline. No matter if sometimes it let a gap ...
fauve's user avatar
  • 2,437
7 votes
4 answers
622 views

How to stop long words with "+" in them from going into the margins?

I have a long word with plus signs in it (e.g. This+Is+A+Long+Word) that often ends up going into the margins of my page. Both \sloppy and \emergencystretch 3em fix this issue, but they also add a lot ...
Jenna's user avatar
  • 73
0 votes
1 answer
45 views

Global Hyphenation Issue in Overleaf LaTeX Document Despite Using \usepackage{hyphenat}

I'm dealing with a pesky hyphenation problem in my LaTeX document on Overleaf. I tried to fix it by using the \usepackage{hyphenat} package, but it didn't do the trick. Since my document is pretty ...
Caio Henrique Pinheiro's user avatar
0 votes
1 answer
30 views

Hyphenation controls beyond \lefthyphenmin \righthyphenmin

Seeking pointers to additional hyphenation controls under LuaLaTeX with microtype. Typography books (e.g., Bringhurst’s The Elements of Typographic Style and Argentsinger’s A Grammar of Typography) ...
WWJ's user avatar
  • 25
2 votes
1 answer
66 views

One line doesn't respect right margin

What could be causing one single line of this text not being aligned to the right (first line of third paragraph)? \documentclass[11pt, twoside]{article} \usepackage[headsep=14pt, paperwidth=14cm, ...
Raphael's user avatar
  • 554
0 votes
0 answers
37 views

Hyphen too wide in texttt when combined with microtype

I'm currently writing a paper with a lot of code references. I want to typeset class and method names using \texttt{}. I am explicitly indicating word splitting points using e.g. \texttt{Very\-Long\-...
Gutenberg's user avatar
4 votes
2 answers
326 views

On TeX hyphenating “memorandum” in British English

Running latex from the current Debian stable on \documentclass[british]{article} \usepackage[british]{babel} \begin{document} \showhyphens{memorandum} \end{document} yields mem-o-ran-dum At the same ...
AlMa0's user avatar
  • 439
2 votes
1 answer
60 views

Why no implicit hyphenation for a single-word paragraph in this narrow minipage?

The following is a minimal example of a problem I'm having with hyphenation. \documentclass{article} \begin{document} \hyphenpenalty=0 \hyphenation{shame-less-ness} \begin{minipage}{18mm} ...
Ben Crowell's user avatar
0 votes
1 answer
26 views

Hyphenation with colon as special character

I need to define hyphenation for words that contain colons. Using hyphanat package returns error Not a letter. \hyphenation{Konsument:. Any suggestions? \documentclass{article} \usepackage{hyphenat} \...
kilsen's user avatar
  • 347
3 votes
0 answers
88 views

Latest German dictionary pattern

I have included the format file latest German pattern from: https://ctan.org/tex-archive/language/hyphenation/dehyph-exptl?lang=en I have generated 45 German words in InDesign (using Duden Dictionary) ...
Baskar's user avatar
  • 61
1 vote
1 answer
99 views

Keeping hyphenated layout in code - making it disappear from PDF

I have an OCRed document that I want to typeset. However, for validation purposes I want to keep the original layout in the code, but make hyphens disappear from the compiled document. Is there a way ...
Kazi bácsi's user avatar
8 votes
2 answers
502 views

TeXbook Exercise 14.32

In the end of Chapter14 of TeXbook, there is a macro called \signed: \def\signed #1 (#2){{\unskip\nobreak\hfil\penalty50 \hskip2em\hbox{}\nobreak\hfil\sl#1\/ \rm(#2) \parfillskip=0pt \...
Stephen's user avatar
  • 2,558
0 votes
1 answer
17 views

\emergencystretch doesn't work when using AltaCV class

I'm very new to LaTeX, apologies if this question is silly. I'm trying to make my document such that it has minimal hyphenation caused by linebreaks. Instead I would like each line to be stretched to ...
DangerousTim's user avatar
0 votes
0 answers
27 views

hyperref with hyphens looks fine but nolinkurl ignores before hyphen

Not quite minimal example: \documentclass{article} \usepackage[hyperfootnotes=false]{hyperref} \begin{document} Testing: \href{https://mathshistory.st-andrews.ac.uk/Biographies/Bezout/}{Étienne Bézout}...
kcrisman's user avatar
  • 415
3 votes
1 answer
88 views

how to automatically permit hyphenation of the word "category" in "$\infty$-category"

The word category gets automatically hyphenated as cate-gory by latex, but with the prefix $\infty$-, it doesn't. It still works by manually writing $\infty$-cate\-gory, but putting \hyphenation{$\...
user313032's user avatar
3 votes
2 answers
254 views

Invocation of Polski Package Sometimes Produces Strange Hyphenation

Consider the code: \documentclass[12pt]{book} \usepackage{enumitem,xcolor} \usepackage[T1]{polski} \usepackage[tracking=true]{microtype} %This line must be commented out when using Xelatex to ...
mlchristians's user avatar
  • 7,724
0 votes
0 answers
34 views

How to justify text width in latex like in a Word document [duplicate]

I faced a problem that in LaTeX it is not a trivial thing to apply a text justification based on line width like in Word. I have tried \usepackage[hyphenate]{microtype} and \usepackage{ragged2e} with \...
MaYar's user avatar
  • 1
5 votes
2 answers
330 views

Generate the hyphenation of a given list of words

I'm new to LaTeX; is there a way to tell the TeX engine to generate the hyphenation of a given list of words as a text output file? For example: abdomen abduction aberrance ... What I want is ...
giofrida's user avatar
0 votes
0 answers
44 views

Word with special character (cedilla) not hyphenated

I am trying to understand why the last word in the first line is not hyphenated: \documentclass[11pt]{article} \usepackage[utf8]{inputenc} \usepackage[headsep=14pt, paperwidth=14cm, paperheight=21cm, ...
Raphael's user avatar
  • 554
3 votes
2 answers
126 views

How do I put the hyphens in the margin in plain TeX?

I want to typeset the hyphens in the margin using plain TeX (I'm using the XeTeX engine, if that's important to you). For example: Lorem ipsum dolor sit amet, consecte- tuer adipiscing elit. Aenean ...
user avatar
1 vote
1 answer
86 views

Hyphenation of Bahasa Indonesia language in ConTeXt

I am trying to make ConTeXt do the hyphenations native to the Bahasa Indonesia language. I do not have any MWE, but I am relying on default English hyphenation and overriding incorrect hyphenation ...
Muhammad Rizqi Siregar's user avatar
4 votes
2 answers
429 views

LaTeX no hyphenation and justification in book class like in Microsoft word

There have been already several questions on this point, but still I could not find what I am looking for. I am working with book class and compiling tex file with LuaLaTeX engine. The packages babel, ...
user61681's user avatar
  • 1,729
0 votes
0 answers
24 views

hyperref url overfull hbox: word is in an awkward place

pdfTeX 3.141592653-2.6-1.40.22 (TeX Live 2022/dev/Debian) I have \begin{enumerate}[label={[\arabic*]}] \item Alex McLean et al., \emph{Documentation Reference: Tidal Cycles}: ``Configuration; I/O (...
jamshark70's user avatar
2 votes
0 answers
106 views

Underlining Command preventing line breaks

Based on a code by Alex Chan and help from Jinwen here, I made a custom underlining command with nice results: as you can see on the pictures (here and in Jinwen's post edited by me), the underline ...
Vincent Krebs's user avatar
1 vote
0 answers
36 views

Linebreaking an URL without any hyphens - only letters

Does anyone know how I can make a linebreak in my LaTeX output so that the link doesn't go "out of bounds"... There aren't any hyphens so I can't make any of the xurl, url, hyperref work. ...
Alexander Strarup's user avatar
0 votes
1 answer
44 views

Polyglossia and French hyphenation

What am I doing wrong here? Hyphenation seems to be missing. Here is a minimal reproducible example: \documentclass[a5paper,12pt]{article} \usepackage{xltxtra} \usepackage{xunicode} \usepackage{...
Igor Chubin's user avatar
1 vote
0 answers
98 views

\babelhyphenation: why does rasing a penalty lead to a break?

Feeding \documentclass[ngerman]{article} \textwidth=104.2mm \usepackage{fontspec} \usepackage[ngerman]{babel} \babelprovide[hyphenrules=ngerman-x-latest]{ngerman}%%% according to the documentation of ...
AlMa0's user avatar
  • 439
0 votes
0 answers
58 views

microtype + \babelposthyphenation: Why does lowering a hyphenation penalty at one position break the word at another position?

Running the code \documentclass[ngerman]{article} \textwidth=109mm \usepackage{fontspec} \usepackage[ngerman]{babel} \setmainfont{TeX Gyre Termes} \usepackage[babel=true,verbose=errors]{microtype} % \...
AlMa0's user avatar
  • 439
1 vote
1 answer
56 views

Wrong hyphenation between french quotes

I'm transcribing a book in Italian and I can't get proper hyphenation with the words in quotation marks. If I write: \documentclass[10pt]{article} \usepackage[a5paper, margin={15mm,20mm}]{geometry} \...
fusion3k's user avatar
  • 115
8 votes
2 answers
712 views

Is it possible to change the TeX hyphenation rules for Ecclesiastical Latin?

I am in the middle of a very large project using LaTeX (which means it would not be OK to switch to XeTeX or LuaTeX), and I'm starting to run into issues with hyphenation. The entire thing (some 3,000 ...
Karl Wolfschtagg's user avatar
8 votes
2 answers
368 views

Preventing hyphenation of a word with \hyphenation does not always work

I know that it is possible to prevent the hyphenation of a word by setting \hyphenation{ }. However, this does not seem to work in some cases. Here is an example, where the word is the acronym "...
Massimo's user avatar
  • 697
2 votes
0 answers
71 views

beamer: Allow hyphenation by default (paragraph, itemize, footnotes, description) [duplicate]

I want that all text in columns, footnote (incl. [frame] option), and itemize (and description) are set in a way that word breaks are likely to happen. This is a follow-up to beamer: column + babel + ...
Dr. Manuel Kuehner's user avatar
0 votes
1 answer
59 views

beamer: column + babel + manual hyphenation does not work as expected

I have a beamer slide with a footnote. I use the columns environment. German has long words, e.g. Teilnahmeberechtigt (= "eligible") as seen in the example. Therefore I provide manual ...
Dr. Manuel Kuehner's user avatar
2 votes
2 answers
96 views

Possible to load only hyphenation in LuaLaTeX, without babel or polyglossia?

Using only lualatex, recent (post-2020) version. Always utf-8, always OpenType fonts. Language will be one of the major Western European, possibly Latin-alphabet Eastern European, never anything else. ...
rallg's user avatar
  • 967
3 votes
1 answer
66 views

Dotfill after hypenation break

It seems there is an issue with \dotfill after a hyphenation break, minimal example \documentclass{article} \begin{document} hippopotamus, hippopotamus, hippopotamus, hippopotamus, hippopotamus \...
J.J. Green's user avatar
4 votes
3 answers
243 views

Allowing more hyphenation breaks to reduce interword space

I have some captions in the margin with very short lines and I don't like the way LaTeX hyphenation algorithm breaks them. Here is an example of the outcome I get letting LaTeX do the job (of course I ...
Massimo's user avatar
  • 697
0 votes
0 answers
31 views

Automatic hyphenation with explicit hyphen signs in CSplain

Babel declares a couple of convenient shorthands which make it possible to write explicit hyphen signs that don’t block automatic hyphenation. How could I achieve something similar without Babel in ...
kirjosieppo's user avatar
0 votes
1 answer
35 views

Babel: Respect preamble hyphenation breakpoints when insert extra breakpoint in document

Is it possible to insert extra breakpoints in a word beyond those already defined with \hyphenation{} or \babelhyphenation{} in the preamble? In the example below, the (lack of) breakpoints defined in ...
Fredrik P's user avatar
  • 1,154
0 votes
1 answer
49 views

Issue with the long section title

I looked it up, but couldnt find a valid solution so that's why I am asking. My issue is, I have a long section title that extends over my textwidth as shown in below. How can I solve this issue? I ...
goktugkilic's user avatar
3 votes
1 answer
46 views

Undo babel-swedish's redefinition of \-

babel-swedish redefines \- so that it allows hyphenation in the rest of the word. To me, this seems ill-advised. How can I undo this in my preamble? The redefinition is done as below: \addto\...
Fredrik P's user avatar
  • 1,154
1 vote
1 answer
54 views

Difference between "= and "- in babel-swedish

Is there a difference between the two shorthands "= and "- defined by babel-swedish? While they evidently are defined differently, I fail to find a difference in their descriptions or a case ...
Fredrik P's user avatar
  • 1,154
3 votes
1 answer
104 views

Prevent babel from hyphenating words shorter than five letters

Is there a way to prevent babel from hyphenating words shorter than five letters? While still allowing the parts on either side of the hyphen to be a minimum of two letters?
Fredrik P's user avatar
  • 1,154
8 votes
1 answer
152 views

Where are the Swedish hyphenation rules defined in Babel and Polyglossia?

I’m writing a document in Swedish with Babel and feel that the hyphenation is rather strange. And I can’t seem to find any rules defined specifically for Swedish in either babel or polyglossia. Are ...
Fredrik P's user avatar
  • 1,154
2 votes
0 answers
73 views

Guideline on setting hyphenation preferences in German compounds

Let's say we wish to provide different priorities of hyphenation points in long compound words in German. Here is what we tried out for now: \documentclass[ngerman]{article} \usepackage{iftex} \...
user avatar
0 votes
0 answers
41 views

How to invoke babel, a US-English exception list, and hyphenrules properly?

Let's assume we care about the proper hyphenation of a few English words in a multi-lingual document in which the main language is not English. These few words happen to find themselves in ushyphex....
user avatar
5 votes
1 answer
202 views

Hyphenation Ancient Greek

I am trying to hyphenate some texts in Ancient Greek in order to count the number of unique syllables (so I want to have every word forcefully hyphenated). I have read that hyphenation patterns in ...
LocusClassicus's user avatar
2 votes
0 answers
106 views

Incorrect Dutch hypenation of `bijlage` with `babel`

I was checking the hyphenation of Bijlage (Dutch) in (Lua)LaTeX using babel or polyglossia (using \showhyphens), and noticed that babel incorrectly hyphenates it as Bij-lage, while polyglossia gives ...
beehive's user avatar
  • 63

1
2 3 4 5
22