[pstricks] Fractals-Ex1.tex
Herbert Voss
Herbert.Voss at alumni.TU-Berlin.DE
Fri Oct 22 14:40:00 CEST 2004
Chris Sangwin wrote:
> I have looked at the fractals examples in the file Fractals-Ex1.tex
>
> I would like to use these images, in a file which also requires the
> packages
>
> \usepackage{graphicx,epsfig}
>
> However, including either of these two packages causes an error
>
> "!Illegal unit of measure (pt instead)...."
>
> Does anyone have any suggestions how to avoid this problem?
a problem with the macro \scalebox, which is defined by
pstricks and graphicx. Use
\newcommand{\PstVonKochSnake}[1]{%
\begin{pspicture}(3,3)
\rput(0,0){\PstVonKochCurve{#1}}
\rput{240}(3,0){\PstVonKochCurve{#1}}
\psscalebox{-1 1}{\rput{240}(0,0){\PstVonKochCurve{#1}}}
\end{pspicture}}
pstricks defines the macro \psscalebox, to prevent this clash.
BTW: You do not need the package epsfig, graphicx does it all.
Herbert
--
http://TeXnik.de/
http://PSTricks.de/
ftp://ftp.dante.de/tex-archive/info/math/voss/Voss-Mathmode.pdf
http://www.dante.de/faq/de-tex-faq/
http://www.tex.ac.uk/cgi-bin/texfaq2html?introduction=yes
More information about the PSTricks
mailing list