asciimath-to-latex

AsciiMath to LaTeX converter

Downloads in past

Stats

StarsIssuesVersionUpdatedCreatedSize
asciimath-to-latex
2020.5.1a year ago6 years agoMinified + gzip package size for asciimath-to-latex in KB

Readme

AsciiMath to LaTeX converter
AsciiMath to LaTeX converter.

Installation

yarn add asciimath-to-latex

Usage

const asciimath2latex = require('asciimath-to-latex')
const asciimath = '2=(((3-x)xx2)/(3-x))'
console.log(`asciimath: ${asciimath}`)
const latex = asciimath2latex(asciimath)
console.log(`latex: ${latex}`)

Credits

I forgot where I copied the original code from. It's probably here.