[pstricks] pstVerb and mirror effect problem

mathias legrand legrand.mathias at gmail.com
Tue Dec 22 06:08:05 CET 2009


Hi everybody,

I'm starting to have a look at pstVerb and facing a strange situation.
When I compile what is below, there is a mirror problem about the 
horizontal axis
(in simple words, everything is upside down):

I took the code from:

http://www.math.ubc.ca/~cass/graphics/text/www/pdf/ch1.pdf
and the red book as well.

Thank you for possible clarifications,

M.


\documentclass[10pt]{article}
\usepackage{inputenc}
\usepackage{pstricks,pst-plot,pst-math,pst-xkey}
\usepackage{pst-eucl,pst-func}
\usepackage{pstricks-add}
\pagestyle{empty}

\begin{figure}[h!]
\psset{xunit=5cm,yunit=5cm}
\begin{pspicture}(0,0)(5,5)
\pstVerb{
% 9 setlinewidth
1 setlinejoin
% linejoin = 0 by default
newpath
0 0 moveto
0 720 lineto
720 0 lineto
stroke
/Helvetica findfont 48 scalefont setfont
20 38 moveto
(ABC) false charpath
2 setlinewidth stroke
/Helvetica findfont 48 scalefont setfont
newpath
20 40 moveto
(ABC) true charpath
clip
}
\end{pspicture}
\end{figure}


\end{document}


More information about the PSTricks mailing list