Text FormattingAutomatic hyphenation for words with special characters

Information and discussion about LaTeX's general text formatting features (e.g. bold, italic, enumerations, ...)
Post Reply
bircoph
Posts: 2
Joined: Thu Jul 02, 2009 3:32 pm

Automatic hyphenation for words with special characters

Post by bircoph »

Hello,

I'm wondering is there any way to automatically hyphenate words with special chars? Especially I'm interesting in the words containing '-' themself, like "$\Delta$-resonanse", or
$\Sigma$-hyperon.

Of course, I can manually set hyphens for those words (using '\-'), but this is annoying. Even new commands doesn't help much: I have dozens of this words with different endings (in Russian you have 6 possible cases for the word, not only 2 as in English).

Recommended reading 2024:

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

NEW: TikZ book now 40% off at Amazon.com for a short time.

And: Currently, Packt sells ebooks for $4.99 each if you buy 5 of their over 1000 ebooks. If you choose only a single one, $9.99. How about combining 3 LaTeX books with Python, gnuplot, mathplotlib, Matlab, ChatGPT or other AI books? Epub and PDF. Bundle (3 books, add more for higher discount): https://packt.link/MDH5p

bircoph
Posts: 2
Joined: Thu Jul 02, 2009 3:32 pm

Re: Automatic hyphenation for words with special characters

Post by bircoph »

I found a solution: you can use ["=] instead of [-] and words with dash are hyphenated automatically. Though, it works only if babel with russian language is set.
Post Reply