[LaTeX] How to remove \hyphenpenalty & \pretolerance influence on section/subsection headers
- by oleg-strikov
Hi there,
In my latex document i've set \hyphenpenalty=15000 and \pretolerance=10000 to remove word hyphenation and make text bounds even.
But I can't disable this effect for section/subsection headers. All headers looks badly due to big spaces between words (image).
Are there any solution to disable \hyphenpenalty=15000 and \pretolerance=10000 effect for headers?
Thank you!