| Nom du symbole | Hyphen-minus |
| Version Unicode | 1.1 |
| Unicode | U+002D |
| Bloc Unicode | |
| Catégorie générale | Dash Punctuation (Pd) |
| Code CSS | \002D |
| Code hexadécimal | 0x002D |
| Code HTML | - |
| LaTeX | - |
| Symbole | - |
| Encodage URL (pourcent UTF-8) | %2D |
| Nom oral / lecteur d’écran | Hyphen-minus |
| UTF-8 | 2D |
| UTF-16 | 002D |
| UTF-32 | 0000002D |
1\documentclass{article}2\usepackage{pifont}3-4\end{document}Vous pouvez saisir le symbole hyphen-minus sur la plupart des appareils modernes avec les méthodes suivantes :
Alt + 45 on Windows (numeric keypad with Num Lock), or insert via Character Map.
Edit → Emoji & Symbols, search "hyphen-minus", or use Unicode Hex Input with 002D.
Ctrl + Shift + U, type 002d, then Enter (layout-dependent).
Paste from this page, use text replacement, or pick from the symbol keyboard.
Paste from this page or use a keyboard with geometric symbol support.
1span.hyphen-minus::before { content: "\002D"; }1<span>-</span>La représentation du symbole Hyphen-minus dans différents langages de programmation se trouve dans le tableau ci-dessous :
| Langage | Représentation |
|---|---|
| JavaScript / TypeScript | '\u002D' or String.fromCodePoint(45) |
| Python | '\N{HYPHEN-MINUS}' or chr(45) |
| Rust | '\u{002D}' |
| C / C++ | UTF-8 source or wchar_t with U+002D |
| Go | string(rune(0x002D)) |
| Ruby | "\u{002D}" |