math2image
Math image maker
Last updated a year ago by nwtgck .
MIT · Original npm · Tarball · package.json
$ cnpm install math2image 
SYNC missed versions from official npm registry.

math2image

npm Build Status Greenkeeper badge

CLI tool to create SVG math image

Installation

npm install -g math2image

Usages

from stdin

echo "e^{i \pi} + 1 = 0" | math2image > euler-identity.svg

from a file

math2image sample7.math.tex

from a file specifying output name

math2image -o output.svg sample7.math.tex

save as .png

math2image --to-png --png-width=500 sample7.math.tex
sample7.math.tex
% (from: https://en.wikibooks.org/wiki/LaTeX/Mathematics)
f(n) =
\begin{cases}
  n/2       & \quad \text{if } n \text{ is even}\\
  -(n+1)/2  & \quad \text{if } n \text{ is odd}
\end{cases}

Gallery


My Note

MYNOTE.md

Current Tags

  • 0.2.3                                ...           latest (a year ago)

9 Versions

  • 0.2.3                                ...           a year ago
  • 0.2.2                                ...           2 years ago
  • 0.2.1                                ...           2 years ago
  • 0.2.1-SNAPSHOT-3                                ...           2 years ago
  • 0.2.1-SNAPSHOT-2                                ...           2 years ago
  • 0.2.1-SNAPSHOT                                ...           2 years ago
  • 0.2.0                                ...           2 years ago
  • 0.1.0                                ...           2 years ago
  • 0.1.0-SNAPSHOT                                ...           2 years ago
Maintainers (1)
Downloads
Today 0
This Week 0
This Month 1
Last Day 0
Last Week 0
Last Month 12
Dependencies (5)
Dev Dependencies (4)
Dependents (0)
None

Copyright 2014 - 2016 © taobao.org |