scalebox

Bernd Brandt bernd at balaena.bio.vu.nl
Tue Aug 25 15:45:35 CEST 1998


-----------------------------------------------------------------------------
This is the PSTricks mailing list, devoted to discussions about computational
graphics in (La)TeX using the PSTricks package from Timothy van Zandt.
For help using this mailing list, see instructions at the end of message.
-----------------------------------------------------------------------------

Dear PSTricks users,

I have a question regarding \scalebox and PSTricks.

Does it really matter which \scalebox command I use? Or does this no longer apply for PSTricks97, which \scalebox seems to operate a bit differently.

{
	it no longer crashed on '{->}' in:
	\usepackage {pstricks, pst-node}
	\scalebox{2}{
	\begin{pspicture}(2,2)(8,14)
	\rput[c](2,8){\cnode{.4}{A}}
	\rput[c](2,6){\cnode{.4}{B}}
	\ncline[nodesep=5pt]{->}{A}{B}
	\end{pspicture}}
}

I read it was best to first load pstricks, then graphics, as to overrule pstricks \scalebox command:
------------------------------------------------------------------------
\usepackage {pstricks, pst-node}
\usepackage {graphics}

However, this results in the following error on this pspicture:

\begin{pspicture}(0,0)(2,2)\showgrid
\psline[linewidth=1pt, linecolor=gray]
	{<->}(0.5,0)(0,1)(1,1.5)(1.5,1)(.5,.5)
\end{pspicture}

! Undefined control sequence.
\GenericError  ...                                
  #4  \errhelp \@err@     ...
l.124 ^^I{<->}
              (0.5,0)(0,1)(1,1.5)(1.5,1)(.5,.5)
------------------------------------------------------------------------


Thank you,
Bernd Brandt

-----------------------------------------------------------------------------
The list interface (subscription, information, access to the archives) is on:
http://www.tug.org/cgi-bin/lwgate/pstricks
Otherway to unsubscribe, send mail to pstricks-request at mail.tug.org
with a blank subject and in body the line unsubscribe <email-address>
-----------------------------------------------------------------------------



More information about the PSTricks mailing list