Open main menu

Wikipedia β

The hyphen-minus (-) is a character used in digital documents and computing to represent a hyphen (‐) or a minus sign (−).[1]

-
Hyphen-minus
Punctuation
apostrophe   '
brackets [ ]  ( )  { }  ⟨ ⟩
colon :
comma ,  ،  
dash ‒  –  —  ―
ellipsis   ...      
exclamation mark  !
full stop, period .
guillemets ‹ ›  « »
hyphen
hyphen-minus -
question mark  ?
quotation marks ‘ ’  “ ”  ' '  " "
semicolon ;
slash, stroke, solidus /  
Word dividers
interpunct ·
space     
General typography
ampersand &
asterisk *
at sign @
backslash \
bullet
caret ^
dagger † ‡
degree °
ditto mark
inverted exclamation mark ¡
inverted question mark ¿
note
number sign, pound, hash, octothorpe #
numero sign
obelus ÷
multiplication sign ×
ordinal indicator º ª
percent, per mil  % ‰
plus and minus + −
equals sign =
basis point
pilcrow
prime     
section sign §
tilde ~
underscore, understrike _
vertical bar, pipe, broken bar |    ¦
Intellectual property
copyright ©
sound-recording copyright
registered trademark ®
service mark
trademark
Currency
currency sign ¤

؋฿¢$֏ƒ£元 圆 圓 ¥ 円

Uncommon typography
asterism
hedera
index, fist
interrobang
irony punctuation
lozenge
tie
Related
In other scripts

It is present in Unicode as code point U+002D - HYPHEN-MINUS; it is also in ASCII with the same value.

DescriptionEdit

The use of a single character for both hyphen and minus was a compromise made in the early days of fixed-width typewriters and computer displays.[2] However, in proper typesetting and graphic design, there are distinct characters for hyphens, dashes, and the minus sign. Usage of the hyphen-minus nonetheless persists in many contexts, as it is well-known, easy to enter on keyboards, and in the same location in all common character sets.

Most programming languages, restricting themselves to 7-bit ASCII, use the hyphen-minus, rather than the Unicode character U+2212 Minus sign, for denoting subtraction and negative numbers.[3][4]

The hyphen-minus is often used to represent an en dash, which may be used to indicate:

  • Ranges, such as a time range of "2000–2004"
  • Connection or direction, as in "The Los Angeles–London flight."
  • Compound adjectives, as in "He submitted his manuscript to an e-book–only publisher"[5]

The en dash is normally longer (the width of a letter "n") than a hyphen, though in a fixed-pitch or typewriter font there is no difference. The hyphen connects closely, the en dash less closely, while the em dash (the width of a letter "m") separates.[6]

The minus sign is nominally the same width as the plus sign, longer than a hyphen; an en dash, being closer to the right length, is sometimes preferred over the hyphen-minus to represent a minus sign.[7]

See alsoEdit

ReferencesEdit

  1. ^ Jukka K. Korpela (2006). Unicode explained. O'Reilly. p. 382. ISBN 978-0-596-10121-3. 
  2. ^ Fischer, Eric. "The Evolution of Character Codes, 1874-1968" (PDF). Retrieved 2016-11-16. 
  3. ^ Ritchie, Dennis (c. 1975). "C Reference Manual" (PDF). Retrieved 2016-12-07. 
  4. ^ "Haskell 2010 Language Report" (PDF). Retrieved 2016-12-07. 
  5. ^ N.a. "En dash -- The Punctuation Guide." Thepunctuationguide.com. 30 Sept. 2016. Web. 2 Mar. 2017. <http://www.thepunctuationguide.com/en-dash.html>
  6. ^ "Hyphens, En Dashes, Em Dashes". The Chicago Manual of Style Online. Retrieved 25 January 2017. 
  7. ^ Hardesty, Ray E. (2010). Technical and Business Writing for Working Professionals. Xlibris. p. 90. ISBN 9781456819408.