Text FormattingHyphenation Points with Penalties

Information and discussion about LaTeX's general text formatting features (e.g. bold, italic, enumerations, ...)
Post Reply
Laurentius
Posts: 132
Joined: Wed Feb 11, 2009 11:38 pm

Hyphenation Points with Penalties

Post by Laurentius »

Is it possible to hyphenate a word with a penalty? E.g., you may accept "aristo-telic" if necessary but wish to avoid it.

Recommended reading 2024:

LaTeXguide.org • LaTeX-Cookbook.net • TikZ.org

Learn LaTeX easily with newest books:

The LaTeX Beginner's Guide: 2nd edition and perfect for students writing a thesis

The LaTeX Cookbook: 2nd edition full of practical examples for mathematics, physics, chemistry, and more

LaTeX Graphics with TikZ: the first book about TikZ for perfect drawings in your LaTeX thesis

GerlofVito
Posts: 27
Joined: Wed May 16, 2012 8:24 pm

Hyphenation Points with Penalties

Post by GerlofVito »

It sounds like what you're looking for is a 'soft hyphen.' It's an optional hyphen that will break the word across two lines if necessary. In TeX, you make a soft hyphen with the following:

Code: Select all

\-
Post Reply