Content deleted Content added
mNo edit summary |
|||
(19 intermediate revisions by 15 users not shown) | |||
Line 1:
{{short description|Mathematical markup language}}
'''AsciiMath'''
Using the [[JavaScript]] script ASCIIMathML.js, AsciiMath notation is converted to [[MathML]] at the time the page is loaded by the browser, natively in [[Mozilla Firefox]], [[Safari (web browser)|Safari]], and via a plug-in in [[IE7]]. The simplified markup language supports a subset of the [[LaTeX]] language instructions, as well as a less verbose syntax (which, for example, replaces "\times" with "xx" or "times" to produce the "×" symbol). The resulting MathML mathematics can be styled by applying [[CSS]] to class "mstyle".<ref>{{citation
| last1 = Sorge | first1 = Volker
| last2 = Chen | first2 = Charles
Line 13 ⟶ 14:
| publisher = ACM
| title = Proceedings of the 11th Web for All Conference (W4A '14)
| year = 2014
}}.</ref>
The script ASCIIMathML.js is freely available under the [[MIT License]].<ref>[https://github.com/mathjax/asciimathml/blob/master/LICENSE asciimathml/LICENSE at master · mathjax/asciimathml]</ref> The latest version also includes support for [[Scalable Vector Graphics|SVG]] graphics, natively in [[Mozilla Firefox]] and via a plug-in in [[IE7]].
Per May 2009 there is a new version available. This new version still contains the original ASCIIMathML and LaTeXMathML as developed by Peter Jipsen, but the ASCIIsvg part has been extended with linear-logarithmic, logarithmic-linear, logarithmic-logarithmic, polar graphs and pie charts, normal and stacked bar charts, different functions like integration and differentiation and a series of event trapping functions, buttons and sliders, in order to create interactive lecture material and exams online in web pages.
ASCIIMathML.js has been integrated into [[MathJax]], starting with MathJax v2.0.<ref>{{cite web|url=http://www.mathjax.org/mathjax-v2-0-beta-now-available-on-cdn/ |title=MathJax v2.0 beta available|date=11 February 2012 }}</ref><ref>{{citation|title=MathJax: A Platform for Mathematics on the Web|first=Davide|last=Cervone|journal=[[Notices of the AMS]]|volume=59|issue=2|date=February 2012|url=
== Example ==
Line 26 ⟶ 28:
:<math>x=\frac{-b \pm \sqrt{b^2 - 4ac}}{2a}</math>
looks
<nowiki>x=(-b +- sqrt(b^2 – 4ac))/(2a)</nowiki>
== References ==
Line 42:
[[Category:Lightweight markup languages]]
[[Category:Mathematical markup languages]]
{{compsci-stub}}
|