Community Wishlist/Wishes/Editing mathematics is too difficult/ja
Appearance
数式の編集は難しすぎる Open
説明
Hi, relatively new Wikipedia editor here. I've mostly worked on some CS-related articles.
By far the most off-putting part of editing for me was typesetting mathematical formulas, for which there are three different syntaxes as described in en:Wikipedia:Rendering math.
特定の順序が無い問題
- Existing articles use a mix of the three, so you have to learn them all…
- Writing
<math>x</math>
quickly gets cumbersome for simple variables that you need to mention multiple times per sentence, so articles tend to use''x''
instead. But on the other hand, as soon as you have formulas nearby that need<math>
, you have to switch to<math>
because the two give different-looking renderings and it's ugly to have the same variable in different styles within the same sentence. - The template syntax is very verbose. Using Wikitext
''x''
is less verbose, but for formula like''f''(''g''(''x''))
, it does get tiresome. (Thus, you start using<math>
for those, increasing the mess.) - Copy-pasting
<math>f(x)</math>
content gives TeX code, which is even longer than the original TeX code. For example, copy-pasting this: will give youh : N \u2192 N {\displaystyle h:\mathbb {N} \rightarrow \mathbb {N} }
, which should beh : ℕ → ℕ
. - Section headings cannot use
<math></math>
per w:MOS:FORMULA.
Since TeX rendering is the only one that scales to all formulas including the most complex, I think the best investment of effort would be to make it more usable, thus some wishes:
- Add shorter syntax than
<math>x</math>
, for example the familiar TeX syntax$x$
(also used by MathJax, in Typst, on math.stackexchange.com, etc). Since this will of course conflict with existing uses of the $ sign on many pages, it would have to be enabled on a per-page basis. Encourage the conversion of''x''
and other syntaxes to$x$
when revising an article. (It cannot be done in bulk, since italics also gets used for non-math.) - Make the LaTeX renderer output MathML if the browser supports it, and only fall back to images if needed. (NB: Recent versions of Chrome now support MathML.)
割り当てられ済の重点領域
未割り当て
「要望」の分類
Feature request
関連するプロジェクト
ウィキペディア
影響を受けている利用者
数学記事の編集者
その他
- 作成済: 13:28, 30 July 2024 (UTC)
- 最終更新: 17:16, 9 August 2024 (UTC)
- 記入者: Jean Abou Samra (talk)