Skip to content

chaonan99/Latex2Picture

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

10 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Latex to Picture (or image if you like...)

MIT Licence Open Source Love

This is a plug-in for sublime3 (Just 3 now!!!) to convert a formula in latex grammar to an url, which will show the picture of your equation. This is useful when markdown don't support latex equation, like in a GitHub README.

gif

How to install

Of cource you can't install via package control. You should copy this repo to your sublime package folder. To find where the folder is, open default key binding file in Preferences -> Key Bindings - Default and hover your mouse pointer on the item bar of that file. You may see something like xxx\xxx\Packages\ stop at Packages! Put the repo there.

Usage

This code is a complement for this blog post which tells you more principles.

  1. Write equation in latex grammar, like gain = talent + \sum_{n=today}^{\infty}\sigma(work).
  2. Select the equation and press ctrl+alt+shift+u (no conflict ... god bless me ...).
  3. It change the equation into ![equation](http://latex.codecogs.com/svg.latex?gain%20%3D%20talent%20%2B%20%5Csum_%7Bn%3Dtoday%7D%5E%7B%5Cinfty%7D%5Csigma%28work%29). Picture looks like this:

equation

Acknowledge

This code referred this repo, which is a usable URL encoder-decoder plug-in for sublime 2&3.

License

MIT license.

About

This is a sublime plug-in to encode latex equation into a url for picture that can be viewed in markdown file.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

 
 
 

Contributors