Hard space
From Wikipedia, the free encyclopedia
It has been suggested that this article or section be merged into Non-breaking space. (Discuss) |
This article does not cite any references or sources. (February 2007) Please help improve this article by adding citations to reliable sources. Unverifiable material may be challenged and removed. |
In typesetting and text editors, the term hard space has several meanings, all related to a special way of representing the whitespace between characters.
- The most commonly used meaning is the same as non-breaking space: a special space character used by a word processor that forbids an automatic line breaking (line wrap) at its position. A hard space on a PC is commonly entered by holding down the ALT key and pressing 0160 (ie Unicode character U+00A0) on the numeric pad (In some applications CTRL+SHIFT+SPACE can also be used).
- In earlier days of text editors that worked with text mode CRT displays, when a paragraph had to be justified, this was achieved by means of inserting extra soft spaces at whitespaces. The soft spaces were so called because they could be "compressed" away during further editing. By contrast, ordinary spaces were called hard or incompressible spaces.
- Also, in some older text editors, the hard spaces were both non-expandable—i.e., no soft spaces could be added to them—and non-breaking ones.