Word Boundaries, Hyphenation, and Hard Spaces
The soft returns are usually placed after the ends of complete words, or after the punctuation that follows complete words. However, word wrap may also occur following a hyphen inside of a word. This is sometimes not desired, and can be blocked by using a non-breaking hyphen, or hard hyphen, instead of a regular hyphen.
A word without hyphens can be made wrappable by having soft hyphens in it. When the word isn't wrapped (i.e., isn't broken across lines), the soft hyphen isn't visible. But if the word is wrapped across lines, this is done at the soft hyphen, at which point it is shown as a visible hyphen on the top line where the word is broken. (In the rare case of a word that is meant to be wrappable by breaking it across lines but without making a hyphen ever appear, a zero-width space is put at the permitted breaking point(s) in the word.)
Sometimes word wrap is undesirable between adjacent words. In such cases, word wrap can usually be blocked by using a hard space or non-breaking space between the words, instead of regular spaces.
Read more about this topic: Word Wrap
Famous quotes containing the words word, hard and/or spaces:
“Hearing your words, and not a word among them
Tuned to my liking, on a salty day
When inland woods were pushed by winds, that flung them
Hissing to leeward like a ton of spray,”
—Edna St. Vincent Millay (18921950)
“Some are industrious, and appear to love labor for its own sake, or perhaps because it keeps them out of worse mischief; to such I have at present nothing to say. Those who would not know what to do with more leisure than they now enjoy, I might advise to work twice as hard as they do,work till they pay for themselves, and get their free papers.”
—Henry David Thoreau (18171862)
“Every true man is a cause, a country, and an age; requires infinite spaces and numbers and time fully to accomplish his design;and posterity seem to follow his steps as a train of clients.”
—Ralph Waldo Emerson (18031882)