Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/rreusser/equation-to-latex
Generate a latex document for a single equation
https://github.com/rreusser/equation-to-latex
Last synced: 7 days ago
JSON representation
Generate a latex document for a single equation
- Host: GitHub
- URL: https://github.com/rreusser/equation-to-latex
- Owner: rreusser
- License: mit
- Created: 2015-07-23T04:46:50.000Z (over 9 years ago)
- Default Branch: master
- Last Pushed: 2015-07-24T23:16:03.000Z (over 9 years ago)
- Last Synced: 2024-10-26T12:13:42.476Z (2 months ago)
- Language: TeX
- Size: 227 KB
- Stars: 4
- Watchers: 4
- Forks: 0
- Open Issues: 2
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
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