Convert unicode to LaTeX
Example:
const { Transform } = require('unicode2latex')const tx = new Transform(mode, { packages: ['textcomp', 'amsmath'] })const packages = new Setconsole.log(tx.tolatex('your text', { packages }) Copy
const { Transform } = require('unicode2latex')const tx = new Transform(mode, { packages: ['textcomp', 'amsmath'] })const packages = new Setconsole.log(tx.tolatex('your text', { packages })