[pstricks] computed normal in \ThreeDput
Manfred Braun
m.braun at uni-duisburg.de
Thu Oct 27 17:22:31 CEST 2005
Dear Herbert,
Thanks for your hint. It seems that I first have to update my pstricks
installation. The command \define at key is recognized as an undefined control
sequence. Is it defined within that keyval package?
Best regards, Manfred
-----Ursprüngliche Nachricht-----
Von: pstricks-bounces at tug.org [mailto:pstricks-bounces at tug.org] Im Auftrag
von Herbert Voss
Gesendet: Donnerstag, 27. Oktober 2005 15:44
An: pstricks at tug.org
Betreff: Re: [pstricks] computed normal in \ThreeDput
Manfred Braun wrote:
> Is there a possibility to specify a computed normal for the
> \ThreeDput command in pst-3d? What I mean is something like
>
> \ThreeDput[normal={30 cos} 0 {30 sin}](0,0,0){(some graphics)}
>
> (which doesnt work), instead of
>
> \ThreeDput[normal=0.866 0 0.5](0,0,0){(some graphics)}
\documentclass{article}
\usepackage{pst-3d}
\makeatletter
\define at key[psset]{pst-3d}{normal}{\def\psk at normal{#1}}
\makeatother
\begin{document}
\ThreeDput[normal={30 cos} 0 {30 sin}](0,0,0){(some graphics)}
\end{document}
now "normal" cannot have values with a dimension
Herbert
More information about the PSTricks
mailing list