Applied (mostly) as r3203 and r3201
[PyX/mjg.git] / examples / text / font.py
blobdb2df155cdea6d66d3a46e8b69dd5f08083703c2
1 from pyx import *
3 text.set(mode="latex")
4 text.preamble(r"\usepackage{times}")
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")