[pstricks] PStricks and cubes

Herbert Voss Herbert.Voss at alumni.TU-Berlin.DE
Thu Jan 13 06:49:07 CET 2005


Doug Mounce wrote:
> this is nice, of course.  I began using \ThreeDPut to avoide the  error...
> 
> ! Undefined control sequence.
> \PstGridThreeD at i ...ure \ifnum \Pst at Debug
>                                           =\@ne \psframebox [framesep...
> l.50 \PstGridThreeD[unit=.56](1,1,1)

put a \listfiles as first line in your example and
then send the filelist of the output.


> I'll study this as I have time.  In general, why is it important to  
> define the grid and hook as such "\def\PstGridThreeDHookEnd{%" with the  
> {% at the end? 

the problem is that the grid itself is put into a pspicture
environment, which makes it difficult to have the same
coordinates in two following \PstThreeGrid macros.
With \def\PstGridThreeDHookEnd{%  you are able to define
code which is handled _before_ the internal \endpspicture.
The {% is only the opening of the maco definition and the
% circumvents trailing spaces.

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