Citizendia
Your Ad Here

For non-breaking space usage on Wikipedia, see Wikipedia:Line break handling.

In computer-based text processing and digital typesetting, a non-breaking space or no-break space (NBSP) is a variant of the space character that prevents an automatic line break (line wrap) at its position. Word processing is the creation of documents using a Word processor. Typesetting involves the presentation of textual material in graphic form on Paper or some other medium. In writing a space () is a blank area that is devoid of content which separates words letters numbers and punctuation Word wrap or line wrap is the feature supported by most Text editors Word processors, and Web browsers of automatically replacing some It is also known as a hard space or fixed space. In Typesetting and Text editors the term hard space has several meanings all related to a special way of representing the Whitespace between

Contents

Explanation

The difference between an NBSP and a normal space is that, when a string including the NBSP comes at the end of the line, and is too long to fit, it will move the whole string to the next line (including the strings that the NBSP connects to). This is analogous to how normal strings wrap. For example, the string "ambidextrously" will never be "broken", and neither will the string "am bi dextrous ly" when the spaces are nonbreaking.

Use as non-collapsing whitespace

A second common application of the NBSP characters is in plain text file formats for word processing applications (e. In Computing, plain text is a term used for an ordinary "unformatted" sequential file readable as textual material without much processing g. , SGML, HTML, TeX, LaTeX) that treat sequences of white-space characters (such as space, newline, tabulator, form feed, etc. The Standard Generalized Markup Language ( ISO 88791986 SGML) is an ISO Standard Metalanguage in which one can define Markup languages HTML, an initialism of HyperText Markup Language, is the predominant Markup language for Web pages It provides a means to describe the structure TeX (ˈtɛx as in Greek, often /ˈtɛk/ in English; written with a lowercase 'e' in imitation of the logo is a Typesetting system designed and mostly LaTeX (ˈleɪtɛ In Computer science, whitespace is any single character or series of characters that represents horizontal or vertical space in Typography. ) exactly as if they were a single character. Such collapsing of whitespace allows the author of the plain text file to neatly arrange the text in this form (e. g. , by line breaks and indentation), without affecting the typeset result of the line-breaking algorithm.

The no-break space character is not merged with any other neighboring whitespace characters in such applications, and can therefore be used by an author to explicitly insert additional visible space in the formatted text.

Use in typesetting

Non-breaking spaces are used in typesetting where visual separation does not imply line-breakability. Examples are the spaces between words and punctuation in traditional typesetting's spacing rules. In French spacing, for example, a non-breaking space is inserted between words and their enclosing quotation marks and between the last word of a sentence and a question mark.

Encodings

Keyboard entry methods

None of the existing national or international standards on keyboard layouts currently define an input method for the NBSP character. QWERTY keyboardjpg|thumb|right|300px|QWERTY keyboard on a Laptop of 2007]]A keyboard layout is any specific mechanical, visual, or functional Therefore, the authors of keyboard drivers or application programs (e. g. , word processors) had to invent their own keyboard shortcuts. A keyboard shortcut (or accelerator key, shortcut key, hot key, key binding, keybinding, key combo, etc For example:

Other types

Unicode defines several other no-break space characters that differ from the regular space in width:

See also

In Typesetting and Text editors the term hard space has several meanings all related to a special way of representing the Whitespace between In writing a space () is a blank area that is devoid of content which separates words letters numbers and punctuation Word wrap or line wrap is the feature supported by most Text editors Word processors, and Web browsers of automatically replacing some In SGML, HTML and XML documents the logical constructs known as character data and attribute values consist of sequences of characters
© 2009 citizendia.org; parts available under the terms of GNU Free Documentation License, from http://en.wikipedia.org
Dapyx Software network: MP3 Explorer | Ebook Manager | Zenithic