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