Node:w, Next:, Previous:- and hyphenation, Up:Breaks



@w{text}: Prevent Line Breaks

@w{text} outputs text and prohibits line breaks within text.

You can use the @w command to prevent TeX from automatically hyphenating a long name or phrase that happens to fall near the end of a line. For example:

     You can copy GNU software from @w{@samp{ftp.gnu.org}}.
     

produces

You can copy GNU software from ftp.gnu.org.

You can also use @w to produce a non-breakable space, fixed at the width of a normal interword space:

     @w{ } @w{ } @w{ } indentation.
     

produces:

           indentation.
     

The space from @w{ }, as well as being non-breakable, also will not stretch or shrink. Sometimes that is what you want, for instance if you're doing some manual indenting. However, usually you want a normal interword space that does stretch and shrink (in the printed output); see the @tie command in the next section.