Creating image with equation using LaTex syntax
Code: "equiation1.py"
Programming language: Python
DMelt Version 1.4. Last modified: 07/19/1971. License: Free
http://jwork.org/dmelt/code/cache/equiation1_5476.py
To run this script using the DMelt IDE, copy the above URL link to the menu [File]→[Read script from URL] of the DMelt IDE.


from jhplot import *

eq="\\frac{\\partial Q}{\\partial t} = \\frac{\\partial s}{\\partial t}\\alpha_{i}\\beta"

image="/tmp/equation.png"
q1=HLatexEq(eq, 104) # equaition with font size 104 
q1.export(image)
print "Created :",image
IView(image)         # View this image