[pstricks] Optional parameters, pst-eucl, and spurious spaces

Richard Hensh henshric at msu.edu
Fri Feb 18 23:35:21 CET 2005


Are the optional parameters misbehaving in the pst-eucl?

Compare the following:

This yields a correct sketch

\usepackage{pst-eucl}
\usepackage{pstricks-add}
\begin{document}
\psline(-4,0)(0,5)%
\psset{PointSymbol=none,linecolor=blue,linewidth=1.25pt}%
\pstTriangle(-4,0){A}(3,0){B}(3,4){C}%
\end{document}

However, this does not (triangle is shifted right by 1/2 unit).

\usepackage{pst-eucl}
\usepackage{pstricks-add}
\begin{document}
\psline(-4,0)(0,5)%
%\psset{PointSymbol=none,linecolor=blue,linewidth=1.25pt}%
\pstTriangle[PointSymbol=none,linecolor=blue,linewidth=1.25pt](-4,0){A}(3,0)
{B}(3,4){C}%
\end{document}

I've encountered several other errors when compiling and all seem to be
related to the optional paramters placement described above.

Regards
ricky




More information about the PSTricks mailing list