Jump to content

Help:特殊文字

From mediawiki.org
This page is a translated version of the page Help:Special characters and the translation is 47% complete.
PD 注意: このページを編集すると、編集内容が CC0 のもとで公開されることに同意したと見なされます。詳細はパブリック・ドメインのヘルプ ページを参照してください。 PD

MediaWiki は Unicode (UTF-8) を文字エンコーディングに使用しています。 これにより、CJK [1]の文字を含む広範な文字をウィキテキストに直接含められます。 文字は、1 文字ごとに可変のバイト数で符号化されます。

注目すべき特殊文字

アクセント付きの文字とウムラウト

À Á Â Ã Ä Å Æ Ç È É Ê Ë Ì Í Î Ï Ñ Ò Ó Ô Œ Õ Ö Ø Ù Ú Û Ü ß à á â ã ä å æ ç è é ê ë ì í î ï ñ ò ó ô œ õ ö ø ù ú û ü ÿ

句読点

¿ ¡ « » § ¶ † ‡ • - – —

ビジネスシンボル

™ © ® ¢ € ¥ £ ¤

ギリシャ文字

α β γ δ ε ζ η θ ι κ λ μ ν ξ ο π ρ σ ς τ υ φ χ ψ ω Γ Δ Θ Λ Ξ Π Σ Φ Ψ Ω

数学記号

∫ ∑ ∏ √ − ± ∞ ≈ ∝ ≡ ≠ ≤ ≥ × · ÷ ∂ ′ ″ ∇ ‰ ° ∴ ø ∈ ∩ ∪ ⊂ ⊃ ⊆ ⊇ ¬ ∧ ∨ ∃ ∀ ⇒ ⇔ → ↔ ↑ ℵ ∉

下付き文字と上付き文字

x₀ x₁ x₂ x₃ x₄ x₅ x₆ x₇ x₈ x₉ x⁰ x¹ x² x³ x⁴ x⁵ x⁶ x⁷ x⁸ x⁹

特殊文字の入力

  • 編集ボックス上の特殊文字ボタンを使用します。 これには、ウィキにCharInsert 拡張機能がインストールされている必要があります。 利用可能な文字はウィキとユーザーの設定によって異なります。このリストは折りたたみとメニュー選択が可能です。
  • ウェブページから文字をコピーします。 WikiのTeX機能によって生成されるような画像や画像の一部ではコピーできません。
  • 特別なキーボードや特別なブラウザ機能を使用します。 UniversalLanguageSelector 拡張機能は、さまざまな組み込みの特殊キーボードを提供します。
  • àのようなHTML名前付き文字エンティティ参照、または¡のような HTML 数値文字参照を使用して、プレビューから文字をコピーします。 The code itself used to be stored in the wikitext. This might still be present on some pages and can affect the internal search function. Some characters like "→" can't be found by the search function unless coded as →. See Help:検索 .

特殊文字を含むテキストのリンク

多くのユーザーは、下線付きのリンクを表示する設定になっています。 This setting is available in the 表示 > 詳細の設定 section on the Preferences page. For example, when adding a link to characters like +, −, <, >, ⊂, ⊃, with underlined links enabled (thus rendering as +, −, <, >, ⊂, ⊃), they may look like different symbols such as ±, =, ≤, ≥, ⊆, ⊇. Suppose you want to link the mathematical symbols for "subset" and "superset" in a MediaWiki article. If you simply link the symbols ⊂ and ⊃, they might be confusing or mistaken for other symbols due to their visual similarity. Here's how you can use clear links to represent subset and superset.

ウィキテキスト 表示結果

A [[Subset|⊂]] B

A B

A [[Superset|⊃]] B

A B

This links ⊂ and ⊃ to the "Subset" and "Superset" articles respectively, making it clear that ⊂ represents a subset or superset.

If you want to combine symbols and text to make it clearer, you can use: A [[Subset|⊂]] B (where ⊂ indicates a subset). This provides context for the symbol ⊂ by explicitly mentioning that it indicates a subset.

There's less risk of confusion when linking phrases or multiple characters. 例: [[x|''x'' > 3]]

x is the target page, and x > 3 is the text that will appear as the link. The use of '' around x indicates emphasis (italicization), making it stand out. This visual distinction helps users recognize that it's a specific term or variable, not just a random character.


Altキーコード

関連項目: w:Alt codes

Certain special characters with decimal codepoints below 256 can be typed using the keyboard by pressing Alt + Decimal code numbers.

For example, to type the character é (small e with acute accent, HTML entity code &eacute;), press Alt + 130, then release Alt.

However, some special characters like λ (small lambda) cannot be typed using their decimal codes (955 or 0955) with the Alt key in applications like Notepad or Internet Explorer, resulting in incorrect characters like "╗" or "»".

Wordpad, on the other hand, supports decimal codepoints above 256, allowing you to enter and copy special/unicode characters. Alternatively, you can use hex codepoints followed by Alt+X in Wordpad or Word (not in IE or Notepad). For instance, type 3BB (the hex code for λ) and press Alt+X to convert 3BB into λ. Pressing Alt+X again will revert λ to 3BB. This allows you to copy and paste the character wherever needed, or use its HTML codes &#x3BB; or &lambda;.

数学で用いる表記

  • x<sub>k</sub> -> xk
  • x<sub>k</sup> -> xk

Some characters can be directly entered using HTML entities:

  • &rarr; -> →, etc.

More complex equations can be entered using ‎<math> syntax:

  • <math>\sqrt x</math>x
  • <math>x_k</math> -> xk
  • <math>x^k</math> -> xk

エジプト象形文字

エジプト象形文字を表示するには‎<hiero>タグを使用します。 例:

  • {{#tag:hiero|a-p:t-q}} ->
    ap
    t
    q

詳細はExtension:WikiHiero/Syntax を参照して下さい。

Unicode文字についての外部リソース

  • Unicode character charts: Hexadecimal charts in PDF format, displaying all characters independent of your browser's capabilities.
  • Unicode support help: Guides for enabling Unicode on various platforms.
  • HTML 4.0 Character Entity References: Demonstrates named and decimal character references in your browser.
  • FileFormat.Info: In-depth details on many Unicode characters, showing named, decimal, and hexadecimal references, and their appearance in your browser.
  • Alan Wood's Unicode Resources: Extensive resource with character test pages for all Unicode ranges, including OS-specific support and links to fonts and utilities.

関連項目

注釈

  1. CJK — 中国語、日本語、朝鮮語の文字