Hello,

when using the Times font in mathmode, it seems that there is a difference
between the output of PyX and that of (pdf)LaTeX. In the following two
examples, PyX0.9 will produce an upright psi (at least on my machine) while
(pdf)LaTeX produces a slanted psi (which is correct). The problem seems to
be restricted to greek letters. What is the reason for this difference?

Best regards,
Gert

#==== test.py =======================================================
from pyx import *

text.set(mode="latex")
text.preamble(r"\usepackage{mathptmx}")
c = canvas.canvas()
c.text(0,0, r"$\psi$")

c.writeEPSfile("test")
#====================================================================

%==== test.tex ======================================================
\documentclass{article}
\usepackage{mathptmx}
\begin{document}
$\psi$
\end{document}
%====================================================================

-- 
 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

Attachment: pgppq6QleA4pY.pgp
Description: PGP signature

-------------------------------------------------------------------------
This SF.net email is sponsored by DB2 Express
Download DB2 Express C - the FREE version of DB2 express and take
control of your XML. No limits. Just data. Click to get it now.
http://sourceforge.net/powerbar/db2/
_______________________________________________
PyX-user mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/pyx-user

Reply via email to