Hyphen-minus

From Wikipedia, the free encyclopedia
Jump to: navigation, search
"-" redirects here. For other uses, see - (disambiguation).
-
Hyphen-minus
Punctuation
apostrophe   '
brackets [ ]  ( )  { }  ⟨ ⟩
colon :
comma ,  ،  
dash   –  —  ―
ellipsis   ...  . . .
exclamation mark !
full stop, period .
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 ¿
number sign, pound, hash, octothorpe #
numero sign
obelus ÷
ordinal indicator º ª
percent, per mil % ‰
plus and minus + −
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
Uncommon typography
asterism
hedera
index, fist
interrobang
irony punctuation
lozenge
reference mark
tie
Related
In other scripts

The hyphen-minus (-) is a character used in digital documents and computing to represent a hyphen () or a minus sign (−).[1] It is present in Unicode as code point U+002D - hyphen-minus; it is also in ASCII with the same value.

The use of one character for hyphen and minus, and sometimes also for en dash, was a compromise made in the early days of fixed-width typewriters and computer displays. 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 ASCII, use the hyphen-minus, rather than the Unicode character U+2212 minus sign, for denoting subtraction and negative numbers.

Historically, an em dash is represented by three hyphen-minus signs in succession (as later in TeX markup), or sometimes two. Microsoft Word allows the user to enter an en dash by typing two hyphen-minus signs.[citation needed]

See also[edit]

References[edit]

  1. ^ Jukka K. Korpela (2006). Unicode explained. O'Reilly. p. 382. ISBN 978-0-596-10121-3.