|
|
| Table of contents |
|
2 Other dashes and dash-like characters 3 Rendering dashes on computers 4 External links |
It is used to indicate a closed range, or a connection between two things of almost any kind: numbers, people, places, etc. For examples:
It indicates a sudden break in thought—a parenthetical statement, like this one—or an open range ("John Doe, 1987—"). The em dash is used in much the way a colon or set of parentheses is used: it can show an abrupt change in thought or be used where a period is too strong and a comma too weak. An em dash is never surrounded by spaces.
When an actual em dash is unavailable, use a doubledash ("--") to distinguish from a hyphen; or (better) use the HTML entity — or the numeric forms — or —, in either case without spaces around it.
The tilde (~) is a diacritic mark.
The underscore (_) is either a diacritic mark, or a character replacing a standard space.
The Macron (¯) is another diacritic mark.
The soft hyphen () is a hyphen which should only appear at a page break.
The Armenian hyphen (֊) is a soft hyphen from the Armenian alphabet.
The Mongolian todo hyphen (᠆) is a soft hyphen from the Mongolian alphabet.
The hyphen (‐) is a character which unlike the ASCII hyphen always represents a hyphen.
The minus sign (−) is an arithmetic operator which may look the same as the glyph for a hyphen-minus, or may be longer.
Typewriters and computers have traditionally had only a limited character set, often having no key with which to produce a dash. In consequence, it became common to substitute the nearest incorrect punctuation mark or symbol. Em dashes are often represented by a pair of spaces surrounding a single minus sign (typical British usage) or by a pair of spaces surrounding two minus signs (mostly in the United States).
Modern computer software, however, typically has a much expanded character set and is usually perfectly capable of rendering both the en and em dashes correctly—albeit with a little inconvenience.
The HTML entity names for the em dash and the en dash are — and –. The equivalent HTML numeric character entity references are — and –. Nearly all web browsers and operating systems used today are capable of rendering the numeric form, and almost as many correctly display the named form.
In Unicode, the figure dash, en dash, em dash, and quotation dash correspond to characters U+2012, U+2013, U+2014, and U+2015, respectively.
Under Mac OS X, an em dash can be obtained in any application by typing shift-option-dash. An en dash can be obtained with option-dash.
In TeX, an em dash is typed as three hyphens ("---"), an en dash as two hyphens ("--"), and a hyphen as one hyphen ("-").
In professionally printed documents, the typographer sometimes adds a hair space on either side of an em dash (a refinement that is not practicable in electronic form given the limitations of current-generation web browsers) or even a full space, though this last is uncommon.
See also: meta:MediaWiki User's Guide: Creating special characters.Common dashes
Several forms of dashes exist, of which the most common are:
Figure dash
The figure dash or minus sign (‒) is so named because it is the same width as a digit. The minus sign is slightly longer than the hyphen, usually the same length as the en dash. Obviously one uses the hyphen in mathematical formulas and equations. The minus sign is usually designed to be the same length as the plus and equals signs. In most fonts these are usually monospaced along with the numbers for ease when being used in tabular formats. Use the numeric forms ‒ or ‒ to type it; there is no equivalent HTML entity.
En dash
The en dash (–) is one en in width: the width of the capital N in any particular font.
You would also use an en dash when you have a compound adjective, one part of which consists of two words or a hyphenated word:
An en dash correctly does not have spaces around it; however, when an actual en dash is unavailable, use a dash with single spaces (" - ") to distinguish from a hyphen; or (better) use the HTML entity – or the numeric forms – or –, in either case without spaces around it. (Correct use calls for a hair space, which is often badly rendered in browsers.)
Em dash
The em dash (—) is one em in width: the width of the capital M in any particular font; as a rule, the em dash is twice as wide as the en dash. Quotation dash
The quotation dash or horizontal bar (―) is used to introduce quoted text. In most fonts it is rendered identically to the em dash, which can also be used. Since browser support for it is nearly non-exist, in Wikipedia use the em dash instead. It can be typed only with the numeric form, ― there is no equivalent HTML entity.
Other dashes and dash-like characters
The hyphen-minus (-) is the standard ASCII hyphen. It looks like a dash, but should never be used as such outside of ASCII.Rendering dashes on computers