1

Can we use \! and ~ to adjust the space between the words to adjust the hyphenation and the readability of the paragraph?

  • you can, but \! would be rather rare and ~ is the same space as a normal space, so it's adjusting linebreaking rather than space between words. – David Carlisle Oct 11 '22 at 10:35
  • 1
    Yeah I want to avoid hyphenation at certain places so I adjust by these two commands. Is there any alternative way to adjust the line breaking in professional way – karthik holla Oct 11 '22 at 10:59
  • se for example https://tex.stackexchange.com/questions/661347/justified-text-extending-beyond-margin-and-i-cant-hyphenate – David Carlisle Oct 11 '22 at 11:00
  • In addition to the tactics shown in the question cited by @DavidCarlisle, if your main goal is to suppress hyphenation, you can wrap the word that isn't to be hyphenated in an \mbox or (if you never want a particular word hyphenated, or hyphenated differently) you can add a \hyphenation entry in your preamble; see No hyphen for a word. – barbara beeton Nov 13 '22 at 14:21

1 Answers1

0

There are two general modes for the behaviour of the engine regarding hyphenation.

Two commands are available:

  • \sloppy and \fussy.

  • \fussy is the default.

If you think you get too many hyphenations, try \sloppy, which makes the program much more tolerant, i.e. more reluctant to hyphenating.

You may also play with other parameters such as:
\hyphenpenalty=<number>

I personally hate hyphenation, and find the following settings to give the best results
(cf. Apply hyphenation to words containing dashes only):

\sloppy
\hyphenpenalty=9999

Of course, many will disagree: it's a subjective matter.

For technical details, see this post:
What is the meaning of \fussy, \sloppy, \emergencystretch, \tolerance, \hbadness?