| 記号名 | Hyphen-minus |
| Unicodeバージョン | 1.1 |
| Unicode | U+002D |
| Unicodeブロック | |
| 一般カテゴリ | Dash Punctuation (Pd) |
| CSSコード | \002D |
| 16進コード | 0x002D |
| HTMLコード | - |
| LaTeX | - |
| 記号 | - |
| URLエンコード(UTF-8パーセント) | %2D |
| 読み上げ名 / スクリーンリーダー | Hyphen-minus |
| UTF-8 | 2D |
| UTF-16 | 002D |
| UTF-32 | 0000002D |
1\documentclass{article}2\usepackage{pifont}3-4\end{document}以下の方法でほとんどの最新デバイスでhyphen-minus記号を入力できます:
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>各プログラミング言語におけるHyphen-minus記号の表現は以下の表の通りです:
| 言語 | 表現 |
|---|---|
| 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}" |