Thank you Todd and Johan for the further ideas.

I think in my case, I don't want hyphenation, but I want latex to 
automatically wrap the word going into the margin to the next line AND 
justify the line to make up for the moved word.

I have been reading about \tolerance and \emergencystretch but can't seem 
to find good explanations. I tried \tolerance with from 50 to 250 but 
didn't see differences yet. I also don't know if the \emergencystretch is 
used on a case-by-case basis or for preamble.

Here is another example sentence:

  This assigns packets belonging to SSH login connections to the 
  ssh_login queue and packets belonging to SCP and SFTP connections to the
  ssh_bulk queue.

On my 6 inch wide page, the "ssh_login" goes out into the right margin. So 
I manually put in a \linefeed before it. Now my resulting output has a 
blank area after "... to the" (which I do not want) and the "ssh_login" in 
on the next line (which I do want).

I want to continue using justification. I want latex to know that the line 
is too long and simply wrap the word that it didn't hyphenate and then 
attempt to right justify the line that lost the word.

Will \tolerance or \emergencystretch work with that?

And what is the difference between
\emergencystretch=2em
and
\setlength{\emergencystretch}{2em}
?

 Jeremy C. Reed

                         BSD News, BSD tutorials, BSD links
                         http://www.bsdnewsletter.com/

Reply via email to