|
MediaWiki renders mathematical equations using a combination of html markup and a variant of LaTeX. The version of LaTeX used is a subset of AMS-LaTeX markup, a superset of LaTeX markup which is in turn a superset of TeX markup, for mathematical formulae. More precisely, MediaWiki filters the markup through Texvc, which in turn passes the commands to TeX or MathJax for the actual rendering. Thus, only a limited part of the full TeX language is supported; see below for details. By default Texvc is used to generate PNG images. Alternatively, a "MathML with SVG or PNG fallback" renderer can be selected in the user preferences; this generates MathML for Firefox and other browsers that support it, or SVG images for browsers that do not. Client side MathJax is no longer supported. See mw:Extension:Math for details on setting up math rendering on MediaWiki installations. == Basics == Math markup goes inside . The TeX code has to be put literally: MediaWiki templates, predefined templates, and parameters cannot be used within math tags: pairs of double braces are ignored and "#" gives an error message. However, math tags work in the then and else part of #if, etc. See for more information. 抄文引用元・出典: フリー百科事典『 ウィキペディア(Wikipedia)』 ■ウィキペディアで「Help:Displaying a formula」の詳細全文を読む スポンサード リンク
|