| 記号名 | Superscript Two |
| Unicodeバージョン | 1.1 |
| Unicode | U+00B2 |
| Unicodeブロック | |
| 一般カテゴリ | Other Number (No) |
| CSSコード | \00B2 |
| 16進コード | 0x00B2 |
| HTMLコード | ² |
| LaTeX | ^{2} |
| 記号 | ² |
| URLエンコード(UTF-8パーセント) | %C2%B2 |
| 読み上げ名 / スクリーンリーダー | Superscript Two |
| UTF-8 | C2 B2 |
| UTF-16 | 00B2 |
| UTF-32 | 000000B2 |
1\documentclass{article}2\usepackage{pifont}3^{2}4\end{document}以下の方法でほとんどの最新デバイスでsuperscript two記号を入力できます:
Alt + 178 on Windows (numeric keypad with Num Lock), or insert via Character Map.
Edit → Emoji & Symbols, search "superscript two", or use Unicode Hex Input with 00B2.
Ctrl + Shift + U, type 00b2, 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 enclosed numeral support.
1span.superscript-two::before { content: "\00B2"; }1<span>²</span>各プログラミング言語におけるSuperscript Two記号の表現は以下の表の通りです:
| 言語 | 表現 |
|---|---|
| JavaScript / TypeScript | '\u00B2' or String.fromCodePoint(0x00B2) |
| Python | '\N{SUPERSCRIPT TWO}' or chr(178) |
| Rust | '\u{00B2}' |
| C / C++ | UTF-8 source or wchar_t with U+00B2 |
| Go | string(rune(0x00B2)) |
| Ruby | "\u00B2" |