npm.io
2.0.1 • Published 11 years ago

equation-to-latex

Licence
MIT
Version
2.0.1
Deps
1
Vulns
4
Weekly
0

equation-to-latex

Build Status npm version Dependency Status

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:

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

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

Install

$ 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

Keywords