On Saturday, 17 September 2016 at 02:41:15 UTC, brocolis wrote:
How do I draw math formulas programmatically? I want to do on
screen what latex does on .pdf.
And I want to draw a math formula in the image generated with
ggplotd.
You can't at the moment. Parsing latex equations is not a trivial
task.
One possible approach would be to convert part of the equations
(greek alphabet etc.) to utf and use geomLabel to "simulate"
sub/super script. One caveat with this is that I am not sure how
well cairo(d) supports utf.