rename texmessage.loadfd to texmessage.loaddef and allow for .def and .fd files
[PyX/mjg.git] / examples / text / font.py
blob5e500628b7df9b39ea04be1b6fa240f7214e1794
1 from pyx import *
3 text.set(mode="latex")
4 text.preamble(r"\usepackage{palatino}")
6 c = canvas.canvas()
7 c.text(0, 0, r"\LaTeX{} doesn't need to look like \LaTeX{} all the time.")
8 c.writeEPSfile("font")
9 c.writePDFfile("font")