Hi Ian, may be the following code can help:
from pyx import *
text.set(mode="latex")
c = canvas.canvas()
c.text(0,0, r"serif -- \textsf{sans serif} -- \texttt{monospaced}")
c.writePDFfile("switch")
Best regards,
Gert
--
Gert-Ludwig Ingold email: [EMAIL PROTECTED]
Institut für Physik Phone: +49-821-598-3234
Universität Augsburg Fax : +49-821-598-3222
D-86135 Augsburg WWW : www.physik.uni-augsburg.de/theo1/ingold
Germany PGP : 86FF5A93, key available from homepage
pgpFw1NQzspcD.pgp
Description: PGP signature
------------------------------------------------------------------------- This SF.net email is sponsored by: Microsoft Defy all challenges. Microsoft(R) Visual Studio 2008. http://clk.atdmt.com/MRT/go/vse0120000070mrt/direct/01/
_______________________________________________ PyX-user mailing list [email protected] https://lists.sourceforge.net/lists/listinfo/pyx-user
