Skip to content

imaliyov/eqn2vec

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

12 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

eqn2vec

Convert latex equations into SVG or PDF files.

Installation

  1. Clone the repository.

  2. Navigate to the eqn2vec folder and install with pip:

pip install .

Usage

  • as a library, e.g., when the library is installed, in a separate Python file:
from eqn2vec import eqn2vec
eq_list = [ r'E = mc^2', r'g(x)=\frac{\partial f(x)}{\partial x}']
eqn2vec.eqn2vec(eq_list, format='pdf')

See also the examples folder.

  • as a command-line tool, in a terminal:
<path-to-repo>eqn2vec/eqn2vec/eqn2vec.py --help
<path-to-repo>eqn2vec/eqn2vec/eqn2vec.py --eq 'E = mc^2' 'S = \sum_{i=1}^n x_i'

About

Convert latex equations into SVG files.

Resources

License

Stars

Watchers

Forks

Packages

No packages published

Languages