Skip to main content
The 2024 Developer Survey results are live! See the results

Questions tagged [hyphenation]

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

Filter by
Sorted by
Tagged with
2 votes
2 answers
342 views

Beginner's question: proper way to handle hyphenation of words of short length?

For the sample, below, without adjusting for hyphenation, the word "yielded" in the first line extends into the right margin. I thought the correct hyphenation would be "yield-ed" ...
Gary's user avatar
  • 159
2 votes
2 answers
121 views

Underfull \hbox with image

When I create a minipage to insert an operating mode in front of an image, I obtain a warning with an Underfull \hbox (badness 1748) in paragraph at lines 75--75 I can't understand what is causing ...
Nicolas's user avatar
  • 1,297
1 vote
1 answer
54 views

How to achieve wrapping align left+right and solve the spacing problem after emdash?

I’m currently working on a LaTeX document where I have defined a new command \entry that takes two arguments: \newcommand{\entry}[2]{\markboth{#1}{#1}\textbf{#1} — \hfill{#2}} where it is used in ...
swiftenjoyer's user avatar
0 votes
2 answers
40 views

Hyphenation at the end of the line

I have an issue with hyphenation. Here is the code \documentclass[11pt,a4paper]{amsbook} \usepackage[utf8]{inputenc} \usepackage{txfonts} \usepackage{hyperref} \usepackage{mathrsfs} \usepackage{...
Conjecture's user avatar
1 vote
1 answer
41 views

How to make hyphen not be left aligned in ConTeXt in Vietnamese?

I have a weird issue regarding hyphen. When I write using hyphens in Vietnamese, the hyphen sometimes is left-aligned. Changing fonts replaces the hyphens that are error but not remove them completely....
Adrik Ivanov's user avatar
0 votes
0 answers
34 views

Correct capitalisation of acronym with both a class word and a hyphen

I am using package acro (version 2) to keep track of acronyms on a review paper I am writing. I am using package mfirstuc-english to avoid capitalising class words (such as "and", "of&...
Alberto Santini's user avatar
1 vote
2 answers
34 views

Drop Cap is causing text to be pushed out on certain lines of text

I would like the text to stay flush but it looks like the superscript along with the dropcap to be pushed out. I don't know what I need to fix that. Also, I'd like the paragraph to wrap around the ...
DonnyRodriguez's user avatar
2 votes
1 answer
110 views

Why are dehyph, elhyphen, ruhyphen, and ukrhyph required packages?

Since my document is not written in German, I thought I would uninstall the dehyph package. But apparently this package is required when running pdfLaTeX. Why? What does it contain that it is so ...
ltcomdata's user avatar
  • 935
0 votes
1 answer
67 views

Why are no words in my document being hyphenated?

I have a document with many instances where hyphenation would be appropriate. But not a single word is being hyphenated. I have tried: Using \hyphenation to explicitly define the hyphenation. Adding \...
vauhochzett's user avatar
4 votes
1 answer
180 views

What is the LaTeX equivalent of setting \uchyph=1?

If I understand correcly, when using LaTeX rather than Plain TeX, one should avoid using primitives directly and instead use \newcommand, \setlength, etc. Therefore, I think that my habit of setting \...
user avatar
1 vote
0 answers
44 views

word with diacritic marks not hyphenated

Consider this example: \documentclass[a4paper]{article} \usepackage[utf8]{inputenc} \begin{document} Excepteur sint occaecat cupidatat non proident, sunt in culpa Ut Safgātējomlor Lorem ipsum dolor ...
Viesturs's user avatar
  • 8,105
5 votes
1 answer
188 views

Seeking a way to print the first N lines of some text

Is there a command that would typeset a some text (one paragraph), and then only actually put out the first N lines as formatted. It would mean that the last word might actually only be the first part ...
dedded's user avatar
  • 2,308
1 vote
2 answers
41 views

\mbox overfull in math environment

I am quite new to Latex and am having an Overfull \hbox warning on Overleaf with the following code in a document environment: \vspace{5mm} \begin{math} l^*=\frac{l}{ke^{\tau\lambda}}=(\frac{1}{ke^{\...
MsFormula's user avatar
1 vote
1 answer
43 views

How to hyphenate words with a single quotation mark (apostrophe)?

Using this solution allows to have LaTeX hyphenates words starting or finishing with a bracket. I'd like to use it also to hyphenate words containing a single quotation mark (called "apostrophe&...
bmrs's user avatar
  • 99
1 vote
3 answers
212 views

(Overleaf and LuaLaTeX) ы with acute stress only works correctly sometimes (using Times New Roman and STIX Two Text) [Not A Repost]

I posted a semi similar question a while ago where I asked about why the ы character did not appear correctly at all on TNR with the acute accent when using \'ы. I have a Chromebook and have ...
Felix Maldonado's user avatar
2 votes
1 answer
40 views

How to specify a custom set of hyphenation rules to apply only to a custom font?

I am creating a grammar of a fictional language, and have had a custom font created for this language. The font has a system where characters and ligatures overlay the previous character to create ...
faiuwle's user avatar
  • 123
3 votes
2 answers
154 views

Non-breaking hyphen in Plain TeX

I am asking the same question as this post: How to type a non-breaking hyphen (dash, "-" character) in scientific or technical documents but I don't want to use any package (just to ...
user avatar
0 votes
0 answers
38 views

Problem to generate the bibliography

Compiling a large document which worked properly some two months ago, now causes an error. The document was not changed, but I'm updated my MikTeX on a regular basis. Because of the complexity of the ...
Typo's user avatar
  • 191
0 votes
3 answers
87 views

Line break in/before words without hyphenation pattern

I checked the warnings and ran into an overfull hbox. The word planned is sticking out of the line. According to this website, it hasn't got any hyphenation, which explains why TeX isn't breaking it. ...
Erik's user avatar
  • 33
2 votes
2 answers
580 views

Why does foreign language text not hyphenate even when using Babel? Typst hyphenates it correctly

Why do I not get the same hyphenation results as Typst when using babel in LuaLaTeX? I have tried various methods for fixing the issue, but they dont work. Both use Letterpaper sized paper, use custom ...
Felix Maldonado's user avatar
1 vote
0 answers
83 views

Justification, hyphenation

I am a PhD student writing his thesis on overleaf. My supervisor told me to remove hyphenation as it can be distracting however now some words go over the margin (See pic). Could anyone help me modify ...
dvverdo's user avatar
  • 27
1 vote
2 answers
57 views

How to avoid hyphenations in important paragraphs like Funding Statements in a double-column format document (IEEE papers)?

For a new paper I am writing to IEEE journals (double-column formats), many important paragraphs suffer from the default hyphenation in LaTeX. Especially, I don't like the hyphenations given in the ...
Sundar's user avatar
  • 725
2 votes
1 answer
80 views

Is there a way to disable hyphenation in the preamble for a word containing dashes

I am writing a document where I commonly use a word that contains a dash ("Foo-Bar"). I want to globally disable hyphenation for this word. Is this possible? I am looking for a solution that ...
Grodriguez's user avatar
  • 1,179
0 votes
4 answers
109 views

Centered text but without hyphenation

For a heading I want to have a horizontally centered box with text. The text should not be hyphenated. If the text is not hyphenated the text should be still in the center of the page. Currently I ...
LeO's user avatar
  • 1,501
3 votes
1 answer
114 views

Why `\hyphenation` does not work? [duplicate]

In the following example \documentclass{article} \usepackage{polski} \begin{document} \hyphenation{Bor-zo-bo-ha-ta} \begin{tabular}{|p{6mm}|} Bor\-zo\-bo\-ha\-ta\\ Borzobohata \end{tabular} \end{...
Przemysław Scherwentke's user avatar
1 vote
1 answer
63 views

beamer + polyglossia: manual hyphenation

I have the following beamer frame: \documentclass[10pt]{beamer} \usepackage{polyglossia} \setdefaultlanguage[babelshorthands]{italian} \disablehyphenation % to follow beamer documentation \...
miticollo's user avatar
  • 367
1 vote
1 answer
150 views

No hyphenation patterns (spanish)

Hyphenation in my Spanish latex document is not accurate to language rules. Searching in the log I founded: ackage babel Warning: No hyphenation patterns were preloaded for (babel) the ...
JJP's user avatar
  • 81
1 vote
2 answers
91 views

Issue with Polyglossia hyphenation

This is my MWE: \documentclass{article} \usepackage{polyglossia} \disablehyphenation % <-- if I remove this line the word "corrispondente" is not automatically hyphened \setmainlanguage{...
miticollo's user avatar
  • 367
3 votes
1 answer
116 views

Does hyphenmin disregard punctuation?

I use lualatex, but I believe this would apply to any *tex. I will narrow the question to Latin-based languages, so that we do not have to deal with special initial/final forms, required ligatures, ...
user avatar
1 vote
1 answer
96 views

7bit patterns for 8bit and unicode engines

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,356
0 votes
1 answer
138 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
  • 452
0 votes
0 answers
98 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
  • 145
0 votes
1 answer
40 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,531
7 votes
4 answers
646 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
75 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
1 vote
1 answer
90 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
  • 35
2 votes
1 answer
171 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
  • 564
0 votes
1 answer
70 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
364 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 ...
user avatar
2 votes
1 answer
61 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
48 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
  • 357
3 votes
0 answers
126 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
106 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
529 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
  • 4,684
0 votes
1 answer
33 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
39 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
103 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
292 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 ...
DDS's user avatar
  • 9,768
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
351 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

1
2 3 4 5
23