manpagez: man pages & more
info texinfo
Home | html | info | man
[ << ] [ < ] [ Up ] [ > ] [ >> ]         [Top] [Contents] [Index] [ ? ]

15.5 @w{text}: Prevent Line Breaks

@w{text} outputs text, while prohibiting line breaks within text.

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

@w{ } @w{ } @w{ } 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 manual indenting. However, usually you want a normal interword space that does stretch and shrink (in the printed output); for that, see the @tie command in the next section.

You can also 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. makeinfo does not ever hyphenate words.

You can also use @w to avoid unwanted keyword expansion in source control systems. For example, to literally write $Id$ in your document, use @w{$}Id$. This trick isn’t effective in Info or plain text output, though.

[ << ] [ < ] [ Up ] [ > ] [ >> ]         [Top] [Contents] [Index] [ ? ]

This document was generated on October 2, 2013 using texi2html 5.0.

© 2000-2021
Individual documents may contain additional copyright information.