AsciiMath

AsciiMathは、ウェブブラウザで数式を表示するためのクライアントサイドの数学マークアップ言語である[1][2]

JavaScriptスクリプトのASCIIMathML.jsを使用すると、Mozilla FirefoxSafariではネイティブに、Internet Explorer 7ではプラグインを介してブラウザによってページが読み込まれるときに、AsciiMath表記がMathMLに変換される。簡略化されたマークアップ言語はLaTeXのコマンドの部分集合と、あまり冗長ではない構文[注釈 1]に対応している。結果として得られるMathMLの数式は、CSSmstyleクラスに適用することでスタイルを設定することができる[3]

ASCIIMathML.jsMIT Licenseの下で自由に入手することができる[4]。最新版では、Mozilla Firefoxではネイティブに、Internet Explorer 7ではプラグインを介したSVG画像の対応が含まれている。

ASCIIMathML.jsMathJax v2.0からMathJaxに統合された[5][6]

二次方程式の解の公式

これはAsciiMathでは次のように表記する:

x=(-b +- sqrt(b^2 – 4ac))/(2a)

脚注

注釈

  1. 例えば、\timesxxまたはtimesに置き換えて「×」記号を生成する。

出典

  1. Gray, James (2007), ASCIIMathML: now everyone can type MathML”, MSOR Connections 7 (3): 26–30, doi:10.11120/msor.2007.07030026.
  2. Johnson, Brian (January 2005), Interactive LATEX to MathML/HTML translation, Maersk Mc-Kinney Moller Institute for Production Technology, University of Southern Denmark, Odense, オリジナルの2016-03-04時点におけるアーカイブ。, https://web.archive.org/web/20160304024109/http://brianjohnsen.dk/bachelor.pdf 2015年4月20日閲覧。.
  3. Sorge, Volker; Chen, Charles; Raman, T. V.; Tseng, David (2014), “Towards Making Mathematics a First Class Citizen in General Screen Readers”, Proceedings of the 11th Web for All Conference (W4A '14), New York, NY, USA: ACM, pp. 40:1–40:10, doi:10.1145/2596695.2596700, ISBN 978-1-4503-2651-3
  4. asciimathml/LICENSE (英語). GitHub. GitHub, Inc.. 2023年9月30日閲覧。
  5. MathJax v2.0 beta available (2012年2月11日). 2023年9月30日閲覧。
  6. Cervone, Davide (February 2012), “MathJax: A Platform for Mathematics on the Web”, Notices of the AMS 59 (2): 312–316, https://www.ams.org/journals/notices/201202/rtx120200312p.pdf.

外部リンク

This article is issued from Wikipedia. The text is licensed under Creative Commons - Attribution - Sharealike. Additional terms may apply for the media files.