Questions tagged [hyphenation]
{hyphenation} is about controlling hyphenation in (La)TeX documents.
1,147 questions
2 votes
2 answers
279 views
Changes for TeX to allow hyphenation of compound words
In the paper "Notes on Compound Word Hyphenation in TeX" by Petr Sojka it is said on page 7: Their implementation in any conservative successor to TEX will be rather straightforward and ...
3 votes
2 answers
411 views
How to reduce hyphenations
I'm trying to reduce the number of hyphenations for a novel and tried almost every "solutions" that I found here: How to reduce the number of hyphenation? How to prevent LaTeX from ...
3 votes
4 answers
874 views
How can I keep the word “DS-GVO” together throughout the entire document in LaTeX?
I'm new to LaTeX and a bit confused right now: \hyphenation{DS-GVO} doesn't make sense, since the "-" is part of the word and shouldn't be separated at that point. \mbox{DS-GVO} doesn't make ...
1 vote
1 answer
89 views
Tabularray hyphenation in column
I use package tabularray for my tables and I need to turn on hyphenation for some columns. The MWE is given below. \documentclass{article} \usepackage{tabularray} \usepackage{hyphenat} \usepackage{...
2 votes
4 answers
307 views
Hyphenation: Split after colon (without spaces)
I have a large document (Koma class) in which I want to add a specific naming convention. The document is bilingual (German and English) using paracol package and babel package. The naming convention ...
1 vote
0 answers
52 views
With dehyph-exptl and zref-clever, how to discourage breaking inside the abbreviations of numbered environments?
Running latex on \documentclass[ngerman]{article} \pagestyle{empty} \usepackage[ngerman]{babel} \babelprovide[hyphenrules=ngerman-x-latest]{ngerman}%%% according to the documentation of dehyph-exptl. \...
3 votes
1 answer
131 views
How to make latex do automatic hyphenation without the hyphenation symbol
My document shouldn't contain hyphenation, but tables should. I set \hyphenpenalty and \exhyphenpenalty for this. I want to set that hyphen won't print when hyphenation occur. A demo table: \...
2 votes
1 answer
96 views
How to hyphenate text that does not fit into a row of a table cell
I have a table, part of the content of which gets out of cell. I want to prevent this. \documentclass{article} \usepackage{tabularray} \NewDocumentEnvironment{GostTable}{O{} m +b} { \begin{...
3 votes
1 answer
121 views
Using more than one font for the same language with Polyglossia?
How do you use more than one font for the same language with Polyglossia? I need to use two different fonts for English and two different fonts for Ancient Greek. (So four fonts in total). The problem ...
1 vote
1 answer
102 views
Justifying text [closed]
Text not breaking as expected with justified. Any way to break text so appears as truly justified, no sudo ragged right? \documentclass[12pt]{article} \usepackage{amsmath} \usepackage{longtable} \...
2 votes
2 answers
129 views
Incorrect separation of syllables in Babel and Polyglossia
Looking at the hyphenation of the word "equivalentemente" in Portuguese: \documentclass{article} \usepackage[portuguese]{babel} \begin{document} \showhyphens{Equivalentemente} \end{document} ...
1 vote
0 answers
65 views
Avoiding the Hyphenation of Specific Syllables in Greek
I have a document in LaTeX in Greek. However, there is a problem: when a word needs to be hyphenated at the end of a line, it may break incorrectly. I know the option, e.g., \hyphenation{αι-σθη-τι-κός ...
0 votes
1 answer
223 views
Command to handle hyphenated words in text [duplicate]
The following makes the hyphenated word "self-proclaimed" go outside the column width. Some possibilities include using "= or \-. But this makes the actual work cumbersome to read (e.g....
4 votes
2 answers
252 views
How can I automatically use shorter dashes in all equation contexts in a document?
So I have a document where I have a bunch of compound names. (e.g. \lambda_v-C(t)-\rhd.) The - character in the equation context is understood as a minus sign and is WAY too long for compound names. I ...
4 votes
1 answer
334 views
Microtype messes up hyphenation
When using the microtype package, hyphenation seems to be ignored. Manually setting the hyphenation works, but is impractical due to the length of the original document. Here is a mwe that shows the ...