Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/saadq/pretty-latex
LaTeX beautifier for Node.
https://github.com/saadq/pretty-latex
beautifier latex nodejs prettifier
Last synced: about 2 months ago
JSON representation
LaTeX beautifier for Node.
- Host: GitHub
- URL: https://github.com/saadq/pretty-latex
- Owner: saadq
- Created: 2017-04-03T22:35:15.000Z (almost 8 years ago)
- Default Branch: master
- Last Pushed: 2022-08-14T16:20:18.000Z (over 2 years ago)
- Last Synced: 2024-11-10T12:47:28.632Z (about 2 months ago)
- Topics: beautifier, latex, nodejs, prettifier
- Language: JavaScript
- Homepage: https://www.npmjs.com/package/pretty-latex
- Size: 15.6 KB
- Stars: 3
- Watchers: 3
- Forks: 1
- Open Issues: 2
-
Metadata Files:
- Readme: readme.md
Awesome Lists containing this project
README
# pretty-latex
A Node wrapper around [latexindent](https://github.com/cmhughes/latexindent.pl) for beautifying LaTeX documents.## Installation
```
yarn add pretty-latex
```
or```
npm install pretty-latex
```You will also need to make sure you have [latexindent](https://www.ctan.org/pkg/latexindent?lang=en) installed on your system.
## Usage
```js
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