|
From: Magnus L. H. <ma...@he...> - 2004-05-01 21:39:49
|
Faheem Mitha <fa...@em...>:
>
> Hi,
>
> The following generates the word "heta"
>
> from pyx import *
> c = canvas.canvas()
> c.text(0, 0, "$\theta$")
> c.writeEPSfile("theta")
>
> I'm guessing this a bug. Please cc, I'm not subscribed. Thanks.
Yup -- in your code :). "\t" is a tab. Use r"$\theta$" or "$\\theta$".
> Faheem.
--
Magnus Lie Hetland "Wake up!" - Rage Against The Machine
http://hetland.org "Shut up!" - Linkin Park
|