From: Patrick P. <li...@pl...> - 2005-11-20 11:16:27
|
Hi, first of all thanks for the great PyX package: the figures generated using PyX usually look much superior, compared to others (Xfig, or other vector drawing tools). Perhaps, it's somehow offtopic, but I think it is the appropriate place to ask such a question. I'm currently preparing a talk and I'm wondering how I can change the font that PyX uses, so that it matches the font used for the slides (I'm using the beamer package). As I'm a LaTeX-user, rather than a LaTeX-developer, I as well don't know exactly what font beamer uses, acroread tells me about CM (I guess computer moderns) in many variants, and others. I guess you need to somehow tell the texrunner, that you want to use another font. In the examples section, I found: text.set(mode="latex") text.preamble(r"\usepackage{palatino}") But what is the appropriate value for the fonts used by Beamer (I'm using a standard theme)? One extension, which is not that important: I am using a Makefile for the generation of the figures and the document itself. Is it possible, to change the fonts dynamically from the commandline, so that I can for example use in normal paper the same figures, but with the standard font instead of the one used by Beamer? In short, my question is: Has someone a working work-flow for Beamer and PyX? Please CC me, as I'm not subscribed to the list. Thanks a lot and with regards, Patrick |