views:

53

answers:

1

Hello all,

I am hoping to use PyQt to produce an application that will display an equation entered by the user. I had considered matplotlib, but this seems like overkill as I would only be using it to render the latex.

I need to use SymPy anyway, so I was hoping there would be a way to use it to do the rendering also, preferably producing an SVG file for PyQt to use.

I hope this makes sense - many thanks in advance for any help/advice.

Best wishes, Geddes

+1  A: 

You could output MathML using SymPy and then use SVGMath to convert it to SVG.

Fabian
Great stuff, many thanks - looks like it might be just what I was after!
Geddes