# equation-to-latex

> Generate a latex document for a single equation

Latest version **2.0.1** (published 2015-07-24) · MIT license · 0 weekly downloads

## Install

```sh
npm install equation-to-latex
pnpm add equation-to-latex
yarn add equation-to-latex
bun add equation-to-latex
```

## Health

**Score 15/100 (F)** — status: abandoned.

Positive: no vulnerabilities.

Warnings: low downloads; no types; no esm support.

Negative: abandoned; low maintenance score.

## Facts

| | |
|---|---|
| Version | 2.0.1 |
| Published | 2015-07-24 |
| First published | 2015-07-23 |
| Weekly downloads | 0 |
| License | MIT |
| TypeScript types | none |
| Module format | CommonJS |
| Dependencies | 1 |
| Known vulnerabilities | 0 (+4 in 1 direct dependencies) |
| Install scripts | no |
| Author | Ricky Reusser |
| Maintainers | rreusser |
| Keywords | latex, equation, math, mathmode |

## Links

- npm: https://www.npmjs.com/package/equation-to-latex
- Repository: https://github.com/equations-io-equation-to-latex
- npm.io page: https://npm.io/package/equation-to-latex

## Dependencies (1)

- [handlebars](https://npm.io/package/handlebars.md) ^3.0.3

## Alternatives

- [random-seedable](https://npm.io/package/random-seedable.md) — 27.9K weekly downloads
- [n2words](https://npm.io/package/n2words.md) — 22.2K weekly downloads
- [@stdlib/math-base-special-factorialln](https://npm.io/package/@stdlib/math-base-special-factorialln.md) — 5.7K weekly downloads
- [@stdlib/math-base-special-abs2](https://npm.io/package/@stdlib/math-base-special-abs2.md) — 1.7K weekly downloads
- [commons-math-interpolation](https://npm.io/package/commons-math-interpolation.md) — 1.4K weekly downloads

## Recent versions

- 2.0.1 (latest) — 2015-07-24
- 2.0.0 — 2015-07-24
- 1.2.0 — 2015-07-23
- 1.1.0 — 2015-07-23
- 1.0.1 — 2015-07-23

## README

# equation-to-latex

[![Build Status](https://travis-ci.org/rreusser/equation-to-latex.svg)](https://travis-ci.org/rreusser/equation-to-latex) [![npm version](https://badge.fury.io/js/equation-to-latex.svg)](http://badge.fury.io/js/equation-to-latex) [![Dependency Status](https://david-dm.org/rreusser/equation-to-latex.svg)](https://david-dm.org/rreusser/equation-to-latex)

Generate a tex document for a single equation or set of equations


## Introduction

Insert a single equation into a LaTeX document that renders it.

Sample usage:

```javascript
var template = require('equation-to-latex')

template( tex, {fontSize: '11pt', usepackages: ['extsizes']})
```


## Install

```sh
$ npm install equation-to-latex
```


## API

### `require('equation-to-latex')( tex[, options] )`
Render LaTeX, using any options provided as handlebars variables in the template.

**Returns** a string containing the rendered template


## Credits

(c) 2015 Ricky Reusser. MIT License

---
_Source: https://npm.io/package/equation-to-latex · Machine-readable twin of the npm.io package page. Health data is recomputed on every publish._
