Skip to content

tylerlong/asciimath-to-latex

Repository files navigation

AsciiMath to LaTeX converter

AsciiMath to LaTeX converter.

Installation

yarn add asciimath-to-latex

Import

import asciimath2latex from 'asciimath-to-latex';

OR

const asciimath2latex = require('asciimath-to-latex').default;

Usage

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

Demo project

demo project

Credits

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

About

AsciiMath to LaTeX converter

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Contributors 3

  •  
  •  
  •