Text FormattingProblem with trailing comma and hyphenation

Information and discussion about LaTeX's general text formatting features (e.g. bold, italic, enumerations, ...)
Post Reply
norknork
Posts: 2
Joined: Thu Jan 14, 2010 1:17 pm

Problem with trailing comma and hyphenation

Post by norknork »

Hi,

I'm having a problem with a trailing comma that I can't seem to get rid of. It looks like this:
TrailingComma.png
TrailingComma.png (12.93 KiB) Viewed 2442 times
I think the problem is rather obvious, but I can't find a solution. The corresponding code looks like this:

Code: Select all

tokolle wie Energy Efficient Forwarding benötigen eben mehr Kom\-mu\-ni\-ka\-ti\-ons-,\- Rück\-mel\-dungs- und Berechnungsoverhead als weniger zuverlässige Protokolle.
As you can see, my attempts to force hyphenation have not been successful. Does anyone know how to get rid of this trailing comma?

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

phi
Posts: 577
Joined: Tue Oct 21, 2008 8:10 pm

Problem with trailing comma and hyphenation

Post by phi »

If you use the babel package, write

Code: Select all

Kommunikations"~,
norknork
Posts: 2
Joined: Thu Jan 14, 2010 1:17 pm

Re: Problem with trailing comma and hyphenation

Post by norknork »

That solved the problem, thank you very much!
Post Reply