Extension:SimpleMathJax/ja

SimpleMathJax 拡張機能は JavaScript ライブラリMathJaxを使用して MediaWiki の内でmathタグ形式をTeX数式で表現してくれます. This extension will load resources from  on all wiki pages that have math or chem tags.


 * Advantages
 * Simple
 * Lightweight
 * UTF-8 Support
 * Mobile View OK
 * Setting Font Size
 * chem tag support for chemistry
 * additional inlineMath symbols pairs support
 * MediaWiki Style! Look at the samples.

インストール
Or you can git clone.

If you want to use local MathJax scripts (and not a CDN), then you can use git clone recursive. In most cases, CDN is much faster than your server. However, a CDN may not be available if you have a hardened PHP installation due to  restrictions.

SimpleMathJax is meant to be used as an alternative to the Math extension. If the Math extension is installed it may take precedence and cause SimpleMathJax to not work. The SimpleMathJax extension is the only thing you need to start rendering equations.



環境設定
The following variables can be defined in LocalSettings.php after calling. Note that for a simple site adding  might be all you need to make it Just Work™.

If you want to change font size, set like below.

If you want to enable some additional inlineMath symbol pairs, set like below.

If you want to use local module, set like below.

SimpleMathJax and Live Preview (versions < 0.8.0)
Prior to version 0.8.0, the following had to be added to MediaWiki:Common.js in order to have the Live Preview in the editor show rendered math output instead of raw LaTeX source code:

サンプル

 * 比較:


 * en:user:Jmkim dot com/TeX Samples (rendering with wikipedia math engines, English)
 * ko:user:Jmkim dot com/TeX 샘플 (rendering with wikipedia math engines, Korean)
 * http://zetawiki.com/wiki/TeX_샘플 (rendering with SimpleMathJax)


 * その他の例:


 * http://zetawiki.com/wiki/TeX_문법 (文法)
 * http://zetawiki.com/wiki/TeX_행렬 (行列)
 * http://zetawiki.com/wiki/TeX_특수문자 (特殊文字)
 * http://zetawiki.com/wiki/Mhchem_테스트 (chem tags)



関連項目




外部リンク

 * Using MathJax version 3