ducaale / pretty-latex

LaTeX beautifier for Node.

Home Page:https://www.npmjs.com/package/pretty-latex

Repository from Github https://github.comducaale/pretty-latexRepository from Github https://github.comducaale/pretty-latex

pretty-latex

A Node wrapper around latexindent for beautifying LaTeX documents.

Installation

yarn add pretty-latex

or

npm install pretty-latex

You will also need to make sure you have latexindent installed on your system.

Usage

const fs = require('fs')
const beautify = require('pretty-latex')

const input = fs.createReadStream('input.tex')
const output = fs.createWriteStream('output.tex')

beautify(input).pipe(output)

License

MIT

About

LaTeX beautifier for Node.

https://www.npmjs.com/package/pretty-latex


Languages

Language:JavaScript 100.0%