| 記号名 | Diamond Suit |
| Unicodeバージョン | 1.1 |
| Unicode | U+2666 |
| Unicodeブロック | |
| 一般カテゴリ | Other Symbol (So) |
| CSSコード | \2666 |
| 16進コード | 0x2666 |
| HTMLコード | ♦ |
| LaTeX | \diamondsuit |
| 記号 | ♦ |
| URLエンコード(UTF-8パーセント) | %E2%99%A6 |
| 読み上げ名 / スクリーンリーダー | Diamond Suit |
| UTF-8 | E2 99 A6 |
| UTF-16 | 2666 |
| UTF-32 | 00002666 |
1\documentclass{article}2\usepackage{pifont}3\diamondsuit4\end{document}以下の方法でほとんどの最新デバイスでdiamond suit記号を入力できます:
Alt + 9830 on Windows (numeric keypad with Num Lock), or insert via Character Map.
Edit → Emoji & Symbols, search "diamond suit", or use Unicode Hex Input with 2666.
Ctrl + Shift + U, type 2666, then Enter (layout-dependent).
Paste from this page, use text replacement, or pick from the emoji keyboard.
Paste from this page or use a keyboard with card suit symbol support.
1span.diamond-suit::before { content: "\2666"; font-family: "Apple Color Emoji", "Segoe UI Emoji", sans-serif; }1<span>♦</span>各プログラミング言語におけるDiamond Suit記号の表現は以下の表の通りです:
| 言語 | 表現 |
|---|---|
| JavaScript / TypeScript | '\u2666' or String.fromCodePoint(9830) |
| Python | '\N{DIAMOND SUIT}' or chr(9830) |
| Rust | '\u{2666}' |
| C / C++ | UTF-8 source or wchar_t with U+2666 |
| Go | string(rune(0x2666)) |
| Ruby | "\u{2666}" |