asciimath-to-latex
TypeScript icon, indicating that this package has built-in type declarations

0.5.1 • Public • Published

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.

Versions

Current Tags

  • Version
    Downloads (Last 7 Days)
    • Tag
  • 0.5.1
    1,501
    • latest

Version History

Package Sidebar

Install

npm i asciimath-to-latex

Weekly Downloads

2,796

Version

0.5.1

License

MIT

Unpacked Size

153 kB

Total Files

13

Last publish

Collaborators

  • tylerlong