Questions tagged [hyphenation]

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

Filter by
Sorted by
Tagged with
2
votes
1answer
49 views

How to get a shorter hyphen in text mode?

I'm creating a title page with large fonts, in French, and I really hate the usual hyphen for such a big title. So I'm looking for a shorter hyphen, something elegant and simple. Here's a MWE ...
1
vote
2answers
64 views

How to avoid small caps exceeding pre-defined document margins?

When I use small caps in my document, they occasionally exceed the margins I have defined with the geometry package. The underlined part of the name "Lambrecht", which you can see in the ...
2
votes
1answer
36 views

babel 3.42 (and later?): “nohyphenation” and languages that use “zerohyph.tex” aren't recognized

Babel 3.42 seems to show some inconsistent behaviour with the dummy language nohyphenation and some other languages such as farsi which can be chosen within macros such as \foreignlanguage to avoid ...
2
votes
3answers
77 views

Apply lefthyphenmin to parts of a word spelled with hyphens

In German, there are some words that have a single letter separated with a hyphen, for example "E-Ink-Display", "E-Auto" (electric car), "E-Mail", "x-Achse" (x-...
1
vote
0answers
37 views

Hyphenation does not work for first word in paragraph

I'm having several short parboxes and just recognized, that LaTeX does not hyphen the first word. \documentclass[a4paper]{article} \usepackage{german} \parskip=1ex \begin{document} \frame{\parbox{...
0
votes
1answer
58 views

How might one treat hyphens as hyphens (not minus) in in-line math?

How might one treat hyphens as hyphens (not minus) in in-line math? \documentclass{article} \usepackage[T1]{fontenc} \usepackage{amsfonts} \usepackage{amssymb} \usepackage{parskip} \renewcommand\...
0
votes
0answers
32 views

Black symbols in the \listoffigures \listoftables

I want to add a \listoffigures and \listoftables at the end of the document. Whole document was created with latexmk under Linux. So far so good, no errors by creating the document. By inserting \...
0
votes
1answer
36 views

Text with chords for guitar in Italian language [duplicate]

I would to write the words of a song (for example "Immensamente" of the singer-songwriter Umberto Tozzi) with a typewriter font, with manual hyphenation, but the top should adopt either a ...
0
votes
1answer
33 views

hyphenrules no longer defined in polyglossia

I've used hyphenrules to add custom hyphenation to the languages I write in. I once asked how to do this, and the accepted answer (MWE below) no longer compiles, but gives the error message ...
2
votes
1answer
31 views

How to prevent hyphenation of abbreviations when glossary has the choice to use the long form?

I followed the advice given by @NicolaTalbot (by the way thanks for creating the great glossaries package!) in hyphenation of abbreviation using the glossaries package to avoid hyphenation of ...
2
votes
3answers
31 views

Can Latex automatically break words at a certain special character (underscore) in the whole document?

I have a large document that includes many tables like this one. I would like the filenames to break in several lines so that they fit in the column. Is there a way to tell Latex it can break all ...
4
votes
1answer
47 views

How can I set automatic use of the double-oblique hyphen when a line break falls on an intentional hyphen?

Say you've got a compound word in which the elements are conventionally joined with a hyphen, instead of being jammed together, like fact-check is and gumshoe isn't, or one of those fancy hyphenated ...
0
votes
0answers
30 views

What is the best way to avoid hyphenation of all acronyms defined with glossaries? [duplicate]

Today the problem given is, that I want to prevent the hyphenation of all words defined with \newacronym for the glossaries package. An example of a document that would have HStA break between S and ...
1
vote
2answers
77 views

How to typeset hyphenated words using Zellman font?

Zellman font apparently drops hyphens: \documentclass[11pt]{article} \input Zallman.fd \newcommand*\initfamily{\usefont{U}{Zallman}{xl}{n}} \begin{document} \normalfont\initfamily \fontsize{6mm}{...
0
votes
1answer
25 views

Minted set manual hyphenation

MWE: \documentclass[12pt]{article} \usepackage[a4paper]{geometry} \geometry{tmargin=2cm,bmargin=2cm,lmargin=2cm,rmargin=2cm} \usepackage{minted} \begin{document} \begin{minted}[breaklines, tabsize=2]{...
4
votes
2answers
406 views

split a long email adress at the “@”

In a document of mine I would like to give people the option of filling in their email adress. However, for some exceptionally long email adresses the text box can be larger than the tikzpicture node ...
0
votes
0answers
17 views

MikTeX: UTF8 errors for double hyphens between citation start and end page

In TexWorks (MikTek 2.9 - updated), I added some old chapters I wrote using LaTeX, and there are strange UTF8 errors where there are two hyphens between start page and end page. Below is an example ...
1
vote
0answers
18 views

How to prevent hyphenation of words that has hyphen? [duplicate]

How can I prevent the hyphenation of words with hyphens? For example: Wi-Fi, F-1 Is it possible to add the exceptions to \hyphenation?
1
vote
2answers
113 views

Why does TeX hyphenate analysis as anal-ysis?

I am having the following issue when the word analysis is hyphenated in TeX. This is using \usepackage[british]{babel} in the header. I have figured out how to work around the issue, by manually ...
0
votes
0answers
35 views

German language hyphenation on Mac

I am working in a file on a Mac using TexStudio in conjunction with MikTex. Unfortunately, no words are hyphenated at the end of the line, generating many line-overruns. The error log says: ngermanb....
0
votes
0answers
31 views

How to write negative numbers in text properly [duplicate]

I have problems with hyphenation of negative numbers in an article document. It sometimes happens that the minus is on one line, whereas the number begins on the next line. A possible fix is to write ...
3
votes
1answer
108 views

Why Finnish hyphenation doesn't work correctly with words starting with “laus”?

With Finnish hyphenation turned on it seems that words starting with "laus" are not hyphenated at the first possible point. Here is example code. \documentclass{article} \usepackage{fontspec} \...
4
votes
1answer
60 views

Insert space with babel post-hyphenation

In czech, we write date ranges with en-dash without spaces, e.g. 1351–1362 It is not allowed to break the line around the dash. Instead, when necessary, it should be typeset as 1351 až 1362 ...
0
votes
0answers
18 views

English hyphenation works well but French does not [duplicate]

I observe something strange with the management of hyphenation by Polyglossia on my configuration. It seems that the English hyphenation settings are correctly loaded and applied, but not the other ...
1
vote
2answers
55 views

Auto wrap broken words without hyphens, zero all stretch/shrink inter-word intra-word glues in fully justified paragraph

(1) Recently I have been researching a lot of fonts, have come across a range of type specimens where designers have deliberately disabled hyphenation (as a stylistic effect) while allowing words to ...
1
vote
1answer
37 views

Hyphenating at active characters

Let's say I want to make certain letters active and do some devious things with them, like \catcode`y=13 \defy{\leavevmode\raise.1ex\hbox{\char`y}} (I know this is terrible in that it prohibits ...
1
vote
1answer
40 views

polyglossia: babel hyphenation shorthands for English?

I usually write in German, and I'm used to using various babel shorthands, e.g. "= for an explicit hyphen that does not keep a word from being hyphenated elsewhere. I've found that while these work ...
1
vote
1answer
36 views

How to use stix2 font in PdfLaTex for documents with two languages Russian and English (with hyphenation)

\documentclass[14pt]{extarticle} \usepackage[OT1, OT2]{fontenc} \usepackage[cp1251]{inputenc} \usepackage[english, russian]{babel} \usepackage{stix2} \usepackage[a4paper, left=30mm, right=15mm, top=...
0
votes
0answers
39 views

In words with a hyphen: Can I change LaTeX's default so it will break lines at different characters too?

By default LaTeX only does line-breaks after the dash in words that contain a dash. It will break 'multi-disciplinary' only at '-', but will not break at other characters ('mul-ti' or 'di-sci-pli-na-...
1
vote
1answer
64 views

Problems with sanskrit hyphenation in babel

I need to type a multilingual document, this document has both greek and sanskrit texts. But, I do not know why, the sanskrit hyphenation does not work. Here my MWE: % !TEX engine = lualatex % !TEX ...
0
votes
0answers
69 views

LuaLaTeX, Babel and ngerman: Spurious and wrong hyphens appear in a particular word in the middle of a line for no reason

Compile this MWE with LuaLaTex: \documentclass[ngerman]{article} \usepackage{babel} \begin{document} Es sind pri­vat­sphä­reschützende Lösungen vorgeschlagen worden. \end{document} The result is: ...
1
vote
1answer
53 views

Add a second hyphen on newline of automatically hyphenated words

When automatically hyphenating, I would like to have a hyphen on the new line with the second fraction of the hyphenated word. Is there a straightforward way to make this happen automatically? Example ...
3
votes
1answer
86 views

Two columns: automatic new line with compound words and inside equations

The two-column design works fine, but I encountered three problems: Every time I use a word that already has a hyphen (-) in it, LaTeX stops breaking the word with new hyphens to make it fit the ...
1
vote
1answer
43 views

How to remove hyphenation without breaking into margin nor increasing space between words?

To remove hyphenation, I used \usepackage[none]{hyphenat} Then the text broke into the margin area, so I did \sloppy Now the problem is Latex increased the space between words to fill up the line. ...
1
vote
0answers
35 views

Modern CV cover letter template not hyphenating words at the end of the line [duplicate]

I am using the Modern CV Cover letter template but the hyphenation at the end of the line is not working. Here you have an example of the cover letter with text in English and you can see how the ...
0
votes
1answer
54 views

Justified Bibliographies Without Hyphenation

I know there are a couple of questions regarding non-hyphenated bibliographies, but neither is exactly what I'm looking for. I would like to (i) stop biblatex hyphenating bibliography entries; and (...
11
votes
2answers
1k views

hyphenation: what special is in word “implementation”

What special is in the word "implementation" that it is not possible automatic hyphenate in narrower environments as are minipage, TikZ nodes etc, even if in preamble is added hyphenation pattern for ...
1
vote
2answers
71 views

Text in minipage produces underfull hboxes

After solving all my LaTeX related problems that occured during the writing of my bachelors thesis, I now had to sign up for this problem that I really couldnt solve so far, I hope you guys can help ...
0
votes
1answer
136 views

Why does TeX/LaTeX not have hyphenation patterns for more language variants? [closed]

The page at http://tug.org/tex-hyphen/#languages lists the "languages" for which hyphenation patterns are available (as the package hyph-utf8). I would have expected more. For example, Some other ...
0
votes
0answers
33 views

Input Encoding error: Unicode not setup with Latex [duplicate]

I have a problem with the encoding of my .bib file. It is most definitely related to this question, however the proposed solution does not work for me and the error message (see below) is slightly ...
0
votes
1answer
42 views

Custom \hyphenation rule does not work on Overleaf

I want to break a long word to the next line in a 2-columns acmart template. The word is Sample_Super.Very.Uber.Long.Word. I have tried with \hyphenation{Sample_Super-.Very-.Uber-.Long-.Word} but it ...
0
votes
0answers
38 views

Hyphenation in bibliography

I usually use the commands "- or \- to help LaTeX with the hyphenation of difficult scientific words. However, this does not work in the bibliography with BibTeX. The titles of my cited publications ...
0
votes
0answers
41 views

Different hyphenation decisions by different versions of pdfLaTeX

I'm finding the same file compiling differently on two different versions of pdfLaTeX on different machines that I use. In particular, one version is willing to hyphenate, and the other is not, ...
1
vote
1answer
77 views

Why is hyphenation not tried for words followed by em-dash?

Consider the following mystory.tex: \tolerance=10000 \hsize=.7in \leavevmode\nobreak\hskip0pt Drofnats---or ``R. J.,'' \end This is the log: (mystory.tex Overfull \hbox (17.41133pt too wide) in ...
3
votes
1answer
59 views

How to get URLs to line-break within \todo{} comments?

I am searching for a way to allow URLs to line-break at any character within a marginal comment created by the package luatodonotes. I installed the xurl package, which is one of the options for ...
1
vote
2answers
77 views

How can I present these DNA sequences within a table using \pbox?

I've been stuck on this issue for a while now. I have a table containing some DNA sequences, tabularx couldn't figure out where to hyphenate the sequence and the table ran out of the margins of the ...
0
votes
1answer
44 views

Hyphenation for Chinese pinyin

Using XeLaTeX with polyglossia, I’m typesetting a document that includes Chinese pinyin: not the whole text, but still a fair bit, so I want to avoid manually providing rules for hyphenation. ...
1
vote
0answers
64 views

Hyphenation for multirows in tables

For the table in the shown MWE, regardless of the various issues shown, I cannot resolve this particular issue where hyphenation does not work for multirows / merged rows. Is there a way to resolve ...
0
votes
1answer
73 views

Is there an alternative for using \mbox to prevent ugly hyphenation in the toc

Assume I have a long chapter title \chapter{one two three four five six seven eight nine ten} that appears in the table of contents like this: one two three four five six se- ven eight ...
6
votes
3answers
119 views

LaTeX: Are hyphenation *rules* possible (not just lists of words)?

It turned out for my document that LaTeX likes to hyphenate the German "Farbraum" (color space) as "Far-braum" (instead of "Farb-raum"). So I added \hyphenation{Farb-raum} and things looked good. ...

1
2 3 4 5
18