Questions tagged [hyphenation]

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

Filter by
Sorted by
Tagged with
5
votes
3answers
421 views

How do I make a long identity sign?

The dash $-$ may usually be prolonged by apposing one or two times in math environment to get longer dashes $--$ and $---$. How may I double or triple the length of the identity sign =?
0
votes
0answers
21 views

Avoid hyphens in all the docuent except for the titles

I need to avoid hyphens in all my document, so I used \usepackage[none]{hyphenat}, but I want hyphens in the titles in \section{}, how can I get this?
1
vote
0answers
19 views

Hyphenation of quote environment in Beamer

Beamer turns hyphenation off. There are good reasons for that (e.g., "if you need automatic hyphenation, you have too much text on your slides"). But I still get hyphenation inside a quote ...
0
votes
0answers
36 views

How to properly left-right justify text

As you can see in the image below some of text falls into the margin for some reason i am using \RequirePackage[none]{hyphenat} this package to prevent hyphenation and i assume this must be causing ...
0
votes
0answers
43 views

Disable hyphenation for proper nouns in Romanian language

I'm not sure that my question is related to hyphenat package or to Romanian hyphen pattern that are loaded in LaTeX. According to Romanian grammar definition: Proper nouns name objects of the same ...
1
vote
1answer
27 views

Modify hyphenation behavior for texts in monospaced font

I'm using a monospaced font and with some effort I got it hyphenated. However the hyphenation behavior is quite strange and the right side of the document is ugly. Is there a way to force it always ...
0
votes
2answers
41 views

word not getting broken to new line

In the first paragraph of the following document, the word mathematical is not getting broken across lines and this produces a misalignment with a wrong justification of the text. I know I can force ...
1
vote
0answers
25 views

Need an alternative for \usepackage[none]hyphenat

I have a problem. When i want to use hyphenat package, the breaklines=true on mmacells package will not working. But it will work if i delete the hyphenat package. And i don't want to delete my ...
3
votes
1answer
51 views

lualatex hyphenation issue in fancyhdr, with gregoriotex and multicols, latin text

The problem presents as each word in the header becoming hyphenated with each syllable on its own line, making the header unreasonably tall. The problem is intermittent, not occurring on every page. ...
4
votes
2answers
256 views

Hyphenate a word that contains a diacritic used in Romanian writing

The words are ilocuționare and funcțiile \documentclass{report} \usepackage[romanian]{babel} \usepackage[margin=2.5cm]{geometry} \usepackage{hyphenat} \hyphenation{i-lo-cu-ți-o-na-re func-ți-i-le} \...
0
votes
1answer
19 views

How to avoid the consecutive hyphenation in a para

i am getting the consecutive hyphen at the line end in a paragraph (more than 5 consecutive hyphen), in a two column format, I already used \doublehyphendemerits=10000, but not solved the issue. how ...
1
vote
0answers
23 views

List hyphenated words on log

I would like to review words that were hyphenated in a very long document. Looking at pdf output is too error prone. So I like to get a entry for every hyphenated word on compilation output or log ...
0
votes
0answers
24 views

Hyphenation exceptions specified by \hyphenation hyphenates some words differently

following the book Mathematical Wrinting in English by Nicholas Higham §8.22 in the third edition, I am trying to add hyphenation exceptions to my LaTeX template. However the \hyphenation macro doesn'...
0
votes
0answers
29 views

white lines in paragraphs

I need the pdf resulting from my compilation to show all the spaces occupied by the characters with a gray background, the goal I am pursuing is to visualize the white lines that form between words in ...
1
vote
2answers
34 views

Lyx hyphenation not splitting concatenated words

I have a document here of document class "Article(Standard)". And as you can see in the image below, Lyx is not splitting long concatenated words and therefore they are reaching out on the ...
13
votes
3answers
1k views

Avoid Three Consecutive Hyphens

I need to suppress occurrences of 3 consecutive lines of text that end in hyphenated words. How to solve this? My LaTeX Source Code is: \documentclass{book} \usepackage{luacode} \begin{document} \...
-1
votes
1answer
16 views

Right-align broken word ending after hyphenation in RaggedLeft

I have some text that is RaggedLeft (that is right-aligned). If inside that text there is any hyphenated word, the rest of it is left-aligned, like: |Lorem ipsum dolor sit amet, consectetur adipiscing ...
2
votes
0answers
77 views

Why does hyphenation orphan combining accents?

While testing a package I was writing to map Greek beta code to Unicode, I discovered a bug in both Babel and Polyglossia, running under either XeTeX or LuaTeX. The packages will happily insert a ...
1
vote
0answers
45 views

Why does the original LaTeX need hyphenation patterns for German, Coptic, Greek, Ukrainian, and Russian in order to process a file?

I have been experimenting with the old pure LaTeX engine. I have noticed that for a very simple file with absolutely no language requirements whatsoever the old pure LaTeX engine will display an ...
3
votes
2answers
118 views

LaTeX set up automatic line break not to stretch previous line

I am sure this is some basic LaTeX document formatting, but for the sake of me I just can't find the right place in the documentation on the proper way to achieve what I want. Consider the following ...
0
votes
0answers
34 views

LuaLaTeX & fwlw - supress hyphenation in \NextWordBox

If I use LuaLaTeX and fwlw package, word in \NextWordBox is hyphenated, it is undesirably. (If XeLaTex - no). Can it be fixed? MWE: \documentclass[]{scrbook} \usepackage{polyglossia} \usepackage{...
0
votes
0answers
36 views

how does hyphenation with babel-french work?

I have seen number other questions dealing with this problem but never understood how it works and how to fix it. I installed latex with the install-tl script and selected the babel-french package. In ...
0
votes
1answer
43 views

Automatically making spaces (preferably also hyphens) after 3-or-less-chars words non-breaking

In Polish and Czech typography short words should never be typeset at the end of a line, hyphenating a longer word is preferred instead. Sadly typing a NB space after every short word adds a lot of ...
1
vote
0answers
47 views

No hyphenation for ngerman with Plain-TeX after a recent MiKTeX package update

German hyphenation worked fine with my MiKTeX installation of February 2019 for Plain TeX input with just ngerman.sty as control sequence. But after I executed a package update on 26 September 2020 I ...
0
votes
1answer
42 views

Generate list of non-hyphenated words?

I have a memoir setup for my PhD thesis, which deals with South American languages. This means that there are a lot of language names, as well as non-English titles in the bibliography. LaTeX fails to ...
2
votes
0answers
26 views

Limit number of consecutively hyphenated lines to a hard numerical value

Is there a way to limit the number of consecutive hyphenated lines to a fixed maximum value (say, at most 3 consecutive lines with hyphen) in (1) LaTeX and (2) LuaLaTeX? MWE: \documentclass[ngerman]{...
4
votes
1answer
67 views

Question about exercise 5.1 in TeXbook

The answer to the exercise states: TEX will reinsert the ff ligature by itself after hyphenating shelf{}ful. (Appendix H points out that ligatures are put into a hyphenated word that contains no “...
0
votes
0answers
31 views

How can I globally prevent lines from overflowing

I'm using pandoc with xelatex and a custom template to generate a PDF document from markdown. Some parts of my document are overflowing on the right side, for example especially long paths that don't ...
0
votes
1answer
28 views

Not hyphenated but justify alignment

Can we remove the hyphenation of the document without re-paraphrase the sentences, but the alignment still justified, just like when we use justify alignment on Micr•s•ft W•rd? The reason i'm asking ...
1
vote
0answers
31 views

Generally suppress line breaking at hyphens followed by parentheses

It's not uncommon for me to typeset documents containing words such as "(semi-)automatic" (meaning "automatic or semi-automatic") or "(half-)hourly" (meaning "every ...
0
votes
1answer
55 views

LaTeX hyphenation and line breaking not working

I am unable to produce a simple text with hyphenated words and justified lines with PDFLatex. Here is a MWE \documentclass[12pt,openright,a4paper,twoside]{article} %\usepackage[utf8]{inputenc} %It ...
2
votes
1answer
55 views

Retain original \- (discretionary hyphen) in all babel languages

In babel-less LaTeX \- will add a discretionary hyphen making this the only allowed break-point of the word. This is also the behaviour in most babel-languages, but some, e.g. Danish and Dutch, ...
0
votes
0answers
48 views

Single or double dash between coauthors names?

Should I type: In the foundational paper of Eells-Sampson (...) or In the foundational paper of Eells--Sampson (...) So, single or double dash in the tex code between "Eells" and "...
0
votes
1answer
48 views

Word breaking from any point of the word for whole document or specifically for tables

I have a bunch of markdown tables such as this one below, and they're being converted into PDF using pandoc and a LaTeX PDF template. | Column1 ...
0
votes
1answer
67 views

Bad spacing with XeLatex and polyglossia

I have a multilingual Latex document the which uses Xelatex and the fontspec package for rendering. My rendered document shows unsatisfying spacing especially in English: Often the white space after ...
0
votes
1answer
148 views

Breaking long URLs on Arxiv.org

I have long URLs in my references and I want to submit my paper to arxiv.org. They use TexLive 2016. I tried to follow advice at Line breaks of long URLs in biblatex bibliography? URLs in bibliography:...
1
vote
1answer
64 views

Replace hyphen character from other font

I use the EB Garamond font. The only thing that has been bothering me for a long time is the hyphen character, which is slightly sloping. Is it possible to replace the hyphen character of EB Garamond ...
2
votes
1answer
67 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
78 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
49 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
112 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
55 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
76 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
35 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
59 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 ...
2
votes
3answers
110 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
39 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 ...
3
votes
3answers
39 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
61 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
47 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
2 3 4 5
19