Important: This documentation covers Yarn 1 (Classic).
For Yarn 2+ docs and migration guide, see yarnpkg.com.

Package detail

equation-to-latex

rreusser192MIT2.0.1

Generate a latex document for a single equation

latex, equation, math, mathmode

readme

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