Text FormattingWord cuts

Information and discussion about LaTeX's general text formatting features (e.g. bold, italic, enumerations, ...)
Post Reply
bkarpuz
Posts: 124
Joined: Thu Dec 18, 2008 4:53 pm

Word cuts

Post by bkarpuz »

Hi LC users,

when I compile I can see in the output that the word
"denklem" is splited at the end of the line as "den-"
"klem", however, I want to have "denk-"
"lem".

Is there a possible way of introducing this?

Thanks.
bkarpuz

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

php1ic
Posts: 192
Joined: Wed Jan 28, 2009 8:17 pm

Word cuts

Post by php1ic »

Try putting

Code: Select all

\hyphenation{denk-lem}
in the preamble of your document

http://www.ics.uci.edu/~pan/documents/l ... x-244.html
User avatar
frabjous
Posts: 2064
Joined: Fri Mar 06, 2009 12:20 am

Word cuts

Post by frabjous »

php1ic's solution should work. If you want that hyphenation just in this instance, you could use denk\-lem there. But perhaps you should check if the proper hyphenation patterns for your language have been loaded. See the documentation for the babel package, especially.
Post Reply