AsciiMath
AsciiMath is a client-side mathematical markup language for displaying mathematical expressions in web browsers.[1][2]
Details
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, 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".[3]
The script ASCIIMathML.js is freely available under the MIT License.[4] The latest version also includes support for 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.[5][6]
Example
The well-known quadratic formula
looks like this in AsciiMath:
x=(-b +- sqrt(b^2 – 4ac))/(2a)
References
- ^ Gray, James (2007), "ASCIIMathML: now everyone can type MathML", MSOR Connections, 7 (3): 26–30, doi:10.11120/msor.2007.07030026.
- ^ Johnson, Brian (January 2005), Interactive LATEX to MathML/HTML translation (PDF), Maersk Mc-Kinney Moller Institute for Production Technology, University of Southern Denmark, Odense, archived from the original (PDF) on 2016-03-04, retrieved 2015-04-20.
- ^ 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, S2CID 6892997.
- ^ asciimathml/LICENSE at master · mathjax/asciimathml
- ^ "MathJax v2.0 beta available". 11 February 2012.
- ^ Cervone, Davide (February 2012), "MathJax: A Platform for Mathematics on the Web" (PDF), Notices of the AMS, 59 (2): 312–316.
External links
Content Disclaimer
Informasi ini disarikan dari Wikipedia dan disajikan kembali untuk tujuan edukasi. Konten tersedia di bawah lisensi CC BY-SA 3.0. Kami tidak bertanggung jawab atas ketidakakuratan data yang bersumber dari kontribusi publik tersebut.
- The information displayed on this website is sourced in part or in whole from Wikipedia and has been adapted for the purpose of restating it. We strive to provide accurate and relevant information, however:
- There is no guarantee of absolute accuracy. Wikipedia is an open, collaborative project that can be edited by anyone, so information is subject to change.
- It is not intended to constitute professional advice. The content displayed is for informational and educational purposes only. For important decisions (e.g., medical, legal, or financial), please consult a professional.
- Content copyright. Wikipedia is licensed under the Creative Commons Attribution-ShareAlike License (CC BY-SA). This means that content may be reused with appropriate attribution and shared under a similar license.
- Responsible use. Any risk arising from the use of information from this website is entirely the responsibility of the user.