Misplaced Pages

Hard space: Difference between revisions

Article snapshot taken from Wikipedia with creative commons attribution-sharealike license. Give it a read and then ask your questions in the chat. We can research this topic together.
Browse history interactively← Previous editNext edit →Content deleted Content addedVisualWikitext
Revision as of 14:14, 24 February 2007 editAphid360 (talk | contribs)855 edits See also: Removing link to "Space_character", as it now redirects to "Space_(punctuation)".← Previous edit Revision as of 04:33, 14 April 2007 edit undoIdentz (talk | contribs)361 edits That method is not universalNext edit →
Line 3: Line 3:
In ], the term '''''hard space''''' has several meanings, all related to a special way of representing the ] between characters. In ], the term '''''hard space''''' has several meanings, all related to a special way of representing the ] between characters.


*The most commonly used meaning is the same as ]: a special space character used by a ] that forbids an automatic line breaking (]) at its position. A hard space on a ] is commonly entered by holding down the ] key and pressing 0160 on the ], or by pressing '']+SHIFT+SPACE''. *The most commonly used meaning is the same as ]: a special space character used by a ] that forbids an automatic line breaking (]) at its position. A hard space on a ] is commonly entered by holding down the ] key and pressing 0160 on the ] (In some applications '']+SHIFT+SPACE'' can also be used).


*In earlier days of ]s that worked with ] ] ]s, when a paragraph had to be ], this was achieved by means of inserting extra '''soft spaces''' at ]s. 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. *In earlier days of ]s that worked with ] ] ]s, when a paragraph had to be ], this was achieved by means of inserting extra '''soft spaces''' at ]s. 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.

Revision as of 04:33, 14 April 2007

This article does not cite any sources. Please help improve this article by adding citations to reliable sources. Unsourced material may be challenged and removed.
Find sources: "Hard space" – news · newspapers · books · scholar · JSTOR (February 2007) (Learn how and when to remove this message)

In computing, 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 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.

See also


Stub icon

This computer science article is a stub. You can help Misplaced Pages by expanding it.

Categories: