The text module seamlessly integrates Donald E. Knuths famous TEX typesetting engine into PyX. The basic procedure is:
Note that for using Type1 fonts an appropriate font mapping file has to be provided. When your TEX installation is configured to use Type1 fonts by default, the psfonts.map will contain entries for the standard TEX fonts already. Alternatively, you may either look for updmap used by many TEX distributions to create an appropriate font mapping file. You may also specify one or several alternative font mapping files like psfonts.cmz in the global pyxrc or your local .pyxrc. Finally you can also use the fontmaps keyword argument of the texrunner constructor or its set() method.